Skip to content

Commit 0f1ab08

Browse files
authored
Merge pull request #117978 from jugi92/patch-1
adding outdated image version query
2 parents 96ba476 + 75032ad commit 0f1ab08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/machine-learning/how-to-manage-compute-instance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ For more information on the classes, methods, and parameters used in this exampl
181181

182182
```azurecli
183183
az ml compute show --name "myci"
184+
185+
# query outdated compute instances:
186+
az ml compute list --resource-group <azure_ml_rg> --workspace-name <your_azure_ml_workspace> --query "[?os_image_metadata.is_latest_os_image_version == ``false``].name"
184187
```
185188

186189
---

0 commit comments

Comments
 (0)