Interface SqlFailoverGroupOperations
- All Superinterfaces:
SqlChildrenOperations<SqlFailoverGroup>
,SupportsCreating<SqlFailoverGroupOperations.DefinitionStages.WithSqlServer>
@Beta(V1_8_0)
public interface SqlFailoverGroupOperations
extends SupportsCreating<SqlFailoverGroupOperations.DefinitionStages.WithSqlServer>, SqlChildrenOperations<SqlFailoverGroup>
A representation of the Azure SQL Failover Group operations.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Grouping of all the SQL Failover Group definition stages.static interface
Grouping of the Azure SQL Failover Group common actions.static interface
Container interface for all the definitions that need to be implemented.Nested classes/interfaces inherited from interface com.microsoft.azure.management.sql.SqlChildrenOperations
SqlChildrenOperations.SqlChildrenActionsDefinition<T>
-
Method Summary
Modifier and TypeMethodDescriptionFails over from the current primary server to this server.rx.Observable<SqlFailoverGroup>
failoverAsync
(String resourceGroupName, String serverName, String failoverGroupName) Asynchronously fails over from the current primary server to this server.forceFailoverAllowDataLoss
(String resourceGroupName, String serverName, String failoverGroupName) Fails over from the current primary server to this server.rx.Observable<SqlFailoverGroup>
forceFailoverAllowDataLossAsync
(String resourceGroupName, String serverName, String failoverGroupName) Fails over from the current primary server to this server.Methods inherited from interface com.microsoft.azure.management.sql.SqlChildrenOperations
deleteById, deleteByIdAsync, deleteBySqlServer, deleteBySqlServerAsync, getById, getByIdAsync, getBySqlServer, getBySqlServer, getBySqlServerAsync, getBySqlServerAsync, listBySqlServer, listBySqlServer, listBySqlServerAsync, listBySqlServerAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
-
Method Details
-
failover
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
rx.Observable<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
rx.Observable<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
-