class Azure::ServiceFabric::V6_5_0_36::Models::HealthEvaluation

Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.

Attributes

Kind[RW]
aggregated_health_state[RW]

@return [HealthState] The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

description[RW]

@return [String] Description of the health evaluation, which represents a summary of the evaluation process.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation.rb, line 58
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HealthEvaluation',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'HealthEvaluation',
      class_name: 'HealthEvaluation',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation.rb, line 38
def initialize
  @Kind = "HealthEvaluation"
end