Name | Create Delete Lock on specified Azure VMs Community-Policy GitHub |
||||||||||
Id | 950850fa-9a1a-4bd5-941d-01d0d6dbbf4b | ||||||||||
Version | 1.0.0 details on versioning |
||||||||||
Category | Compute Microsoft docs |
||||||||||
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 |
||||||||||
Used RBAC Role |
|
||||||||||
Rule Aliases | THEN-ExistenceCondition (1)
|
||||||||||
Rule ResourceTypes | IF (1) Microsoft.Compute/virtualMachines THEN-Deployment (2) Microsoft.Authorization/locks Microsoft.Compute/virtualMachines |
||||||||||
JSON |
|