az monitor app-insights my-workbook

注意

此參考是 Azure CLI 應用程式深入解析延伸模組的一部分(2.55.0 版或更高版本)。 擴充功能會在您第一次執行 az monitor app-insights my-workbook 命令時自動安裝。 深入了解擴充功能。

管理 my-workbook。

命令

名稱 Description 類型 狀態
az monitor app-insights my-workbook list

列出指定訂用帳戶和類別內定義的所有私人活頁簿。

副檔名 GA

az monitor app-insights my-workbook list

列出指定訂用帳戶和類別內定義的所有私人活頁簿。

az monitor app-insights my-workbook list --category {TSG, performance, retention, workbook}
                                         [--can-fetch-content {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--max-items]
                                         [--next-token]
                                         [--resource-group]
                                         [--source-id]
                                         [--tags]

範例

列出我的活頁簿

az monitor app-insights my-workbook list  -g rg --category retention

必要參數

--category

要傳回的活頁簿類別。

接受的值: TSG, performance, retention, workbook

選擇性參數

--can-fetch-content

旗標,指出是否要傳回每個適用活頁簿的完整內容。 如果為 false,則只會傳回活頁簿的摘要內容。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--max-items

命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的自變數中 --next-token 提供令牌值。

--next-token

標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。

--resource-group -g

資源群組的名稱。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--source-id

將擷取所有連結活頁簿的 Azure 資源識別碼。

--tags

標記會顯示在每個傳回的活頁簿上。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。