Partager via


DatabaseMigrationSqlVM Class

Definition

Database Migration Resource for SQL Virtual Machine.

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

Constructors

DatabaseMigrationSqlVM()

Creates an new DatabaseMigrationSqlVM instance.

Properties

AzureBlobAccountKey

Storage Account Key.

AzureBlobContainerName

Blob container name where backups are stored.

AzureBlobStorageAccountResourceId

Resource Id of the storage account where backups are stored.

EndedOn

Database migration end time.

FileSharePassword

Password for username to access file share location.

FileSharePath

Location as SMB share or local drive where backups are placed.

FileShareUsername

Username to access the file share location for backups.

Id
Kind
MigrationFailureErrorCode

Error code.

MigrationFailureErrorMessage

Error message.

MigrationOperationId

ID tracking current migration operation.

MigrationService

Resource Id of the Migration Service.

MigrationStatus

Migration status.

MigrationStatusDetail

Detailed migration status. Not included by default.

Name
OfflineConfigurationLastBackupName

Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share.

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.

SourceLocationFileStorageType

Backup storage Type.

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
TargetDatabaseCollation

Database collation to be used for the target database.

TargetLocationAccountKey

Storage Account Key.

TargetLocationStorageAccountResourceId

Resource Id of the storage account copying backups.

Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseMigrationSqlVM.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrationSqlVM.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrationSqlVM into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to