ArmSqlModelFactory.SqlServerDatabaseReplicationLinkData Method
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
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
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.
Local replication role.
- partnerRole
- Nullable<SqlServerDatabaseReplicationRole>
Partner replication role.
- replicationMode
- String
Replication mode.
- startOn
- Nullable<DateTimeOffset>
Time at which the link was created.
- replicationState
- Nullable<ReplicationLinkState>
Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).
- 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
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.
Local replication role.
- partnerRole
- Nullable<SqlServerDatabaseReplicationRole>
Partner replication role.
- replicationMode
- String
Replication mode.
- startOn
- Nullable<DateTimeOffset>
Time at which the link was created.
- replicationState
- Nullable<ReplicationLinkState>
Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).
- linkType
- Nullable<ReplicationLinkType>
Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.
Returns
A new SqlServerDatabaseReplicationLinkData instance for mocking.