az hdinsight monitor
管理 HDInsight 叢集上的傳統 Azure 監視器記錄整合。
命令
| 名稱 | Description | 類型 | 狀態 |
|---|---|---|---|
| az hdinsight monitor disable |
停用 HDInsight 叢集上的傳統 Azure 監視器記錄整合。 |
Core | GA |
| az hdinsight monitor enable |
在 HDInsight 叢集上啟用傳統 Azure 監視器記錄整合。 |
Core | GA |
| az hdinsight monitor show |
取得 HDInsight 叢集上傳統 Azure 監視器記錄整合的狀態。 |
Core | GA |
az hdinsight monitor disable
停用 HDInsight 叢集上的傳統 Azure 監視器記錄整合。
az hdinsight monitor disable --name
--resource-group
必要參數
叢集的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az hdinsight monitor enable
在 HDInsight 叢集上啟用傳統 Azure 監視器記錄整合。
az hdinsight monitor enable --name
--resource-group
--workspace
[--no-validation-timeout]
[--primary-key]
必要參數
叢集的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Log Analytics 工作區的名稱、資源標識碼或工作區標識碼。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
允許在自變數驗證階段期間發生逾時錯誤。 如果省略,則會允許驗證逾時錯誤。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
Log Analytics 工作區的憑證。 提供工作區標識碼時為必要專案。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az hdinsight monitor show
取得 HDInsight 叢集上傳統 Azure 監視器記錄整合的狀態。
az hdinsight monitor show --name
--resource-group
必要參數
叢集的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |