ReplicationLink Constructors

Definition

Overloads

ReplicationLink()

Initializes a new instance of the ReplicationLink class.

ReplicationLink(String, String, String, String, String, String, Nullable<ReplicationRole>, Nullable<ReplicationRole>, String, Nullable<DateTime>, Nullable<Int32>, String, Nullable<Boolean>, String)

Initializes a new instance of the ReplicationLink class.

Initializes a new instance of the ReplicationLink class.

public ReplicationLink ();
Public Sub New ()

Applies to

Initializes a new instance of the ReplicationLink class.

public ReplicationLink (string id = default, string name = default, string type = default, string partnerServer = default, string partnerDatabase = default, string partnerLocation = default, Microsoft.Azure.Management.Sql.Models.ReplicationRole? role = default, Microsoft.Azure.Management.Sql.Models.ReplicationRole? partnerRole = default, string replicationMode = default, DateTime? startTime = default, int? percentComplete = default, string replicationState = default, bool? isTerminationAllowed = default, string linkType = default);
new Microsoft.Azure.Management.Sql.Models.ReplicationLink : string * string * string * string * string * string * Nullable<Microsoft.Azure.Management.Sql.Models.ReplicationRole> * Nullable<Microsoft.Azure.Management.Sql.Models.ReplicationRole> * string * Nullable<DateTime> * Nullable<int> * string * Nullable<bool> * string -> Microsoft.Azure.Management.Sql.Models.ReplicationLink
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional partnerServer As String = Nothing, Optional partnerDatabase As String = Nothing, Optional partnerLocation As String = Nothing, Optional role As Nullable(Of ReplicationRole) = Nothing, Optional partnerRole As Nullable(Of ReplicationRole) = Nothing, Optional replicationMode As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional replicationState As String = Nothing, Optional isTerminationAllowed As Nullable(Of Boolean) = Nothing, Optional linkType As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

partnerServer
String

Resource partner server.

partnerDatabase
String

Resource partner database.

partnerLocation
String

Resource partner location.

role
Nullable<ReplicationRole>

Local replication role. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'

partnerRole
Nullable<ReplicationRole>

Partner replication role. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'

replicationMode
String

Replication mode.

startTime
Nullable<DateTime>

Time at which the link was created.

percentComplete
Nullable<Int32>

Seeding completion percentage for the link.

replicationState
String

Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'

isTerminationAllowed
Nullable<Boolean>

Whether the user is currently allowed to terminate the link.

linkType
String

Link type (GEO, NAMED). Possible values include: 'GEO', 'NAMED'

Applies to