Sprog

ArmSqlModelFactory.SyncAgentLinkedDatabase Method

Definition

Initializes a new instance of SyncAgentLinkedDatabase.

public static Azure.ResourceManager.Sql.Models.SyncAgentLinkedDatabase SyncAgentLinkedDatabase(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, Guid? databaseId = default, string description = default, string serverName = default, string databaseName = default, string userName = default);
static member SyncAgentLinkedDatabase : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.SyncMemberDbType> * Nullable<Guid> * string * string * string * string -> Azure.ResourceManager.Sql.Models.SyncAgentLinkedDatabase
Public Shared Function SyncAgentLinkedDatabase (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 databaseId As Nullable(Of Guid) = Nothing, Optional description As String = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing, Optional userName As String = Nothing) As SyncAgentLinkedDatabase

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.

databaseType
Nullable<SyncMemberDbType>

Type of the sync agent linked database.

databaseId
Nullable<Guid>

Id of the sync agent linked database.

description
String

Description of the sync agent linked database.

serverName
String

Server name of the sync agent linked database.

databaseName
String

Database name of the sync agent linked database.

userName
String

User name of the sync agent linked database.

Returns

A new SyncAgentLinkedDatabase instance for mocking.

Applies to