class Azure::ServiceFabric::V6_4_0_36::Models::NodeHealthState

Represents the health state of a node, which contains the node identifier and its aggregated health state.

Attributes

id[RW]

@return [NodeId] An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.

name[RW]

@return [String] The name of a Service Fabric node.

Public Class Methods

mapper() click to toggle source

Mapper for NodeHealthState class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.4.0.36/generated/azure_service_fabric/models/node_health_state.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeHealthState',
    type: {
      name: 'Composite',
      class_name: 'NodeHealthState',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'Composite',
            class_name: 'NodeId'
          }
        }
      }
    }
  }
end