StorageAccountMigrationInner Class
- java.
lang. Object - com.
azure. resourcemanager. storage. fluent. models. StorageAccountMigrationInner
- com.
Implements
public final class StorageAccountMigrationInner
implements JsonSerializable<StorageAccountMigrationInner>
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 Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
String |
id()
Get the id property: Migration Resource Id. |
String |
migrationFailedDetailedReason()
Get the migration |
String |
migrationFailedReason()
Get the migration |
Migration |
migrationStatus()
Get the migration |
String |
name()
Get the name property: current value is 'default' for customer initiated migration. |
Sku |
targetSkuName()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Srp |
void |
validate()
Validates the instance. |
Storage |
withName(String name)
Set the name property: current value is 'default' for customer initiated migration. |
Storage |
withTargetSkuName(SkuName targetSkuName)
Set the target |
Storage |
withType(String type)
Set the type property: Srp |
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:
Returns:
Throws:
id
public String id()
Get the id property: Migration Resource Id.
Returns:
migrationFailedDetailedReason
public String migrationFailedDetailedReason()
Get the migrationFailedDetailedReason property: Reason for migration failure.
Returns:
migrationFailedReason
public String migrationFailedReason()
Get the migrationFailedReason property: Error code for migration failure.
Returns:
migrationStatus
public MigrationStatus migrationStatus()
Get the migrationStatus property: Current status of migration.
Returns:
name
public String name()
Get the name property: current value is 'default' for customer initiated migration.
Returns:
targetSkuName
public SkuName targetSkuName()
Get the targetSkuName property: Target sku name for the account.
Returns:
toJson
type
public String type()
Get the type property: SrpAccountMigrationType in ARM contract which is 'accountMigrations'.
Returns:
validate
public void validate()
Validates the instance.
withName
public StorageAccountMigrationInner withName(String name)
Set the name property: current value is 'default' for customer initiated migration.
Parameters:
Returns:
withTargetSkuName
public StorageAccountMigrationInner withTargetSkuName(SkuName targetSkuName)
Set the targetSkuName property: Target sku name for the account.
Parameters:
Returns:
withType
public StorageAccountMigrationInner withType(String type)
Set the type property: SrpAccountMigrationType in ARM contract which is 'accountMigrations'.
Parameters:
Returns:
Applies to
Azure SDK for Java