Interface SqlPoolReplicationLinksClient
-
public interface SqlPoolReplicationLinksClient
An instance of this class provides access to all the operations defined in SqlPoolReplicationLinksClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicationLinkInner
getByName(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId)
Get SQL pool replication link by name.com.azure.core.http.rest.Response<ReplicationLinkInner>
getByNameWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId, com.azure.core.util.Context context)
Get SQL pool replication link by name.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner>
list(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists a Sql pool's replication links.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner>
list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Lists a Sql pool's replication links.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> list(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists a Sql pool's replication links.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.- Returns:
- represents the response to a List Sql pool replication link request as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Lists a Sql pool's replication links.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.context
- The context to associate with this operation.- Returns:
- represents the response to a List Sql pool replication link request as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByName
ReplicationLinkInner getByName(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId)
Get SQL pool replication link by name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.linkId
- The ID of the replication link.- Returns:
- sQL pool replication link by name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByNameWithResponse
com.azure.core.http.rest.Response<ReplicationLinkInner> getByNameWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId, com.azure.core.util.Context context)
Get SQL pool replication link by name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.linkId
- The ID of the replication link.context
- The context to associate with this operation.- Returns:
- sQL pool replication link by name along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-