From d600759c3516b61a7c353bc8682bccbab85a6f65 Mon Sep 17 00:00:00 2001 From: subbartt <54743354+subbartt@users.noreply.github.com> Date: Thu, 16 Dec 2021 11:45:40 +0530 Subject: [PATCH] Adding 202 response code VM Patch operation.... (#16988) * adding 202 * 202 response for patch * example --- .../preview/2020-10-01-preview/connectedvmware.json | 3 +++ .../2020-10-01-preview/examples/UpdateVirtualMachine.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/connectedvmware.json b/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/connectedvmware.json index c8bd6537bc7f..9bdbd0580ffd 100644 --- a/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/connectedvmware.json +++ b/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/connectedvmware.json @@ -1876,6 +1876,9 @@ "$ref": "#/definitions/VirtualMachine" } }, + "202": { + "description": "Accepted" + }, "default": { "description": "Error response describing why the operation failed.", "schema": { diff --git a/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/examples/UpdateVirtualMachine.json b/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/examples/UpdateVirtualMachine.json index 40dba64cc193..68eca874d554 100644 --- a/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/examples/UpdateVirtualMachine.json +++ b/specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/examples/UpdateVirtualMachine.json @@ -73,6 +73,7 @@ "provisioningState": "Created" } } - } + }, + "202": {} } }