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
SqlFailoverGroup failover(String resourceGroupName, String serverName, String failoverGroupName)

Fails over from the current primary server to this server.

Observable<SqlFailoverGroup> failoverAsync(String resourceGroupName, String serverName, String failoverGroupName)

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

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.

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

resourceGroupName - the name of the resource group that contains the resource
serverName - the name of the server containing the failover group
failoverGroupName - the name of the failover group

Returns:

the SqlFailoverGroup object

failoverAsync

public Observable failoverAsync(String resourceGroupName, String serverName, String failoverGroupName)

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

Parameters:

resourceGroupName - the name of the resource group that contains the resource
serverName - the name of the server containing the failover group
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 resourceGroupName, String serverName, String failoverGroupName)

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

Parameters:

resourceGroupName - the name of the resource group that contains the resource
serverName - the name of the server containing the failover group
failoverGroupName - the name of the failover group

Returns:

the SqlFailoverGroup object

forceFailoverAllowDataLossAsync

public Observable forceFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String failoverGroupName)

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

Parameters:

resourceGroupName - the name of the resource group that contains the resource
serverName - the name of the server containing the failover group
failoverGroupName - the name of the failover group

Returns:

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

Applies to