Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateSummary

Inherits:
ARMBaseModel
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb

Overview

Details about ongoing updates and availability of updates on the device.

Instance Attribute Summary collapse

Attributes inherited from ARMBaseModel

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#device_last_scanned_date_timeDateTime

Returns The last time when a scan was done on the device.

Returns:

  • (DateTime)

    The last time when a scan was done on the device.



23
24
25
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 23

def device_last_scanned_date_time
  @device_last_scanned_date_time
end

#device_version_numberString

1.2.17312.13.“,

Returns:

  • (String)

    The current version of the device in format:



17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 17

def device_version_number
  @device_version_number
end

#friendly_device_version_nameString

Returns The current version of the device in text format.

Returns:

  • (String)

    The current version of the device in text format.



20
21
22
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 20

def friendly_device_version_name
  @friendly_device_version_name
end

#in_progress_download_job_idString

Returns The job ID of the download job in progress.

Returns:

  • (String)

    The job ID of the download job in progress.



57
58
59
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 57

def in_progress_download_job_id
  @in_progress_download_job_id
end

#in_progress_download_job_started_date_timeDateTime

any) started.

Returns:

  • (DateTime)

    The time when the currently running download (if



64
65
66
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 64

def in_progress_download_job_started_date_time
  @in_progress_download_job_started_date_time
end

#in_progress_install_job_idString

Returns The job ID of the install job in progress.

Returns:

  • (String)

    The job ID of the install job in progress.



60
61
62
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 60

def in_progress_install_job_id
  @in_progress_install_job_id
end

#in_progress_install_job_started_date_timeDateTime

started.

Returns:

  • (DateTime)

    The time when the currently running install (if any)



68
69
70
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 68

def in_progress_install_job_started_date_time
  @in_progress_install_job_started_date_time
end

#last_completed_download_job_date_timeDateTime

(success/cancelled/failed) on the appliance.

Returns:

  • (DateTime)

    The time when the last Download job was completed



31
32
33
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 31

def last_completed_download_job_date_time
  @last_completed_download_job_date_time
end

#last_completed_install_job_date_timeDateTime

(success/cancelled/failed) on the appliance.

Returns:

  • (DateTime)

    The time when the last Install job was completed



35
36
37
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 35

def last_completed_install_job_date_time
  @last_completed_install_job_date_time
end

#last_completed_scan_job_date_timeDateTime

(success/cancelled/failed) on the appliance.

Returns:

  • (DateTime)

    The time when the last scan job was completed



27
28
29
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 27

def last_completed_scan_job_date_time
  @last_completed_scan_job_date_time
end

#ongoing_update_operationUpdateOperation

include: ‘None’, ‘Scan’, ‘Download’, ‘Install’

Returns:



54
55
56
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 54

def ongoing_update_operation
  @ongoing_update_operation
end

#reboot_behaviorInstallRebootBehavior

at least one of the updates needs a reboot. Possible values include: ‘NeverReboots’, ‘RequiresReboot’, ‘RequestReboot’

Returns:



50
51
52
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 50

def reboot_behavior
  @reboot_behavior
end

#total_number_of_updates_availableInteger

device version as per the last device scan.

Returns:

  • (Integer)

    The number of updates available for the current



39
40
41
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 39

def total_number_of_updates_available
  @total_number_of_updates_available
end

#total_number_of_updates_pending_downloadInteger

Returns The total number of items pending download.

Returns:

  • (Integer)

    The total number of items pending download.



42
43
44
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 42

def total_number_of_updates_pending_download
  @total_number_of_updates_pending_download
end

#total_number_of_updates_pending_installInteger

Returns The total number of items pending install.

Returns:

  • (Integer)

    The total number of items pending install.



45
46
47
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 45

def total_number_of_updates_pending_install
  @total_number_of_updates_pending_install
end

#total_update_size_in_bytesFloat

bytes.

Returns:

  • (Float)

    The total size of updates available for download in



75
76
77
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 75

def total_update_size_in_bytes
  @total_update_size_in_bytes
end

#update_titlesArray<String>

Returns The list of updates available for install.

Returns:

  • (Array<String>)

    The list of updates available for install.



71
72
73
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 71

def update_titles
  @update_titles
end

Class Method Details

.mapperObject

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



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
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
271
272
273
274
275
276
277
278
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/update_summary.rb', line 82

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpdateSummary',
    type: {
      name: 'Composite',
      class_name: 'UpdateSummary',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        device_version_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.deviceVersionNumber',
          type: {
            name: 'String'
          }
        },
        friendly_device_version_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.friendlyDeviceVersionName',
          type: {
            name: 'String'
          }
        },
        device_last_scanned_date_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.deviceLastScannedDateTime',
          type: {
            name: 'DateTime'
          }
        },
        last_completed_scan_job_date_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastCompletedScanJobDateTime',
          type: {
            name: 'DateTime'
          }
        },
        last_completed_download_job_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastCompletedDownloadJobDateTime',
          type: {
            name: 'DateTime'
          }
        },
        last_completed_install_job_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastCompletedInstallJobDateTime',
          type: {
            name: 'DateTime'
          }
        },
        total_number_of_updates_available: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.totalNumberOfUpdatesAvailable',
          type: {
            name: 'Number'
          }
        },
        total_number_of_updates_pending_download: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.totalNumberOfUpdatesPendingDownload',
          type: {
            name: 'Number'
          }
        },
        total_number_of_updates_pending_install: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.totalNumberOfUpdatesPendingInstall',
          type: {
            name: 'Number'
          }
        },
        reboot_behavior: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.rebootBehavior',
          type: {
            name: 'String'
          }
        },
        ongoing_update_operation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.ongoingUpdateOperation',
          type: {
            name: 'String'
          }
        },
        in_progress_download_job_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.inProgressDownloadJobId',
          type: {
            name: 'String'
          }
        },
        in_progress_install_job_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.inProgressInstallJobId',
          type: {
            name: 'String'
          }
        },
        in_progress_download_job_started_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.inProgressDownloadJobStartedDateTime',
          type: {
            name: 'DateTime'
          }
        },
        in_progress_install_job_started_date_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.inProgressInstallJobStartedDateTime',
          type: {
            name: 'DateTime'
          }
        },
        update_titles: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updateTitles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        total_update_size_in_bytes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.totalUpdateSizeInBytes',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end