SqlFailoverGroupOperations Interface
Implements
public interface SqlFailoverGroupOperations
extends SupportsCreating<WithSqlServer>, SqlChildrenOperations<SqlFailoverGroup>
A representation of the Azure SQL Failover Group operations.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Sql |
failover(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
abstract
Mono<Sql |
failoverAsync(String resourceGroupName, String serverName, String failoverGroupName)
Asynchronously fails over from the current primary server to this server. |
abstract
Sql |
forceFailoverAllowDataLoss(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
abstract
Mono<Sql |
forceFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
Method Details
failover
public abstract SqlFailoverGroup failover(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server.
Parameters:
Returns:
failoverAsync
public abstract Mono
Asynchronously fails over from the current primary server to this server.
Parameters:
Returns:
forceFailoverAllowDataLoss
public abstract SqlFailoverGroup forceFailoverAllowDataLoss(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. This operation might result in data loss.
Parameters:
Returns:
forceFailoverAllowDataLossAsync
public abstract Mono
Fails over from the current primary server to this server. This operation might result in data loss.
Parameters:
Returns:
Applies to
Azure SDK for Java