diff --git a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/customlocations.json b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/customlocations.json index ef0dc0c8fb84..346b0ef3365b 100644 --- a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/customlocations.json +++ b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/customlocations.json @@ -421,13 +421,13 @@ "$ref": "#/parameters/ResourceNameParameter" }, { - "name": "labels", + "name": "parameters", "in": "body", "required": true, "schema": { "$ref": "#/definitions/customLocationFindTargetResourceGroupProperties" }, - "description": "Labels supplied to match with Resource Sync Rule. This is a map of {key,value} pairs." + "description": "Parameters of the find target resource group request." } ], "responses": { @@ -878,10 +878,16 @@ ] }, "customLocationFindTargetResourceGroupProperties": { - "description": "Labels of the custom resource, this is a map of {key,value} pairs.", + "description": "The Find Target Resource Group operation request.", "type": "object", - "additionalProperties": { - "type": "string" + "properties": { + "labels": { + "description": "Labels of the custom resource, this is a map of {key,value} pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } } }, "customLocationFindTargetResourceGroupResult": { diff --git a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/examples/CustomLocationsFindTargetResourceGroup.json b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/examples/CustomLocationsFindTargetResourceGroup.json index 4382c4a1ca92..ff246f118a71 100644 --- a/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/examples/CustomLocationsFindTargetResourceGroup.json +++ b/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/examples/CustomLocationsFindTargetResourceGroup.json @@ -4,9 +4,11 @@ "subscriptionId": "11111111-2222-3333-4444-555555555555", "resourceGroupName": "testresourcegroup", "resourceName": "customLocation01", - "labels": { - "key1": "value1", - "key2": "value2" + "parameters": { + "labels": { + "key1": "value1", + "key2": "value2" + } } }, "responses": {