class Azure::ServiceFabric::V6_3_0_9::Models::DeltaNodesCheckHealthEvaluation

Represents health evaluation for delta nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned during cluster upgrade when the aggregated health state of the cluster is Warning or Error.

Attributes

Kind[RW]
baseline_error_count[RW]

@return [Integer] Number of nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade.

baseline_total_count[RW]

@return [Integer] Total number of nodes in the health store at the beginning of the cluster upgrade.

max_percent_delta_unhealthy_nodes[RW]

@return [Integer] Maximum allowed percentage of delta unhealthy nodes from the ClusterUpgradeHealthPolicy.

total_count[RW]

@return [Integer] Total number of nodes in the health store.

unhealthy_evaluations[RW]

@return [Array<HealthEvaluationWrapper>] List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/delta_nodes_check_health_evaluation.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeltaNodesCheck',
    type: {
      name: 'Composite',
      class_name: 'DeltaNodesCheckHealthEvaluation',
      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'
          }
        },
        baseline_error_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BaselineErrorCount',
          type: {
            name: 'Number'
          }
        },
        baseline_total_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BaselineTotalCount',
          type: {
            name: 'Number'
          }
        },
        max_percent_delta_unhealthy_nodes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxPercentDeltaUnhealthyNodes',
          type: {
            name: 'Number'
          }
        },
        total_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TotalCount',
          type: {
            name: 'Number'
          }
        },
        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.3.0.9/generated/azure_service_fabric/models/delta_nodes_check_health_evaluation.rb, line 20
def initialize
  @Kind = "DeltaNodesCheck"
end