Class: Azure::Compute::Mgmt::V2020_06_01::Models::PatchSettings
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::PatchSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#patch_mode ⇒ InGuestPatchMode
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
#patch_mode ⇒ InGuestPatchMode
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'
29 30 31 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb', line 29 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.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb', line 36 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' } } } } } end |