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.SqlFailoverGroup.Update.IUpdate WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (int gracePeriodInMinutes);
abstract member WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod : int -> Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IUpdate
Public Function WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod (gracePeriodInMinutes As Integer) As IUpdate
Parameters
- gracePeriodInMinutes
- Int32
The grace period before failover with data loss is attempted for the read-write endpoint.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET