Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb
Overview
Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.
Instance Attribute Summary collapse
-
#max_percent_delta_unhealthy_services ⇒ Integer
degradation allowed during cluster upgrades.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceTypeDeltaHealthPolicy class as Ruby Hash.
Instance Attribute Details
#max_percent_delta_unhealthy_services ⇒ Integer
degradation allowed during cluster upgrades. The delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. . Default value: 0 .
25 26 27 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb', line 25 def max_percent_delta_unhealthy_services @max_percent_delta_unhealthy_services end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceTypeDeltaHealthPolicy class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceTypeDeltaHealthPolicy', type: { name: 'Composite', class_name: 'ServiceTypeDeltaHealthPolicy', model_properties: { max_percent_delta_unhealthy_services: { client_side_validation: true, required: false, serialized_name: 'maxPercentDeltaUnhealthyServices', default_value: 0, constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |