次の方法で共有


DatabaseMigrationSqlMi Class

Definition

Database Migration Resource for SQL Managed Instance.

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

Constructors

DatabaseMigrationSqlMi()

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrationSqlMi.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrationSqlMi into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to