ArmSqlModelFactory.SyncMemberData 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.SyncMemberData SyncMemberData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.Sql.Models.SyncMemberDbType? databaseType, Azure.Core.ResourceIdentifier syncAgentId, Guid? sqlServerDatabaseId, Azure.Core.ResourceIdentifier syncMemberAzureDatabaseResourceId, bool? usePrivateLinkConnection, string privateEndpointName, string serverName, string databaseName, string userName, string password, Azure.ResourceManager.Sql.Models.SyncDirection? syncDirection, Azure.ResourceManager.Sql.Models.SyncMemberState? syncState, Azure.ResourceManager.Sql.Models.DataSyncParticipantIdentity identity);
static member SyncMemberData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.SyncMemberDbType> * Azure.Core.ResourceIdentifier * Nullable<Guid> * Azure.Core.ResourceIdentifier * Nullable<bool> * string * string * string * string * string * Nullable<Azure.ResourceManager.Sql.Models.SyncDirection> * Nullable<Azure.ResourceManager.Sql.Models.SyncMemberState> * Azure.ResourceManager.Sql.Models.DataSyncParticipantIdentity -> Azure.ResourceManager.Sql.SyncMemberData
Public Shared Function SyncMemberData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, databaseType As Nullable(Of SyncMemberDbType), syncAgentId As ResourceIdentifier, sqlServerDatabaseId As Nullable(Of Guid), syncMemberAzureDatabaseResourceId As ResourceIdentifier, usePrivateLinkConnection As Nullable(Of Boolean), privateEndpointName As String, serverName As String, databaseName As String, userName As String, password As String, syncDirection As Nullable(Of SyncDirection), syncState As Nullable(Of SyncMemberState), identity As DataSyncParticipantIdentity) As SyncMemberData
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.
- databaseType
- Nullable<SyncMemberDbType>
Database type of the sync member.
- syncAgentId
- ResourceIdentifier
ARM resource id of the sync agent in the sync member.
- syncMemberAzureDatabaseResourceId
- ResourceIdentifier
ARM resource id of the sync member logical database, for sync members in Azure.
- 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
- Nullable<SyncDirection>
Sync direction of the sync member.
- syncState
- Nullable<SyncMemberState>
Sync state of the sync member.
- identity
- DataSyncParticipantIdentity
Sync member authentication information.
Returns
A new SyncMemberData instance for mocking.