共用方式為


VirtualMachineInstallPatchesResult 類別

安裝作業的結果摘要。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

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

建構函式

VirtualMachineInstallPatchesResult(**kwargs: Any)

變數

名稱 Description
status

作業的整體成功或失敗狀態。 它會維持 「InProgress」,直到作業完成為止。 此時,它會變成「失敗」、「成功」、「未知」或「CompletedWithWarnings」。 已知值為:「Unknown」、「InProgress」、「Failed」、「Succeeded」 和 「CompletedWithWarnings」。

installation_activity_id
str

產生此結果之作業的活動識別碼。 它用來相互關聯 CRP 和延伸模組記錄。

reboot_status

完成作業之後 VM 的重新開機狀態。 已知值為:「Unknown」、「NotNeeded」、「Required」、「Started」、「Failed」 和 「Completed」。

maintenance_window_exceeded

作業在完成所有預定動作之前,是否用盡時間。

excluded_patch_count
int

因為使用者封鎖其安裝而未安裝的修補程式數目。

not_selected_patch_count
int

偵測到為可供安裝的修補程式數目,但不符合作業的準則。

pending_patch_count
int

識別為符合安裝準則但無法安裝的修補程式數目。 一般而言,當 maintenanceWindowExceeded == true 時,就會發生這種情況。

installed_patch_count
int

已成功安裝的修補程式數目。

failed_patch_count
int

因某些問題而無法安裝的修補程式數目。 如需詳細資訊,請參閱錯誤。

patches

作業期間安裝的修補程式。

start_date_time

作業開始時的 UTC 時間戳記。

error

執行作業期間遇到的錯誤。 詳細資料陣列包含它們的清單。