class Azure::ServiceFabric::V6_5_0_36::Models::DeployedApplicationHealthEvaluation

Represents health evaluation for a deployed application, containing information about the data and the algorithm used by the health store to evaluate health.

Attributes

Kind[RW]
application_name[RW]

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

node_name[RW]

@return [String] Name of the node where the application is deployed to.

unhealthy_evaluations[RW]

@return [Array<HealthEvaluationWrapper>] List of unhealthy evaluations that led to the current aggregated health state of the deployed application. The types of the unhealthy evaluations can be DeployedServicePackagesHealthEvaluation or EventHealthEvaluation.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeployedApplication',
    type: {
      name: 'Composite',
      class_name: 'DeployedApplicationHealthEvaluation',
      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'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        node_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeName',
          type: {
            name: 'String'
          }
        },
        application_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationName',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb, line 18
def initialize
  @Kind = "DeployedApplication"
end