class Azure::ServiceFabric::V6_4_0_36::Models::EventHealthEvaluation
Represents health evaluation of a HealthEvent
that was reported on the entity. The health evaluation is returned when evaluating health of an entity results in Error or Warning.
Attributes
Kind[RW]
consider_warning_as_error[RW]
@return [Boolean] Indicates whether warnings are treated with the same severity as errors. The field is specified in the health policy used to evaluate the entity.
unhealthy_event[RW]
@return [HealthEvent] Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.
Public Class Methods
mapper()
click to toggle source
Mapper for EventHealthEvaluation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.4.0.36/generated/azure_service_fabric/models/event_health_evaluation.rb, line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Event', type: { name: 'Composite', class_name: 'EventHealthEvaluation', 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' } }, consider_warning_as_error: { client_side_validation: true, required: false, serialized_name: 'ConsiderWarningAsError', type: { name: 'Boolean' } }, unhealthy_event: { client_side_validation: true, required: false, serialized_name: 'UnhealthyEvent', type: { name: 'Composite', class_name: 'HealthEvent' } } } } } end
new()
click to toggle source
# File lib/6.4.0.36/generated/azure_service_fabric/models/event_health_evaluation.rb, line 19 def initialize @Kind = "Event" end