StorageAccountMigration Class

The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.storage._serialization.Model
StorageAccountMigration

Constructor

StorageAccountMigration(*, target_sku_name: str | _models.SkuName, name: str | None = None, type: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

current value is 'default' for customer initiated migration.

type
str

SrpAccountMigrationType in ARM contract which is 'accountMigrations'.

target_sku_name

Target sku name for the account. Required. Known values are: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS", and "Standard_RAGZRS".

Variables

Name Description
id
str

Migration Resource Id.

name
str

current value is 'default' for customer initiated migration.

type
str

SrpAccountMigrationType in ARM contract which is 'accountMigrations'.

target_sku_name

Target sku name for the account. Required. Known values are: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", "Standard_GZRS", and "Standard_RAGZRS".

migration_status

Current status of migration. Known values are: "Invalid", "SubmittedForConversion", "InProgress", "Complete", and "Failed".

migration_failed_reason
str

Error code for migration failure.

migration_failed_detailed_reason
str

Reason for migration failure.