az monitor app-insights workbook identity

注意

此參考是 Azure CLI 應用程式深入解析延伸模組的一部分(2.55.0 版或更高版本)。 擴充功能會在您第一次執行 az monitor app-insights 活頁簿身分識別 命令時自動安裝。 深入了解擴充功能。

管理活頁簿標識碼。

命令

名稱 Description 類型 狀態
az monitor app-insights workbook identity assign

指派身分識別。

副檔名 GA
az monitor app-insights workbook identity remove

拿掉身分識別。

副檔名 GA

az monitor app-insights workbook identity assign

指派身分識別。

az monitor app-insights workbook identity assign --resource-group
                                                 --resource-name
                                                 [--source-id]
                                                 [--system-assigned {0, 1, f, false, n, no, t, true, y, yes}]
                                                 [--user-assigned]

必要參數

--resource-group -g

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

--resource-name -n

活頁簿資源的名稱。 此值必須是 UUID。

選擇性參數

--source-id

將擷取所有連結活頁簿的 Azure 資源識別碼。

--system-assigned

啟用系統指派的身分識別。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--user-assigned

空間分隔的資源標識碼,以新增使用者指派的身分識別。 支援速記語法、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 來取得完整偵錯記錄。

az monitor app-insights workbook identity remove

拿掉身分識別。

az monitor app-insights workbook identity remove --resource-group
                                                 --resource-name
                                                 [--source-id]
                                                 [--system-assigned {0, 1, f, false, n, no, t, true, y, yes}]
                                                 [--user-assigned]

必要參數

--resource-group -g

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

--resource-name -n

活頁簿資源的名稱。 此值必須是 UUID。

選擇性參數

--source-id

將擷取所有連結活頁簿的 Azure 資源識別碼。

--system-assigned

啟用系統指派的身分識別。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--user-assigned

空間分隔的資源標識碼,以新增使用者指派的身分識別。 支援速記語法、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 來取得完整偵錯記錄。