From e330b190397a1c7ebb125971cca57d0654e8b101 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Tue, 8 Dec 2020 15:32:40 -0800 Subject: [PATCH 1/2] Updating installPatchesinput parameter in installPatches API --- .../Microsoft.Compute/stable/2020-12-01/compute.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index d3d513f2a55f..4968ea24862e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -3999,7 +3999,7 @@ "operationId": "VirtualMachines_InstallPatches", "description": "Installs patches on the VM.", "x-ms-examples": { - "Assess patch state of a virtual machine.": { + "Install patch state of a virtual machine.": { "$ref": "./examples/VirtualMachineInstallPatches.json" } }, @@ -4021,7 +4021,7 @@ { "name": "installPatchesInput", "in": "body", - "required": false, + "required": true, "schema": { "$ref": "#/definitions/VirtualMachineInstallPatchesParameters" }, From b2c5d746fdc8e9eece2ab4ad557374bd33e69b0f Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Wed, 9 Dec 2020 17:17:31 -0800 Subject: [PATCH 2/2] Updating enum values --- .../Microsoft.Compute/stable/2020-12-01/compute.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index 4968ea24862e..cdf37c9e58ad 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -7973,7 +7973,6 @@ "type": "string", "description": "Defines when it is acceptable to reboot a VM during a software update operation.", "enum": [ - "Unknown", "IfRequired", "Never", "Always" @@ -8006,7 +8005,6 @@ "items": { "type": "string", "enum": [ - "Unknown", "Critical", "Security", "UpdateRollUp", @@ -8056,7 +8054,6 @@ "items": { "type": "string", "enum": [ - "Unknown", "Critical", "Security", "Other" @@ -8116,6 +8113,7 @@ "readOnly": true, "description": "The reboot state of the VM following completion of the operation.", "enum": [ + "Unknown", "NotNeeded", "Required", "Started",