From 070336d8fc323dffb892bad09115c6bfad09280b Mon Sep 17 00:00:00 2001 From: jeremiahhguo <78013315+jeremiahhguo@users.noreply.github.com> Date: Wed, 9 Jun 2021 23:21:31 -0700 Subject: [PATCH] make app workspace delete long running (#3994) Co-authored-by: Jeremiah Guo --- .../preview/2020-06-23-preview/applicationWorkspaces.json | 7 +++++++ .../examples/ApplicationWorkspace_Delete.json | 1 + 2 files changed, 8 insertions(+) diff --git a/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/applicationWorkspaces.json b/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/applicationWorkspaces.json index 7842ef944e4c..784e971dad7b 100644 --- a/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/applicationWorkspaces.json +++ b/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/applicationWorkspaces.json @@ -154,6 +154,9 @@ "200": { "description": "Returned when the operation is successful." }, + "202": { + "description": "Returned when the operation is accepted." + }, "204": { "description": "Returned when the operation returns no content." }, @@ -164,6 +167,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "patch": { diff --git a/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/examples/ApplicationWorkspace_Delete.json b/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/examples/ApplicationWorkspace_Delete.json index c07d97bf4034..c09de513385c 100644 --- a/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/examples/ApplicationWorkspace_Delete.json +++ b/specification/azurelogistics/resource-manager/Microsoft.OpenLogisticsPlatform/preview/2020-06-23-preview/examples/ApplicationWorkspace_Delete.json @@ -7,6 +7,7 @@ }, "responses": { "200": {}, + "202": {}, "204": {} } }