public interface ReplicationLinksClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailover(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailover(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
com.azure.core.util.Context context)
Sets which replica database is primary by failing over from the current primary replica database.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverAllowDataLoss(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverAllowDataLoss(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
com.azure.core.util.Context context)
Sets which replica database is primary by failing over from the current primary replica database.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverAllowDataLossAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginUnlink(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination)
Deletes a database replication link in forced or friendly way.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginUnlink(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination,
com.azure.core.util.Context context)
Deletes a database replication link in forced or friendly way.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginUnlinkAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination)
Deletes a database replication link in forced or friendly way.
|
void |
delete(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Deletes a database replication link.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Deletes a database replication link.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
com.azure.core.util.Context context)
Deletes a database replication link.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Deletes a database replication link.
|
void |
failover(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
void |
failover(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
com.azure.core.util.Context context)
Sets which replica database is primary by failing over from the current primary replica database.
|
void |
failoverAllowDataLoss(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
void |
failoverAllowDataLoss(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
com.azure.core.util.Context context)
Sets which replica database is primary by failing over from the current primary replica database.
|
Mono<Void> |
failoverAllowDataLossAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
failoverAllowDataLossWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
Mono<Void> |
failoverAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
failoverWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Sets which replica database is primary by failing over from the current primary replica database.
|
ReplicationLinkInner |
get(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Gets a database replication link.
|
Mono<ReplicationLinkInner> |
getAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Gets a database replication link.
|
com.azure.core.http.rest.Response<ReplicationLinkInner> |
getWithResponse(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
com.azure.core.util.Context context)
Gets a database replication link.
|
Mono<com.azure.core.http.rest.Response<ReplicationLinkInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Gets a database replication link.
|
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName)
Lists a database's replication links.
|
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName,
com.azure.core.util.Context context)
Lists a database's replication links.
|
com.azure.core.http.rest.PagedFlux<ReplicationLinkInner> |
listByDatabaseAsync(String resourceGroupName,
String serverName,
String databaseName)
Lists a database's replication links.
|
void |
unlink(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Deletes a database replication link in forced or friendly way.
|
void |
unlink(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination)
Deletes a database replication link in forced or friendly way.
|
void |
unlink(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination,
com.azure.core.util.Context context)
Deletes a database replication link in forced or friendly way.
|
Mono<Void> |
unlinkAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId)
Deletes a database replication link in forced or friendly way.
|
Mono<Void> |
unlinkAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination)
Deletes a database replication link in forced or friendly way.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
unlinkWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String linkId,
Boolean forcedTermination)
Deletes a database replication link in forced or friendly way.
|
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be dropped.linkId - The ID of the replication link to be deleted.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.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be dropped.linkId - The ID of the replication link to be deleted.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.void delete(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be dropped.linkId - The ID of the replication link to be deleted.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be dropped.linkId - The ID of the replication link to be deleted.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ReplicationLinkInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to get the link for.linkId - The replication link ID to be retrieved.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.Mono<ReplicationLinkInner> getAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to get the link for.linkId - The replication link ID to be retrieved.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.ReplicationLinkInner get(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to get the link for.linkId - The replication link ID to be retrieved.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.com.azure.core.http.rest.Response<ReplicationLinkInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to get the link for.linkId - The replication link ID to be retrieved.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailover(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailover(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.context - The context to associate with this operation.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.Mono<Void> failoverAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.void failover(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.void failover(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverAllowDataLossWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.context - The context to associate with this operation.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.Mono<Void> failoverAllowDataLossAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.void failoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.void failoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> unlinkWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginUnlinkAsync(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUnlink(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUnlink(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.context - The context to associate with this operation.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.Mono<Void> unlinkAsync(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.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.Mono<Void> unlinkAsync(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.void unlink(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.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.void unlink(String resourceGroupName, String serverName, String databaseName, String linkId, Boolean forcedTermination, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.forcedTermination - Determines whether link will be terminated in a forced or a friendly way.context - The context to associate with this operation.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.void unlink(String resourceGroupName, String serverName, String databaseName, String linkId)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database that has the replication link to be failed over.linkId - The ID of the replication link to be failed over.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.com.azure.core.http.rest.PagedFlux<ReplicationLinkInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to retrieve links for.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.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to retrieve links for.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.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database to retrieve links for.context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.