Open
Description
Azure CLI uses JMESPath for its --query
expressions, however Azure Linux doesn't seem to provide a package for jp (https://github.com/jmespath/jp), a command line JMESPath tool.
root [ / ]# sed 2q /etc/os-release
NAME="Microsoft Azure Linux"
VERSION="3.0.20250429"
root [ / ]# tdnf search jmes
Loaded plugin: tdnfrepogpgcheck
python3-jmespath : Query Language for JSON
rubygem-jmespath : Ruby implementation of JMESPath
That makes working with official azure-cli docker containers kinda awkward as you have to run az
cli commands with --query
repeatedly, instead of running a command once, saving the JSON, and then using the jp
command line tool to experiment with your queries locally.
There is a package for jq
, but it uses completely different language.