From 1b28572c3c1e1a678574eff9744556259a374165 Mon Sep 17 00:00:00 2001 From: RayY-96 <138829346+RayY-96@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:30:29 -0700 Subject: [PATCH] Update async delete result code (#26176) Add 204 as result code for async delete. --- .../PrivateAccessPrivateEndpointConnection_Delete.json | 3 ++- .../preview/2023-10-27-preview/privateAccesses.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/PrivateAccessPrivateEndpointConnection_Delete.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/PrivateAccessPrivateEndpointConnection_Delete.json index 93a3f72410fd..af71edb517d4 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/PrivateAccessPrivateEndpointConnection_Delete.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/examples/PrivateAccessPrivateEndpointConnection_Delete.json @@ -12,6 +12,7 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-10-27-preview", "Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-10-27-preview" } - } + }, + "204": {} } } diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/privateAccesses.json b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/privateAccesses.json index 996e9e814c0b..2501de0f3881 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/privateAccesses.json +++ b/specification/chaos/resource-manager/Microsoft.Chaos/preview/2023-10-27-preview/privateAccesses.json @@ -387,6 +387,9 @@ } } }, + "204": { + "description": "Resource is deleted already." + }, "default": { "description": "Error response describing why the operation failed.", "schema": {