Skip to content

Azure Machine Learning container registry cannot be changed due to the lack of "--yes" argument #21791

@BzSpi

Description

@BzSpi

Describe the bug
When trying to update a Machine Learning Workspace container registry, I have the following message:

# $ az ml workspace update -n xxxxxx -g xxxxxx --container-registry /subscriptions/xxxxxx/resourceGroups/xxxxxx/providers/Microsoft.ContainerRegistry/registries/xxxxxx
Command group 'ml workspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Updating the workspace-attached Azure Container Registry resource may break lineage of previous jobs or your ability to rerun earlier jobs in this workspace. Are you sure you want to perform this operation? Include the --yes parameter with this request to confirm.

And when I use the same command with the --yes flag, Azuz CLI yields that argument is not recognized

# $ az ml workspace update -n xxxxxx -g xxxxxx --container-registry /subscriptions/xxxxxx/resourceGroups/xxxxxx/providers/Microsoft.ContainerRegistry/registries/xxxxxx --yes
unrecognized arguments: --yes

To Reproduce
Use the commands above.

Expected behavior
It updates the machine learning workspace associated registry.

Environment summary

Additional context
I use the v2 extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions