Interface SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy

All Known Subinterfaces:
SqlFailoverGroupOperations.SqlFailoverGroupOperationsDefinition
Enclosing interface:
SqlFailoverGroupOperations.DefinitionStages

@Beta(V1_8_0) public static interface SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy
The SQL Failover Group definition to set the read-write endpoint failover policy.
  • Method Details

    • withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod

      SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)
      Sets the SQL Failover Group read-write endpoint failover policy as "Automatic".
      Parameters:
      gracePeriodInMinutes - the grace period before failover with data loss is attempted for the read-write endpoint
      Returns:
      the next stage of the definition
    • withManualReadWriteEndpointPolicy

      Sets the SQL Failover Group read-write endpoint failover policy as "Manual".
      Returns:
      the next stage of the definition