SqlFailoverGroup.UpdateStages.WithReadWriteEndpointPolicy Interface
public static interface SqlFailoverGroup.UpdateStages.WithReadWriteEndpointPolicy
The SQL Failover Group update definition to set the read-write endpoint failover policy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)
Sets the SQL Failover Group read-write endpoint failover policy as "Automatic". |
abstract Update |
withManualReadWriteEndpointPolicy()
Sets the SQL Failover Group read-write endpoint failover policy as "Manual". |
Method Details
withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod
public abstract SqlFailoverGroup.Update withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)
Sets the SQL Failover Group read-write endpoint failover policy as "Automatic".
Parameters:
Returns:
withManualReadWriteEndpointPolicy
public abstract SqlFailoverGroup.Update withManualReadWriteEndpointPolicy()
Sets the SQL Failover Group read-write endpoint failover policy as "Manual".
Returns:
Applies to
Azure SDK for Java