CmdID

CmdID / az / az eventgrid / az eventgrid domain

az eventgrid domain list

List available domains. Azure CLI reference

4 examples 1 option 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 domains in the current Azure subscription.

az eventgrid domain listIdentify

List all domains in a resource group.

az eventgrid domain list -g rg1Identify
-gName of resource group.

List all domains in a resource group whose name contains the pattern "XYZ"

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

List all domains in a resource group except the domain with name "name1"

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

Options

1 in the Azure CLI reference
--odata-queryThe OData query used for filtering the list results.