Skip to content

Commit

Permalink
Added Compute Instance OS Patching Properties (#20284)
Browse files Browse the repository at this point in the history
* Added CI Os Patching related properties

* Updated descriptions as per Dennis's suggestions

Co-authored-by: Srivatsa Sinha <[email protected]>
  • Loading branch information
2 people authored and maulikjoshi committed Oct 4, 2022
1 parent 0bc1bc1 commit be0c419
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"adminUserName": "azureuser",
"sshPort": 22
},
"osImageMetadata": {
"currentImageVersion": "22.06.14",
"latestImageVersion": "22.07.22",
"isLatestOsImageVersion": false
},
"customServices": [
{
"name": "rstudio-workbench",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3772,6 +3772,11 @@
"name"
]
},
"osImageMetadata": {
"readOnly": true,
"description": "Returns metadata about the operating system image for this compute instance.",
"$ref": "#/definitions/ImageMetadata"
},
"connectivityEndpoints": {
"readOnly": true,
"description": "Describes all connectivity endpoints available for this ComputeInstance.",
Expand Down Expand Up @@ -4904,6 +4909,24 @@
],
"type": "object"
},
"ImageMetadata": {
"type": "object",
"description": "Returns metadata about the operating system image for this compute instance.",
"properties": {
"currentImageVersion": {
"type": "string",
"description": "Specifies the current operating system image version this compute instance is running on."
},
"latestImageVersion": {
"type": "string",
"description": "Specifies the latest available operating system image version."
},
"isLatestOsImageVersion": {
"type": "boolean",
"description": "Specifies whether this compute instance is running on the latest operating system image."
}
}
},
"CustomService": {
"type": "object",
"description": "Specifies the custom service configuration",
Expand Down

0 comments on commit be0c419

Please sign in to comment.