Show / Hide Table of Contents

    Class FailoverGroup

    A failover group.

    Inheritance
    Object
    Resource
    ProxyResource
    FailoverGroup
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class FailoverGroup : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    FailoverGroup()

    Initializes a new instance of the FailoverGroup class.

    Declaration
    public FailoverGroup ();

    FailoverGroup(FailoverGroupReadWriteEndpoint, IList<PartnerInfo>, String, String, String, String, IDictionary<String,String>, FailoverGroupReadOnlyEndpoint, String, String, IList<String>)

    Initializes a new instance of the FailoverGroup class.

    Declaration
    public FailoverGroup (Microsoft.Azure.Management.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerInfo> partnerServers, string id = null, string name = null, string type = null, string location = null, System.Collections.Generic.IDictionary<string,string> tags = null, Microsoft.Azure.Management.Sql.Models.FailoverGroupReadOnlyEndpoint readOnlyEndpoint = null, string replicationRole = null, string replicationState = null, System.Collections.Generic.IList<string> databases = null);
    Parameters
    FailoverGroupReadWriteEndpoint readWriteEndpoint

    Read-write endpoint of the failover group instance.

    IList<PartnerInfo> partnerServers

    List of partner server information for the failover group.

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    String location

    Resource location.

    IDictionary<String,String> tags

    Resource tags.

    FailoverGroupReadOnlyEndpoint readOnlyEndpoint

    Read-only endpoint of the failover group instance.

    String replicationRole

    Local replication role of the failover group instance. Possible values include: 'Primary', 'Secondary'

    String replicationState

    Replication state of the failover group instance.

    IList<String> databases

    List of databases in the failover group.

    Properties

    Databases

    Gets or sets list of databases in the failover group.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.databases")]
    public System.Collections.Generic.IList<string> Databases { get; set; }
    Property Value
    IList<String>

    Location

    Gets resource location.

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

    PartnerServers

    Gets or sets list of partner server information for the failover group.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.partnerServers")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerInfo> PartnerServers { get; set; }
    Property Value
    IList<PartnerInfo>

    ReadOnlyEndpoint

    Gets or sets read-only endpoint of the failover group instance.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.readOnlyEndpoint")]
    public Microsoft.Azure.Management.Sql.Models.FailoverGroupReadOnlyEndpoint ReadOnlyEndpoint { get; set; }
    Property Value
    FailoverGroupReadOnlyEndpoint

    ReadWriteEndpoint

    Gets or sets read-write endpoint of the failover group instance.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.readWriteEndpoint")]
    public Microsoft.Azure.Management.Sql.Models.FailoverGroupReadWriteEndpoint ReadWriteEndpoint { get; set; }
    Property Value
    FailoverGroupReadWriteEndpoint

    ReplicationRole

    Gets local replication role of the failover group instance. Possible values include: 'Primary', 'Secondary'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.replicationRole")]
    public string ReplicationRole { get; }
    Property Value
    String

    ReplicationState

    Gets replication state of the failover group instance.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.replicationState")]
    public string ReplicationState { get; }
    Property Value
    String

    Tags

    Gets or sets resource tags.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="tags")]
    public System.Collections.Generic.IDictionary<string,string> Tags { get; set; }
    Property Value
    IDictionary<String,String>

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net