共用方式為


FailoverGroup Constructors

Definition

Overloads

FailoverGroup()

Initializes a new instance of the FailoverGroup class.

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

Initializes a new instance of the FailoverGroup class.

FailoverGroup()

Initializes a new instance of the FailoverGroup class.

public FailoverGroup ();
Public Sub New ()

Applies to

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

Initializes a new instance of the FailoverGroup class.

public FailoverGroup (Microsoft.Azure.Management.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerInfo> partnerServers, string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Sql.Models.FailoverGroupReadOnlyEndpoint readOnlyEndpoint = default, string replicationRole = default, string replicationState = default, System.Collections.Generic.IList<string> databases = default);
new Microsoft.Azure.Management.Sql.Models.FailoverGroup : Microsoft.Azure.Management.Sql.Models.FailoverGroupReadWriteEndpoint * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.PartnerInfo> * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Sql.Models.FailoverGroupReadOnlyEndpoint * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Sql.Models.FailoverGroup
Public Sub New (readWriteEndpoint As FailoverGroupReadWriteEndpoint, partnerServers As IList(Of PartnerInfo), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional readOnlyEndpoint As FailoverGroupReadOnlyEndpoint = Nothing, Optional replicationRole As String = Nothing, Optional replicationState As String = Nothing, Optional databases As IList(Of String) = Nothing)

Parameters

readWriteEndpoint
FailoverGroupReadWriteEndpoint

Read-write endpoint of the failover group instance.

partnerServers
IList<PartnerInfo>

List of partner server information for the failover group.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

readOnlyEndpoint
FailoverGroupReadOnlyEndpoint

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.

databases
IList<String>

List of databases in the failover group.

Applies to