Show / Hide Table of Contents

    Class FailoverGroupReadWriteEndpoint

    Read-write endpoint of the failover group instance.

    Inheritance
    Object
    FailoverGroupReadWriteEndpoint
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public class FailoverGroupReadWriteEndpoint

    Constructors

    FailoverGroupReadWriteEndpoint()

    Initializes a new instance of the FailoverGroupReadWriteEndpoint class.

    Declaration
    public FailoverGroupReadWriteEndpoint ();

    FailoverGroupReadWriteEndpoint(String, Nullable<Int32>)

    Initializes a new instance of the FailoverGroupReadWriteEndpoint class.

    Declaration
    public FailoverGroupReadWriteEndpoint (string failoverPolicy, Nullable<int> failoverWithDataLossGracePeriodMinutes = null);
    Parameters
    String failoverPolicy

    Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic'

    Nullable<Int32> failoverWithDataLossGracePeriodMinutes

    Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

    Properties

    FailoverPolicy

    Gets or sets failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="failoverPolicy")]
    public string FailoverPolicy { get; set; }
    Property Value
    String

    FailoverWithDataLossGracePeriodMinutes

    Gets or sets grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="failoverWithDataLossGracePeriodMinutes")]
    public Nullable<int> FailoverWithDataLossGracePeriodMinutes { get; set; }
    Property Value
    Nullable<Int32>

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net