az afd log-analytic metric
管理 AFD 設定檔的計量統計數據。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az afd log-analytic metric list |
取得 AFD 設定檔的記錄報告。 |
核心 | GA |
az afd log-analytic metric list
取得 AFD 設定檔的記錄報告。
az afd log-analytic metric list --custom-domains
--date-time-begin
--date-time-end
--granularity {P1D, PT1H, PT5M}
--metrics
--profile-name
--protocols
--resource-group
[--continents]
[--country-or-regions]
[--group-by]
必要參數
--custom-domains
要包含的網域。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
--date-time-begin
開始日期時間。
--date-time-end
結束日期時間。
--granularity
間隔粒度。
接受的值: P1D, PT1H, PT5M
--metrics
要包含的計量類型。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
--profile-name
Azure Front Door Standard 或 Azure Front Door 進階版 配置檔的名稱,此配置檔在資源群組中是唯一的。 在資源群組中是唯一的。
--protocols
要包含的通訊協定。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
--resource-group -g
資源群組的名稱。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
選擇性參數
--continents
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
--country-or-regions
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
--group-by
支援速記語法、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 來取得完整偵錯記錄。