Class: Azure::ServiceFabric::V6_4_0_36::Models::HealthEvaluation
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::HealthEvaluation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/health_evaluation.rb
Overview
Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.
Direct Known Subclasses
ApplicationHealthEvaluation, ApplicationTypeApplicationsHealthEvaluation, ApplicationsHealthEvaluation, DeltaNodesCheckHealthEvaluation, DeployedApplicationHealthEvaluation, DeployedApplicationsHealthEvaluation, DeployedServicePackageHealthEvaluation, DeployedServicePackagesHealthEvaluation, EventHealthEvaluation, NodeHealthEvaluation, NodesHealthEvaluation, PartitionHealthEvaluation, PartitionsHealthEvaluation, ReplicaHealthEvaluation, ReplicasHealthEvaluation, ServiceHealthEvaluation, ServicesHealthEvaluation, SystemApplicationHealthEvaluation, UpgradeDomainDeltaNodesCheckHealthEvaluation, UpgradeDomainNodesHealthEvaluation
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#aggregated_health_state ⇒ HealthState
as Cluster, Node, Application, Service, Partition, Replica etc.
-
#description ⇒ String
a summary of the evaluation process.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for HealthEvaluation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ HealthEvaluation
constructor
A new instance of HealthEvaluation.
Constructor Details
#initialize ⇒ HealthEvaluation
Returns a new instance of HealthEvaluation.
38 39 40 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/health_evaluation.rb', line 38 def initialize @Kind = "HealthEvaluation" end |
Instance Attribute Details
#aggregated_health_state ⇒ HealthState
as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
47 48 49 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/health_evaluation.rb', line 47 def aggregated_health_state @aggregated_health_state end |
#description ⇒ String
a summary of the evaluation process.
51 52 53 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/health_evaluation.rb', line 51 def description @description end |
#Kind ⇒ Object
Returns the value of attribute Kind.
42 43 44 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/health_evaluation.rb', line 42 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for HealthEvaluation 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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/health_evaluation.rb', line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HealthEvaluation', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'HealthEvaluation', class_name: 'HealthEvaluation', 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' } } } } } end |