Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineInstallPatchesParameters
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineInstallPatchesParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb
Overview
Input for InstallPatches as directly received by the API
Instance Attribute Summary collapse
-
#linux_parameters ⇒ LinuxParameters
directly received by the API.
-
#maximum_duration ⇒ String
operation will run.
-
#reboot_setting ⇒ VMGuestPatchRebootSetting
reboot a VM during a software update operation.
-
#windows_parameters ⇒ WindowsParameters
as directly received by the API.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineInstallPatchesParameters class as Ruby Hash.
Instance Attribute Details
#linux_parameters ⇒ LinuxParameters
directly received by the API
31 32 33 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb', line 31 def linux_parameters @linux_parameters end |
#maximum_duration ⇒ String
operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)
18 19 20 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb', line 18 def maximum_duration @maximum_duration end |
#reboot_setting ⇒ VMGuestPatchRebootSetting
reboot a VM during a software update operation. Possible values include: 'IfRequired', 'Never', 'Always'
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb', line 23 def reboot_setting @reboot_setting end |
#windows_parameters ⇒ WindowsParameters
as directly received by the API
27 28 29 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb', line 27 def windows_parameters @windows_parameters end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineInstallPatchesParameters 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 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstallPatchesParameters', type: { name: 'Composite', class_name: 'VirtualMachineInstallPatchesParameters', model_properties: { maximum_duration: { client_side_validation: true, required: true, serialized_name: 'maximumDuration', type: { name: 'String' } }, reboot_setting: { client_side_validation: true, required: true, serialized_name: 'rebootSetting', type: { name: 'String' } }, windows_parameters: { client_side_validation: true, required: false, serialized_name: 'windowsParameters', type: { name: 'Composite', class_name: 'WindowsParameters' } }, linux_parameters: { client_side_validation: true, required: false, serialized_name: 'linuxParameters', type: { name: 'Composite', class_name: 'LinuxParameters' } } } } } end |