Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineSoftwarePatchProperties
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineSoftwarePatchProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb
Overview
Describes the properties of a Virtual Machine software patch.
Instance Attribute Summary collapse
-
#activity_id ⇒ String
result.
-
#assessment_state ⇒ PatchAssessmentState
patch.
-
#classifications ⇒ Array<String>
by the patch publisher.
-
#kb_id ⇒ String
patches.
-
#last_modified_date_time ⇒ DateTime
record.
-
#name ⇒ String
The friendly name of the patch.
-
#patch_id ⇒ String
A unique identifier for the patch.
-
#published_date ⇒ DateTime
patch.
-
#reboot_behavior ⇒ VMGuestPatchRebootBehavior
of the patch.
-
#version ⇒ String
only to Linux patches.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineSoftwarePatchProperties class as Ruby Hash.
Instance Attribute Details
#activity_id ⇒ String
result. It is used to correlate across CRP and extension logs.
40 41 42 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 40 def activity_id @activity_id end |
#assessment_state ⇒ PatchAssessmentState
patch. Possible values include: 'Unknown', 'Available'
52 53 54 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 52 def assessment_state @assessment_state end |
#classifications ⇒ Array<String>
by the patch publisher.
31 32 33 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 31 def classifications @classifications end |
#kb_id ⇒ String
patches.
27 28 29 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 27 def kb_id @kb_id end |
#last_modified_date_time ⇒ DateTime
record.
48 49 50 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 48 def last_modified_date_time @last_modified_date_time end |
#name ⇒ String
Returns The friendly name of the patch.
19 20 21 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 19 def name @name end |
#patch_id ⇒ String
Returns A unique identifier for the patch.
16 17 18 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 16 def patch_id @patch_id end |
#published_date ⇒ DateTime
patch.
44 45 46 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 44 def published_date @published_date end |
#reboot_behavior ⇒ VMGuestPatchRebootBehavior
of the patch. Possible values include: 'Unknown', 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot'
36 37 38 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 36 def reboot_behavior @reboot_behavior end |
#version ⇒ String
only to Linux patches.
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 23 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineSoftwarePatchProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb', line 59 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineSoftwarePatchProperties', type: { name: 'Composite', class_name: 'VirtualMachineSoftwarePatchProperties', model_properties: { patch_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'patchId', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'version', type: { name: 'String' } }, kb_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kbId', type: { name: 'String' } }, classifications: { client_side_validation: true, required: false, read_only: true, serialized_name: 'classifications', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, reboot_behavior: { client_side_validation: true, required: false, read_only: true, serialized_name: 'rebootBehavior', type: { name: 'String' } }, activity_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'activityId', type: { name: 'String' } }, published_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'publishedDate', type: { name: 'DateTime' } }, last_modified_date_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModifiedDateTime', type: { name: 'DateTime' } }, assessment_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'assessmentState', type: { name: 'String' } } } } } end |