Class: Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpgradeDeltaHealthPolicy
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpgradeDeltaHealthPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb
Overview
Delta health policy for the cluster
Instance Attribute Summary collapse
-
#max_percent_delta_unhealthy_applications ⇒ Integer
Additional unhealthy applications percentage.
-
#max_percent_delta_unhealthy_nodes ⇒ Integer
Additional unhealthy nodes percentage.
-
#max_percent_upgrade_domain_delta_unhealthy_nodes ⇒ Integer
domain.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterUpgradeDeltaHealthPolicy class as Ruby Hash.
Instance Attribute Details
#max_percent_delta_unhealthy_applications ⇒ Integer
Returns Additional unhealthy applications percentage.
23 24 25 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 23 def max_percent_delta_unhealthy_applications @max_percent_delta_unhealthy_applications end |
#max_percent_delta_unhealthy_nodes ⇒ Integer
Returns Additional unhealthy nodes percentage.
16 17 18 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 16 def max_percent_delta_unhealthy_nodes @max_percent_delta_unhealthy_nodes end |
#max_percent_upgrade_domain_delta_unhealthy_nodes ⇒ Integer
domain
20 21 22 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 20 def max_percent_upgrade_domain_delta_unhealthy_nodes @max_percent_upgrade_domain_delta_unhealthy_nodes end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterUpgradeDeltaHealthPolicy class as Ruby Hash. This will be used for serialization/deserialization.
30 31 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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterUpgradeDeltaHealthPolicy', type: { name: 'Composite', class_name: 'ClusterUpgradeDeltaHealthPolicy', model_properties: { max_percent_delta_unhealthy_nodes: { client_side_validation: true, required: true, serialized_name: 'maxPercentDeltaUnhealthyNodes', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } }, max_percent_upgrade_domain_delta_unhealthy_nodes: { client_side_validation: true, required: true, serialized_name: 'maxPercentUpgradeDomainDeltaUnhealthyNodes', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } }, max_percent_delta_unhealthy_applications: { client_side_validation: true, required: true, serialized_name: 'maxPercentDeltaUnhealthyApplications', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |