Class: Azure::ServiceFabric::V6_5_0_36::Models::UpgradeDomainDeltaNodesCheckHealthEvaluation

Inherits:
HealthEvaluation
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb

Overview

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

Instance Attribute Summary collapse

Attributes inherited from HealthEvaluation

#aggregated_health_state, #description

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUpgradeDomainDeltaNodesCheckHealthEvaluation

Returns a new instance of UpgradeDomainDeltaNodesCheckHealthEvaluation.



20
21
22
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 20

def initialize
  @Kind = "UpgradeDomainDeltaNodesCheck"
end

Instance Attribute Details

#baseline_error_countInteger

state Error in the health store at the beginning of the cluster upgrade.

Returns:

  • (Integer)

    Number of upgrade domain nodes with aggregated heath



33
34
35
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 33

def baseline_error_count
  @baseline_error_count
end

#baseline_total_countInteger

store at the beginning of the cluster upgrade.

Returns:

  • (Integer)

    Total number of upgrade domain nodes in the health



37
38
39
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 37

def baseline_total_count
  @baseline_total_count
end

#KindObject

Returns the value of attribute Kind.



24
25
26
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 24

def Kind
  @Kind
end

#max_percent_delta_unhealthy_nodesInteger

unhealthy nodes from the ClusterUpgradeHealthPolicy.

Returns:

  • (Integer)

    Maximum allowed percentage of upgrade domain delta



41
42
43
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 41

def max_percent_delta_unhealthy_nodes
  @max_percent_delta_unhealthy_nodes
end

#total_countInteger

store.

Returns:

  • (Integer)

    Total number of upgrade domain nodes in the health



45
46
47
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 45

def total_count
  @total_count
end

#unhealthy_evaluationsArray<HealthEvaluationWrapper>

that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health.

Returns:



50
51
52
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 50

def unhealthy_evaluations
  @unhealthy_evaluations
end

#upgrade_domain_nameString

currently evaluated.

Returns:

  • (String)

    Name of the upgrade domain where nodes health is



28
29
30
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 28

def upgrade_domain_name
  @upgrade_domain_name
end

Class Method Details

.mapperObject

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



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb', line 58

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpgradeDomainDeltaNodesCheck',
    type: {
      name: 'Composite',
      class_name: 'UpgradeDomainDeltaNodesCheckHealthEvaluation',
      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'
          }
        },
        upgrade_domain_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeDomainName',
          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