Share via


az eventgrid extension-topic

注意

此命令群組具有 Azure CLI 和至少一個擴充功能中定義的命令。 安裝每個擴充功能以受益于其擴充功能。 深入了解擴充功能。

管理Azure 事件方格擴充主題。

命令

名稱 Description 類型 狀態
az eventgrid extension-topic show

取得延伸模組主題的詳細資料。

核心 GA
az eventgrid extension-topic show (eventgrid 擴充功能)

取得延伸模組主題的詳細資料。

副檔名 預覽版

az eventgrid extension-topic show

取得延伸模組主題的詳細資料。

az eventgrid extension-topic show --scope

範例

顯示延伸模組主題的詳細資料。

az eventgrid extension-topic show --scope /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}

必要參數

--scope

要查詢擴充主題之資源的識別碼。 範圍可以是訂用帳戶、資源群組或屬於資源提供者命名空間的最上層資源。 例如,針對資源群組使用 '/subscriptions/{subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' 和 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceType}/{resourceName}' 作為 Azure 資源的 '/subscriptions/{subscriptionId}/{resourceGroupName}'。

全域參數
--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 eventgrid extension-topic show (eventgrid 擴充功能)

預覽

命令群組 'az eventgrid' 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

取得延伸模組主題的詳細資料。

az eventgrid extension-topic show --scope

範例

顯示延伸模組主題的詳細資料。

az eventgrid extension-topic show --scope /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}

必要參數

--scope

要查詢擴充主題之資源的識別碼。 範圍可以是訂用帳戶、資源群組或屬於資源提供者命名空間的最上層資源。 例如,針對資源群組使用 '/subscriptions/{subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' 和 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceType}/{resourceName}' 作為 Azure 資源的 '/subscriptions/{subscriptionId}/{resourceGroupName}'。

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