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
Examples
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
--domain-nameName of the domain.--odata-queryThe OData query used for filtering the list results.