ReplicationLink Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
ReplicationLink()
Initializes a new instance of the ReplicationLink class.
public ReplicationLink ();
Public Sub New ()
Applies to
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.
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.
- replicationState
- String
Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'
- linkType
- String
Link type (GEO, NAMED). Possible values include: 'GEO', 'NAMED'
Applies to
Azure SDK for .NET