Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineAssessPatchesResult
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineAssessPatchesResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb
Overview
Describes the properties of an AssessPatches result.
Instance Attribute Summary collapse
-
#assessment_activity_id ⇒ String
result.
-
#available_patches ⇒ Array<VirtualMachineSoftwarePatchProperties>
patches that have been detected as available for installation.
-
#critical_and_security_patch_count ⇒ Integer
been detected as available and not yet installed.
-
#error ⇒ ApiError
the operation.
-
#other_patch_count ⇒ Integer
critical and security.
-
#reboot_pending ⇒ Boolean
when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
-
#start_date_time ⇒ DateTime
The UTC timestamp when the operation began.
-
#status ⇒ PatchOperationStatus
the operation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineAssessPatchesResult class as Ruby Hash.
Instance Attribute Details
#assessment_activity_id ⇒ String
result. It is used to correlate across CRP and extension logs.
24 25 26 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 24 def assessment_activity_id @assessment_activity_id end |
#available_patches ⇒ Array<VirtualMachineSoftwarePatchProperties>
patches that have been detected as available for installation.
44 45 46 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 44 def available_patches @available_patches end |
#critical_and_security_patch_count ⇒ Integer
been detected as available and not yet installed.
33 34 35 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 33 def critical_and_security_patch_count @critical_and_security_patch_count end |
#error ⇒ ApiError
the operation. The details array contains the list of them.
48 49 50 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 48 def error @error end |
#other_patch_count ⇒ Integer
critical and security.
37 38 39 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 37 def other_patch_count @other_patch_count end |
#reboot_pending ⇒ Boolean
when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
29 30 31 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 29 def reboot_pending @reboot_pending end |
#start_date_time ⇒ DateTime
Returns The UTC timestamp when the operation began.
40 41 42 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 40 def start_date_time @start_date_time end |
#status ⇒ PatchOperationStatus
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'
20 21 22 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb', line 20 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineAssessPatchesResult class as Ruby Hash. This will be used for serialization/deserialization.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# 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 |