class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineAssessPatchesResult
Describes the properties of an AssessPatches result.
Attributes
@return [String] The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
@return [Array<VirtualMachineSoftwarePatchProperties>] The list of patches that have been detected as available for installation.
@return [Integer] The number of critical or security patches that have been detected as available and not yet installed.
@return [ApiError] The errors that were encountered during execution of the operation. The details array contains the list of them.
@return [Integer] The number of all available patches excluding critical and security.
@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.
@return [DateTime] The UTC timestamp when the operation began.
@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 for VirtualMachineAssessPatchesResult
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb, line 55 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineAssessPatchesResult', type: { name: 'Composite', class_name: 'VirtualMachineAssessPatchesResult', 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_date_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startDateTime', type: { name: 'DateTime' } }, available_patches: { client_side_validation: true, required: false, read_only: true, serialized_name: 'availablePatches', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualMachineSoftwarePatchPropertiesElementType', type: { name: 'Composite', class_name: 'VirtualMachineSoftwarePatchProperties' } } } }, error: { client_side_validation: true, required: false, read_only: true, serialized_name: 'error', type: { name: 'Composite', class_name: 'ApiError' } } } } } end