Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
||||||||||||||
Display name | Create Delete Lock on specified Azure VMs | ||||||||||||||
Id | 26da082e-29f6-4b47-b640-89010f2a598e | ||||||||||||||
Version | 1.0.0 Details on versioning |
||||||||||||||
Category | Compute Microsoft Learn |
||||||||||||||
Description | List the VM names under the parameter vmName that you want to create a Delete Lock on./nThen expand the deployment variables and the resources to the amount of VMs given in the vmName array parameter. Make sure the values and deployment variables and resources are always aligned in numbers. | ||||||||||||||
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.Compute/virtualMachines THEN-Deployment (2) Microsoft.Authorization/locks Microsoft.Compute/virtualMachines |
||||||||||||||
JSON |
|