diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/examples/TrustedAccessRoleBindings_Delete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/examples/TrustedAccessRoleBindings_Delete.json index a0e7abda0133..ceaf32919df8 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/examples/TrustedAccessRoleBindings_Delete.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/examples/TrustedAccessRoleBindings_Delete.json @@ -7,7 +7,11 @@ "trustedAccessRoleBindingName": "binding1" }, "responses": { - "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid1/providers/Microsoft.ContainerService/locations/eastus/operationresults/00000000-0000-0000-0000-000000000000?api-version=2017-08-31" + } + }, "204": {} } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/managedClusters.json index f796f4d71a0a..5869b0946eaf 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-08-02-preview/managedClusters.json @@ -3106,7 +3106,7 @@ "default": { "description": "Error details", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3114,7 +3114,8 @@ "Create or update a trusted access role binding": { "$ref": "./examples/TrustedAccessRoleBindings_CreateOrUpdate.json" } - } + }, + "x-ms-long-running-operation": true }, "delete": { "tags": [ @@ -3140,8 +3141,14 @@ } ], "responses": { - "200": { - "description": "OK" + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } }, "204": { "description": "NoContent" @@ -3149,7 +3156,7 @@ "default": { "description": "Error details", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3157,7 +3164,8 @@ "Delete a trusted access role binding": { "$ref": "./examples/TrustedAccessRoleBindings_Delete.json" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/guardrailsVersions/{version}": {