Share via


ReplicationLink Constructors

Definition

Overloads

ReplicationLink()

Initializes a new instance of the ReplicationLink class.

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

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

location
String

Location of the workspace that contains this firewall rule.

isTerminationAllowed
Nullable<Boolean>

Legacy value indicating whether termination is allowed. Currently always returns true.

replicationMode
String

Replication mode of this replication link.

partnerServer
String

The name of the workspace hosting the partner Sql pool.

partnerDatabase
String

The name of the partner Sql pool.

partnerLocation
String

The Azure Region of the partner Sql pool.

role
Nullable<ReplicationRole>

The role of the Sql pool in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'

partnerRole
Nullable<ReplicationRole>

The role of the partner Sql pool in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'

startTime
Nullable<DateTime>

The start time for the replication link.

percentComplete
Nullable<Int32>

The percentage of seeding complete for the replication link.

replicationState
String

The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'

Applies to