class Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUpgradeStatus
Properties describing the software upgrade state of the Cache
.
Attributes
@return [String] Version string of the firmware currently installed on this Cache
.
@return [DateTime] Time at which the pending firmware update will automatically be installed on the Cache
.
@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'
@return [DateTime] Time of the last successful firmware update.
@return [String] When firmwareUpdateAvailable is true, this field holds the version string for the update.
Private Class Methods
Mapper for CacheUpgradeStatus
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-10-01/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