Aracılığıyla paylaş


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
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

databaseType
String

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

syncAgentId
String

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

sqlServerDatabaseId
Nullable<Guid>

SQL Server database id of the sync member.

syncMemberAzureDatabaseResourceId
String

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

usePrivateLinkConnection
Nullable<Boolean>

Whether to use private link connection.

privateEndpointName
String

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

serverName
String

Server name of the member database in the sync member

databaseName
String

Database name of the member database in the sync member.

userName
String

User name of the member database in the sync member.

password
String

Password of the member database in the sync member.

syncDirection
String

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

syncState
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