Class: Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthData
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthData
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb
Overview
The health data for an endpoint
Instance Attribute Summary collapse
-
#endpoint_id ⇒ String
Id of the endpoint.
-
#health_status ⇒ EndpointHealthStatus
Possible values include: ‘unknown’, ‘healthy’, ‘unhealthy’, ‘dead’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EndpointHealthData class as Ruby Hash.
Instance Attribute Details
#endpoint_id ⇒ String
Returns Id of the endpoint.
16 17 18 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb', line 16 def endpoint_id @endpoint_id end |
#health_status ⇒ EndpointHealthStatus
Possible values include: ‘unknown’, ‘healthy’, ‘unhealthy’, ‘dead’
20 21 22 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb', line 20 def health_status @health_status end |
Class Method Details
.mapper ⇒ Object
Mapper for EndpointHealthData class as Ruby Hash. This will be used for serialization/deserialization.
27 28 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 |
# 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 |