Closing this - track the progress here https://github.com/Azure/azure-cli/issues/23381
Azure CLI ML extension v2 - az ml environment commands to find image build status
I'm constructing a CI/CD pipeline using the Azure ML v2 commands and using the following to create a custom environment ready to submit a deployment for a batch endpoint
az ml environment create --name neiltestcustomenv --resource-group myrg --workspace-name myamlworkspace --build-context .\batch --dockerfile-path Dockerfile
When the command is issued and submitted to AML to build - the az ml environment create command instantly completes and doesn't wait for the build to complete
How do I enumerate programmatically to find out the status of the environment build please? - it starts in Running state and then to Succeeded (or other error states)
I've tried az ml environment list and az ml environment show commands - but I cannot find this "Environment image build status" field (screenshot) - this is required to allow pipelines to work
Thanks
(I've posted the screenshot image here as in-line image adding here doesn't appear to be working right now)