Interface SqlFailoverGroup.UpdateStages.WithReadWriteEndpointPolicy

  • All Known Subinterfaces:
    SqlFailoverGroup.Update
    Enclosing interface:
    SqlFailoverGroup.UpdateStages

    public static interface SqlFailoverGroup.UpdateStages.WithReadWriteEndpointPolicy
    The SQL Failover Group update definition to set the read-write endpoint failover policy.
    • Method Detail

      • withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod

        SqlFailoverGroup.Update 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

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