class Azure::ServiceFabric::V6_5_0_36::Models::ServiceHealthState

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

Attributes

service_name[RW]

@return [String] Name of the service whose health state is represented by this object.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/service_health_state.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceHealthState',
    type: {
      name: 'Composite',
      class_name: 'ServiceHealthState',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end