ArmSqlModelFactory.SqlServerDatabaseReplicationLinkData Method

Definition

Overloads

SqlServerDatabaseReplicationLinkData(ResourceIdentifier, String, ResourceType, SystemData, String, String, Nullable<AzureLocation>, Nullable<SqlServerDatabaseReplicationRole>, Nullable<SqlServerDatabaseReplicationRole>, String, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<ReplicationLinkState>, Nullable<Boolean>, Nullable<ReplicationLinkType>)

Initializes a new instance of SqlServerDatabaseReplicationLinkData.

SqlServerDatabaseReplicationLinkData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<AzureLocation>, Nullable<SqlServerDatabaseReplicationRole>, Nullable<SqlServerDatabaseReplicationRole>, String, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<ReplicationLinkState>, Nullable<Boolean>, Nullable<ReplicationLinkType>)

Initializes a new instance of SqlServerDatabaseReplicationLinkData.

SqlServerDatabaseReplicationLinkData(ResourceIdentifier, String, ResourceType, SystemData, String, String, Nullable<AzureLocation>, Nullable<SqlServerDatabaseReplicationRole>, Nullable<SqlServerDatabaseReplicationRole>, String, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<ReplicationLinkState>, Nullable<Boolean>, Nullable<ReplicationLinkType>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

partnerServer
String

Resource partner server.

partnerDatabase
String

Resource partner database.

partnerLocation
Nullable<AzureLocation>

Resource partner location.

role
Nullable<SqlServerDatabaseReplicationRole>

Local replication role.

partnerRole
Nullable<SqlServerDatabaseReplicationRole>

Partner replication role.

replicationMode
String

Replication mode.

startOn
Nullable<DateTimeOffset>

Time at which the link was created.

percentComplete
Nullable<Int32>

Seeding completion percentage for the link.

replicationState
Nullable<ReplicationLinkState>

Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).

isTerminationAllowed
Nullable<Boolean>

Whether the user is currently allowed to terminate the link.

linkType
Nullable<ReplicationLinkType>

Link type (GEO, NAMED, STANDBY).

Returns

A new SqlServerDatabaseReplicationLinkData instance for mocking.

Applies to

SqlServerDatabaseReplicationLinkData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<AzureLocation>, Nullable<SqlServerDatabaseReplicationRole>, Nullable<SqlServerDatabaseReplicationRole>, String, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<ReplicationLinkState>, Nullable<Boolean>, Nullable<ReplicationLinkType>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of 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, string partnerDatabaseId = 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 * 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 partnerDatabaseId 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

partnerServer
String

Resource partner server.

partnerDatabase
String

Resource partner database.

partnerDatabaseId
String

Resource partner database Id.

partnerLocation
Nullable<AzureLocation>

Resource partner location.

role
Nullable<SqlServerDatabaseReplicationRole>

Local replication role.

partnerRole
Nullable<SqlServerDatabaseReplicationRole>

Partner replication role.

replicationMode
String

Replication mode.

startOn
Nullable<DateTimeOffset>

Time at which the link was created.

percentComplete
Nullable<Int32>

Seeding completion percentage for the link.

replicationState
Nullable<ReplicationLinkState>

Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).

isTerminationAllowed
Nullable<Boolean>

Whether the user is currently allowed to terminate the link.

linkType
Nullable<ReplicationLinkType>

Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.

Returns

A new SqlServerDatabaseReplicationLinkData instance for mocking.

Applies to