Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
||||||||||||||
Display name | Deploy CanNotDelete Resource Lock on Resource Groups | ||||||||||||||
Id | 0bdc4336-fd4c-4798-b524-a2ecbeed9d0c | ||||||||||||||
Version | 1.0.0 Details on versioning |
||||||||||||||
Category | Regulatory Compliance Microsoft Learn |
||||||||||||||
Description | Creates a resource lock at the resource group level for preventing resource deletion. | ||||||||||||||
Mode | All | ||||||||||||||
Type | Custom Community | ||||||||||||||
Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled |
||||||||||||||
Used RBAC Role |
|
||||||||||||||
Rule aliases | THEN-ExistenceCondition (1)
|
||||||||||||||
Rule resource types | IF (1) Microsoft.Resources/subscriptions/resourceGroups THEN-Deployment (1) Microsoft.Authorization/locks |
||||||||||||||
JSON |
|