Udostępnij za pośrednictwem


ArmSqlModelFactory.SyncGroupData Method

Definition

Initializes a new instance of SyncGroupData.

public static Azure.ResourceManager.Sql.SyncGroupData SyncGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, int? interval = default, DateTimeOffset? lastSyncOn = default, Azure.ResourceManager.Sql.Models.SyncConflictResolutionPolicy? conflictResolutionPolicy = default, Azure.Core.ResourceIdentifier syncDatabaseId = default, string hubDatabaseUserName = default, string hubDatabasePassword = default, Azure.ResourceManager.Sql.Models.SyncGroupState? syncState = default, Azure.ResourceManager.Sql.Models.SyncGroupSchema schema = default, bool? isConflictLoggingEnabled = default, int? conflictLoggingRetentionInDays = default, bool? usePrivateLinkConnection = default, string privateEndpointName = default);
static member SyncGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Sql.Models.SqlSku * Nullable<int> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.SyncConflictResolutionPolicy> * Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.Sql.Models.SyncGroupState> * Azure.ResourceManager.Sql.Models.SyncGroupSchema * Nullable<bool> * Nullable<int> * Nullable<bool> * string -> Azure.ResourceManager.Sql.SyncGroupData
Public Shared Function SyncGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sku As SqlSku = Nothing, Optional interval As Nullable(Of Integer) = Nothing, Optional lastSyncOn As Nullable(Of DateTimeOffset) = Nothing, Optional conflictResolutionPolicy As Nullable(Of SyncConflictResolutionPolicy) = Nothing, Optional syncDatabaseId As ResourceIdentifier = Nothing, Optional hubDatabaseUserName As String = Nothing, Optional hubDatabasePassword As String = Nothing, Optional syncState As Nullable(Of SyncGroupState) = Nothing, Optional schema As SyncGroupSchema = Nothing, Optional isConflictLoggingEnabled As Nullable(Of Boolean) = Nothing, Optional conflictLoggingRetentionInDays As Nullable(Of Integer) = Nothing, Optional usePrivateLinkConnection As Nullable(Of Boolean) = Nothing, Optional privateEndpointName As String = Nothing) As SyncGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sku
SqlSku

The name and capacity of the SKU.

interval
Nullable<Int32>

Sync interval of the sync group.

lastSyncOn
Nullable<DateTimeOffset>

Last sync time of the sync group.

conflictResolutionPolicy
Nullable<SyncConflictResolutionPolicy>

Conflict resolution policy of the sync group.

syncDatabaseId
ResourceIdentifier

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
Nullable<SyncGroupState>

Sync state of the sync group.

schema
SyncGroupSchema

Sync schema of the sync group.

isConflictLoggingEnabled
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.

Returns

A new SyncGroupData instance for mocking.

Applies to