Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
||||||||||||||
Display name | Deploy Resource Lock on RGs - tag exclusion | ||||||||||||||
Id | 466ba28e-87e0-4202-906b-d4b399d11591 | ||||||||||||||
Version | 1.0.1 Details on versioning |
||||||||||||||
Category | General Microsoft Learn |
||||||||||||||
Description | Automatically deploys a resource lock to resources that are not in the dev environment to prevent accidental deletion. | ||||||||||||||
Mode | All | ||||||||||||||
Type | Custom Community | ||||||||||||||
Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled |
||||||||||||||
RBAC role(s) |
|
||||||||||||||
Rule aliases | THEN-ExistenceCondition (1)
|
||||||||||||||
Rule resource types | IF (1) Microsoft.Resources/subscriptions/resourceGroups THEN-Deployment (1) Microsoft.Authorization/locks |
||||||||||||||
JSON |
|