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