Share via


DatabaseImportDefinition Class

Definition

Contains the information necessary to perform import operation for new database.

public class DatabaseImportDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.DatabaseImportDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.DatabaseImportDefinition>
type DatabaseImportDefinition = class
    interface IJsonModel<DatabaseImportDefinition>
    interface IPersistableModel<DatabaseImportDefinition>
Public Class DatabaseImportDefinition
Implements IJsonModel(Of DatabaseImportDefinition), IPersistableModel(Of DatabaseImportDefinition)
Inheritance
DatabaseImportDefinition
Implements

Constructors

DatabaseImportDefinition(StorageKeyType, String, Uri, String, String)

Initializes a new instance of DatabaseImportDefinition.

DatabaseImportDefinition(StorageKeyType, String, Uri, String)

Initializes a new instance of DatabaseImportDefinition.

Properties

AdministratorLogin

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

AdministratorLoginPassword

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

AuthenticationType

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

DatabaseName

Name of the import database.

Edition

Edition of the import database.

MaxSizeBytes

Max size in bytes for the import database.

NetworkIsolation

Optional resource information to enable network isolation for request.

ServiceObjectiveName

Service level objective name of the import database.

StorageKey

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

StorageKeyType

Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity.

StorageUri

Storage Uri.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DatabaseImportDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DatabaseImportDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseImportDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseImportDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DatabaseImportDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to