Show / Hide Table of Contents

    Class PartnerInfo

    Partner server information for the failover group.

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

    Constructors

    PartnerInfo()

    Initializes a new instance of the PartnerInfo class.

    Declaration
    public PartnerInfo ();

    PartnerInfo(String, String, String)

    Initializes a new instance of the PartnerInfo class.

    Declaration
    public PartnerInfo (string id, string location = null, string replicationRole = null);
    Parameters
    String id

    Resource identifier of the partner server.

    String location

    Geo location of the partner server.

    String replicationRole

    Replication role of the partner server. Possible values include: 'Primary', 'Secondary'

    Properties

    Id

    Gets or sets resource identifier of the partner server.

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

    Location

    Gets geo location of the partner server.

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

    ReplicationRole

    Gets replication role of the partner server. Possible values include: 'Primary', 'Secondary'

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net