class Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheHealth
An indication of Cache
health. Gives more information about health than just that related to provisioning.
Attributes
state[RW]
@return [HealthStateType] List of Cache
health states. Possible values include: 'Unknown', 'Healthy', 'Degraded', 'Down', 'Transitioning', 'Stopping', 'Stopped', 'Upgrading', 'Flushing'
status_description[RW]
@return [String] Describes explanation of state.
Public Class Methods
mapper()
click to toggle source
Mapper for CacheHealth
class as Ruby Hash. This will be used for serialization/deserialization.
# 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