Interface SqlPoolReplicationLinks
public interface SqlPoolReplicationLinks
Resource collection API of SqlPoolReplicationLinks.
-
Method Summary
Modifier and TypeMethodDescriptionGet SQL pool replication link by namecom.azure.core.http.rest.Response<ReplicationLink>
getByNameWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId, com.azure.core.util.Context context) Get SQL pool replication link by namecom.azure.core.http.rest.PagedIterable<ReplicationLink>
Get SQL pool replication linkscom.azure.core.http.rest.PagedIterable<ReplicationLink>
list
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Get SQL pool replication links
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ReplicationLink> list(String resourceGroupName, String workspaceName, String sqlPoolName) Get SQL pool replication linksLists 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<ReplicationLink> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Get SQL pool replication linksLists 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.
-
getByNameWithResponse
com.azure.core.http.rest.Response<ReplicationLink> getByNameWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId, com.azure.core.util.Context context) Get SQL pool replication link by nameGet 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.
-
getByName
ReplicationLink getByName(String resourceGroupName, String workspaceName, String sqlPoolName, String linkId) Get SQL pool replication link by nameGet 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.
-