Class StorageAccountMigrationInner

java.lang.Object
com.azure.resourcemanager.storage.fluent.models.StorageAccountMigrationInner

public final class StorageAccountMigrationInner extends Object
The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region.
  • Constructor Details

    • StorageAccountMigrationInner

      public StorageAccountMigrationInner()
      Creates an instance of StorageAccountMigrationInner class.
  • Method Details

    • id

      public String id()
      Get the id property: Migration Resource Id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: current value is 'default' for customer initiated migration.
      Returns:
      the name value.
    • withName

      public StorageAccountMigrationInner withName(String name)
      Set the name property: current value is 'default' for customer initiated migration.
      Parameters:
      name - the name value to set.
      Returns:
      the StorageAccountMigrationInner object itself.
    • type

      public String type()
      Get the type property: SrpAccountMigrationType in ARM contract which is 'accountMigrations'.
      Returns:
      the type value.
    • withType

      public StorageAccountMigrationInner withType(String type)
      Set the type property: SrpAccountMigrationType in ARM contract which is 'accountMigrations'.
      Parameters:
      type - the type value to set.
      Returns:
      the StorageAccountMigrationInner object itself.
    • targetSkuName

      public SkuName targetSkuName()
      Get the targetSkuName property: Target sku name for the account.
      Returns:
      the targetSkuName value.
    • 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.
    • migrationStatus

      public MigrationStatus migrationStatus()
      Get the migrationStatus property: Current status of migration.
      Returns:
      the migrationStatus value.
    • migrationFailedReason

      public String migrationFailedReason()
      Get the migrationFailedReason property: Error code for migration failure.
      Returns:
      the migrationFailedReason value.
    • migrationFailedDetailedReason

      public String 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.