last sync: 2025-Apr-29 17:16:02 UTC

Deploy Virtual Machine Auto Shutdown Schedule

Azure Landing Zones (ALZ) Policy definition

Source Repository Azure Landing Zones (ALZ) GitHub
JSON Deploy-Vm-autoShutdown
Deploy policy Deploy-Vm-autoShutdown (1.0.0) to Azure
Display name Deploy Virtual Machine Auto Shutdown Schedule
Id Deploy-Vm-autoShutdown
Version 1.0.0
Details on versioning
Category Compute
Description Deploys an auto shutdown schedule to a virtual machine
Cloud environments AzureChinaCloud
AzureCloud
AzureUSGovernment
Mode Indexed
Type Custom Azure Landing Zones (ALZ)
Preview False
Deprecated False
Effect Fixed
deployIfNotExists
RBAC role(s)
Role Name Role Id
Virtual Machine Contributor 9980e02c-c2be-4d73-94e8-173b1dc7cf3c
Rule aliases THEN-ExistenceCondition (2)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.DevTestLab/schedules/targetResourceId Microsoft.DevTestLab schedules properties.targetResourceId True False
Microsoft.DevTestLab/schedules/taskType Microsoft.DevTestLab schedules properties.taskType True False
Rule resource types IF (1)
Microsoft.Compute/virtualMachines
THEN-Deployment (2)
Microsoft.Compute/virtualMachines
Microsoft.DevTestLab/schedules
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State
Enforce policies in the Decommissioned Landing Zone Enforce-ALZ-Decomm Decommissioned GA
History
Date/Time (UTC ymd) (i) Change type Change detail
2023-04-06 06:17:42 add Deploy-Vm-autoShutdown
JSON compare n/a
JSON
EPAC
Deploy policy Deploy-Vm-autoShutdown (1.0.0) to Azure