Class: Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradeDeltaHealthPolicy
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradeDeltaHealthPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb
Overview
Describes the delta health policies for the cluster upgrade.
Instance Attribute Summary collapse
-
#max_percent_delta_unhealthy_applications ⇒ Integer
degradation allowed during cluster upgrades.
-
#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 ClusterUpgradeDeltaHealthPolicy class as Ruby Hash.
Instance Attribute Details
#max_percent_delta_unhealthy_applications ⇒ Integer
degradation allowed during cluster upgrades. The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications 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. System services are not included in this.
39 40 41 |
# File 'lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 39 def max_percent_delta_unhealthy_applications @max_percent_delta_unhealthy_applications end |
#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.
21 22 23 |
# File 'lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 21 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.
30 31 32 |
# File 'lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 30 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.
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb', line 46 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 |