Class: Azure::ServiceFabric::V6_3_0_9::Models::DeployedApplicationHealthEvaluation
- Inherits:
-
HealthEvaluation
- Object
- HealthEvaluation
- Azure::ServiceFabric::V6_3_0_9::Models::DeployedApplicationHealthEvaluation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb
Overview
Represents health evaluation for a deployed application, containing information about the data and the algorithm used by the health store to evaluate health.
Instance Attribute Summary collapse
-
#application_name ⇒ String
URI scheme.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#node_name ⇒ String
Name of the node where the application is deployed to.
-
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
that led to the current aggregated health state of the deployed application.
Attributes inherited from HealthEvaluation
#aggregated_health_state, #description
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeployedApplicationHealthEvaluation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeployedApplicationHealthEvaluation
constructor
A new instance of DeployedApplicationHealthEvaluation.
Constructor Details
#initialize ⇒ DeployedApplicationHealthEvaluation
Returns a new instance of DeployedApplicationHealthEvaluation.
18 19 20 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb', line 18 def initialize @Kind = "DeployedApplication" end |
Instance Attribute Details
#application_name ⇒ String
URI scheme.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb', line 29 def application_name @application_name end |
#Kind ⇒ Object
Returns the value of attribute Kind.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb', line 22 def Kind @Kind end |
#node_name ⇒ String
Returns Name of the node where the application is deployed to.
25 26 27 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb', line 25 def node_name @node_name end |
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
that led to the current aggregated health state of the deployed application. The types of the unhealthy evaluations can be DeployedServicePackagesHealthEvaluation or EventHealthEvaluation.
36 37 38 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb', line 36 def unhealthy_evaluations @unhealthy_evaluations end |
Class Method Details
.mapper ⇒ Object
Mapper for DeployedApplicationHealthEvaluation class as Ruby Hash. This will be used for serialization/deserialization.
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 111 112 |
# File 'lib/6.3.0.9/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 |