Delen via


InstanceFailoverGroup Constructors

Definition

Overloads

InstanceFailoverGroup()

Initializes a new instance of the InstanceFailoverGroup class.

InstanceFailoverGroup(InstanceFailoverGroupReadWriteEndpoint, IList<PartnerRegionInfo>, IList<ManagedInstancePairInfo>, String, String, String, InstanceFailoverGroupReadOnlyEndpoint, String, String)

Initializes a new instance of the InstanceFailoverGroup class.

InstanceFailoverGroup()

Initializes a new instance of the InstanceFailoverGroup class.

public InstanceFailoverGroup ();
Public Sub New ()

Applies to

InstanceFailoverGroup(InstanceFailoverGroupReadWriteEndpoint, IList<PartnerRegionInfo>, IList<ManagedInstancePairInfo>, String, String, String, InstanceFailoverGroupReadOnlyEndpoint, String, String)

Initializes a new instance of the InstanceFailoverGroup class.

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 = default, string name = default, string type = default, Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint = default, string replicationRole = default, string replicationState = default);
new Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroup : Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroupReadWriteEndpoint * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerRegionInfo> * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.ManagedInstancePairInfo> * string * string * string * Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroupReadOnlyEndpoint * string * string -> Microsoft.Azure.Management.Sql.Models.InstanceFailoverGroup
Public Sub New (readWriteEndpoint As InstanceFailoverGroupReadWriteEndpoint, partnerRegions As IList(Of PartnerRegionInfo), managedInstancePairs As IList(Of ManagedInstancePairInfo), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional readOnlyEndpoint As InstanceFailoverGroupReadOnlyEndpoint = Nothing, Optional replicationRole As String = Nothing, Optional replicationState As String = Nothing)

Parameters

readWriteEndpoint
InstanceFailoverGroupReadWriteEndpoint

Read-write endpoint of the failover group instance.

partnerRegions
IList<PartnerRegionInfo>

Partner region information for the failover group.

managedInstancePairs
IList<ManagedInstancePairInfo>

List of managed instance pairs in the failover group.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

readOnlyEndpoint
InstanceFailoverGroupReadOnlyEndpoint

Read-only endpoint of the failover group instance.

replicationRole
String

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

replicationState
String

Replication state of the failover group instance.

Applies to