SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition Interface
Implements
public static interface SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition
extends SqlChildrenActionsDefinition<SqlFailoverGroup>
Grouping of the Azure SQL Failover Group common actions.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
define(String failoverGroupName)
Begins the definition of a new SQL Failover Group to be added to this server. |
abstract
Sql |
failover(String failoverGroupName)
Fails over from the current primary server to this server. |
abstract
Mono<Sql |
failoverAsync(String failoverGroupName)
Asynchronously fails over from the current primary server to this server. |
abstract
Sql |
forceFailoverAllowDataLoss(String failoverGroupName)
Fails over from the current primary server to this server. |
abstract
Mono<Sql |
forceFailoverAllowDataLossAsync(String failoverGroupName)
Fails over from the current primary server to this server. |
Method Details
define
public abstract SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy define(String failoverGroupName)
Begins the definition of a new SQL Failover Group to be added to this server.
Parameters:
Returns:
failover
public abstract SqlFailoverGroup failover(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 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