az acat report snapshot
注意
此參考是 Azure CLI 的 acat 延伸模組的一部分(2.61.0 版或更高版本)。 擴充功能會在您第一次執行 az acat report snapshot 命令時自動安裝。 深入了解擴充功能。
管理 ACAT 報表快照集。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az acat report snapshot download |
從快照集下載合規性需求,例如:合規性報告、資源清單。 |
副檔名 | GA |
az acat report snapshot list |
列出AppComplianceAutomation 快照集清單。 |
副檔名 | GA |
az acat report snapshot download
從快照集下載合規性需求,例如:合規性報告、資源清單。
az acat report snapshot download --download-type {ComplianceDetailedPdfReport, CompliancePdfReport, ComplianceReport, ResourceList}
--report-name
--snapshot-name
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--offer-guid]
[--tenant]
必要參數
表示下載類型。
報表名稱。
快照集名稱。
選擇性參數
請勿等候長時間執行的作業完成。
會對應至報表的 offerGuid。
租用戶標識碼。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID
設定預設訂用帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。
az acat report snapshot list
列出AppComplianceAutomation 快照集清單。
az acat report snapshot list --report-name
[--filter]
[--max-items]
[--next-token]
[--offer-guid]
[--orderby]
[--select]
[--skip-token]
[--tenant]
[--top]
必要參數
報表名稱。
選擇性參數
要套用至作業的篩選條件。
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的自變數中 --next-token
提供令牌值。
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
會對應至報表的 offerGuid。
依查詢選項排序 OData 順序。
OData Select 語句。 將每個專案上的屬性限制為只要求的屬性,例如 ?$select=reportName,id。
擷取結果時略過。
報表建立者的租用戶標識碼。
擷取結果時要傳回的項目數目。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID
設定預設訂用帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。