v7

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

Gets a management lock at the subscription level.

get/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}

Path parameters

lockNamestring required

The name of the lock to get.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for the operation.

Response

OK - Returns information about the lock.

idstring

The resource ID of the lock.

typestring

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

namestring

The name of the lock.