ArmSqlModelFactory.InstanceFailoverGroupData Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de InstanceFailoverGroupData.
public static Azure.ResourceManager.Sql.InstanceFailoverGroupData InstanceFailoverGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.GeoSecondaryInstanceType? secondaryType = default, Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint = default, Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy? readOnlyEndpointFailoverPolicy = default, Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReplicationRole? replicationRole = default, string replicationState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.PartnerRegionInfo> partnerRegions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstancePairInfo> managedInstancePairs = default);
static member InstanceFailoverGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.GeoSecondaryInstanceType> * Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReadWriteEndpoint * Nullable<Azure.ResourceManager.Sql.Models.ReadOnlyEndpointFailoverPolicy> * Nullable<Azure.ResourceManager.Sql.Models.InstanceFailoverGroupReplicationRole> * string * seq<Azure.ResourceManager.Sql.Models.PartnerRegionInfo> * seq<Azure.ResourceManager.Sql.Models.ManagedInstancePairInfo> -> Azure.ResourceManager.Sql.InstanceFailoverGroupData
Public Shared Function InstanceFailoverGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional secondaryType As Nullable(Of GeoSecondaryInstanceType) = Nothing, Optional readWriteEndpoint As InstanceFailoverGroupReadWriteEndpoint = Nothing, Optional readOnlyEndpointFailoverPolicy As Nullable(Of ReadOnlyEndpointFailoverPolicy) = Nothing, Optional replicationRole As Nullable(Of InstanceFailoverGroupReplicationRole) = Nothing, Optional replicationState As String = Nothing, Optional partnerRegions As IEnumerable(Of PartnerRegionInfo) = Nothing, Optional managedInstancePairs As IEnumerable(Of ManagedInstancePairInfo) = Nothing) As InstanceFailoverGroupData
Parâmetros
A ID.
- name
- String
O nome.
- resourceType
- ResourceType
O resourceType.
- systemData
- SystemData
O systemData.
- secondaryType
- Nullable<GeoSecondaryInstanceType>
Tipo da instância geográfica secundária. Defina 'Standby' se a instância for usada apenas como uma opção de DR.
- readWriteEndpoint
- InstanceFailoverGroupReadWriteEndpoint
Ponto de extremidade de leitura/gravação da instância do grupo de failover.
- readOnlyEndpointFailoverPolicy
- Nullable<ReadOnlyEndpointFailoverPolicy>
Ponto de extremidade somente leitura da instância do grupo de failover.
- replicationRole
- Nullable<InstanceFailoverGroupReplicationRole>
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.
- partnerRegions
- IEnumerable<PartnerRegionInfo>
Informações da região do parceiro para o grupo de failover.
- managedInstancePairs
- IEnumerable<ManagedInstancePairInfo>
Lista de pares de instância gerenciada no grupo de failover.
Retornos
Uma nova InstanceFailoverGroupData instância para simulação.
Aplica-se a
Azure SDK for .NET