From 81bc0b257e8a7b03078b414342776041c8192a3f Mon Sep 17 00:00:00 2001 From: TJ Egbejimba Date: Mon, 5 Oct 2020 12:16:49 -0700 Subject: [PATCH] add management group registration description to ARM (#10869) * add management group registration description to ARM * Add response to MG registration description * fix ID parameter for MG register * fix API signature linter error * fix MG register operationID * fix repsonse schema for MG register * move MG register to rp section * update operationId for MG register * update operationID for MG register --- .../stable/2020-06-01/resources.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json index cb91fbec0f89..988e044bbe05 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json @@ -2047,6 +2047,41 @@ } } }, + "/providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register": { + "post": { + "tags": [ + "Providers" + ], + "operationId": "Providers_RegisterAtManagementGroupScope", + "description": "Registers a management group with a resource provider.", + "parameters": [ + { + "name": "resourceProviderNamespace", + "in": "path", + "required": true, + "type": "string", + "description": "The namespace of the resource provider to register." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/GroupIdParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the resource provider." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register": { "post": { "tags": [