class Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthData
The health data for an endpoint
Attributes
endpoint_id[RW]
@return [String] Id of the endpoint
health_status[RW]
@return [EndpointHealthStatus] The health status code of the endpoint. Possible values include: 'unknown', 'healthy', 'unhealthy', 'dead'
Public Class Methods
mapper()
click to toggle source
Mapper for EndpointHealthData
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EndpointHealthData', type: { name: 'Composite', class_name: 'EndpointHealthData', model_properties: { endpoint_id: { client_side_validation: true, required: false, serialized_name: 'endpointId', type: { name: 'String' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } } } } } end