Skip to content

Expose environment status in the response of az ml environment show command #23381

@Rainfarm

Description

@Rainfarm

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions