Class: Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb
Overview
Service health policy
Instance Attribute Summary collapse
-
#max_percent_delta_unhealthy_services ⇒ Integer
Maximum percentage of unhealthy services in cluster.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceTypeDeltaHealthPolicy class as Ruby Hash.
Instance Attribute Details
#max_percent_delta_unhealthy_services ⇒ Integer
Returns Maximum percentage of unhealthy services in cluster.
17 18 19 |
# File 'lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb', line 17 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.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb', line 24 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', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |