az internet-analyzer profile

注意

此參考是 Azure CLI 的網際網路分析器 擴充功能的一部分 (2.0.67 版或更高版本)。 擴充功能會在您第一次執行 az internet-analyzer 設定檔 命令時自動安裝。 深入了解擴充功能。

管理網際網路分析器設定檔的命令。

命令

名稱 Description 類型 狀態
az internet-analyzer profile create

建立網際網路分析器設定檔。

擴充 GA
az internet-analyzer profile delete

刪除網際網路分析器設定檔。

擴充 GA
az internet-analyzer profile list

列出網際網路分析器設定檔。

擴充 GA
az internet-analyzer profile show

顯示網際網路分析器設定檔。

擴充 GA
az internet-analyzer profile update

更新網際網路分析器設定檔。

擴充 GA

az internet-analyzer profile create

建立網際網路分析器設定檔。

az internet-analyzer profile create --name
                                    --resource-group
                                    [--enabled-state {Disabled, Enabled}]
                                    [--location]
                                    [--tags]

範例

在資源群組中建立 Internet Analyzer 設定檔

az internet-analyzer profile create --resource-group "MyResourceGroup" --name "MyProfile" \
--location "WestUs" --enabled-state "Enabled"

必要參數

--name

要建立的 Internet Analyzer 設定檔名稱。

--resource-group -g

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

選擇性參數

--enabled-state

實驗的狀態。

接受的值: Disabled, Enabled
--location -l

位置。​​ 來自的值: az account list-locations 。 您可以使用 來設定預設位置 az configure --defaults location=<location>

--tags

以空格分隔的標記:key[=value] [key[=value] ...]。使用 「」 清除現有的標記。

全域參數
--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 來取得完整偵錯記錄。

az internet-analyzer profile delete

刪除網際網路分析器設定檔。

az internet-analyzer profile delete --name
                                    --resource-group

範例

刪除資源群組中的 Internet Analyzer 設定檔

az internet-analyzer profile delete --resource-group "MyResourceGroup" --name "MyProfile"

必要參數

--name

要刪除的 Internet Analyzer 設定檔名稱。

--resource-group -g

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

全域參數
--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 來取得完整偵錯記錄。

az internet-analyzer profile list

列出網際網路分析器設定檔。

az internet-analyzer profile list --resource-group

範例

列出資源群組中的 Internet Analyzer 設定檔

az internet-analyzer profile list --resource-group "MyResourceGroup"

必要參數

--resource-group -g

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

全域參數
--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 來取得完整偵錯記錄。

az internet-analyzer profile show

顯示網際網路分析器設定檔。

az internet-analyzer profile show --name
                                  --resource-group

範例

依設定檔識別碼取得 Internet Analyzer 設定檔

az internet-analyzer profile show --resource-group "MyResourceGroup" --name "MyProfile"

必要參數

--name

要顯示的 Internet Analyzer 設定檔名稱。

--resource-group -g

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

全域參數
--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 來取得完整偵錯記錄。

az internet-analyzer profile update

更新網際網路分析器設定檔。

az internet-analyzer profile update --name
                                    --resource-group
                                    [--enabled-state {Disabled, Enabled}]
                                    [--location]
                                    [--tags]

範例

更新資源群組中的 Internet Analyzer 設定檔

az internet-analyzer profile update --resource-group "MyResourceGroup" --name "MyProfile" \
--enabled-state "Enabled"

必要參數

--name

要更新的 Internet Analyzer 設定檔名稱。

--resource-group -g

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

選擇性參數

--enabled-state

實驗的狀態。

接受的值: Disabled, Enabled
--location -l

位置。​​ 來自的值: az account list-locations 。 您可以使用 來設定預設位置 az configure --defaults location=<location>

--tags

以空格分隔的標記:key[=value] [key[=value] ...]。使用 「」 清除現有的標記。

全域參數
--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 來取得完整偵錯記錄。