Class StorageAccountMigrationProperties
java.lang.Object
com.azure.resourcemanager.storage.fluent.models.StorageAccountMigrationProperties
The properties of a storage account’s ongoing or enqueued migration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StorageAccountMigrationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the migrationFailedDetailedReason property: Reason for migration failure.Get the migrationFailedReason property: Error code for migration failure.Get the migrationStatus property: Current status of migration.Get the targetSkuName property: Target sku name for the account.voidvalidate()Validates the instance.withTargetSkuName(SkuName targetSkuName) Set the targetSkuName property: Target sku name for the account.
-
Constructor Details
-
StorageAccountMigrationProperties
public StorageAccountMigrationProperties()Creates an instance of StorageAccountMigrationProperties class.
-
-
Method Details
-
targetSkuName
Get the targetSkuName property: Target sku name for the account.- Returns:
- the targetSkuName value.
-
withTargetSkuName
Set the targetSkuName property: Target sku name for the account.- Parameters:
targetSkuName- the targetSkuName value to set.- Returns:
- the StorageAccountMigrationProperties object itself.
-
migrationStatus
Get the migrationStatus property: Current status of migration.- Returns:
- the migrationStatus value.
-
migrationFailedReason
Get the migrationFailedReason property: Error code for migration failure.- Returns:
- the migrationFailedReason value.
-
migrationFailedDetailedReason
Get the migrationFailedDetailedReason property: Reason for migration failure.- Returns:
- the migrationFailedDetailedReason value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-