java.lang.Object
com.azure.resourcemanager.recoveryservices.models.UpgradeDetails

public final class UpgradeDetails extends Object
Details for upgrading vault.
  • Constructor Details

    • UpgradeDetails

      public UpgradeDetails()
  • Method Details

    • operationId

      public String operationId()
      Get the operationId property: ID of the vault upgrade operation.
      Returns:
      the operationId value.
    • startTimeUtc

      public OffsetDateTime startTimeUtc()
      Get the startTimeUtc property: UTC time at which the upgrade operation has started.
      Returns:
      the startTimeUtc value.
    • lastUpdatedTimeUtc

      public OffsetDateTime lastUpdatedTimeUtc()
      Get the lastUpdatedTimeUtc property: UTC time at which the upgrade operation status was last updated.
      Returns:
      the lastUpdatedTimeUtc value.
    • endTimeUtc

      public OffsetDateTime endTimeUtc()
      Get the endTimeUtc property: UTC time at which the upgrade operation has ended.
      Returns:
      the endTimeUtc value.
    • status

      public VaultUpgradeState status()
      Get the status property: Status of the vault upgrade operation.
      Returns:
      the status value.
    • message

      public String message()
      Get the message property: Message to the user containing information about the upgrade operation.
      Returns:
      the message value.
    • triggerType

      public TriggerType triggerType()
      Get the triggerType property: The way the vault upgrade was triggered.
      Returns:
      the triggerType value.
    • upgradedResourceId

      public String upgradedResourceId()
      Get the upgradedResourceId property: Resource ID of the upgraded vault.
      Returns:
      the upgradedResourceId value.
    • previousResourceId

      public String previousResourceId()
      Get the previousResourceId property: Resource ID of the vault before the upgrade.
      Returns:
      the previousResourceId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.