VirtualMachineInstallPatchesParameters Class

Input for InstallPatches as directly received by the API.

Constructor

VirtualMachineInstallPatchesParameters()

Variables

Name Description
maximumDuration
str

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).

rebootSetting
Union[str, <xref:"VMGuestPatchRebootSetting">]

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

windowsParameters
<xref:<xref:"WindowsParameters">>

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

linuxParameters
<xref:<xref:"LinuxParameters">>

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

Attributes

linuxParameters

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

linuxParameters: LinuxParameters

maximumDuration

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).

maximumDuration: str

rebootSetting

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

rebootSetting: Required[str | VMGuestPatchRebootSetting]

windowsParameters

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

windowsParameters: WindowsParameters