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

Policy: Azure > Compute > Virtual Machine > Schedule

Set a schedule for starting and stopping an Azure Compute virtual machine.

The with Tag override options enforce the selected schedule, but allow individual virtual machines to override it with a schedule of their own via the tag named in the Azure > Compute > Virtual Machine > Schedule > Tag policy. The Enforce: Per Schedule > Tag schedule option enforces only the schedule defined by that tag.

Targets

This policy targets the following resource types:

  • Azure > Compute > Virtual Machine

Related Policies

  • Schedule Tag [Deprecated]
  • Tag

Controls

Setting this policy configures this control:

  • Azure > Compute > Virtual Machine > Schedule

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Enforce: Business hours (8:00am - 6:00pm on weekdays)
    
  • Enforce: Business hours (8:00am - 6:00pm on weekdays) with Tag override
    
  • Enforce: Extended business hours (7:00am - 11:00pm on weekdays)
    
  • >-
      Enforce: Extended business hours (7:00am - 11:00pm on weekdays) with Tag
      override
    
  • Enforce: Stop for night (stop at 10:00pm every day)
    
  • Enforce: Stop for night (stop at 10:00pm every day) with Tag override
    
  • Enforce: Stop for weekend (stop at 10:00pm on Friday)
    
  • Enforce: Stop for weekend (stop at 10:00pm on Friday) with Tag override
    
  • Enforce: Per Schedule > Tag schedule
    
Examples [YAML]
  • Enforce: Business hours (8:00am - 6:00pm on weekdays)
    

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/virtualMachineSchedule
  • GraphQL
    • query policyType(id: "tmod:@turbot/azure-compute#/policy/types/virtualMachineSchedule") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/azure-compute#/policy/types/virtualMachineSchedule'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/azure-compute#/policy/types/virtualMachineSchedule'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/azure-compute#/policy/types/virtualMachineSchedule"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-compute#/policy/types/virtualMachineSchedule"
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
49
Mods
207
Resource Types
3,662
Policies
1,947
Controls
103
Quick Actions
114
IAM