LinkConnectionClient Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.LinkConnectionClient

public final class LinkConnectionClient

Initializes a new instance of the synchronous ArtifactsClient type.

Method Summary

Modifier and Type Method and Description
LinkConnectionResource createOrUpdate(String linkConnectionName, LinkConnectionResource linkConnection)

Creates or updates a link connection.

Response<LinkConnectionResource> createOrUpdateWithResponse(String linkConnectionName, LinkConnectionResource linkConnection, Context context)

Creates or updates a link connection.

void delete(String linkConnectionName)

Delete a link connection.

Response<Void> deleteWithResponse(String linkConnectionName, Context context)

Delete a link connection.

void editTables(String linkConnectionName, EditTablesRequest editTablesRequest)

Edit tables for a link connection.

Response<Void> editTablesWithResponse(String linkConnectionName, EditTablesRequest editTablesRequest, Context context)

Edit tables for a link connection.

LinkConnectionResource get(String linkConnectionName)

Get a link connection.

LinkConnectionDetailedStatus getDetailedStatus(String linkConnectionName)

Get the detailed status of a link connection.

Response<LinkConnectionDetailedStatus> getDetailedStatusWithResponse(String linkConnectionName, Context context)

Get the detailed status of a link connection.

Response<LinkConnectionResource> getWithResponse(String linkConnectionName, Context context)

Get a link connection.

PagedIterable<LinkConnectionResource> listByWorkspace()

List link connections.

PagedIterable<LinkConnectionResource> listByWorkspace(Context context)

List link connections.

LinkTableListResponse listLinkTables(String linkConnectionName)

List the link tables of a link connection.

Response<LinkTableListResponse> listLinkTablesWithResponse(String linkConnectionName, Context context)

List the link tables of a link connection.

void pause(String linkConnectionName)

Pause a link connection.

Response<Void> pauseWithResponse(String linkConnectionName, Context context)

Pause a link connection.

LinkConnectionQueryTableStatus queryTableStatus(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest)

Query the link table status of a link connection.

Response<LinkConnectionQueryTableStatus> queryTableStatusWithResponse(String linkConnectionName, QueryTableStatusRequest queryTableStatusRequest, Context context)

Query the link table status of a link connection.

void resume(String linkConnectionName)

Resume a link connection.

Response<Void> resumeWithResponse(String linkConnectionName, Context context)

Resume a link connection.

void start(String linkConnectionName)

Start a link connection.

Response<Void> startWithResponse(String linkConnectionName, Context context)

Start a link connection.

void stop(String linkConnectionName)

Stop a link connection.

Response<Void> stopWithResponse(String linkConnectionName, Context context)

Stop a link connection.

void updateLandingZoneCredential(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest)

Update landing zone credential of a link connection.

Response<Void> updateLandingZoneCredentialWithResponse(String linkConnectionName, UpdateLandingZoneCredential updateLandingZoneCredentialRequest, Context context)

Update landing zone credential of a link connection.

Methods inherited from java.lang.Object

Method Details

createOrUpdate

public LinkConnectionResource createOrUpdate(String linkConnectionName, LinkConnectionResource linkConnection)

Creates or updates a link connection.

Parameters:

linkConnectionName - The link connection name.
linkConnection - Link connection resource definition.

Returns:

the response.

createOrUpdateWithResponse

public Response createOrUpdateWithResponse(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<T>.

delete

public void delete(String linkConnectionName)

Delete a link connection.

Parameters:

linkConnectionName - The link connection name.

deleteWithResponse

public Response deleteWithResponse(String linkConnectionName, Context context)

Delete a link connection.

Parameters:

linkConnectionName - The link connection name.
context - The context to associate with this operation.

Returns:

editTables

public void editTables(String linkConnectionName, EditTablesRequest editTablesRequest)

Edit tables for a link connection.

Parameters:

linkConnectionName - The link connection name.
editTablesRequest - Edit tables request.

editTablesWithResponse

public Response 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:

get

public LinkConnectionResource get(String linkConnectionName)

Get a link connection.

Parameters:

linkConnectionName - The link connection name.

Returns:

a link connection.

getDetailedStatus

public LinkConnectionDetailedStatus getDetailedStatus(String linkConnectionName)

Get the detailed status of a link connection.

Parameters:

linkConnectionName - The link connection name.

Returns:

the detailed status of a link connection.

getDetailedStatusWithResponse

public Response 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<T>.

getWithResponse

public Response getWithResponse(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<T>.

listByWorkspace

public PagedIterable listByWorkspace()

List link connections.

Returns:

the paginated response with PagedIterable<T>.

listByWorkspace

public PagedIterable listByWorkspace(Context context)

List link connections.

Parameters:

context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

listLinkTables

public LinkTableListResponse listLinkTables(String linkConnectionName)

List the link tables of a link connection.

Parameters:

linkConnectionName - The link connection name.

Returns:

the response.

listLinkTablesWithResponse

public Response 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<T>.

pause

public void pause(String linkConnectionName)

Pause a link connection. It may take a few minutes from Pausing to Paused, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.

pauseWithResponse

public Response pauseWithResponse(String linkConnectionName, Context context)

Pause a link connection. It may take a few minutes from Pausing to Paused, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.
context - The context to associate with this operation.

Returns:

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.

queryTableStatusWithResponse

public Response 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<T>.

resume

public void resume(String linkConnectionName)

Resume a link connection. It may take a few minutes from Resuming to Running, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.

resumeWithResponse

public Response resumeWithResponse(String linkConnectionName, Context context)

Resume a link connection. It may take a few minutes from Resuming to Running, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.
context - The context to associate with this operation.

Returns:

start

public void start(String linkConnectionName)

Start a link connection. It may take a few minutes from Starting to Running, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.

startWithResponse

public Response startWithResponse(String linkConnectionName, Context context)

Start a link connection. It may take a few minutes from Starting to Running, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.
context - The context to associate with this operation.

Returns:

stop

public void stop(String linkConnectionName)

Stop a link connection. It may take a few minutes from Stopping to stopped, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.

stopWithResponse

public Response stopWithResponse(String linkConnectionName, Context context)

Stop a link connection. It may take a few minutes from Stopping to stopped, monitor the status with LinkConnection_GetDetailedStatus.

Parameters:

linkConnectionName - The link connection name.
context - The context to associate with this operation.

Returns:

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.

updateLandingZoneCredentialWithResponse

public Response 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:

Applies to