SqlFailoverGroupOperations Interface
Implements
public interface SqlFailoverGroupOperations
extends SupportsCreating<WithSqlServer>, SqlChildrenOperations<SqlFailoverGroup>
A representation of the Azure SQL Failover Group operations.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Sql |
failover(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
abstract
rx.Observable<Sql |
failoverAsync(String resourceGroupName, String serverName, String failoverGroupName)
Asynchronously fails over from the current primary server to this server. |
abstract
Sql |
forceFailoverAllowDataLoss(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
abstract
rx.Observable<Sql |
forceFailoverAllowDataLossAsync(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server. |
Method Details
failover
public abstract SqlFailoverGroup failover(String resourceGroupName, String serverName, String failoverGroupName)
Fails over from the current primary server to this server.
Parameters:
Returns:
failoverAsync
public abstract Observable
Asynchronously fails over from the current primary server to this server.
Parameters:
Returns:
forceFailoverAllowDataLoss
public abstract 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:
Returns:
forceFailoverAllowDataLossAsync
public abstract Observable
Fails over from the current primary server to this server. This operation might result in data loss.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för