Class: Azure::Compute::Mgmt::V2020_12_01::Models::LinuxPatchSettings
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::LinuxPatchSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb
Overview
Specifies settings related to VM Guest Patching on Linux.
Instance Attribute Summary collapse
-
#patch_mode ⇒ LinuxVMGuestPatchMode
to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> *ImageDefault* - The virtual machine's default patching configuration is used.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LinuxPatchSettings class as Ruby Hash.
Instance Attribute Details
#patch_mode ⇒ LinuxVMGuestPatchMode
to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> *ImageDefault* - The virtual machine's default patching configuration is used. <br /><br /> *AutomaticByPlatform* - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true. Possible values include: 'ImageDefault', 'AutomaticByPlatform'
22 23 24 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb', line 22 def patch_mode @patch_mode end |
Class Method Details
.mapper ⇒ Object
Mapper for LinuxPatchSettings class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LinuxPatchSettings', type: { name: 'Composite', class_name: 'LinuxPatchSettings', model_properties: { patch_mode: { client_side_validation: true, required: false, serialized_name: 'patchMode', type: { name: 'String' } } } } } end |