CmdID

CmdID / az / az monitor / az monitor log-analytics / az monitor log-analytics query-pack / az monitor log-analytics query-pack query

az monitor log-analytics query-pack query list

List queries defined within a log analytics query pack. Azure CLI reference

2 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 queries in a query pack

az monitor log-analytics query-pack query list -g resourceGroupName --query-pack-name queryPackNameIdentify
-gName of resource group.
--query-pack-nameThe name of the log analytics query pack.

List queries in a query pack without query body content

az monitor log-analytics query-pack query list -g resourceGroupName --query-pack-name queryPackName --include-body falseIdentify
-gName of resource group.
--query-pack-nameThe name of the log analytics query pack.
--include-bodyWhether or not to return the body of each applicable query.

Options

2 in the Azure CLI reference
--include-bodyWhether or not to return the body of each applicable query.
--query-pack-nameThe name of the log analytics query pack.