Interface SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition
-
- All Superinterfaces:
SqlChildrenOperations.SqlChildrenActionsDefinition<SqlFailoverGroup>
- Enclosing interface:
- SqlFailoverGroupOperations
public static interface SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition extends SqlChildrenOperations.SqlChildrenActionsDefinition<SqlFailoverGroup>
Grouping of the Azure SQL Failover Group common actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicydefine(String failoverGroupName)Begins the definition of a new SQL Failover Group to be added to this server.SqlFailoverGroupfailover(String failoverGroupName)Fails over from the current primary server to this server.Mono<SqlFailoverGroup>failoverAsync(String failoverGroupName)Asynchronously fails over from the current primary server to this server.SqlFailoverGroupforceFailoverAllowDataLoss(String failoverGroupName)Fails over from the current primary server to this server.Mono<SqlFailoverGroup>forceFailoverAllowDataLossAsync(String failoverGroupName)Fails over from the current primary server to this server.-
Methods inherited from interface com.azure.resourcemanager.sql.models.SqlChildrenOperations.SqlChildrenActionsDefinition
delete, deleteAsync, deleteById, deleteByIdAsync, get, getAsync, getById, getByIdAsync, list, listAsync
-
-
-
-
Method Detail
-
define
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
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
Mono<SqlFailoverGroup> 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
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
Mono<SqlFailoverGroup> 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
-
-