Interface ReplicationLinksClient
public interface ReplicationLinksClient
An instance of this class provides access to all the operations defined in ReplicationLinksClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.beginDelete(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Deletes the replication link.beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailover(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailover(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server allowing data loss.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.voidDeletes the replication link.voiddelete(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Deletes the replication link.deleteAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.Fails over from the current primary server to this server.failover(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server.failoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.failoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server allowing data loss.failoverAllowDataLossAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverAllowDataLossWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.failoverAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.Gets a replication link.Gets a 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 replication link.Mono<com.azure.core.http.rest.Response<ReplicationLinkInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Gets a replication link.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets a list of replication links on database.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a list of replication links on database.com.azure.core.http.rest.PagedFlux<ReplicationLinkInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets a list of replication links on database.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByServer(String resourceGroupName, String serverName) Gets a list of replication links.com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Gets a list of replication links.com.azure.core.http.rest.PagedFlux<ReplicationLinkInner> listByServerAsync(String resourceGroupName, String serverName) Gets a list of replication links.
-
Method Details
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<ReplicationLinkInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets a list of replication links on database.- Parameters:
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.- Returns:
- a list of replication links on database as paginated response with
PagedFlux. - 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets a list of replication links on database.- Parameters:
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.- Returns:
- a list of replication links on database 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a list of replication links on database.- Parameters:
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.context- The context to associate with this operation.- Returns:
- a list of replication links on database 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ReplicationLinkInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Gets a replication link.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<ReplicationLinkInner> getAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Gets a replication link.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link on successful completion of
Mono. - 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.
-
getWithResponse
com.azure.core.http.rest.Response<ReplicationLinkInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Gets a replication link.- Parameters:
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.linkId- The name of the replication link.context- The context to associate with this operation.- Returns:
- a replication link 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.
-
get
ReplicationLinkInner get(String resourceGroupName, String serverName, String databaseName, String linkId) Gets a replication link.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
delete
Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.- 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.
-
delete
void delete(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Deletes the replication link.- Parameters:
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.linkId- The linkId parameter.context- The context to associate with this operation.- 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.
-
failoverWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link along with
Responseon successful completion ofMono. - 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.
-
beginFailoverAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.- Returns:
- the
PollerFluxfor polling of a replication link. - 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.
-
beginFailover
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailover(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.- Returns:
- the
SyncPollerfor polling of a replication link. - 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.
-
beginFailover
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailover(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a replication link. - 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.
-
failoverAsync
Mono<ReplicationLinkInner> failoverAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link on successful completion of
Mono. - 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.
-
failover
ReplicationLinkInner failover(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link.
- 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.
-
failover
ReplicationLinkInner failover(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server.- Parameters:
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.linkId- The name of the replication link.context- The context to associate with this operation.- Returns:
- a replication link.
- 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.
-
failoverAllowDataLossWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverAllowDataLossWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link along with
Responseon successful completion ofMono. - 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.
-
beginFailoverAllowDataLossAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.- Returns:
- the
PollerFluxfor polling of a replication link. - 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.
-
beginFailoverAllowDataLoss
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.- Returns:
- the
SyncPollerfor polling of a replication link. - 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.
-
beginFailoverAllowDataLoss
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationLinkInner>, ReplicationLinkInner> beginFailoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a replication link. - 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.
-
failoverAllowDataLossAsync
Mono<ReplicationLinkInner> failoverAllowDataLossAsync(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link on successful completion of
Mono. - 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.
-
failoverAllowDataLoss
ReplicationLinkInner failoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.- Returns:
- a replication link.
- 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.
-
failoverAllowDataLoss
ReplicationLinkInner failoverAllowDataLoss(String resourceGroupName, String serverName, String databaseName, String linkId, com.azure.core.util.Context context) Fails over from the current primary server to this server allowing data loss.- Parameters:
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.linkId- The name of the replication link.context- The context to associate with this operation.- Returns:
- a replication link.
- 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.
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ReplicationLinkInner> listByServerAsync(String resourceGroupName, String serverName) Gets a list of replication links.- Parameters:
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.- Returns:
- a list of replication links as paginated response with
PagedFlux. - 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByServer(String resourceGroupName, String serverName) Gets a list of replication links.- Parameters:
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.- Returns:
- a list of replication links 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ReplicationLinkInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Gets a list of replication links.- Parameters:
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.context- The context to associate with this operation.- Returns:
- a list of replication links 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.
-