Interface SqlFailoverGroupOperations
-
- All Superinterfaces:
SqlChildrenOperations<SqlFailoverGroup>,SupportsCreating<SqlFailoverGroupOperations.DefinitionStages.WithSqlServer>
public interface SqlFailoverGroupOperations extends SupportsCreating<SqlFailoverGroupOperations.DefinitionStages.WithSqlServer>, SqlChildrenOperations<SqlFailoverGroup>
A representation of the Azure SQL Failover Group operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSqlFailoverGroupOperations.DefinitionStagesGrouping of all the SQL Failover Group definition stages.static interfaceSqlFailoverGroupOperations.SqlFailoverGroupActionsDefinitionGrouping of the Azure SQL Failover Group common actions.static interfaceSqlFailoverGroupOperations.SqlFailoverGroupOperationsDefinitionContainer interface for all the definitions that need to be implemented.-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.sql.models.SqlChildrenOperations
SqlChildrenOperations.SqlChildrenActionsDefinition<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlFailoverGroupfailover(String resourceGroupName, String serverName, String failoverGroupName)Fails over from the current primary server to this server.Mono<SqlFailoverGroup>failoverAsync(String resourceGroupName, String serverName, String failoverGroupName)Asynchronously fails over from the current primary server to this server.SqlFailoverGroupforceFailoverAllowDataLoss(String resourceGroupName, String serverName, String failoverGroupName)Fails over from the current primary server to this server.Mono<SqlFailoverGroup>forceFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String failoverGroupName)Fails over from the current primary server to this server.-
Methods inherited from interface com.azure.resourcemanager.sql.models.SqlChildrenOperations
deleteById, deleteByIdAsync, deleteBySqlServer, deleteBySqlServerAsync, getById, getByIdAsync, getBySqlServer, getBySqlServer, getBySqlServerAsync, getBySqlServerAsync, listBySqlServer, listBySqlServer, listBySqlServerAsync, listBySqlServerAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
-
-
-
-
Method Detail
-
failover
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 resourceserverName- the name of the server containing the failover groupfailoverGroupName- the name of the failover group- Returns:
- the SqlFailoverGroup object
-
failoverAsync
Mono<SqlFailoverGroup> 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 resourceserverName- the name of the server containing the failover groupfailoverGroupName- the name of the failover group- Returns:
- a representation of the deferred computation of this call returning the SqlFailoverGroup object
-
forceFailoverAllowDataLoss
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 resourceserverName- the name of the server containing the failover groupfailoverGroupName- the name of the failover group- Returns:
- the SqlFailoverGroup object
-
forceFailoverAllowDataLossAsync
Mono<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.- Parameters:
resourceGroupName- the name of the resource group that contains the resourceserverName- the name of the server containing the failover groupfailoverGroupName- the name of the failover group- Returns:
- a representation of the deferred computation of this call returning the SqlFailoverGroup object
-
-