Partager via


DatabaseMigrationProperties Class

Definition

Database Migration Resource properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.DatabaseMigrationPropertiesTypeConverter))]
public class DatabaseMigrationProperties : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.DatabaseMigrationPropertiesTypeConverter))>]
type DatabaseMigrationProperties = class
    interface IDatabaseMigrationProperties
    interface IJsonSerializable
Public Class DatabaseMigrationProperties
Implements IDatabaseMigrationProperties
Inheritance
DatabaseMigrationProperties
Attributes
Implements

Constructors

DatabaseMigrationProperties()

Creates an new DatabaseMigrationProperties instance.

Properties

EndedOn

Database migration end time.

Kind
MigrationFailureErrorCode

Error code.

MigrationFailureErrorMessage

Error message.

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.

SourceSqlConnectionAuthentication

Authentication type.

SourceSqlConnectionDataSource

Data source.

SourceSqlConnectionEncryptConnection

Whether to encrypt connection or not.

SourceSqlConnectionPassword

Password to connect to source SQL.

SourceSqlConnectionTrustServerCertificate

Whether to trust server certificate or not.

SourceSqlConnectionUserName

User name to connect to source SQL.

StartedOn

Database migration start time.

TargetDatabaseCollation

Database collation to be used for the target database.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseMigrationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationProperties interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of DatabaseMigrationProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to