共用方式為


VirtualMachineInstallPatchesParameters 類別

由 API 直接接收的 InstallPatches 輸入。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.compute._serialization.Model
VirtualMachineInstallPatchesParameters

建構函式

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

Keyword-Only Parameters

maximum_duration
str

指定作業將執行的最大時間量。 它必須是符合 ISO 8601 規範的持續時間字串,例如 PT4H (4 小時) 。

reboot_setting
strVMGuestPatchRebootSetting

定義在軟體更新作業期間可接受重新開機 VM 的時機。 必要。 已知值為:「IfRequired」、「Never」 和 「Always」。

windows_parameters
WindowsParameters

Windows VM 上 InstallPatches 的輸入,如 API 直接接收。

linux_parameters
LinuxParameters

Linux VM 上 InstallPatches 的輸入,如 API 直接接收。

變數

maximum_duration
str

指定作業將執行的最大時間量。 它必須是符合 ISO 8601 規範的持續時間字串,例如 PT4H (4 小時) 。

reboot_setting
strVMGuestPatchRebootSetting

定義在軟體更新作業期間可接受重新開機 VM 的時機。 必要。 已知值為:「IfRequired」、「Never」 和 「Always」。

windows_parameters
WindowsParameters

Windows VM 上 InstallPatches 的輸入,如 API 直接接收。

linux_parameters
LinuxParameters

Linux VM 上 InstallPatches 的輸入,如 API 直接接收。