SyncMember Constructors

Definition

Overloads

SyncMember()

Initializes a new instance of the SyncMember class.

SyncMember(String, String, String, String, String, Nullable<Guid>, String, Nullable<Boolean>, String, String, String, String, String, String, String)

Initializes a new instance of the SyncMember class.

SyncMember()

Initializes a new instance of the SyncMember class.

public SyncMember ();
Public Sub New ()

Applies to

SyncMember(String, String, String, String, String, Nullable<Guid>, String, Nullable<Boolean>, String, String, String, String, String, String, String)

Initializes a new instance of the SyncMember class.

public SyncMember (string id = default, string name = default, string type = default, string databaseType = default, string syncAgentId = default, Guid? sqlServerDatabaseId = default, string syncMemberAzureDatabaseResourceId = default, bool? usePrivateLinkConnection = default, string privateEndpointName = default, string serverName = default, string databaseName = default, string userName = default, string password = default, string syncDirection = default, string syncState = default);
new Microsoft.Azure.Management.Sql.Models.SyncMember : string * string * string * string * string * Nullable<Guid> * string * Nullable<bool> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Sql.Models.SyncMember
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional databaseType As String = Nothing, Optional syncAgentId As String = Nothing, Optional sqlServerDatabaseId As Nullable(Of Guid) = Nothing, Optional syncMemberAzureDatabaseResourceId As String = Nothing, Optional usePrivateLinkConnection As Nullable(Of Boolean) = Nothing, Optional privateEndpointName As String = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional syncDirection As String = Nothing, Optional syncState As String = Nothing)

Parameters

id
System.String

Resource ID.

name
System.String

Resource name.

type
System.String

Resource type.

databaseType
System.String

Database type of the sync member. Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'

syncAgentId
System.String

ARM resource id of the sync agent in the sync member.

sqlServerDatabaseId
System.Nullable<System.Guid>

SQL Server database id of the sync member.

syncMemberAzureDatabaseResourceId
System.String

ARM resource id of the sync member logical database, for sync members in Azure.

usePrivateLinkConnection
System.Nullable<System.Boolean>

Whether to use private link connection.

privateEndpointName
System.String

Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.

serverName
System.String

Server name of the member database in the sync member

databaseName
System.String

Database name of the member database in the sync member.

userName
System.String

User name of the member database in the sync member.

password
System.String

Password of the member database in the sync member.

syncDirection
System.String

Sync direction of the sync member. Possible values include: 'Bidirectional', 'OneWayMemberToHub', 'OneWayHubToMember'

syncState
System.String

Sync state of the sync member. Possible values include: 'SyncInProgress', 'SyncSucceeded', 'SyncFailed', 'DisabledTombstoneCleanup', 'DisabledBackupRestore', 'SyncSucceededWithWarnings', 'SyncCancelling', 'SyncCancelled', 'UnProvisioned', 'Provisioning', 'Provisioned', 'ProvisionFailed', 'DeProvisioning', 'DeProvisioned', 'DeProvisionFailed', 'Reprovisioning', 'ReprovisionFailed', 'UnReprovisioned'

Applies to