Share via


ImportExistingDatabaseDefinition Class

Definition

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

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

Constructors

ImportExistingDatabaseDefinition(StorageKeyType, String, Uri, String)

Initializes a new instance of ImportExistingDatabaseDefinition.

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.

NetworkIsolation

Optional resource information to enable network isolation for request.

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<ImportExistingDatabaseDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImportExistingDatabaseDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImportExistingDatabaseDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImportExistingDatabaseDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImportExistingDatabaseDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to