IWithReadWriteEndpointPolicy.WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the SQL Failover Group read-write endpoint failover policy as "Automatic".
public Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithPartnerServer WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (int gracePeriodInMinutes);
abstract member WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod : int -> Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithPartnerServer
Public Function WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (gracePeriodInMinutes As Integer) As IWithPartnerServer
Parameters
- gracePeriodInMinutes
- Int32
The grace period before failover with data loss is attempted for the read-write endpoint.