diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json index 37454a4fd91d..bbc4b780bbd6 100644 --- a/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json +++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json @@ -812,6 +812,46 @@ }, "x-ms-odata": "#/definitions/ManagementLockObject" } + }, + "/{scope}/providers/Microsoft.Authorization/locks": { + "get": { + "tags": [ + "ManagementLocks" + ], + "operationId": "ManagementLocks_ListByScope", + "description": "Gets all the management locks for a scope.", + "parameters": [ + { + "name": "scope", + "in": "path", + "required": true, + "type": "string", + "description": "The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of resource locks.", + "schema": { + "$ref": "#/definitions/ManagementLockListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ManagementLockObject" + } } }, "definitions": { @@ -957,4 +997,4 @@ "description": "The API version to use for the operation." } } -} \ No newline at end of file +}