Class ReplicationLink
Represents a database replication link.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ReplicationLink : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
ReplicationLink()
Initializes a new instance of the ReplicationLink class.
Declaration
public ReplicationLink ();
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.
Declaration
public ReplicationLink (string id = null, string name = null, string type = null, string location = null, Nullable<bool> isTerminationAllowed = null, string replicationMode = null, string partnerServer = null, string partnerDatabase = null, string partnerLocation = null, Nullable<Microsoft.Azure.Management.Sql.Models.ReplicationRole> role = null, Nullable<Microsoft.Azure.Management.Sql.Models.ReplicationRole> partnerRole = null, Nullable<DateTime> startTime = null, Nullable<int> percentComplete = null, string replicationState = null);
Parameters
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
location
Location of the server that contains this firewall rule. |
Nullable<Boolean>
isTerminationAllowed
Legacy value indicating whether termination is allowed. Currently always returns true. |
String
replicationMode
Replication mode of this replication link. |
String
partnerServer
The name of the server hosting the partner database. |
String
partnerDatabase
The name of the partner database. |
String
partnerLocation
The Azure Region of the partner database. |
Nullable<ReplicationRole>
role
The role of the database in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' |
Nullable<ReplicationRole>
partnerRole
The role of the partner database in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy' |
Nullable<DateTime>
startTime
The start time for the replication link. |
Nullable<Int32>
percentComplete
The percentage of seeding complete for the replication link. |
String
replicationState
The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED' |
Properties
IsTerminationAllowed
Gets legacy value indicating whether termination is allowed. Currently always returns true.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.isTerminationAllowed")]
public Nullable<bool> IsTerminationAllowed { get; }
Property Value
Nullable<Boolean>
|
Location
Gets location of the server that contains this firewall rule.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="location")]
public string Location { get; }
Property Value
String
|
PartnerDatabase
Gets the name of the partner database.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.partnerDatabase")]
public string PartnerDatabase { get; }
Property Value
String
|
PartnerLocation
Gets the Azure Region of the partner database.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.partnerLocation")]
public string PartnerLocation { get; }
Property Value
String
|
PartnerRole
Gets the role of the partner database in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.partnerRole")]
public Nullable<Microsoft.Azure.Management.Sql.Models.ReplicationRole> PartnerRole { get; }
Property Value
Nullable<ReplicationRole>
|
PartnerServer
Gets the name of the server hosting the partner database.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.partnerServer")]
public string PartnerServer { get; }
Property Value
String
|
PercentComplete
Gets the percentage of seeding complete for the replication link.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.percentComplete")]
public Nullable<int> PercentComplete { get; }
Property Value
Nullable<Int32>
|
ReplicationMode
Gets replication mode of this replication link.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.replicationMode")]
public string ReplicationMode { get; }
Property Value
String
|
ReplicationState
Gets the replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.replicationState")]
public string ReplicationState { get; }
Property Value
String
|
Role
Gets the role of the database in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.role")]
public Nullable<Microsoft.Azure.Management.Sql.Models.ReplicationRole> Role { get; }
Property Value
Nullable<ReplicationRole>
|