class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateSummary

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

Attributes

device_last_scanned_date_time[RW]

@return [DateTime] The last time when a scan was done on the device.

device_version_number[RW]

@return [String] The current version of the device in format: 1.2.17312.13.“,

friendly_device_version_name[RW]

@return [String] The current version of the device in text format.

in_progress_download_job_id[RW]

@return [String] The job ID of the download job in progress.

in_progress_download_job_started_date_time[RW]

@return [DateTime] The time when the currently running download (if any) started.

in_progress_install_job_id[RW]

@return [String] The job ID of the install job in progress.

in_progress_install_job_started_date_time[RW]

@return [DateTime] The time when the currently running install (if any) started.

last_completed_download_job_date_time[RW]

@return [DateTime] The time when the last Download job was completed (success/cancelled/failed) on the appliance.

last_completed_install_job_date_time[RW]

@return [DateTime] The time when the last Install job was completed (success/cancelled/failed) on the appliance.

last_completed_scan_job_date_time[RW]

@return [DateTime] The time when the last scan job was completed (success/cancelled/failed) on the appliance.

ongoing_update_operation[RW]

@return [UpdateOperation] The current update operation. Possible values include: 'None', 'Scan', 'Download', 'Install'

reboot_behavior[RW]

@return [InstallRebootBehavior] Indicates if updates are available and at least one of the updates needs a reboot. Possible values include: 'NeverReboots', 'RequiresReboot', 'RequestReboot'

total_number_of_updates_available[RW]

@return [Integer] The number of updates available for the current device version as per the last device scan.

total_number_of_updates_pending_download[RW]

@return [Integer] The total number of items pending download.

total_number_of_updates_pending_install[RW]

@return [Integer] The total number of items pending install.

total_update_size_in_bytes[RW]

@return [Float] The total size of updates available for download in bytes.

update_titles[RW]

@return [Array<String>] The list of updates available for install.

Private Class Methods

mapper() click to toggle source

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

# 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