Class: Azure::ServiceFabric::V6_3_0_9::Models::ClusterConfigurationUpgradeDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ClusterConfigurationUpgradeDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb
Overview
Describes the parameters for a standalone cluster configuration upgrade.
Instance Attribute Summary collapse
-
#application_health_policies ⇒ ApplicationHealthPolicies
policy map used to evaluate the health of an application or one of its children entities.
-
#cluster_config ⇒ String
The cluster configuration.
-
#health_check_retry_timeout ⇒ Duration
health checks if the application or cluster is not healthy.
-
#health_check_stable_duration_in_seconds ⇒ Duration
must remain healthy.
-
#health_check_wait_duration_in_seconds ⇒ Duration
upgrade domain before starting the health checks process.
-
#max_percent_delta_unhealthy_nodes ⇒ Integer
degradation during the upgrade.
-
#max_percent_unhealthy_applications ⇒ Integer
applications during the upgrade.
-
#max_percent_unhealthy_nodes ⇒ Integer
during the upgrade.
-
#max_percent_upgrade_domain_delta_unhealthy_nodes ⇒ Integer
delta health degradation during the upgrade.
-
#upgrade_domain_timeout_in_seconds ⇒ Duration
Date.parse(‘PT0H0M0S’) .
-
#upgrade_timeout_in_seconds ⇒ Duration
Date.parse(‘PT0H0M0S’) .
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterConfigurationUpgradeDescription class as Ruby Hash.
Instance Attribute Details
#application_health_policies ⇒ ApplicationHealthPolicies
policy map used to evaluate the health of an application or one of its children entities.
63 64 65 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 63 def application_health_policies @application_health_policies end |
#cluster_config ⇒ String
Returns The cluster configuration.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 16 def cluster_config @cluster_config end |
#health_check_retry_timeout ⇒ Duration
health checks if the application or cluster is not healthy. Default value: Date.parse(‘PT0H0M0S’) .
21 22 23 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 21 def health_check_retry_timeout @health_check_retry_timeout end |
#health_check_stable_duration_in_seconds ⇒ Duration
must remain healthy. Default value: Date.parse(‘PT0H0M0S’) .
30 31 32 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 30 def health_check_stable_duration_in_seconds @health_check_stable_duration_in_seconds end |
#health_check_wait_duration_in_seconds ⇒ Duration
upgrade domain before starting the health checks process. Default value: Date.parse(‘PT0H0M0S’) .
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 26 def health_check_wait_duration_in_seconds @health_check_wait_duration_in_seconds end |
#max_percent_delta_unhealthy_nodes ⇒ Integer
degradation during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .
53 54 55 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 53 def max_percent_delta_unhealthy_nodes @max_percent_delta_unhealthy_nodes end |
#max_percent_unhealthy_applications ⇒ Integer
applications during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .
43 44 45 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 43 def max_percent_unhealthy_applications @max_percent_unhealthy_applications end |
#max_percent_unhealthy_nodes ⇒ Integer
during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .
48 49 50 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 48 def max_percent_unhealthy_nodes @max_percent_unhealthy_nodes end |
#max_percent_upgrade_domain_delta_unhealthy_nodes ⇒ Integer
delta health degradation during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .
58 59 60 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 58 def max_percent_upgrade_domain_delta_unhealthy_nodes @max_percent_upgrade_domain_delta_unhealthy_nodes end |
#upgrade_domain_timeout_in_seconds ⇒ Duration
Date.parse(‘PT0H0M0S’) .
34 35 36 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 34 def upgrade_domain_timeout_in_seconds @upgrade_domain_timeout_in_seconds end |
#upgrade_timeout_in_seconds ⇒ Duration
Date.parse(‘PT0H0M0S’) .
38 39 40 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 38 def upgrade_timeout_in_seconds @upgrade_timeout_in_seconds end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterConfigurationUpgradeDescription class as Ruby Hash. This will be used for serialization/deserialization.
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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb', line 70 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterConfigurationUpgradeDescription', type: { name: 'Composite', class_name: 'ClusterConfigurationUpgradeDescription', model_properties: { cluster_config: { client_side_validation: true, required: true, serialized_name: 'ClusterConfig', type: { name: 'String' } }, health_check_retry_timeout: { client_side_validation: true, required: false, serialized_name: 'HealthCheckRetryTimeout', default_value: Date.parse('PT0H0M0S'), type: { name: 'TimeSpan' } }, health_check_wait_duration_in_seconds: { client_side_validation: true, required: false, serialized_name: 'HealthCheckWaitDurationInSeconds', default_value: Date.parse('PT0H0M0S'), type: { name: 'TimeSpan' } }, health_check_stable_duration_in_seconds: { client_side_validation: true, required: false, serialized_name: 'HealthCheckStableDurationInSeconds', default_value: Date.parse('PT0H0M0S'), type: { name: 'TimeSpan' } }, upgrade_domain_timeout_in_seconds: { client_side_validation: true, required: false, serialized_name: 'UpgradeDomainTimeoutInSeconds', default_value: Date.parse('PT0H0M0S'), type: { name: 'TimeSpan' } }, upgrade_timeout_in_seconds: { client_side_validation: true, required: false, serialized_name: 'UpgradeTimeoutInSeconds', default_value: Date.parse('PT0H0M0S'), type: { name: 'TimeSpan' } }, max_percent_unhealthy_applications: { client_side_validation: true, required: false, serialized_name: 'MaxPercentUnhealthyApplications', default_value: 0, type: { name: 'Number' } }, max_percent_unhealthy_nodes: { client_side_validation: true, required: false, serialized_name: 'MaxPercentUnhealthyNodes', default_value: 0, type: { name: 'Number' } }, max_percent_delta_unhealthy_nodes: { client_side_validation: true, required: false, serialized_name: 'MaxPercentDeltaUnhealthyNodes', default_value: 0, type: { name: 'Number' } }, max_percent_upgrade_domain_delta_unhealthy_nodes: { client_side_validation: true, required: false, serialized_name: 'MaxPercentUpgradeDomainDeltaUnhealthyNodes', default_value: 0, type: { name: 'Number' } }, application_health_policies: { client_side_validation: true, required: false, serialized_name: 'ApplicationHealthPolicies', type: { name: 'Composite', class_name: 'ApplicationHealthPolicies' } } } } } end |