Azure / Azure/azure-cli

Expose environment status in the response of `az ml environment show` command

Open
#23,381 19 comments 11 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported feature-request Machine Learning Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

`az ml environment show`

The version of az CLI being used:
```
% az --version
azure-cli 2.38.0

core 2.38.0
telemetry 1.0.6

Extensions:
storage-preview 0.8.3
ml 2.6.1

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
```
**Is your feature request related to a problem? Please describe.**

We use the `az ml environment` command to automate the management of environments in AzureML in our CI/CD pipeline.
When creating a new (version of) environment, the command `az ml environment create` returns immediately when the environment is created (while the environment is being built), we need a way to pull the environment status to make sure that the environment is successfully built before triggering the next step where the newly version of environment is used. But the `az ml environment show` command does not expose the status in the response.

**Describe the solution you'd like**

Expose environment status (e.g., `Running`, `Succeeded`, `Not built`, etc.) in the response of `az ml environment show` command.

**Describe alternatives you've considered**

N/A

**Additional context**

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.