VirtualMachineInstallPatchesParameters Class

Input for InstallPatches as directly received by the API.

All required parameters must be populated in order to send to Azure.

Inheritance
VirtualMachineInstallPatchesParameters

Constructor

VirtualMachineInstallPatchesParameters(*, reboot_setting: Union[str, azure.mgmt.compute.v2021_07_01.models._compute_management_client_enums.VMGuestPatchRebootSetting], maximum_duration: Optional[str] = None, windows_parameters: Optional[azure.mgmt.compute.v2021_07_01.models._models_py3.WindowsParameters] = None, linux_parameters: Optional[azure.mgmt.compute.v2021_07_01.models._models_py3.LinuxParameters] = None, **kwargs)

Parameters

maximum_duration
str
Required

Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours).

reboot_setting
str or VMGuestPatchRebootSetting
Required

Required. Defines when it is acceptable to reboot a VM during a software update operation. Possible values include: "IfRequired", "Never", "Always".

windows_parameters
WindowsParameters
Required

Input for InstallPatches on a Windows VM, as directly received by the API.

linux_parameters
LinuxParameters
Required

Input for InstallPatches on a Linux VM, as directly received by the API.