Class InstanceFailoverGroup
An instance failover group.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class InstanceFailoverGroup : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
InstanceFailoverGroup()
Initializes a new instance of the InstanceFailoverGroup class.
Declaration
public InstanceFailoverGroup ();
InstanceFailoverGroup(InstanceFailoverGroupReadWriteEndpoint, IList<PartnerRegionInfo>, IList<ManagedInstancePairInfo>, String, String, String, InstanceFailoverGroupReadOnlyEndpoint, String, String)
Initializes a new instance of the InstanceFailoverGroup class.
Declaration
public InstanceFailoverGroup (Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerRegionInfo> partnerRegions, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ManagedInstancePairInfo> managedInstancePairs, string id = null, string name = null, string type = null, Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint = null, string replicationRole = null, string replicationState = null);
Parameters
InstanceFailoverGroupReadWriteEndpoint
readWriteEndpoint
Read-write endpoint of the failover group instance. |
IList<PartnerRegionInfo>
partnerRegions
Partner region information for the failover group. |
IList<ManagedInstancePairInfo>
managedInstancePairs
List of managed instance pairs in the failover group. |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
InstanceFailoverGroupReadOnlyEndpoint
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. |
Properties
ManagedInstancePairs
Gets or sets list of managed instance pairs in the failover group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.managedInstancePairs")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ManagedInstancePairInfo> ManagedInstancePairs { get; set; }
Property Value
IList<ManagedInstancePairInfo>
|
PartnerRegions
Gets or sets partner region information for the failover group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.partnerRegions")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerRegionInfo> PartnerRegions { get; set; }
Property Value
IList<PartnerRegionInfo>
|
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.InstanceFailoverGroupReadOnlyEndpoint ReadOnlyEndpoint { get; set; }
Property Value
InstanceFailoverGroupReadOnlyEndpoint
|
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.InstanceFailoverGroupReadWriteEndpoint ReadWriteEndpoint { get; set; }
Property Value
InstanceFailoverGroupReadWriteEndpoint
|
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
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |