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.

SqlFailoverGroup failover(String failoverGroupName)

Fails over from the current primary server to this server.

Observable<SqlFailoverGroup> failoverAsync(String failoverGroupName)

Asynchronously fails over from the current primary server to this server.

SqlFailoverGroup forceFailoverAllowDataLoss(String failoverGroupName)

Fails over from the current primary server to this server. This operation might result in data loss.

Observable<SqlFailoverGroup> 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:

failoverGroupName - the name of the new Failover Group to be created for the selected SQL server

Returns:

the first stage of the new SQL Failover Group definition

failover

public SqlFailoverGroup failover(String failoverGroupName)

Fails over from the current primary server to this server.

Parameters:

failoverGroupName - the name of the failover group

Returns:

the SqlFailoverGroup object

failoverAsync

public Observable failoverAsync(String failoverGroupName)

Asynchronously fails over from the current primary server to this server.

Parameters:

failoverGroupName - the name of the failover group

Returns:

a representation of the deferred computation of this call returning the SqlFailoverGroup object

forceFailoverAllowDataLoss

public SqlFailoverGroup forceFailoverAllowDataLoss(String failoverGroupName)

Fails over from the current primary server to this server. This operation might result in data loss.

Parameters:

failoverGroupName - the name of the failover group

Returns:

the SqlFailoverGroup object

forceFailoverAllowDataLossAsync

public Observable forceFailoverAllowDataLossAsync(String failoverGroupName)

Fails over from the current primary server to this server. This operation might result in data loss.

Parameters:

failoverGroupName - the name of the failover group

Returns:

a representation of the deferred computation of this call returning the SqlFailoverGroup object

Applies to