class Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheUpgradeStatus

Properties describing the software upgrade state of the cache

Attributes

current_firmware_version[RW]

@return [String] Version string of the firmware currently installed on this cache.

firmware_update_deadline[RW]

@return [DateTime] Time at which the pending firmware update will automatically be installed on the cache.

firmware_update_status[RW]

@return [FirmwareStatusType] 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. Possible values include: 'available', 'unavailable'

last_firmware_update[RW]

@return [DateTime] Time of the last successful firmware update.

pending_firmware_version[RW]

@return [String] When firmwareUpdateAvailable is true, this field holds the version string for the update.

Public Class Methods

mapper() click to toggle source

Mapper for CacheUpgradeStatus class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-08-01-preview/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CacheUpgradeStatus',
    type: {
      name: 'Composite',
      class_name: 'CacheUpgradeStatus',
      model_properties: {
        current_firmware_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'currentFirmwareVersion',
          type: {
            name: 'String'
          }
        },
        firmware_update_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'firmwareUpdateStatus',
          type: {
            name: 'String'
          }
        },
        firmware_update_deadline: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'firmwareUpdateDeadline',
          type: {
            name: 'DateTime'
          }
        },
        last_firmware_update: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastFirmwareUpdate',
          type: {
            name: 'DateTime'
          }
        },
        pending_firmware_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'pendingFirmwareVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end