Freigeben über


ArmSqlModelFactory.SqlServerDatabaseReplicationLinkData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

partnerServer
String

Ressourcenpartnerserver.

partnerDatabase
String

Ressourcenpartnerdatenbank.

partnerLocation
Nullable<AzureLocation>

Standort des Ressourcenpartners.

role
Nullable<SqlServerDatabaseReplicationRole>

Lokale Replikationsrolle.

partnerRole
Nullable<SqlServerDatabaseReplicationRole>

Partnerreplikationsrolle.

replicationMode
String

Replikationsmodus.

startOn
Nullable<DateTimeOffset>

Zeitpunkt, zu dem der Link erstellt wurde.

percentComplete
Nullable<Int32>

Prozentsatz der Seeding-Vervollständigung für den Link.

replicationState
Nullable<ReplicationLinkState>

Replikationsstatus (AUSSTEHEND, SEEDING, CATCHUP, SUSPENDED).

isTerminationAllowed
Nullable<Boolean>

Gibt an, ob der Benutzer derzeit berechtigt ist, den Link zu beenden.

linkType
Nullable<ReplicationLinkType>

Linktyp (GEO, NAMED, STANDBY).

Gibt zurück

Eine neue SqlServerDatabaseReplicationLinkData instance zum Mocking.

Gilt für: