設定 Unified Maintenance
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本文說明如何設定及使用統一維護功能。本文說明如何啟用 Unified Maintenance API、直接查詢該 API,以及如何管理自動傳送至 Cloud Logging 的維護事件記錄。
啟用 Unified Maintenance API
如要直接查詢 Unified Maintenance API,請啟用該 API。啟用 API 後,您可以在 Hub 的「統一維護」部分查看統一維護事件。
在 Cloud Logging 中接收維護活動記錄
Unified Maintenance 服務會自動傳送維護記錄 (無論是否啟用 Unified Maintenance API)。如果您在專案的 Cloud Logging 中獲派其中一個基本角色 (檢視者、編輯者或擁有者),則具備存取 Unified Maintenance 記錄的必要權限。
如要進一步瞭解必要權限,請參閱「使用 IAM 控管存取權」。
您無法停用「統一維護」,但可以選擇不儲存記錄。
如要停用,請參閱「關閉維護記錄」。
如要監控專案中 Unified Maintenance 記錄的資源用量,可以建立指標閾值快訊政策。詳情請參閱 Google Cloud Observability 說明文件中的「建立指標門檻警告政策」。
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-02-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-02-25 (世界標準時間)。"],[],[]]