Compartilhar via


StorageAccountMigrationData Class

Definition

A class representing the StorageAccountMigration data model. The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region.

public class StorageAccountMigrationData : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.StorageAccountMigrationData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.StorageAccountMigrationData>
type StorageAccountMigrationData = class
    interface IJsonModel<StorageAccountMigrationData>
    interface IPersistableModel<StorageAccountMigrationData>
Public Class StorageAccountMigrationData
Implements IJsonModel(Of StorageAccountMigrationData), IPersistableModel(Of StorageAccountMigrationData)
Inheritance
StorageAccountMigrationData
Implements

Constructors

StorageAccountMigrationData(StorageSkuName)

Initializes a new instance of StorageAccountMigrationData.

Properties

Id

Migration Resource Id.

MigrationFailedDetailedReason

Reason for migration failure.

MigrationFailedReason

Error code for migration failure.

MigrationStatus

Current status of migration.

Name

current value is 'default' for customer initiated migration.

ResourceType

SrpAccountMigrationType in ARM contract which is 'accountMigrations'.

TargetSkuName

Target sku name for the account.

Explicit Interface Implementations

IJsonModel<StorageAccountMigrationData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageAccountMigrationData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountMigrationData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountMigrationData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageAccountMigrationData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to