class Azure::ServiceFabric::V7_0_0_42::Models::DeployedServicePackagesHealthEvaluation
Represents health evaluation for deployed service packages, containing health evaluations for each unhealthy deployed service package that impacted current aggregated health state. Can be returned when evaluating deployed application health and the aggregated health state is either Error or Warning.
Attributes
Kind[RW]
total_count[RW]
@return [Integer] Total number of deployed service packages of the deployed application in the health store.
unhealthy_evaluations[RW]
@return [Array<HealthEvaluationWrapper>] List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedServicePackageHealthEvaluation
that impacted the aggregated health.
Private Class Methods
mapper()
click to toggle source
Mapper for DeployedServicePackagesHealthEvaluation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/deployed_service_packages_health_evaluation.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeployedServicePackages', type: { name: 'Composite', class_name: 'DeployedServicePackagesHealthEvaluation', 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' } }, 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
new()
click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/deployed_service_packages_health_evaluation.rb, line 20 def initialize @Kind = "DeployedServicePackages" end