az hdinsight monitor

管理 HDInsight 叢集上的傳統 Azure 監視器記錄整合。

命令

名稱 Description 類型 狀態
az hdinsight monitor disable

停用 HDInsight 叢集上的傳統 Azure 監視器記錄整合。

核心 GA
az hdinsight monitor enable

在 HDInsight 叢集上啟用傳統 Azure 監視器記錄整合。

核心 GA
az hdinsight monitor show

取得 HDInsight 叢集上傳統 Azure 監視器記錄整合的狀態。

核心 GA

az hdinsight monitor disable

停用 HDInsight 叢集上的傳統 Azure 監視器記錄整合。

az hdinsight monitor disable --name
                             --resource-group

必要參數

--name -n

叢集的名稱。

--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 hdinsight monitor enable

在 HDInsight 叢集上啟用傳統 Azure 監視器記錄整合。

az hdinsight monitor enable --name
                            --resource-group
                            --workspace
                            [--no-validation-timeout]
                            [--primary-key]

必要參數

--name -n

叢集的名稱。

--resource-group -g

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

--workspace

Log Analytics 工作區的名稱、資源識別碼或工作區識別碼。

選擇性參數

--no-validation-timeout

允許在引數驗證階段期間發生逾時錯誤。 如果省略,則會允許驗證逾時錯誤。

預設值: False
--primary-key

Log Analytics 工作區的憑證。 提供工作區識別碼時為必要專案。

全域參數
--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 hdinsight monitor show

取得 HDInsight 叢集上傳統 Azure 監視器記錄整合的狀態。

az hdinsight monitor show --name
                          --resource-group

必要參數

--name -n

叢集的名稱。

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