Skip to content

Commit 1f886bc

Browse files
authored
Merge pull request #194987 from tfitzmac/0413locks
clarify subscription cancel
2 parents bf9dc53 + 70dda45 commit 1f886bc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/azure-resource-manager/management/lock-resources.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Lock resources to prevent changes
33
description: Prevent users from updating or deleting Azure resources by applying a lock for all users and roles.
44
ms.topic: conceptual
5-
ms.date: 07/01/2021
5+
ms.date: 04/13/2022
66
ms.custom: devx-track-azurecli, devx-track-azurepowershell
77
---
88

@@ -21,6 +21,10 @@ Unlike role-based access control, you use management locks to apply a restrictio
2121

2222
When you apply a lock at a parent scope, all resources within that scope inherit the same lock. Even resources you add later inherit the lock from the parent. The most restrictive lock in the inheritance takes precedence.
2323

24+
If you have a **Delete** lock on a resource and attempt to delete its resource group, the whole delete operation is blocked. Even if the resource group or other resources in the resource group aren't locked, the deletion doesn't happen. You never have a partial deletion.
25+
26+
When you [cancel an Azure subscription](../../cost-management-billing/manage/cancel-azure-subscription.md#what-happens-after-subscription-cancellation), the resources are initially deactivated but not deleted. A resource lock doesn't block canceling the subscription. After a waiting period, the resources are permanently deleted. The resource lock doesn't prevent the permanent deletion of the resources.
27+
2428
## Understand scope of locks
2529

2630
> [!NOTE]
@@ -64,7 +68,7 @@ Applying locks can lead to unexpected results because some operations that don't
6468

6569
- A read-only lock on an **Application Gateway** prevents you from getting the backend health of the application gateway. That [operation uses POST](/rest/api/application-gateway/application-gateways/backend-health), which is blocked by the read-only lock.
6670

67-
- A read-only lock on a **AKS cluster** prevents all users from accessing any cluster resources from the **Kubernetes Resources** section of AKS cluster left-side blade on the Azure portal. These operations require a POST request for authentication.
71+
- A read-only lock on a **AKS cluster** prevents all users from accessing any cluster resources from the **Kubernetes Resources** section of AKS cluster on the left of the Azure portal. These operations require a POST request for authentication.
6872

6973
## Who can create or delete locks
7074

0 commit comments

Comments
 (0)