StorageAccountMigrationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. StorageAccountMigrationInner
- com.
- com.
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 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: Fully qualified resource Id for the resource. |
| String |
migrationFailedDetailedReason()
Get the migration |
| String |
migrationFailedReason()
Get the migration |
|
Migration |
migrationStatus()
Get the migration |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
|
Sku |
targetSkuName()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Storage |
withTargetSkuName(SkuName targetSkuName)
Set the target |
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:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StorageAccountMigrationInner.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: The name of the resource.
Overrides:
StorageAccountMigrationInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
targetSkuName
public SkuName targetSkuName()
Get the targetSkuName property: Target sku name for the account.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StorageAccountMigrationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StorageAccountMigrationInner.type()Returns:
validate
public void validate()
Validates the instance.
withTargetSkuName
public StorageAccountMigrationInner withTargetSkuName(SkuName targetSkuName)
Set the targetSkuName property: Target sku name for the account.
Parameters:
Returns: