Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationsHealthEvaluation
- Inherits:
-
HealthEvaluation
- Object
- HealthEvaluation
- Azure::ServiceFabric::V6_5_0_36::Models::ApplicationsHealthEvaluation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb
Overview
Represents health evaluation for applications, containing health evaluations for each unhealthy application that impacted current aggregated health state.
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#max_percent_unhealthy_applications ⇒ Integer
from the ClusterHealthPolicy.
-
#total_count ⇒ Integer
Total number of applications from the health store.
-
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
that led to the aggregated health state.
Attributes inherited from HealthEvaluation
#aggregated_health_state, #description
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationsHealthEvaluation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ApplicationsHealthEvaluation
constructor
A new instance of ApplicationsHealthEvaluation.
Constructor Details
#initialize ⇒ ApplicationsHealthEvaluation
Returns a new instance of ApplicationsHealthEvaluation.
18 19 20 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb', line 18 def initialize @Kind = "Applications" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
22 23 24 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb', line 22 def Kind @Kind end |
#max_percent_unhealthy_applications ⇒ Integer
from the ClusterHealthPolicy.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb', line 26 def max_percent_unhealthy_applications @max_percent_unhealthy_applications end |
#total_count ⇒ Integer
Returns Total number of applications from the health store.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb', line 29 def total_count @total_count end |
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation that impacted the aggregated health.
34 35 36 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb', line 34 def unhealthy_evaluations @unhealthy_evaluations end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationsHealthEvaluation class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Applications', type: { name: 'Composite', class_name: 'ApplicationsHealthEvaluation', 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' } }, max_percent_unhealthy_applications: { client_side_validation: true, required: false, serialized_name: 'MaxPercentUnhealthyApplications', 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 |