Class: Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheUpgradeStatus
- Inherits:
-
Object
- Object
- Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheUpgradeStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb
Overview
Properties describing the software upgrade state of the Cache.
Instance Attribute Summary collapse
-
#current_firmware_version ⇒ String
this Cache.
-
#firmware_update_deadline ⇒ DateTime
automatically be installed on the Cache.
-
#firmware_update_status ⇒ FirmwareStatusType
to install on this Cache.
-
#last_firmware_update ⇒ DateTime
Time of the last successful firmware update.
-
#pending_firmware_version ⇒ String
the version string for the update.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CacheUpgradeStatus class as Ruby Hash.
Instance Attribute Details
#current_firmware_version ⇒ String
this Cache.
17 18 19 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb', line 17 def current_firmware_version @current_firmware_version end |
#firmware_update_deadline ⇒ DateTime
automatically be installed on the Cache.
27 28 29 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb', line 27 def firmware_update_deadline @firmware_update_deadline end |
#firmware_update_status ⇒ FirmwareStatusType
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’
23 24 25 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb', line 23 def firmware_update_status @firmware_update_status end |
#last_firmware_update ⇒ DateTime
Returns Time of the last successful firmware update.
30 31 32 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb', line 30 def last_firmware_update @last_firmware_update end |
#pending_firmware_version ⇒ String
the version string for the update.
34 35 36 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb', line 34 def pending_firmware_version @pending_firmware_version end |
Class Method Details
.mapper ⇒ Object
Mapper for CacheUpgradeStatus class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/2019-11-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 |