StorageAccountMigrationInner Class

public final class StorageAccountMigrationInner
extends ProxyResource

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

Constructor Summary

Constructor Description
StorageAccountMigrationInner()

Creates an instance of StorageAccountMigrationInner class.

Method Summary

Modifier and Type Method and Description
static StorageAccountMigrationInner fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountMigrationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String migrationFailedDetailedReason()

Get the migrationFailedDetailedReason property: Reason for migration failure.

String migrationFailedReason()

Get the migrationFailedReason property: Error code for migration failure.

MigrationStatus migrationStatus()

Get the migrationStatus property: Current status of migration.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

SkuName targetSkuName()

Get the targetSkuName property: Target sku name for the account.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StorageAccountMigrationInner withTargetSkuName(SkuName targetSkuName)

Set the targetSkuName property: Target sku name for the account.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StorageAccountMigrationInner

public StorageAccountMigrationInner()

Creates an instance of StorageAccountMigrationInner class.

Method Details

fromJson

public static StorageAccountMigrationInner fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountMigrationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageAccountMigrationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StorageAccountMigrationInner.id()

Returns:

the id value.

migrationFailedDetailedReason

public String migrationFailedDetailedReason()

Get the migrationFailedDetailedReason property: Reason for migration failure.

Returns:

the migrationFailedDetailedReason value.

migrationFailedReason

public String migrationFailedReason()

Get the migrationFailedReason property: Error code for migration failure.

Returns:

the migrationFailedReason value.

migrationStatus

public MigrationStatus migrationStatus()

Get the migrationStatus property: Current status of migration.

Returns:

the migrationStatus value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StorageAccountMigrationInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

targetSkuName

public SkuName targetSkuName()

Get the targetSkuName property: Target sku name for the account.

Returns:

the targetSkuName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StorageAccountMigrationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StorageAccountMigrationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withTargetSkuName

public StorageAccountMigrationInner withTargetSkuName(SkuName targetSkuName)

Set the targetSkuName property: Target sku name for the account.

Parameters:

targetSkuName - the targetSkuName value to set.

Returns:

the StorageAccountMigrationInner object itself.

Applies to