Share via


Microsoft.DevCenter projects/pools/schedules

Bicep resource definition

The projects/pools/schedules resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DevCenter/projects/pools/schedules resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DevCenter/projects/pools/schedules@2025-04-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    frequency: 'string'
    location: 'string'
    state: 'string'
    tags: {
      {customized property}: 'string'
    }
    time: 'string'
    timeZone: 'string'
    type: 'string'
  }
}

Property Values

Microsoft.DevCenter/projects/pools/schedules

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 100
Pattern = ^[-\w]+$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: projects/pools
properties Properties of a Schedule resource ScheduleProperties

ScheduleProperties

Name Description Value
frequency The frequency of this scheduled task. 'Daily'
location The geo-location where the resource lives string
state Indicates whether or not this scheduled task is enabled. 'Disabled'
'Enabled'
tags Resource tags. Tags
time The target time to trigger the action. The format is HH:MM. string
timeZone The IANA timezone id at which the schedule should execute. string
type Supported type this scheduled task represents. 'StopDevBox'

Tags

Name Description Value

ARM template resource definition

The projects/pools/schedules resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DevCenter/projects/pools/schedules resource, add the following JSON to your template.

{
  "type": "Microsoft.DevCenter/projects/pools/schedules",
  "apiVersion": "2025-04-01-preview",
  "name": "string",
  "properties": {
    "frequency": "string",
    "location": "string",
    "state": "string",
    "tags": {
      "{customized property}": "string"
    },
    "time": "string",
    "timeZone": "string",
    "type": "string"
  }
}

Property Values

Microsoft.DevCenter/projects/pools/schedules

Name Description Value
apiVersion The api version '2025-04-01-preview'
name The resource name string

Constraints:
Min length = 1
Max length = 100
Pattern = ^[-\w]+$ (required)
properties Properties of a Schedule resource ScheduleProperties
type The resource type 'Microsoft.DevCenter/projects/pools/schedules'

ScheduleProperties

Name Description Value
frequency The frequency of this scheduled task. 'Daily'
location The geo-location where the resource lives string
state Indicates whether or not this scheduled task is enabled. 'Disabled'
'Enabled'
tags Resource tags. Tags
time The target time to trigger the action. The format is HH:MM. string
timeZone The IANA timezone id at which the schedule should execute. string
type Supported type this scheduled task represents. 'StopDevBox'

Tags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The projects/pools/schedules resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DevCenter/projects/pools/schedules resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DevCenter/projects/pools/schedules@2025-04-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      frequency = "string"
      location = "string"
      state = "string"
      tags = {
        {customized property} = "string"
      }
      time = "string"
      timeZone = "string"
      type = "string"
    }
  }
}

Property Values

Microsoft.DevCenter/projects/pools/schedules

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 100
Pattern = ^[-\w]+$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: projects/pools
properties Properties of a Schedule resource ScheduleProperties
type The resource type "Microsoft.DevCenter/projects/pools/schedules@2025-04-01-preview"

ScheduleProperties

Name Description Value
frequency The frequency of this scheduled task. 'Daily'
location The geo-location where the resource lives string
state Indicates whether or not this scheduled task is enabled. 'Disabled'
'Enabled'
tags Resource tags. Tags
time The target time to trigger the action. The format is HH:MM. string
timeZone The IANA timezone id at which the schedule should execute. string
type Supported type this scheduled task represents. 'StopDevBox'

Tags

Name Description Value