DatabaseMigrationPropertiesSqlVM Class

Definition

Database Migration Resource properties for SQL Virtual Machine.

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

Constructors

DatabaseMigrationPropertiesSqlVM()

Creates an new DatabaseMigrationPropertiesSqlVM 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.

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.

MigrationStatusDetail

Detailed migration status. Not included by default.

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.

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.

TargetDatabaseCollation

Database collation to be used for the target database.

TargetLocationAccountKey

Storage Account Key.

TargetLocationStorageAccountResourceId

Resource Id of the storage account copying backups.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseMigrationPropertiesSqlVM.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrationPropertiesSqlVM.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrationPropertiesSqlVM into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to