You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/deprecated-images.yml
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -90,14 +90,14 @@ sections:
90
90
91
91
List VM with deprecated image at Plan/SKU level.
92
92
93
-
```
93
+
```azurecli
94
94
az vm show --resource-group $rgName --name $vmName --query "storageProfile.imageReference.exactVersion
95
95
az vm list --query "[?storageProfile.imageReference.sku=='2016-Datacenter'].{VM:id, imageOffer:storageProfile.imageReference.offer, imagePublisher:StorageProfile.imageReference.publisher, imageSku: storageProfile.imageReference.sku, imageVersion:storageProfile.imageReference.version}"
96
96
```
97
97
98
98
List VM with deprecated image at version level.
99
99
100
-
```
100
+
```azurecli
101
101
az vm list --query "[?storageProfile.imageReference.version=='14393.4402.2105052108'].{VM:id, imageOffer:storageProfile.imageReference.offer, imagePublisher:StorageProfile.imageReference.publisher, imageSku: storageProfile.imageReference.sku, imageVersion:storageProfile.imageReference.version}"
0 commit comments