# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_3_0_9 module Models # # Information about the health of a service package for a specific # application deployed on a Service Fabric node. # class DeployedServicePackageHealth < EntityHealth include MsRestAzure # @return [String] The name of the application, including the 'fabric:' # URI scheme. attr_accessor :application_name # @return [String] Name of the service manifest. attr_accessor :service_manifest_name # @return [String] Name of the node where this service package is # deployed. attr_accessor :node_name # # Mapper for DeployedServicePackageHealth class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeployedServicePackageHealth', type: { name: 'Composite', class_name: 'DeployedServicePackageHealth', model_properties: { aggregated_health_state: { client_side_validation: true, required: false, serialized_name: 'AggregatedHealthState', type: { name: 'String' } }, health_events: { client_side_validation: true, required: false, serialized_name: 'HealthEvents', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HealthEventElementType', type: { name: 'Composite', class_name: 'HealthEvent' } } } }, 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' } } } }, health_statistics: { client_side_validation: true, required: false, serialized_name: 'HealthStatistics', type: { name: 'Composite', class_name: 'HealthStatistics' } }, application_name: { client_side_validation: true, required: false, serialized_name: 'ApplicationName', type: { name: 'String' } }, service_manifest_name: { client_side_validation: true, required: false, serialized_name: 'ServiceManifestName', type: { name: 'String' } }, node_name: { client_side_validation: true, required: false, serialized_name: 'NodeName', type: { name: 'String' } } } } } end end end end