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
Modifier and TypeMethodDescriptionBegins the definition of a new SQL Failover Group to be added to this server.Fails over from the current primary server to this server.failoverAsync(String failoverGroupName) Asynchronously fails over from the current primary server to this server.forceFailoverAllowDataLoss(String failoverGroupName) Fails over from the current primary server to this server.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 Details
-
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
Fails over from the current primary server to this server.- Parameters:
failoverGroupName- the name of the failover group- Returns:
- the SqlFailoverGroup object
-
failoverAsync
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
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
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
-