az self-help troubleshooter
注意
此參考是 Azure CLI 的自助延伸模組的一部分(2.57.0 版或更高版本)。 擴充功能會在您第一次執行 az self-help troubleshooter 命令時自動安裝。 深入了解擴充功能。
命令群組 'az self-help' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
疑難解答員命令可協助您建立 Azure 資源的疑難解答員。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az self-help troubleshooter continue |
使用 stepId 和回應作為觸發程式,以繼續個別疑難解答員資源名稱的疑難解答步驟。 |
副檔名 | 預覽 |
az self-help troubleshooter create |
在資源或訂用帳戶下建立特定的疑難解答員動作。 |
副檔名 | 預覽 |
az self-help troubleshooter end |
結束疑難解答員動作。 |
副檔名 | 預覽 |
az self-help troubleshooter restart |
使用適用的疑難解答員資源名稱作為輸入,重新啟動疑難解答員 API。 |
副檔名 | 預覽 |
az self-help troubleshooter show |
取得疑難解答員實例結果,其中包含正在執行之疑難解答員資源名稱的步驟狀態/結果。 |
副檔名 | 預覽 |
az self-help troubleshooter continue
命令群組 'az self-help troubleshooter' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
使用 stepId 和回應作為觸發程式,以繼續個別疑難解答員資源名稱的疑難解答步驟。
az self-help troubleshooter continue --scope
--troubleshooter-name
[--responses]
[--step-id]
範例
在資源層級繼續疑難解答員
az self-help troubleshooter continue --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789123 --step-id step-id --responses [] --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'
必要參數
這是延伸模組資源提供者,目前僅支援資源層級擴充功能。
疑難解答員資源名稱。
選擇性參數
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
結果的唯一標識碼。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID
帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。
az self-help troubleshooter create
命令群組 'az self-help troubleshooter' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
在資源或訂用帳戶下建立特定的疑難解答員動作。
az self-help troubleshooter create --scope
--troubleshooter-name
[--parameters]
[--solution-id]
範例
在資源層級建立疑難解答員
az self-help troubleshooter create --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789123 --solution-id e104dbdf-9e14-4c9f-bc78-21ac90382231 --parameters {ResourceUri:'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'
必要參數
這是延伸模組資源提供者,目前僅支援資源層級擴充功能。
疑難解答員資源名稱。
選擇性參數
執行疑難解答員資源支援速記語法、json-file 和 yaml-file 的用戶端輸入參數。 請嘗試 “??” 以顯示更多。
識別單一疑難解答員的解決方案標識符。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID
帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。
az self-help troubleshooter end
命令群組 'az self-help troubleshooter' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
結束疑難解答員動作。
az self-help troubleshooter end --scope
--troubleshooter-name
範例
資源層級的結束疑難解答員
az self-help troubleshooter end --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789123 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'
必要參數
這是延伸模組資源提供者,目前僅支援資源層級擴充功能。
疑難解答員資源名稱。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID
帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。
az self-help troubleshooter restart
命令群組 'az self-help troubleshooter' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
使用適用的疑難解答員資源名稱作為輸入,重新啟動疑難解答員 API。
az self-help troubleshooter restart --scope
--troubleshooter-name
範例
資源層級的重新啟動疑難解答員
az self-help troubleshooter restart --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789123 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'
必要參數
這是延伸模組資源提供者,目前僅支援資源層級擴充功能。
疑難解答員資源名稱。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID
帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。
az self-help troubleshooter show
命令群組 'az self-help troubleshooter' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
取得疑難解答員實例結果,其中包含正在執行之疑難解答員資源名稱的步驟狀態/結果。
az self-help troubleshooter show --scope
--troubleshooter-name
範例
在資源層級顯示疑難解答員
az self-help troubleshooter show --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789123 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'
必要參數
這是延伸模組資源提供者,目前僅支援資源層級擴充功能。
疑難解答員資源名稱。
全域參數
增加記錄詳細資訊,以顯示所有偵錯記錄。
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
輸出格式。
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID
帳戶。
增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。