私はシェルスクリプトを初めて使用します。私は使用しようとしています
az sig image-version list
command from azure which should return a list of versions and storing it into a list/array. So I can step through the list in a for loop.
VERSIONS_LIST="$(az sig image-version list --gallery-image-definition $GALLERY_IMAGE_NAME --gallery-name $GALLERY_NAME --resource-group $RESOURCE_GROUP_NAME)`"
However, I am not sure if the command returns more than just the versions. If so how can I only take part of the output?
I am also having issue with displaying the populated list. I believe my syntax of using the azure cli to store in the list is wrong. any guidance is much appreciated.
echo VERSION_LIST
リストを変数に正しく格納していますか?