VirtualMachineInstallPatchesParameters Class

Input for InstallPatches as directly received by the API.

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

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineInstallPatchesParameters

Constructor

VirtualMachineInstallPatchesParameters(*, maximum_duration: str, reboot_setting: str | _models.VMGuestPatchRebootSetting, windows_parameters: _models.WindowsParameters | None = None, linux_parameters: _models.LinuxParameters | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
maximum_duration
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). Required.

reboot_setting

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

windows_parameters

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

linux_parameters

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

Variables

Name Description
maximum_duration
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). Required.

reboot_setting

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

windows_parameters

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

linux_parameters

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