Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
Azure
Loading policies...

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.

Targets

This policy targets the following resource types:

  • Azure > Compute > Virtual Machine

Controls

Setting this policy configures this control:

  • Azure > Compute > Virtual Machine > Schedule

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Enforce: Schedule per turbot_custom_schedule tag
    
Examples [YAML]
  • Enforce: Schedule per turbot_custom_schedule tag
    

Category

  • Resource > Schedule

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceSchedule
  • Policy Type URI
    • tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag
  • GraphQL
    • query policyType(id: "tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-compute#/policy/types/virtualMachineScheduleTag"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
50
Mods
205
Resource Types
3,574
Policies
1,936
Controls
103
Quick Actions
114
IAM