SqlFailoverGroupOperations Interface
public interface SqlFailoverGroupOperations extends SupportsCreating<SqlFailoverGroupOperations.DefinitionStages.WithSqlServer>,SqlChildrenOperations
A representation of the Azure SQL Failover Group operations.
Method Summary
Modifier and Type | Method and Description |
---|---|
Sql |
failover(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
Observable<Sql |
failoverAsync(String resourceGroupName, String serverName, String failoverGroupName)
Asynchronously fails over from the current primary server to this server. |
Sql |
forceFailoverAllowDataLoss(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. This operation might result in data loss. |
Observable<Sql |
forceFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. This operation might result in data loss. |
Inherited Members
Method Details
failover
public SqlFailoverGroup failover(String resourceGroupName, String serverName, 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 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 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