There is a command group 'az_eventgrid_event subscription'. This group of commands could 'manage event subscriptions'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_eventgrid_event subscription_list'.The syntax is: az eventgrid event-subscription list [--location]
                                     [--odata-query]
                                     [--resource-group]
                                     [--source-resource-id]
                                     [--topic-type-name]. The 1th example of the child command would be to use it to 'list all event subscriptions created for an event grid topic', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.EventGrid/topics/topic1. The 2th example of the child command would be to use it to 'list all event subscriptions created for a storage account', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.Storage/storageaccounts/kalsegblob. The 3th example of the child command would be to use it to 'list all event subscriptions created for an azure subscription', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}. The 4th example of the child command would be to use it to 'list all event subscriptions created for a resource group', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}. The 5th example of the child command would be to use it to 'list all event subscriptions for an event grid domain', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.EventGrid/domains/d1. The 6th example of the child command would be to use it to 'list all event subscriptions for an event grid domain topic', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.EventGrid/domains/d1/topics/topic1. The 7th example of the child command would be to use it to 'list all storage event subscriptions  under the currently selected azure subscription  in westus2', the syntax is: az eventgrid event-subscription list --topic-type Microsoft.Storage.StorageAccounts --location westus2. The 8th example of the child command would be to use it to 'list all storage event subscriptions  under the given resource group  in westus2', the syntax is: az eventgrid event-subscription list --topic-type Microsoft.Storage.StorageAccounts --location westus2 --resource-group {RG}. The 9th example of the child command would be to use it to 'list all regional or global event subscriptions  under the currently selected azure subscription', the syntax is: az eventgrid event-subscription list --location westus2
az eventgrid event-subscription list --location global. The 10th example of the child command would be to use it to 'list all regional or global event subscriptions under a specified resource group', the syntax is: az eventgrid event-subscription list --location westus2 --resource-group {RG}
az eventgrid event-subscription list --location global --resource-group {RG}. The 11th example of the child command would be to use it to 'list all event subscriptions for an event grid domain whose name contains the pattern  xyz', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.EventGrid/domains/d1 --odata-query "Contains(name, 'XYZ')". The 12th example of the child command would be to use it to 'list all event subscriptions for an event grid domain except the event subscription with name  name1', the syntax is: az eventgrid event-subscription list --source-resource-id /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.EventGrid/domains/d1 --odata-query "NOT (name eq 'name1')". The parameter '--location -l' is optional. location. values from: `az account list-locations`. you can configure the default location using `az configure --defaults location=<location>`.. The parameter '--odata-query' is optional. the query used to filter the results using odata syntax.. The parameter '--resource-group -g' is optional. name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. The parameter '--source-resource-id' is optional. fully qualified identifier of the azure resource whose event subscription needs to be listed.. The parameter '--topic-type-name' is optional. name of the topic-type whose event subscriptions need to be listed. when this is specified, you must also specify --location.. 