class Azure::Compute::Mgmt::V2020_06_01::Models::AvailablePatchSummary

Describes the properties of an virtual machine instance view for available patch summary.

Attributes

assessment_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.

critical_and_security_patch_count[RW]

@return [Integer] The number of critical or security patches that have been detected as available and not yet installed.

error[RW]

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

last_modified_time[RW]

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

other_patch_count[RW]

@return [Integer] The number of all available patches excluding critical and security.

reboot_pending[RW]

@return [Boolean] The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01/generated/azure_mgmt_compute/models/available_patch_summary.rb, line 55
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AvailablePatchSummary',
    type: {
      name: 'Composite',
      class_name: 'AvailablePatchSummary',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        assessment_activity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'assessmentActivityId',
          type: {
            name: 'String'
          }
        },
        reboot_pending: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'rebootPending',
          type: {
            name: 'Boolean'
          }
        },
        critical_and_security_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'criticalAndSecurityPatchCount',
          type: {
            name: 'Number'
          }
        },
        other_patch_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'otherPatchCount',
          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