ArmSqlModelFactory.SqlServerDatabaseReplicationLinkData 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 SqlServerDatabaseReplicationLinkData.
public static Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkData SqlServerDatabaseReplicationLinkData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string partnerServer = default, string partnerDatabase = default, Azure.Core.AzureLocation? partnerLocation = default, Azure.ResourceManager.Sql.Models.SqlServerDatabaseReplicationRole? role = default, Azure.ResourceManager.Sql.Models.SqlServerDatabaseReplicationRole? partnerRole = default, string replicationMode = default, DateTimeOffset? startOn = default, int? percentComplete = default, Azure.ResourceManager.Sql.Models.ReplicationLinkState? replicationState = default, bool? isTerminationAllowed = default, Azure.ResourceManager.Sql.Models.ReplicationLinkType? linkType = default);
static member SqlServerDatabaseReplicationLinkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Sql.Models.SqlServerDatabaseReplicationRole> * Nullable<Azure.ResourceManager.Sql.Models.SqlServerDatabaseReplicationRole> * string * Nullable<DateTimeOffset> * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.ReplicationLinkState> * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.ReplicationLinkType> -> Azure.ResourceManager.Sql.SqlServerDatabaseReplicationLinkData
Public Shared Function SqlServerDatabaseReplicationLinkData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional partnerServer As String = Nothing, Optional partnerDatabase As String = Nothing, Optional partnerLocation As Nullable(Of AzureLocation) = Nothing, Optional role As Nullable(Of SqlServerDatabaseReplicationRole) = Nothing, Optional partnerRole As Nullable(Of SqlServerDatabaseReplicationRole) = Nothing, Optional replicationMode As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional replicationState As Nullable(Of ReplicationLinkState) = Nothing, Optional isTerminationAllowed As Nullable(Of Boolean) = Nothing, Optional linkType As Nullable(Of ReplicationLinkType) = Nothing) As SqlServerDatabaseReplicationLinkData
Parâmetros
A ID.
- name
- String
O nome.
- resourceType
- ResourceType
O resourceType.
- systemData
- SystemData
O systemData.
- partnerServer
- String
Servidor de parceiro de recurso.
- partnerDatabase
- String
Banco de dados do parceiro de recurso.
- partnerLocation
- Nullable<AzureLocation>
Local do parceiro de recurso.
Função de replicação local.
- partnerRole
- Nullable<SqlServerDatabaseReplicationRole>
Função de replicação de parceiro.
- replicationMode
- String
Modo de replicação.
- startOn
- Nullable<DateTimeOffset>
Hora em que o link foi criado.
- replicationState
- Nullable<ReplicationLinkState>
Estado de replicação (PENDENTE, PROPAGAÇÃO, CATCHUP, SUSPENSO).
- linkType
- Nullable<ReplicationLinkType>
Tipo de link (GEO, NAMED, STANDBY).
Retornos
Uma nova SqlServerDatabaseReplicationLinkData instância para zombar.
Aplica-se a
Azure SDK for .NET