ArmSqlModelFactory.DatabaseImportDefinition 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 DatabaseImportDefinition.
public static Azure.ResourceManager.Sql.Models.DatabaseImportDefinition DatabaseImportDefinition(string databaseName = default, string edition = default, string serviceObjectiveName = default, string maxSizeBytes = default, 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 DatabaseImportDefinition : string * string * string * string * Azure.ResourceManager.Sql.Models.StorageKeyType * string * Uri * string * string * string * Azure.ResourceManager.Sql.Models.NetworkIsolationSettings -> Azure.ResourceManager.Sql.Models.DatabaseImportDefinition
Public Shared Function DatabaseImportDefinition (Optional databaseName As String = Nothing, Optional edition As String = Nothing, Optional serviceObjectiveName As String = Nothing, Optional maxSizeBytes As String = Nothing, 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 DatabaseImportDefinition
Parameters
- databaseName
- String
Name of the import database.
- edition
- String
Edition of the import database.
- serviceObjectiveName
- String
Service level objective name of the import database.
- maxSizeBytes
- String
Max size in bytes for the import database.
- 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 DatabaseImportDefinition instance for mocking.