SqlFailoverGroupOperations Interface

Implements

public interface SqlFailoverGroupOperations
extends SupportsCreating<WithSqlServer>, SqlChildrenOperations<SqlFailoverGroup>

A representation of the Azure SQL Failover Group operations.

Method Summary

Modifier and Type Method and Description
abstract SqlFailoverGroup failover(String resourceGroupName, String serverName, String failoverGroupName)

Fails over from the current primary server to this server.

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

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

abstract SqlFailoverGroup forceFailoverAllowDataLoss(String resourceGroupName, String serverName, String failoverGroupName)

Fails over from the current primary server to this server.

abstract rx.Observable<SqlFailoverGroup> forceFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String failoverGroupName)

Fails over from the current primary server to this server.

Method Details

failover

public abstract 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 abstract 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 abstract 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 abstract 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