From d416bffc3bedba4d1cddca8d5fd564263cf792ea Mon Sep 17 00:00:00 2001 From: Stefan Ivanovici Date: Fri, 6 Mar 2020 14:56:33 -0800 Subject: [PATCH] PR comments and removing false 202 --- .../examples/StartTenantBackfillRequest.json | 6 ----- .../stable/2020-02-01/management.json | 23 +++++++++---------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/examples/StartTenantBackfillRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/examples/StartTenantBackfillRequest.json index 75c22c899dbc..7c176e60d12b 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/examples/StartTenantBackfillRequest.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/examples/StartTenantBackfillRequest.json @@ -9,12 +9,6 @@ "tenantId": "20000000-0000-0000-0000-000000000000", "status": "Started" } - }, - "202": { - "body": { - "tenantId": "20000000-0000-0000-0000-000000000000", - "status": "Started" - } } } } diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/management.json index 85962213bd0b..1506d1e38eb9 100644 --- a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/management.json +++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2020-02-01/management.json @@ -198,7 +198,10 @@ "$ref": "./examples/PutManagementGroup.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -289,7 +292,10 @@ "$ref": "./examples/DeleteManagementGroup.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } } }, "/providers/Microsoft.Management/managementGroups/{groupId}/descendants": { @@ -494,7 +500,7 @@ "tags": [ "ManagementGroups" ], - "operationId": "HierarchySettings_Put", + "operationId": "HierarchySettings_CreateOrUpdate", "description": "Creates or updates the hierarchy settings defined at the Management Group level.\n", "parameters": [ { @@ -531,7 +537,7 @@ "tags": [ "ManagementGroups" ], - "operationId": "HierarchySettings_Patch", + "operationId": "HierarchySettings_Update", "description": "Updates the hierarchy settings defined at the Management Group level.\n", "parameters": [ { @@ -745,12 +751,6 @@ "$ref": "#/definitions/TenantBackfillStatusResult" } }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/TenantBackfillStatusResult" - } - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -762,8 +762,7 @@ "StartTenantBackfill": { "$ref": "./examples/StartTenantBackfillRequest.json" } - }, - "x-ms-long-running-operation": true + } } }, "/providers/Microsoft.Management/tenantBackfillStatus": {