Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationUpgradeProgressInfo

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#current_upgrade_domain_progressCurrentUpgradeDomainProgressInfo

current in-progress upgrade domain.

Returns:



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_reasonFailureReason

in FailureAction being executed. Possible values include: ‘None’, ‘Interrupted’, ‘HealthCheck’, ‘UpgradeDomainTimeout’, ‘OverallUpgradeTimeout’

Returns:

  • (FailureReason)

    The cause of an upgrade failure that resulted



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_utcString

FailureAction was executed.

Returns:

  • (String)

    The estimated UTC datetime when the upgrade failed and



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
  @failure_timestamp_utc
end

#nameString

‘fabric:’ URI scheme.

Returns:

  • (String)

    The name of the target application, including the



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_domainString

Returns The name of the next upgrade domain to be processed.

Returns:

  • (String)

    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_modeUpgradeMode

upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. Possible values include: ‘Invalid’, ‘UnmonitoredAuto’, ‘UnmonitoredManual’, ‘Monitored’. Default value: ‘UnmonitoredAuto’ .

Returns:

  • (UpgradeMode)

    The mode used to monitor health during a rolling



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_utcString

Returns The estimated UTC datetime when the upgrade started.

Returns:

  • (String)

    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
  @start_timestamp_utc
end

#target_application_type_versionString

application manifest) for the application upgrade.

Returns:

  • (String)

    The target application type version (found in the



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_nameString

application manifest.

Returns:

  • (String)

    The application type name as defined in the



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_evaluationsArray<HealthEvaluationWrapper>

that resulted in the current aggregated health state.

Returns:



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_descriptionApplicationUpgradeDescription

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.

Returns:



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_millisecondsString

the current upgrade domain.

Returns:

  • (String)

    The estimated total amount of time spent processing



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_failureFailureUpgradeDomainProgressInfo

upgrade domain progress at the time of upgrade failure.

Returns:



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_domainsArray<UpgradeDomainInfo>

statuses.

Returns:



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_millisecondsString

the overall upgrade.

Returns:

  • (String)

    The estimated total amount of time spent processing



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_stateUpgradeState

include: ‘Invalid’, ‘RollingBackInProgress’, ‘RollingBackCompleted’, ‘RollingForwardPending’, ‘RollingForwardInProgress’, ‘RollingForwardCompleted’, ‘Failed’

Returns:

  • (UpgradeState)

    The state of the upgrade domain. Possible values



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_detailsString

the pending upgrade.

Returns:

  • (String)

    Additional detailed information about the status of



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

.mapperObject

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