ArmSqlModelFactory.SyncGroupData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, 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, Azure.ResourceManager.Sql.Models.SqlSku sku = default, Azure.ResourceManager.Sql.Models.DataSyncParticipantIdentity identity = default);
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 (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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, Optional sku As SqlSku = Nothing, Optional identity As DataSyncParticipantIdentity = Nothing) As SyncGroupData
Parameters
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.
- 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.
- 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.