Skip to content

Commit 032303e

Browse files
authored
Merge pull request #104232 from shants123/patch-14
Change to show apply update status
2 parents 8055807 + c5e8a84 commit 032303e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

articles/virtual-machines/maintenance-control-cli.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,18 @@ You can check on the progress of the updates using `az maintenance applyupdate g
231231

232232
You can use `default` as the update name to see results for the last update, or replace `myUpdateName` with the name of the update that was returned when you ran `az maintenance applyupdate create`.
233233

234+
```text
235+
Status : Completed
236+
ResourceId : /subscriptions/12ae7457-4a34-465c-94c1-17c058c2bd25/resourcegroups/TestShantS/providers/Microsoft.Comp
237+
ute/virtualMachines/DXT-test-04-iso
238+
LastUpdateTime : 1/1/2020 12:00:00 AM
239+
Id : /subscriptions/12ae7457-4a34-465c-94c1-17c058c2bd25/resourcegroups/TestShantS/providers/Microsoft.Comp
240+
ute/virtualMachines/DXT-test-04-iso/providers/Microsoft.Maintenance/applyUpdates/default
241+
Name : default
242+
Type : Microsoft.Maintenance/applyUpdates
243+
```
244+
LastUpdateTime will be the time when the update got complete, either initiated by you or by the platform in case self-maintenance window was not used. If there has never been an update applied through maintenance control it will show default value.
245+
234246
### Isolated VM
235247

236248
```azurecli-interactive

0 commit comments

Comments
 (0)