class Azure::ServiceFabric::V6_3_0_9::Models::DeployedApplicationsHealthEvaluation
Represents health evaluation for deployed applications, containing health evaluations for each unhealthy deployed application that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.
Attributes
@return [Integer] Maximum allowed percentage of unhealthy deployed applications from the ApplicationHealthPolicy
.
@return [Integer] Total number of deployed applications of the application in the health store.
@return [Array<HealthEvaluationWrapper>] List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedApplicationHealthEvaluation
that impacted the aggregated health.
Public Class Methods
Mapper for DeployedApplicationsHealthEvaluation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.3.0.9/generated/azure_service_fabric/models/deployed_applications_health_evaluation.rb, line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeployedApplications', type: { name: 'Composite', class_name: 'DeployedApplicationsHealthEvaluation', 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_deployed_applications: { client_side_validation: true, required: false, serialized_name: 'MaxPercentUnhealthyDeployedApplications', 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
# File lib/6.3.0.9/generated/azure_service_fabric/models/deployed_applications_health_evaluation.rb, line 20 def initialize @Kind = "DeployedApplications" end