Class: Azure::ServiceFabric::V7_0_0_42::Models::ApplicationResourceUpgradeProgressInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb

Overview

This type describes an application resource upgrade.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_upgrade_status_detailsString

the pending upgrade.

Returns:

  • (String)

    Additional detailed information about the status of



55
56
57
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 55

def application_upgrade_status_details
  @application_upgrade_status_details
end

#failure_timestamp_utcString

FailureAction was executed.

Returns:

  • (String)

    The estimated UTC datetime when the upgrade failed and



68
69
70
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 68

def failure_timestamp_utc
  @failure_timestamp_utc
end

#nameString

Returns Name of the Application resource.

Returns:

  • (String)

    Name of the Application resource.



16
17
18
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 16

def name
  @name
end

#percent_completedString

upgrade.

Returns:

  • (String)

    The estimated percent of replicas are completed in the



34
35
36
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 34

def percent_completed
  @percent_completed
end

#rolling_upgrade_modeRollingUpgradeMode

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

Returns:



44
45
46
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 44

def rolling_upgrade_mode
  @rolling_upgrade_mode
end

#service_upgrade_progressArray<ServiceUpgradeProgress>

progresses.

Returns:



38
39
40
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 38

def service_upgrade_progress
  @service_upgrade_progress
end

#start_timestamp_utcString

Returns The estimated UTC datetime when the upgrade started.

Returns:

  • (String)

    The estimated UTC datetime when the upgrade started.



23
24
25
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 23

def start_timestamp_utc
  @start_timestamp_utc
end

#target_application_type_versionString

upgrade.

Returns:

  • (String)

    The target application version for the application



20
21
22
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 20

def target_application_type_version
  @target_application_type_version
end

#upgrade_durationString

elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. Default value: ‘PT0H2M0S’ .

Returns:

  • (String)

    The estimated amount of time that the overall upgrade



51
52
53
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 51

def upgrade_duration
  @upgrade_duration
end

#upgrade_replica_set_check_timeout_in_secondsInteger

upgrade domain and prevent 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. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). Default value: 42949672925 .

Returns:

  • (Integer)

    The maximum amount of time to block processing of an



64
65
66
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 64

def upgrade_replica_set_check_timeout_in_seconds
  @upgrade_replica_set_check_timeout_in_seconds
end

#upgrade_stateApplicationResourceUpgradeState

resource upgrade. Possible values include: ‘Invalid’, ‘ProvisioningTarget’, ‘RollingForward’, ‘UnprovisioningCurrent’, ‘CompletedRollforward’, ‘RollingBack’, ‘UnprovisioningTarget’, ‘CompletedRollback’, ‘Failed’

Returns:



30
31
32
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 30

def upgrade_state
  @upgrade_state
end

Class Method Details

.mapperObject

Mapper for ApplicationResourceUpgradeProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.



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
181
182
183
184
185
186
187
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb', line 75

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationResourceUpgradeProgressInfo',
    type: {
      name: 'Composite',
      class_name: 'ApplicationResourceUpgradeProgressInfo',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        target_application_type_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TargetApplicationTypeVersion',
          type: {
            name: 'String'
          }
        },
        start_timestamp_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'StartTimestampUtc',
          type: {
            name: 'String'
          }
        },
        upgrade_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeState',
          type: {
            name: 'String'
          }
        },
        percent_completed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PercentCompleted',
          type: {
            name: 'String'
          }
        },
        service_upgrade_progress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceUpgradeProgress',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceUpgradeProgressElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceUpgradeProgress'
                }
            }
          }
        },
        rolling_upgrade_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RollingUpgradeMode',
          default_value: 'Monitored',
          type: {
            name: 'String'
          }
        },
        upgrade_duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeDuration',
          default_value: 'PT0H2M0S',
          type: {
            name: 'String'
          }
        },
        application_upgrade_status_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationUpgradeStatusDetails',
          type: {
            name: 'String'
          }
        },
        upgrade_replica_set_check_timeout_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeReplicaSetCheckTimeoutInSeconds',
          default_value: 42949672925,
          type: {
            name: 'Number'
          }
        },
        failure_timestamp_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FailureTimestampUtc',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end