Policy: Azure > Compute > Virtual Machine > Schedule Tag
Allow setting a schedule for starting and stopping an Azure Compute virtual machine via the turbot_custom_schedule tag. If the schedule is invalid, no actions will be taken against the virtualMachine.
Note If both "Schedule" and "Schedule Tag" are set to enforce and the virtual machine has a turbot_custom_schedule, then the schedule specified by the tag will be in effect.
Resource Types
This policy targets the following resource types:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceSchedule
- tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag
- turbot graphql policy-type --id "tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI