Class: Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheHealth
- Inherits:
-
Object
- Object
- Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheHealth
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb
Overview
An indication of Cache health. Gives more information about health than just that related to provisioning.
Instance Attribute Summary collapse
-
#state ⇒ HealthStateType
include: ‘Unknown’, ‘Healthy’, ‘Degraded’, ‘Down’, ‘Transitioning’, ‘Stopping’, ‘Stopped’, ‘Upgrading’, ‘Flushing’.
-
#status_description ⇒ String
Describes explanation of state.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CacheHealth class as Ruby Hash.
Instance Attribute Details
#state ⇒ HealthStateType
include: ‘Unknown’, ‘Healthy’, ‘Degraded’, ‘Down’, ‘Transitioning’, ‘Stopping’, ‘Stopped’, ‘Upgrading’, ‘Flushing’
19 20 21 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb', line 19 def state @state end |
#status_description ⇒ String
Returns Describes explanation of state.
22 23 24 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb', line 22 def status_description @status_description end |
Class Method Details
.mapper ⇒ Object
Mapper for CacheHealth class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CacheHealth', type: { name: 'Composite', class_name: 'CacheHealth', model_properties: { state: { client_side_validation: true, required: false, serialized_name: 'state', type: { name: 'String' } }, status_description: { client_side_validation: true, required: false, serialized_name: 'statusDescription', type: { name: 'String' } } } } } end |