Compartilhar via


ArmSqlModelFactory.FailoverGroupData Método

Definição

Inicializa uma nova instância de FailoverGroupData.

public static Azure.ResourceManager.Sql.FailoverGroupData FailoverGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint readOnlyEndpoint = default, Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole? replicationRole = default, string replicationState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerServerInfo> partnerServers = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> failoverDatabases = default);
static member FailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Sql.Models.FailoverGroupReadWriteEndpoint * Azure.ResourceManager.Sql.Models.FailoverGroupReadOnlyEndpoint * Nullable<Azure.ResourceManager.Sql.Models.FailoverGroupReplicationRole> * string * seq<Azure.ResourceManager.Sql.Models.PartnerServerInfo> * seq<Azure.Core.ResourceIdentifier> -> Azure.ResourceManager.Sql.FailoverGroupData
Public Shared Function FailoverGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional readWriteEndpoint As FailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpoint As FailoverGroupReadOnlyEndpoint = Nothing, Optional replicationRole As Nullable(Of FailoverGroupReplicationRole) = Nothing, Optional replicationState As String = Nothing, Optional partnerServers As IEnumerable(Of PartnerServerInfo) = Nothing, Optional failoverDatabases As IEnumerable(Of ResourceIdentifier) = Nothing) As FailoverGroupData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

location
Nullable<AzureLocation>

Local do recurso.

tags
IDictionary<String,String>

Marcas de recurso.

readWriteEndpoint
FailoverGroupReadWriteEndpoint

Ponto de extremidade de leitura/gravação da instância do grupo de failover.

readOnlyEndpoint
FailoverGroupReadOnlyEndpoint

Ponto de extremidade somente leitura da instância do grupo de failover.

replicationRole
Nullable<FailoverGroupReplicationRole>

Função de replicação local da instância do grupo de failover.

replicationState
String

Estado de replicação da instância do grupo de failover.

partnerServers
IEnumerable<PartnerServerInfo>

Lista de informações do servidor parceiro para o grupo de failover.

failoverDatabases
IEnumerable<ResourceIdentifier>

Lista de bancos de dados no grupo de failover.

Retornos

Uma nova FailoverGroupData instância para zombar.

Aplica-se a