Class LinkConnectionClient
java.lang.Object
com.azure.analytics.synapse.artifacts.LinkConnectionClient
Initializes a new instance of the synchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateLinkConnection(String linkConnectionName, LinkConnectionResource linkConnection) Creates or updates a link connection.createOrUpdateLinkConnectionWithResponse(String linkConnectionName, LinkConnectionResource linkConnection, Context context) Creates or updates a link connection.voiddeleteLinkConnection(String linkConnectionName) Delete a link connection.deleteLinkConnectionWithResponse(String linkConnectionName, Context context) Delete a link connection.voideditTables(String linkConnectionName, EditTablesRequest editTablesRequest) Edit tables for a link connection.editTablesWithResponse(String linkConnectionName, EditTablesRequest editTablesRequest, Context context) Edit tables for a link connection.getDetailedStatus(String linkConnectionName) Get the detailed status of a link connection.getDetailedStatusWithResponse(String linkConnectionName, Context context) Get the detailed status of a link connection.getLinkConnection(String linkConnectionName) Get a link connection.getLinkConnectionWithResponse(String linkConnectionName, Context context) Get a link connection.List link connections.listLinkConnectionsByWorkspace(Context context) List link connections.listLinkTables(String linkConnectionName) List the link tables of a link connection.listLinkTablesWithResponse(String linkConnectionName, Context context) List the link tables of a link connection.queryTableStatus(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest) Query the link table status of a link connection.queryTableStatusWithResponse(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest, Context context) Query the link table status of a link connection.voidStart a link connection.startWithResponse(String linkConnectionName, Context context) Start a link connection.voidStop a link connection.stopWithResponse(String linkConnectionName, Context context) Stop a link connection.voidupdateLandingZoneCredential(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest) Update landing zone credential of a link connection.updateLandingZoneCredentialWithResponse(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest, Context context) Update landing zone credential of a link connection.
-
Method Details
-
listLinkConnectionsByWorkspace
List link connections.- Returns:
- the paginated response with
PagedIterable. - Throws:
CloudErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listLinkConnectionsByWorkspace
List link connections.- Parameters:
context- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable. - 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 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.
- 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.
-
createOrUpdateLinkConnectionWithResponse
public Response<LinkConnectionResource> createOrUpdateLinkConnectionWithResponse(String linkConnectionName, LinkConnectionResource linkConnection, Context context) Creates or updates a link connection.- Parameters:
linkConnectionName- The link connection name.linkConnection- Link connection resource definition.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - 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.
- 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 Response<LinkConnectionResource> getLinkConnectionWithResponse(String linkConnectionName, Context context) Get a link connection.- Parameters:
linkConnectionName- The link connection name.context- The context to associate with this operation.- Returns:
- a link connection along with
Response. - 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.- 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
Delete a link connection.- Parameters:
linkConnectionName- The link connection name.context- The context to associate with this operation.- Returns:
- the
Response. - 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.- 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 Response<Void> editTablesWithResponse(String linkConnectionName, EditTablesRequest editTablesRequest, Context context) Edit tables for a link connection.- Parameters:
linkConnectionName- The link connection name.editTablesRequest- Edit tables request.context- The context to associate with this operation.- Returns:
- the
Response. - 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.- 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.context- The context to associate with this operation.- Returns:
- the
Response. - 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.- 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.context- The context to associate with this operation.- Returns:
- the
Response. - 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.
- 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 Response<LinkConnectionDetailedStatus> getDetailedStatusWithResponse(String linkConnectionName, Context context) Get the detailed status of a link connection.- Parameters:
linkConnectionName- The link connection name.context- The context to associate with this operation.- Returns:
- the detailed status of a link connection along with
Response. - 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.
- 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 Response<LinkTableListResponse> listLinkTablesWithResponse(String linkConnectionName, Context context) List the link tables of a link connection.- Parameters:
linkConnectionName- The link connection name.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - 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 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.
- 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 Response<LinkConnectionQueryTableStatus> queryTableStatusWithResponse(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest, Context context) Query the link table status of a link connection.- Parameters:
linkConnectionName- The link connection name.queryTableStatusRequest- Query table status request.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - 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 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.- 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 Response<Void> updateLandingZoneCredentialWithResponse(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest, Context context) Update landing zone credential of a link connection.- Parameters:
linkConnectionName- The link connection name.updateLandingZoneCredentialRequest- update landing zone credential request.context- The context to associate with this operation.- Returns:
- the
Response. - 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.
-