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.
Initializes a new instance of SyncMemberData.
public static Azure.ResourceManager.Sql.SyncMemberData SyncMemberData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.SyncMemberDbType? databaseType = default, Azure.Core.ResourceIdentifier syncAgentId = default, Guid? sqlServerDatabaseId = default, Azure.Core.ResourceIdentifier syncMemberAzureDatabaseResourceId = default, bool? usePrivateLinkConnection = default, string privateEndpointName = default, string serverName = default, string databaseName = default, string userName = default, string password = default, Azure.ResourceManager.Sql.Models.SyncDirection? syncDirection = default, Azure.ResourceManager.Sql.Models.SyncMemberState? syncState = default);
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.SyncMemberData
Public Shared Function SyncMemberData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional databaseType As Nullable(Of SyncMemberDbType) = Nothing, Optional syncAgentId As ResourceIdentifier = Nothing, Optional sqlServerDatabaseId As Nullable(Of Guid) = Nothing, Optional syncMemberAzureDatabaseResourceId As ResourceIdentifier = Nothing, Optional usePrivateLinkConnection As Nullable(Of Boolean) = Nothing, Optional privateEndpointName As String = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional syncDirection As Nullable(Of SyncDirection) = Nothing, Optional syncState As Nullable(Of SyncMemberState) = Nothing) As SyncMemberData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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.
Returns
A new SyncMemberData instance for mocking.
Applies to
Azure SDK for .NET