Class CacheUpgradeStatus

java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheUpgradeStatus

public final class CacheUpgradeStatus extends Object
Properties describing the software upgrade state of the Cache.
  • Constructor Details

    • CacheUpgradeStatus

      public CacheUpgradeStatus()
  • Method Details

    • currentFirmwareVersion

      public String currentFirmwareVersion()
      Get the currentFirmwareVersion property: Version string of the firmware currently installed on this Cache.
      Returns:
      the currentFirmwareVersion value.
    • firmwareUpdateStatus

      public FirmwareStatusType firmwareUpdateStatus()
      Get the firmwareUpdateStatus property: True if there is a firmware update ready to install on this Cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.
      Returns:
      the firmwareUpdateStatus value.
    • firmwareUpdateDeadline

      public OffsetDateTime firmwareUpdateDeadline()
      Get the firmwareUpdateDeadline property: Time at which the pending firmware update will automatically be installed on the Cache.
      Returns:
      the firmwareUpdateDeadline value.
    • lastFirmwareUpdate

      public OffsetDateTime lastFirmwareUpdate()
      Get the lastFirmwareUpdate property: Time of the last successful firmware update.
      Returns:
      the lastFirmwareUpdate value.
    • pendingFirmwareVersion

      public String pendingFirmwareVersion()
      Get the pendingFirmwareVersion property: When firmwareUpdateAvailable is true, this field holds the version string for the update.
      Returns:
      the pendingFirmwareVersion value.
    • validate

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