class Azure::Compute::Mgmt::V2020_12_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.

start_time[RW]

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

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 “Unknown”, “Failed”, “Succeeded”, or “CompletedWithWarnings.”. Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb, line 64
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'
          }
        },
        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'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ApiError'
          }
        }
      }
    }
  }
end