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 server.
- Inheritance
-
azure.mgmt.storage._serialization.ModelStorageAccountMigration
Constructor
StorageAccountMigration(*, target_sku_name: str | _models.SkuName, name: str | None = None, type: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
current value is 'default' for customer initiated migration. |
type
|
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
|
Migration Resource Id. |
name
|
current value is 'default' for customer initiated migration. |
type
|
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
|
Error code for migration failure. |
migration_failed_detailed_reason
|
Reason for migration failure. |
Azure SDK for Python