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.

Changes

Changed in 2 of the 4 revisions of this API.11

  • 2015-01-01f7fac92f6c971See the full diff
    • api operation id ManagementLocks_Get removed and replaced with ManagementLocks_GetAtSubscriptionLevel

      api-operation-id-removed

  • 2015-01-01e155af0c61641See the full diff
    • deleted the query request parameter api-version

      request-parameter-removed