Class: Azure::Compute::Mgmt::V2020_12_01::Models::WindowsParameters
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::WindowsParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb
Overview
Input for InstallPatches on a Windows VM, as directly received by the API
Instance Attribute Summary collapse
-
#classifications_to_include ⇒ Array<VMGuestPatchClassificationWindows>
classifications to select when installing patches for Windows.
-
#exclude_kbs_requiring_reboot ⇒ Boolean
InstallationRebootBehavior of 'NeverReboots' when this is set to true.
-
#kb_numbers_to_exclude ⇒ Array<String>
Kbs to exclude in the patch operation.
-
#kb_numbers_to_include ⇒ Array<String>
Kbs to include in the patch operation.
-
#max_patch_publish_date ⇒ DateTime
on or before this given max published date.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WindowsParameters class as Ruby Hash.
Instance Attribute Details
#classifications_to_include ⇒ Array<VMGuestPatchClassificationWindows>
classifications to select when installing patches for Windows.
17 18 19 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 17 def classifications_to_include @classifications_to_include end |
#exclude_kbs_requiring_reboot ⇒ Boolean
InstallationRebootBehavior of 'NeverReboots' when this is set to true.
27 28 29 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 27 def exclude_kbs_requiring_reboot @exclude_kbs_requiring_reboot end |
#kb_numbers_to_exclude ⇒ Array<String>
Returns Kbs to exclude in the patch operation.
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 23 def kb_numbers_to_exclude @kb_numbers_to_exclude end |
#kb_numbers_to_include ⇒ Array<String>
Returns Kbs to include in the patch operation.
20 21 22 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 20 def kb_numbers_to_include @kb_numbers_to_include end |
#max_patch_publish_date ⇒ DateTime
on or before this given max published date.
31 32 33 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 31 def max_patch_publish_date @max_patch_publish_date end |
Class Method Details
.mapper ⇒ Object
Mapper for WindowsParameters class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 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 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WindowsParameters', type: { name: 'Composite', class_name: 'WindowsParameters', model_properties: { classifications_to_include: { client_side_validation: true, required: false, serialized_name: 'classificationsToInclude', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VMGuestPatchClassificationWindowsElementType', type: { name: 'String' } } } }, kb_numbers_to_include: { client_side_validation: true, required: false, serialized_name: 'kbNumbersToInclude', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, kb_numbers_to_exclude: { client_side_validation: true, required: false, serialized_name: 'kbNumbersToExclude', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, exclude_kbs_requiring_reboot: { client_side_validation: true, required: false, serialized_name: 'excludeKbsRequiringReboot', type: { name: 'Boolean' } }, max_patch_publish_date: { client_side_validation: true, required: false, serialized_name: 'maxPatchPublishDate', type: { name: 'DateTime' } } } } } end |