class Azure::Compute::Mgmt::V2020_06_01::Models::LastPatchInstallationSummary

Describes the properties of the last installed patch summary.

Attributes

error[RW]

@return [ApiError] The errors that were encountered during execution of the operation. The details array contains the list of them.

excluded_patch_count[RW]

@return [Integer] The number of all available patches but excluded explicitly by a customer-specified exclusion list match.

failed_patch_count[RW]

@return [Integer] The count of patches that failed installation.

installation_activity_id[RW]

@return [String] The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

installed_patch_count[RW]

@return [Integer] The count of patches that successfully installed.

last_modified_time[RW]

@return [DateTime] The UTC timestamp when the operation began.

maintenance_window_exceeded[RW]

@return [Boolean] Describes whether the operation ran out of time before it completed all its intended actions

not_selected_patch_count[RW]

@return [Integer] The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry.

pending_patch_count[RW]

@return [Integer] The number of all available patches expected to be installed over the course of the patch installation operation.

reboot_status[RW]

@return [RebootStatus] The reboot status of the machine after the patch operation. It will be in “NotNeeded” status if reboot is not needed after the patch operation. “Required” will be the status once the patch is applied and machine is required to reboot. “Started” will be the reboot status when the machine has started to reboot. “Failed” will be the status if the machine is failed to reboot. “Completed” will be the status once the machine is rebooted successfully. Possible values include: 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed'

start_time[RW]

@return [DateTime] The UTC timestamp when the operation began.

started_by[RW]

@return [String] The person or system account that started the operation

status[RW]

@return [PatchOperationStatus] The overall success or failure status of the operation. It remains “InProgress” until the operation completes. At that point it will become “Failed”, “Succeeded”, or “CompletedWithWarnings.”. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb, line 78
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LastPatchInstallationSummary',
    type: {
      name: 'Composite',
      class_name: 'LastPatchInstallationSummary',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        installation_activity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installationActivityId',
          type: {
            name: 'String'
          }
        },
        maintenance_window_exceeded: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maintenanceWindowExceeded',
          type: {
            name: 'Boolean'
          }
        },
        reboot_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rebootStatus',
          type: {
            name: 'String'
          }
        },
        not_selected_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'notSelectedPatchCount',
          type: {
            name: 'Number'
          }
        },
        excluded_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'excludedPatchCount',
          type: {
            name: 'Number'
          }
        },
        pending_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'pendingPatchCount',
          type: {
            name: 'Number'
          }
        },
        installed_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'installedPatchCount',
          type: {
            name: 'Number'
          }
        },
        failed_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'failedPatchCount',
          type: {
            name: 'Number'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        started_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startedBy',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ApiError'
          }
        }
      }
    }
  }
end