Share via


DatabaseMigrationPropertiesSqlDb Class

Definition

Database Migration Resource properties for SQL database.

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

Constructors

DatabaseMigrationPropertiesSqlDb()

Creates an new DatabaseMigrationPropertiesSqlDb instance.

Properties

EndedOn

Database migration end time.

Kind
MigrationFailureError

Error details in case of migration failure.

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.

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.

SourceSqlConnection

Source SQL Server connection details.

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.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseMigrationPropertiesSqlDb.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrationPropertiesSqlDb.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrationPropertiesSqlDb into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to