Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationUpgradeProgressInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ApplicationUpgradeProgressInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb
Overview
Describes the parameters for an application upgrade.
Instance Attribute Summary collapse
-
#current_upgrade_domain_progress ⇒ CurrentUpgradeDomainProgressInfo
current in-progress upgrade domain.
-
#failure_reason ⇒ FailureReason
in FailureAction being executed.
-
#failure_timestamp_utc ⇒ String
FailureAction was executed.
-
#name ⇒ String
‘fabric:’ URI scheme.
-
#next_upgrade_domain ⇒ String
The name of the next upgrade domain to be processed.
-
#rolling_upgrade_mode ⇒ UpgradeMode
upgrade.
-
#start_timestamp_utc ⇒ String
The estimated UTC datetime when the upgrade started.
-
#target_application_type_version ⇒ String
application manifest) for the application upgrade.
-
#type_name ⇒ String
application manifest.
-
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
that resulted in the current aggregated health state.
-
#upgrade_description ⇒ ApplicationUpgradeDescription
application upgrade.
-
#upgrade_domain_duration_in_milliseconds ⇒ String
the current upgrade domain.
-
#upgrade_domain_progress_at_failure ⇒ FailureUpgradeDomainProgressInfo
upgrade domain progress at the time of upgrade failure.
-
#upgrade_domains ⇒ Array<UpgradeDomainInfo>
statuses.
-
#upgrade_duration_in_milliseconds ⇒ String
the overall upgrade.
-
#upgrade_state ⇒ UpgradeState
include: ‘Invalid’, ‘RollingBackInProgress’, ‘RollingBackCompleted’, ‘RollingForwardPending’, ‘RollingForwardInProgress’, ‘RollingForwardCompleted’, ‘Failed’.
-
#upgrade_status_details ⇒ String
the pending upgrade.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationUpgradeProgressInfo class as Ruby Hash.
Instance Attribute Details
#current_upgrade_domain_progress ⇒ CurrentUpgradeDomainProgressInfo
current in-progress upgrade domain.
72 73 74 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 72 def current_upgrade_domain_progress @current_upgrade_domain_progress end |
#failure_reason ⇒ FailureReason
in FailureAction being executed. Possible values include: ‘None’, ‘Interrupted’, ‘HealthCheck’, ‘UpgradeDomainTimeout’, ‘OverallUpgradeTimeout’
85 86 87 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 85 def failure_reason @failure_reason end |
#failure_timestamp_utc ⇒ String
FailureAction was executed.
79 80 81 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 79 def @failure_timestamp_utc end |
#name ⇒ String
‘fabric:’ URI scheme.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 17 def name @name end |
#next_upgrade_domain ⇒ String
Returns The name of the next upgrade domain to be processed.
38 39 40 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 38 def next_upgrade_domain @next_upgrade_domain end |
#rolling_upgrade_mode ⇒ UpgradeMode
upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. Possible values include: ‘Invalid’, ‘UnmonitoredAuto’, ‘UnmonitoredManual’, ‘Monitored’. Default value: ‘UnmonitoredAuto’ .
44 45 46 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 44 def rolling_upgrade_mode @rolling_upgrade_mode end |
#start_timestamp_utc ⇒ String
Returns The estimated UTC datetime when the upgrade started.
75 76 77 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 75 def @start_timestamp_utc end |
#target_application_type_version ⇒ String
application manifest) for the application upgrade.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 25 def target_application_type_version @target_application_type_version end |
#type_name ⇒ String
application manifest.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 21 def type_name @type_name end |
#unhealthy_evaluations ⇒ Array<HealthEvaluationWrapper>
that resulted in the current aggregated health state.
68 69 70 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 68 def unhealthy_evaluations @unhealthy_evaluations end |
#upgrade_description ⇒ ApplicationUpgradeDescription
application upgrade. Note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would result in the application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription.
56 57 58 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 56 def upgrade_description @upgrade_description end |
#upgrade_domain_duration_in_milliseconds ⇒ String
the current upgrade domain.
64 65 66 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 64 def upgrade_domain_duration_in_milliseconds @upgrade_domain_duration_in_milliseconds end |
#upgrade_domain_progress_at_failure ⇒ FailureUpgradeDomainProgressInfo
upgrade domain progress at the time of upgrade failure.
89 90 91 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 89 def upgrade_domain_progress_at_failure @upgrade_domain_progress_at_failure end |
#upgrade_domains ⇒ Array<UpgradeDomainInfo>
statuses.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 29 def upgrade_domains @upgrade_domains end |
#upgrade_duration_in_milliseconds ⇒ String
the overall upgrade.
60 61 62 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 60 def upgrade_duration_in_milliseconds @upgrade_duration_in_milliseconds end |
#upgrade_state ⇒ UpgradeState
include: ‘Invalid’, ‘RollingBackInProgress’, ‘RollingBackCompleted’, ‘RollingForwardPending’, ‘RollingForwardInProgress’, ‘RollingForwardCompleted’, ‘Failed’
35 36 37 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 35 def upgrade_state @upgrade_state end |
#upgrade_status_details ⇒ String
the pending upgrade.
93 94 95 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 93 def upgrade_status_details @upgrade_status_details end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationUpgradeProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb', line 100 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationUpgradeProgressInfo', type: { name: 'Composite', class_name: 'ApplicationUpgradeProgressInfo', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'Name', type: { name: 'String' } }, type_name: { client_side_validation: true, required: false, serialized_name: 'TypeName', type: { name: 'String' } }, target_application_type_version: { client_side_validation: true, required: false, serialized_name: 'TargetApplicationTypeVersion', type: { name: 'String' } }, upgrade_domains: { client_side_validation: true, required: false, serialized_name: 'UpgradeDomains', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'UpgradeDomainInfoElementType', type: { name: 'Composite', class_name: 'UpgradeDomainInfo' } } } }, upgrade_state: { client_side_validation: true, required: false, serialized_name: 'UpgradeState', type: { name: 'String' } }, next_upgrade_domain: { client_side_validation: true, required: false, serialized_name: 'NextUpgradeDomain', type: { name: 'String' } }, rolling_upgrade_mode: { client_side_validation: true, required: false, serialized_name: 'RollingUpgradeMode', default_value: 'UnmonitoredAuto', type: { name: 'String' } }, upgrade_description: { client_side_validation: true, required: false, serialized_name: 'UpgradeDescription', type: { name: 'Composite', class_name: 'ApplicationUpgradeDescription' } }, upgrade_duration_in_milliseconds: { client_side_validation: true, required: false, serialized_name: 'UpgradeDurationInMilliseconds', type: { name: 'String' } }, upgrade_domain_duration_in_milliseconds: { client_side_validation: true, required: false, serialized_name: 'UpgradeDomainDurationInMilliseconds', type: { name: 'String' } }, unhealthy_evaluations: { client_side_validation: true, required: false, serialized_name: 'UnhealthyEvaluations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HealthEvaluationWrapperElementType', type: { name: 'Composite', class_name: 'HealthEvaluationWrapper' } } } }, current_upgrade_domain_progress: { client_side_validation: true, required: false, serialized_name: 'CurrentUpgradeDomainProgress', type: { name: 'Composite', class_name: 'CurrentUpgradeDomainProgressInfo' } }, start_timestamp_utc: { client_side_validation: true, required: false, serialized_name: 'StartTimestampUtc', type: { name: 'String' } }, failure_timestamp_utc: { client_side_validation: true, required: false, serialized_name: 'FailureTimestampUtc', type: { name: 'String' } }, failure_reason: { client_side_validation: true, required: false, serialized_name: 'FailureReason', type: { name: 'String' } }, upgrade_domain_progress_at_failure: { client_side_validation: true, required: false, serialized_name: 'UpgradeDomainProgressAtFailure', type: { name: 'Composite', class_name: 'FailureUpgradeDomainProgressInfo' } }, upgrade_status_details: { client_side_validation: true, required: false, serialized_name: 'UpgradeStatusDetails', type: { name: 'String' } } } } } end |