Class: Azure::ServiceFabric::V6_3_0_9::Models::ClusterUpgradeHealthPolicyObject
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ClusterUpgradeHealthPolicyObject
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/cluster_upgrade_health_policy_object.rb
Overview
Defines a health policy used to evaluate the health of the cluster during a cluster upgrade.
Instance Attribute Summary collapse
-
#max_percent_delta_unhealthy_nodes ⇒ Integer
degradation allowed during cluster upgrades.
-
#max_percent_upgrade_domain_delta_unhealthy_nodes ⇒ Integer
nodes health degradation allowed during cluster upgrades.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterUpgradeHealthPolicyObject class as Ruby Hash.
Instance Attribute Details
#max_percent_delta_unhealthy_nodes ⇒ Integer
degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes 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. The default value is 10%.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_upgrade_health_policy_object.rb', line 23 def max_percent_delta_unhealthy_nodes @max_percent_delta_unhealthy_nodes end |
#max_percent_upgrade_domain_delta_unhealthy_nodes ⇒ Integer
nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits. The default value is 15%.
33 34 35 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_upgrade_health_policy_object.rb', line 33 def max_percent_upgrade_domain_delta_unhealthy_nodes @max_percent_upgrade_domain_delta_unhealthy_nodes end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterUpgradeHealthPolicyObject class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_upgrade_health_policy_object.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterUpgradeHealthPolicyObject', type: { name: 'Composite', class_name: 'ClusterUpgradeHealthPolicyObject', model_properties: { max_percent_delta_unhealthy_nodes: { client_side_validation: true, required: false, serialized_name: 'MaxPercentDeltaUnhealthyNodes', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } }, max_percent_upgrade_domain_delta_unhealthy_nodes: { client_side_validation: true, required: false, serialized_name: 'MaxPercentUpgradeDomainDeltaUnhealthyNodes', constraints: { InclusiveMaximum: 100, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |