Поделиться через


DatabaseMigrationProperties Class

Definition

Database Migration Resource properties. Please note DatabaseMigrationProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DatabaseMigrationSqlDBProperties, DatabaseMigrationSqlMIProperties and DatabaseMigrationSqlVmProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataMigration.Models.UnknownDatabaseMigrationProperties))]
public abstract class DatabaseMigrationProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.DatabaseMigrationProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.DatabaseMigrationProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataMigration.Models.UnknownDatabaseMigrationProperties))>]
type DatabaseMigrationProperties = class
    interface IJsonModel<DatabaseMigrationProperties>
    interface IPersistableModel<DatabaseMigrationProperties>
Public MustInherit Class DatabaseMigrationProperties
Implements IJsonModel(Of DatabaseMigrationProperties), IPersistableModel(Of DatabaseMigrationProperties)
Inheritance
DatabaseMigrationProperties
Derived
Attributes
Implements

Constructors

DatabaseMigrationProperties()

Initializes a new instance of DatabaseMigrationProperties.

Properties

EndedOn

Database migration end time.

MigrationFailureError

Error details in case of migration failure.

MigrationOperationId

ID tracking current migration operation.

MigrationService

Resource Id of the Migration Service.

MigrationStatus

Migration status.

ProvisioningError

Error message for migration provisioning failure, if any.

ProvisioningState

Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.

Scope

Resource Id of the target resource (SQL VM or SQL Managed Instance).

SourceDatabaseName

Name of the source database.

SourceServerName

Name of the source sql server.

SourceSqlConnection

Source SQL Server connection details.

StartedOn

Database migration start time.

TargetDatabaseCollation

Database collation to be used for the target database.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DatabaseMigrationProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DatabaseMigrationProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseMigrationProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseMigrationProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DatabaseMigrationProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to