

We recommend that you use a control plane operation.Ī read-only lock on a storage account doesn't prevent its data from deletion or modification. If the request uses Delete Share, which is a data plane operation, the deletion succeeds.

If a request uses File Shares - Delete, for example, which is a control plane operation, the deletion fails. If the request uses control plane operations, however, the lock protects those resources. If a request uses data plane operations, the lock on the storage account doesn't protect blob, queue, table, or file data within that storage account. It only protects the storage account from deletion. A read-only lock also prevents the assignment of Azure RBAC roles that are scoped to the storage account or to a data container (blob container or queue).Ī read-only lock on a storage account protects RBAC assignments scoped for a storage account or a data container (blob container or queue).Ī cannot-delete lock on a storage account doesn't protect account data from deletion or modification. When a read-only lock is configured for a storage account, users who don't have the account keys need to use Azure AD credentials to access blob or queue data. The account keys provide complete access to data in the storage account. A POST request handles the Azure Storage List Keys operation to protect access to the account keys. Some common examples of blocked operations are:Ī read-only lock on a storage account prevents users from listing the account keys. Locks prevent the POST method from sending data to the Azure Resource Manager (ARM) API. Some operations, which don't seem to modify a resource, require blocked actions. Considerations before applying your locksĪpplying locks can lead to unexpected results. Data plane operations allow data transactions. It allows you to create, update, or delete data in the server database. A ReadOnly lock, for example, on an SQL Database logical server, protects it from deletions or modifications. The distinction means locks protect a resource from changes, but they don't restrict how a resource performs its functions. To discover which operations use the control plane URL, see the Azure REST API. Azure data plane operations go to your service instance, such as. Locks only apply to control plane Azure operations and not to data plane operations.Īzure control plane operations go to.
#Locked heart download update
ReadOnly means authorized users can read a resource, but they can't delete or update it.CanNotDelete means authorized users can read and modify a resource, but they can't delete it.In the left navigation panel, the subscription lock feature's name is Resource locks, while the resource group lock feature's name is Locks. In the command line, these locks are called CanNotDelete and ReadOnly. In the portal, these locks are called Delete and Read-only.

You can set locks that prevent either deletions or modifications. As an administrator, you can lock an Azure subscription, resource group, or resource to protect them from accidental user deletions and modifications.
