class Azure::ServiceFabric::V6_4_0_36::Models::ApplicationHealth

Represents the health of the application. Contains the application aggregated health state and the service and deployed application health states.

Attributes

deployed_application_health_states[RW]

@return [Array<DeployedApplicationHealthState>] Deployed application health states as found in the health store.

name[RW]

@return [String] The name of the application, including the 'fabric:' URI scheme.

service_health_states[RW]

@return [Array<ServiceHealthState>] Service health states as found in the health store.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/application_health.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationHealth',
    type: {
      name: 'Composite',
      class_name: 'ApplicationHealth',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        health_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthEvents',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEventElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvent'
                }
            }
          }
        },
        unhealthy_evaluations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UnhealthyEvaluations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEvaluationWrapperElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvaluationWrapper'
                }
            }
          }
        },
        health_statistics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthStatistics',
          type: {
            name: 'Composite',
            class_name: 'HealthStatistics'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        service_health_states: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceHealthStates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceHealthStateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceHealthState'
                }
            }
          }
        },
        deployed_application_health_states: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeployedApplicationHealthStates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DeployedApplicationHealthStateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DeployedApplicationHealthState'
                }
            }
          }
        }
      }
    }
  }
end