CmdID / az / az account / az account lock
az account lock list
List lock information in the subscription. Azure CLI reference
1 example 5 options Its page in the Azure CLI reference
Examples
List out all locks on the subscription level
az account lock listIdentifyOptions
--filter-stringA query filter to use to restrict the results.--parent-resource-pathPath to a parent resource--resource-nameName of a resource that has a lock.--resource-provider-namespaceName of a resource provider.--resource-typeThe type for the resource with the lock.