SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition Interface

Implements

public static interface SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition
extends SqlChildrenActionsDefinition<SqlFailoverGroup>

Grouping of the Azure SQL Failover Group common actions.

Method Summary

Modifier and Type Method and Description
abstract WithReadWriteEndpointPolicy define(String failoverGroupName)

Begins the definition of a new SQL Failover Group to be added to this server.

abstract SqlFailoverGroup failover(String failoverGroupName)

Fails over from the current primary server to this server.

abstract Mono<SqlFailoverGroup> failoverAsync(String failoverGroupName)

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

abstract SqlFailoverGroup forceFailoverAllowDataLoss(String failoverGroupName)

Fails over from the current primary server to this server.

abstract Mono<SqlFailoverGroup> forceFailoverAllowDataLossAsync(String failoverGroupName)

Fails over from the current primary server to this server.

Method Details

define

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