Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb
Overview
Describes the policy used when upgrading the cluster.
Instance Attribute Summary collapse
-
#delta_health_policy ⇒ ClusterUpgradeDeltaHealthPolicy
policy used when upgrading the cluster.
-
#force_restart ⇒ Boolean
during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
-
#health_check_retry_timeout ⇒ String
application or cluster is unhealthy before the upgrade rolls back.
-
#health_check_stable_duration ⇒ String
must remain healthy before the upgrade proceeds to the next upgrade domain.
-
#health_check_wait_duration ⇒ String
domain before performing health checks.
-
#health_policy ⇒ ClusterHealthPolicy
upgrading the cluster.
-
#upgrade_domain_timeout ⇒ String
before the upgrade rolls back.
-
#upgrade_replica_set_check_timeout ⇒ String
upgrade domain and revent loss of availability when there are unexpected issues.
-
#upgrade_timeout ⇒ String
before the upgrade rolls back.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterUpgradePolicy class as Ruby Hash.
Instance Attribute Details
#delta_health_policy ⇒ ClusterUpgradeDeltaHealthPolicy
policy used when upgrading the cluster.
60 61 62 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 60 def delta_health_policy @delta_health_policy end |
#force_restart ⇒ Boolean
during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
18 19 20 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 18 def force_restart @force_restart end |
#health_check_retry_timeout ⇒ String
application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
42 43 44 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 42 def health_check_retry_timeout @health_check_retry_timeout end |
#health_check_stable_duration ⇒ String
must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
37 38 39 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 37 def health_check_stable_duration @health_check_stable_duration end |
#health_check_wait_duration ⇒ String
domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
31 32 33 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 31 def health_check_wait_duration @health_check_wait_duration end |
#health_policy ⇒ ClusterHealthPolicy
upgrading the cluster.
56 57 58 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 56 def health_policy @health_policy end |
#upgrade_domain_timeout ⇒ String
before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
52 53 54 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 52 def upgrade_domain_timeout @upgrade_domain_timeout end |
#upgrade_replica_set_check_timeout ⇒ String
upgrade domain and revent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
26 27 28 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 26 def upgrade_replica_set_check_timeout @upgrade_replica_set_check_timeout end |
#upgrade_timeout ⇒ String
before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
47 48 49 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 47 def upgrade_timeout @upgrade_timeout end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterUpgradePolicy class as Ruby Hash. This will be used for serialization/deserialization.
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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb', line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterUpgradePolicy', type: { name: 'Composite', class_name: 'ClusterUpgradePolicy', model_properties: { force_restart: { client_side_validation: true, required: false, serialized_name: 'forceRestart', type: { name: 'Boolean' } }, upgrade_replica_set_check_timeout: { client_side_validation: true, required: true, serialized_name: 'upgradeReplicaSetCheckTimeout', type: { name: 'String' } }, health_check_wait_duration: { client_side_validation: true, required: true, serialized_name: 'healthCheckWaitDuration', type: { name: 'String' } }, health_check_stable_duration: { client_side_validation: true, required: true, serialized_name: 'healthCheckStableDuration', type: { name: 'String' } }, health_check_retry_timeout: { client_side_validation: true, required: true, serialized_name: 'healthCheckRetryTimeout', type: { name: 'String' } }, upgrade_timeout: { client_side_validation: true, required: true, serialized_name: 'upgradeTimeout', type: { name: 'String' } }, upgrade_domain_timeout: { client_side_validation: true, required: true, serialized_name: 'upgradeDomainTimeout', type: { name: 'String' } }, health_policy: { client_side_validation: true, required: true, serialized_name: 'healthPolicy', type: { name: 'Composite', class_name: 'ClusterHealthPolicy' } }, delta_health_policy: { client_side_validation: true, required: false, serialized_name: 'deltaHealthPolicy', type: { name: 'Composite', class_name: 'ClusterUpgradeDeltaHealthPolicy' } } } } } end |