Skip to content

Commit

Permalink
Resolve comments for os patching (#24872)
Browse files Browse the repository at this point in the history
* Add properties for os patching

* resolve comments

* remove autorestartafterupdates

* update description

* rename property

---------

Co-authored-by: Chris Jiang <[email protected]>
  • Loading branch information
chrjia and Chris Jiang authored Jul 18, 2023
1 parent 66cd7d6 commit 87101e2
Showing 1 changed file with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2189,10 +2189,6 @@
"description": "ComputeInstance version.",
"$ref": "#/definitions/ComputeInstanceVersion",
"readOnly": true
},
"autoRestartAfterUpdates": {
"type": "boolean",
"description": "Indicates whether this compute instance allow auto reboot when reboot is required after os patching."
}
}
},
Expand Down Expand Up @@ -2894,17 +2890,32 @@
"type": "boolean",
"description": "Specifies whether this compute instance is running on the latest operating system image."
},
"rebootPending": {
"type": "boolean",
"description": "Specifies whether this compute instance is pending for reboot to finish os patching."
},
"osPatchingStatus": {
"readOnly": true,
"description": "Metadata about the os patching.",
"$ref": "#/definitions/osPatchingStatus"
}
}
},
"osPatchingStatus": {
"type": "object",
"description": "Returns metadata about the os patching.",
"properties": {
"patchStatus": {
"type": "string",
"description": "The os patching status."
},
"latestUpdateTime": {
"latestPatchTime": {
"type": "string",
"description": "Time of the lastest os patching."
},
"rebootPending": {
"type": "boolean",
"description": "Specifies whether this compute instance is pending for reboot to finish os patching."
},
"scheduledRebootTime": {
"type": "string",
"description": "Time of scheduled reboot."
}
}
},
Expand Down

0 comments on commit 87101e2

Please sign in to comment.