Class LinkConnectionAsyncClient
java.lang.Object
com.azure.analytics.synapse.artifacts.LinkConnectionAsyncClient
Initializes a new instance of the asynchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateLinkConnection
(String linkConnectionName, LinkConnectionResource linkConnection) Creates or updates a link connection.Mono<com.azure.core.http.rest.Response<LinkConnectionResource>>
createOrUpdateLinkConnectionWithResponse
(String linkConnectionName, LinkConnectionResource linkConnection) Creates or updates a link connection.deleteLinkConnection
(String linkConnectionName) Delete a link connection.deleteLinkConnectionWithResponse
(String linkConnectionName) Delete a link connection.editTables
(String linkConnectionName, EditTablesRequest editTablesRequest) Edit tables for a link connection.editTablesWithResponse
(String linkConnectionName, EditTablesRequest editTablesRequest) Edit tables for a link connection.getDetailedStatus
(String linkConnectionName) Get the detailed status of a link connection.Mono<com.azure.core.http.rest.Response<LinkConnectionDetailedStatus>>
getDetailedStatusWithResponse
(String linkConnectionName) Get the detailed status of a link connection.getLinkConnection
(String linkConnectionName) Get a link connection.Mono<com.azure.core.http.rest.Response<LinkConnectionResource>>
getLinkConnectionWithResponse
(String linkConnectionName) Get a link connection.com.azure.core.http.rest.PagedFlux<LinkConnectionResource>
List link connections.listLinkTables
(String linkConnectionName) List the link tables of a link connection.Mono<com.azure.core.http.rest.Response<LinkTableListResponse>>
listLinkTablesWithResponse
(String linkConnectionName) List the link tables of a link connection.queryTableStatus
(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest) Query the link table status of a link connection.Mono<com.azure.core.http.rest.Response<LinkConnectionQueryTableStatus>>
queryTableStatusWithResponse
(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest) Query the link table status of a link connection.Start a link connection.startWithResponse
(String linkConnectionName) Start a link connection.Stop a link connection.stopWithResponse
(String linkConnectionName) Stop a link connection.updateLandingZoneCredential
(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest) Update landing zone credential of a link connection.updateLandingZoneCredentialWithResponse
(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest) Update landing zone credential of a link connection.
-
Method Details
-
listLinkConnectionsByWorkspace
List link connections.- Returns:
- the paginated response with
PagedFlux
. - Throws:
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateLinkConnectionWithResponse
public Mono<com.azure.core.http.rest.Response<LinkConnectionResource>> createOrUpdateLinkConnectionWithResponse(String linkConnectionName, LinkConnectionResource linkConnection) Creates or updates a link connection.- Parameters:
linkConnectionName
- The link connection name.linkConnection
- Link connection resource definition.- Returns:
- the response body along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateLinkConnection
public Mono<LinkConnectionResource> createOrUpdateLinkConnection(String linkConnectionName, LinkConnectionResource linkConnection) Creates or updates a link connection.- Parameters:
linkConnectionName
- The link connection name.linkConnection
- Link connection resource definition.- Returns:
- the response body on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getLinkConnectionWithResponse
public Mono<com.azure.core.http.rest.Response<LinkConnectionResource>> getLinkConnectionWithResponse(String linkConnectionName) Get a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- a link connection along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getLinkConnection
Get a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- a link connection on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteLinkConnectionWithResponse
public Mono<com.azure.core.http.rest.Response<Void>> deleteLinkConnectionWithResponse(String linkConnectionName) Delete a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteLinkConnection
Delete a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
editTablesWithResponse
public Mono<com.azure.core.http.rest.Response<Void>> editTablesWithResponse(String linkConnectionName, EditTablesRequest editTablesRequest) Edit tables for a link connection.- Parameters:
linkConnectionName
- The link connection name.editTablesRequest
- Edit tables request.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
editTables
Edit tables for a link connection.- Parameters:
linkConnectionName
- The link connection name.editTablesRequest
- Edit tables request.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startWithResponse
Start a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
Start a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stopWithResponse
Stop a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stop
Stop a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getDetailedStatusWithResponse
public Mono<com.azure.core.http.rest.Response<LinkConnectionDetailedStatus>> getDetailedStatusWithResponse(String linkConnectionName) Get the detailed status of a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the detailed status of a link connection along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getDetailedStatus
Get the detailed status of a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the detailed status of a link connection on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listLinkTablesWithResponse
public Mono<com.azure.core.http.rest.Response<LinkTableListResponse>> listLinkTablesWithResponse(String linkConnectionName) List the link tables of a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the response body along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listLinkTables
List the link tables of a link connection.- Parameters:
linkConnectionName
- The link connection name.- Returns:
- the response body on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
queryTableStatusWithResponse
public Mono<com.azure.core.http.rest.Response<LinkConnectionQueryTableStatus>> queryTableStatusWithResponse(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest) Query the link table status of a link connection.- Parameters:
linkConnectionName
- The link connection name.queryTableStatusRequest
- Query table status request.- Returns:
- the response body along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
queryTableStatus
public Mono<LinkConnectionQueryTableStatus> queryTableStatus(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest) Query the link table status of a link connection.- Parameters:
linkConnectionName
- The link connection name.queryTableStatusRequest
- Query table status request.- Returns:
- the response body on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateLandingZoneCredentialWithResponse
public Mono<com.azure.core.http.rest.Response<Void>> updateLandingZoneCredentialWithResponse(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest) Update landing zone credential of a link connection.- Parameters:
linkConnectionName
- The link connection name.updateLandingZoneCredentialRequest
- update landing zone credential request.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateLandingZoneCredential
public Mono<Void> updateLandingZoneCredential(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest) Update landing zone credential of a link connection.- Parameters:
linkConnectionName
- The link connection name.updateLandingZoneCredentialRequest
- update landing zone credential request.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-