你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

InstanceFailoverGroupInner 构造函数

定义

重载

InstanceFailoverGroupInner()

初始化 InstanceFailoverGroupInner 类的新实例。

InstanceFailoverGroupInner(InstanceFailoverGroupReadWriteEndpoint, IList<PartnerRegionInfo>, IList<ManagedInstancePairInfo>, String, String, String, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReplicationRole, String)

初始化 InstanceFailoverGroupInner 类的新实例。

InstanceFailoverGroupInner()

初始化 InstanceFailoverGroupInner 类的新实例。

public InstanceFailoverGroupInner ();
Public Sub New ()

适用于

InstanceFailoverGroupInner(InstanceFailoverGroupReadWriteEndpoint, IList<PartnerRegionInfo>, IList<ManagedInstancePairInfo>, String, String, String, InstanceFailoverGroupReadOnlyEndpoint, InstanceFailoverGroupReplicationRole, String)

初始化 InstanceFailoverGroupInner 类的新实例。

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

参数

readWriteEndpoint
InstanceFailoverGroupReadWriteEndpoint

故障转移组实例的读写终结点。

partnerRegions
IList<PartnerRegionInfo>

故障转移组的合作伙伴区域信息。

managedInstancePairs
IList<ManagedInstancePairInfo>

故障转移组中托管实例对的列表。

id
String
name
String
type
String
readOnlyEndpoint
InstanceFailoverGroupReadOnlyEndpoint

故障转移组实例的只读终结点。

replicationRole
InstanceFailoverGroupReplicationRole

故障转移组实例的本地复制角色。 可能的值包括:“Primary”、“Secondary”

replicationState
String

故障转移组实例的复制状态。

适用于