class Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy
Represents the health policy used to evaluate the health of services belonging to a service type.
Attributes
max_percent_unhealthy_services[RW]
@return [Integer] The maximum percentage of services allowed to be unhealthy before your application is considered in error. . Default value: 0 .
Private Class Methods
mapper()
click to toggle source
Mapper for ServiceTypeHealthPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceTypeHealthPolicy', type: { name: 'Composite', class_name: 'ServiceTypeHealthPolicy', model_properties: { max_percent_unhealthy_services: { client_side_validation: true, required: false, serialized_name: 'maxPercentUnhealthyServices', default_value: 0, constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end