Class: Azure::Compute::Mgmt::V2020_12_01::Models::PatchSettings
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::PatchSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb
Overview
Specifies settings related to VM Guest Patching on Windows.
Instance Attribute Summary collapse
-
#enable_hotpatching ⇒ Boolean
requiring a reboot.
-
#patch_mode ⇒ WindowsVMGuestPatchMode
Patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> *Manual* - You control the application of patches to a virtual machine.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PatchSettings class as Ruby Hash.
Instance Attribute Details
#enable_hotpatching ⇒ Boolean
requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
33 34 35 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb', line 33 def enable_hotpatching @enable_hotpatching end |
#patch_mode ⇒ WindowsVMGuestPatchMode
Patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> *Manual* - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> *AutomaticByOS* - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> *AutomaticByPlatform* - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform'
28 29 30 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb', line 28 def patch_mode @patch_mode end |
Class Method Details
.mapper ⇒ Object
Mapper for PatchSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PatchSettings', type: { name: 'Composite', class_name: 'PatchSettings', model_properties: { patch_mode: { client_side_validation: true, required: false, serialized_name: 'patchMode', type: { name: 'String' } }, enable_hotpatching: { client_side_validation: true, required: false, serialized_name: 'enableHotpatching', type: { name: 'Boolean' } } } } } end |