Share via


StorageAccountMigration Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageAccountMigrationTypeConverter))]
public class StorageAccountMigration : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageAccountMigrationTypeConverter))>]
type StorageAccountMigration = class
    interface IStorageAccountMigration
    interface IJsonSerializable
Public Class StorageAccountMigration
Implements IStorageAccountMigration
Inheritance
StorageAccountMigration
Attributes
Implements

Constructors

StorageAccountMigration()

Creates an new StorageAccountMigration instance.

Properties

DetailMigrationFailedDetailedReason

Reason for migration failure

DetailMigrationFailedReason

Error code for migration failure

DetailMigrationStatus

Current status of migration

DetailTargetSkuName

Target sku name for the account

Id

Migration Resource Id

Name

current value is 'default' for customer initiated migration

ResourceGroupName

Gets the resource group name

Type

SrpAccountMigrationType in ARM contract which is 'accountMigrations'

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageAccountMigration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageAccountMigration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageAccountMigration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageAccountMigration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to