@Neil McAlister Thanks for the feedback. We have created a backlog item to update the document for online deployment.
azure cli ml commands should be idempotent

Neil McAlister
311
Reputation points
Commands run from the Azure CLI ML extension should really be idempotent where required.
For example this command when run twice...
az ml online-endpoint create -n my-endpoint -f .\my-endpoint.yml --resource-group my-rg --workspace-name my-aml
...second time of asking...
(UserError) An endpoint with this name already exists. If you are trying to create a new endpoint, use a
different name. If you are trying to update an existing endpoint, use `az ml online-endpoint update` instead.
Creating CI/CD pipelines for this is hard - constantly writing scaffolding scripts around enumerating though what already exists and working around the issue it isn't really the done thing now. Please consider changing some of these ML cmdlets with this in mind please - Thanks
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,335 questions