共用方式為


SyncGroup Constructors

Definition

Overloads

SyncGroup()

Initializes a new instance of the SyncGroup class.

SyncGroup(String, String, String, Sku, Nullable<Int32>, Nullable<DateTime>, String, String, String, String, String, SyncGroupSchema, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, String)

Initializes a new instance of the SyncGroup class.

SyncGroup()

Initializes a new instance of the SyncGroup class.

public SyncGroup ();
Public Sub New ()

Applies to

SyncGroup(String, String, String, Sku, Nullable<Int32>, Nullable<DateTime>, String, String, String, String, String, SyncGroupSchema, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, String)

Initializes a new instance of the SyncGroup class.

public SyncGroup (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Sql.Models.Sku sku = default, int? interval = default, DateTime? lastSyncTime = default, string conflictResolutionPolicy = default, string syncDatabaseId = default, string hubDatabaseUserName = default, string hubDatabasePassword = default, string syncState = default, Microsoft.Azure.Management.Sql.Models.SyncGroupSchema schema = default, bool? enableConflictLogging = default, int? conflictLoggingRetentionInDays = default, bool? usePrivateLinkConnection = default, string privateEndpointName = default);
new Microsoft.Azure.Management.Sql.Models.SyncGroup : string * string * string * Microsoft.Azure.Management.Sql.Models.Sku * Nullable<int> * Nullable<DateTime> * string * string * string * string * string * Microsoft.Azure.Management.Sql.Models.SyncGroupSchema * Nullable<bool> * Nullable<int> * Nullable<bool> * string -> Microsoft.Azure.Management.Sql.Models.SyncGroup
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional sku As Sku = Nothing, Optional interval As Nullable(Of Integer) = Nothing, Optional lastSyncTime As Nullable(Of DateTime) = Nothing, Optional conflictResolutionPolicy As String = Nothing, Optional syncDatabaseId As String = Nothing, Optional hubDatabaseUserName As String = Nothing, Optional hubDatabasePassword As String = Nothing, Optional syncState As String = Nothing, Optional schema As SyncGroupSchema = Nothing, Optional enableConflictLogging As Nullable(Of Boolean) = Nothing, Optional conflictLoggingRetentionInDays As Nullable(Of Integer) = Nothing, Optional usePrivateLinkConnection As Nullable(Of Boolean) = Nothing, Optional privateEndpointName As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

sku
Sku

The name and capacity of the SKU.

interval
Nullable<Int32>

Sync interval of the sync group.

lastSyncTime
Nullable<DateTime>

Last sync time of the sync group.

conflictResolutionPolicy
String

Conflict resolution policy of the sync group. Possible values include: 'HubWin', 'MemberWin'

syncDatabaseId
String

ARM resource id of the sync database in the sync group.

hubDatabaseUserName
String

User name for the sync group hub database credential.

hubDatabasePassword
String

Password for the sync group hub database credential.

syncState
String

Sync state of the sync group. Possible values include: 'NotReady', 'Error', 'Warning', 'Progressing', 'Good'

schema
SyncGroupSchema

Sync schema of the sync group.

enableConflictLogging
Nullable<Boolean>

If conflict logging is enabled.

conflictLoggingRetentionInDays
Nullable<Int32>

Conflict logging retention period.

usePrivateLinkConnection
Nullable<Boolean>

If use private link connection is enabled.

privateEndpointName
String

Private endpoint name of the sync group if use private link connection is enabled.

Applies to