Share via


DatabaseMigrationSqlDb Class

Definition

Database Migration Resource for SQL Database.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.DatabaseMigrationSqlDbTypeConverter))]
public class DatabaseMigrationSqlDb : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationSqlDb, Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.DatabaseMigrationSqlDbTypeConverter))>]
type DatabaseMigrationSqlDb = class
    interface IDatabaseMigrationSqlDb
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class DatabaseMigrationSqlDb
Implements IDatabaseMigrationSqlDb, IValidates
Inheritance
DatabaseMigrationSqlDb
Attributes
Implements

Constructors

DatabaseMigrationSqlDb()

Creates an new DatabaseMigrationSqlDb instance.

Properties

EndedOn

Database migration end time.

Id
Kind
MigrationFailureErrorCode

Error code.

MigrationFailureErrorMessage

Error message.

MigrationOperationId

ID tracking current migration operation.

MigrationService

Resource Id of the Migration Service.

MigrationStatus

Migration status.

MigrationStatusDetailListOfCopyProgressDetail

Details on progress of ADF copy activities.

MigrationStatusDetailMigrationState

Current State of Migration.

MigrationStatusDetailSqlDataCopyError

Sql Data Copy errors, if any.

Name
OfflineConfigurationOffline

Offline migration

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.

SystemDataCreatedAt
SystemDataCreatedBy
SystemDataCreatedByType
SystemDataLastModifiedAt
SystemDataLastModifiedBy
SystemDataLastModifiedByType
TableList

List of tables to copy.

TargetDatabaseCollation

Database collation to be used for the target database.

TargetSqlConnectionAuthentication

Authentication type.

TargetSqlConnectionDataSource

Data source.

TargetSqlConnectionEncryptConnection

Whether to encrypt connection or not.

TargetSqlConnectionPassword

Password to connect to source SQL.

TargetSqlConnectionTrustServerCertificate

Whether to trust server certificate or not.

TargetSqlConnectionUserName

User name to connect to source SQL.

Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseMigrationSqlDb.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrationSqlDb.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationSqlDb.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrationSqlDb into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to