v7

latestSwagger 2.0raw.githubusercontent.com2021-03-1717635.0 KB
ManagementLocks

Get the management lock of a resource or any level below resource.

get/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}

Path parameters

resourceGroupNamestring required

The name of the resource group.

resourceProviderNamespacestring required

The namespace of the resource provider.

parentResourcePathstring required

An extra path parameter needed in some services, like SQL Databases.

resourceTypestring required

The type of the resource.

resourceNamestring required

The name of the resource.

lockNamestring required

The name of lock.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for the operation.

Response

OK

idstring

The resource ID of the lock.

typestring

The resource type of the lock - Microsoft.Authorization/locks.

namestring

The name of the lock.