Udostępnij przez


ArmSqlModelFactory.DatabaseExportDefinition Method

Definition

Initializes a new instance of DatabaseExportDefinition.

public static Azure.ResourceManager.Sql.Models.DatabaseExportDefinition DatabaseExportDefinition(Azure.ResourceManager.Sql.Models.StorageKeyType storageKeyType = default, string storageKey = default, Uri storageUri = default, string administratorLogin = default, string administratorLoginPassword = default, string authenticationType = default, Azure.ResourceManager.Sql.Models.NetworkIsolationSettings networkIsolation = default);
static member DatabaseExportDefinition : Azure.ResourceManager.Sql.Models.StorageKeyType * string * Uri * string * string * string * Azure.ResourceManager.Sql.Models.NetworkIsolationSettings -> Azure.ResourceManager.Sql.Models.DatabaseExportDefinition
Public Shared Function DatabaseExportDefinition (Optional storageKeyType As StorageKeyType = Nothing, Optional storageKey As String = Nothing, Optional storageUri As Uri = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional authenticationType As String = Nothing, Optional networkIsolation As NetworkIsolationSettings = Nothing) As DatabaseExportDefinition

Parameters

storageKeyType
StorageKeyType

Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity.

storageKey
String

Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID.

storageUri
Uri

Storage Uri.

administratorLogin
String

Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID.

administratorLoginPassword
String

Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified.

authenticationType
String

Type of credentials provided for access to the target SQL server: SQL, ADPassword or ManagedIdentity.

networkIsolation
NetworkIsolationSettings

Optional resource information to enable network isolation for request.

Returns

A new DatabaseExportDefinition instance for mocking.

Applies to