Sprog

ArmSqlModelFactory.SyncGroupData Method

Definition

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

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

sku
SqlSku

The name and capacity of the SKU.

identity
DataSyncParticipantIdentity

Sync group authentication information.

Returns

A new SyncGroupData instance for mocking.

Applies to