CmdID

CmdID / az / az eventgrid / az eventgrid domain / az eventgrid domain topic

az eventgrid domain topic list

List available topics in a domain. Azure CLI reference

3 examples 2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

List all topics in a domain.

az eventgrid domain topic list -g rg1 --domain-name domain1Identify
-gName of resource group.
--domain-nameName of the domain.

List all domain topics in a domain whose name contains the pattern "XYZ"

az eventgrid domain topic list -g rg1 --domain-name domain1 --odata-query "Contains(name, 'XYZ')"Identify
-gName of resource group.
--domain-nameName of the domain.
--odata-queryThe OData query used for filtering the list results.

List all domain topics in a domain except the domain topic with name "name1"

az eventgrid domain topic list -g rg1 --domain-name domain1 --odata-query "NOT (name eq 'name1')"Identify
-gName of resource group.
--domain-nameName of the domain.
--odata-queryThe OData query used for filtering the list results.

Options

2 in the Azure CLI reference
--domain-nameName of the domain.
--odata-queryThe OData query used for filtering the list results.