We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages automated startup and shutdown schedules for Azure Dev Test Lab.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleLab = new Azure.DevTest.Lab("exampleLab", new Azure.DevTest.LabArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
});
var exampleSchedule = new Azure.DevTest.Schedule("exampleSchedule", new Azure.DevTest.ScheduleArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
LabName = exampleLab.Name,
WeeklyRecurrence = new Azure.DevTest.Inputs.ScheduleWeeklyRecurrenceArgs
{
Time = "1100",
WeekDays =
{
"Monday",
"Tuesday",
},
},
TimeZoneId = "Pacific Standard Time",
TaskType = "LabVmsStartupTask",
NotificationSettings = ,
Tags =
{
{ "environment", "Production" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/devtest"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleLab, err := devtest.NewLab(ctx, "exampleLab", &devtest.LabArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
})
if err != nil {
return err
}
_, err = devtest.NewSchedule(ctx, "exampleSchedule", &devtest.ScheduleArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
LabName: exampleLab.Name,
WeeklyRecurrence: &devtest.ScheduleWeeklyRecurrenceArgs{
Time: pulumi.String("1100"),
WeekDays: pulumi.StringArray{
pulumi.String("Monday"),
pulumi.String("Tuesday"),
},
},
TimeZoneId: pulumi.String("Pacific Standard Time"),
TaskType: pulumi.String("LabVmsStartupTask"),
NotificationSettings: nil,
Tags: pulumi.StringMap{
"environment": pulumi.String("Production"),
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleLab = new azure.devtest.Lab("exampleLab", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
});
const exampleSchedule = new azure.devtest.Schedule("exampleSchedule", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
labName: exampleLab.name,
weeklyRecurrence: {
time: "1100",
weekDays: [
"Monday",
"Tuesday",
],
},
timeZoneId: "Pacific Standard Time",
taskType: "LabVmsStartupTask",
notificationSettings: {},
tags: {
environment: "Production",
},
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_lab = azure.devtest.Lab("exampleLab",
location=example_resource_group.location,
resource_group_name=example_resource_group.name)
example_schedule = azure.devtest.Schedule("exampleSchedule",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
lab_name=example_lab.name,
weekly_recurrence=azure.devtest.ScheduleWeeklyRecurrenceArgs(
time="1100",
week_days=[
"Monday",
"Tuesday",
],
),
time_zone_id="Pacific Standard Time",
task_type="LabVmsStartupTask",
notification_settings=azure.devtest.ScheduleNotificationSettingsArgs(),
tags={
"environment": "Production",
})
Example coming soon!
Create Schedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Schedule(name: string, args: ScheduleArgs, opts?: CustomResourceOptions);@overload
def Schedule(resource_name: str,
args: ScheduleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Schedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
lab_name: Optional[str] = None,
notification_settings: Optional[ScheduleNotificationSettingsArgs] = None,
resource_group_name: Optional[str] = None,
task_type: Optional[str] = None,
time_zone_id: Optional[str] = None,
daily_recurrence: Optional[ScheduleDailyRecurrenceArgs] = None,
hourly_recurrence: Optional[ScheduleHourlyRecurrenceArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
weekly_recurrence: Optional[ScheduleWeeklyRecurrenceArgs] = None)func NewSchedule(ctx *Context, name string, args ScheduleArgs, opts ...ResourceOption) (*Schedule, error)public Schedule(string name, ScheduleArgs args, CustomResourceOptions? opts = null)
public Schedule(String name, ScheduleArgs args)
public Schedule(String name, ScheduleArgs args, CustomResourceOptions options)
type: azure:devtest:Schedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScheduleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azureScheduleResource = new Azure.DevTest.Schedule("azureScheduleResource", new()
{
LabName = "string",
NotificationSettings = new Azure.DevTest.Inputs.ScheduleNotificationSettingsArgs
{
Status = "string",
TimeInMinutes = 0,
WebhookUrl = "string",
},
ResourceGroupName = "string",
TaskType = "string",
TimeZoneId = "string",
DailyRecurrence = new Azure.DevTest.Inputs.ScheduleDailyRecurrenceArgs
{
Time = "string",
},
HourlyRecurrence = new Azure.DevTest.Inputs.ScheduleHourlyRecurrenceArgs
{
Minute = 0,
},
Location = "string",
Name = "string",
Status = "string",
Tags =
{
{ "string", "string" },
},
WeeklyRecurrence = new Azure.DevTest.Inputs.ScheduleWeeklyRecurrenceArgs
{
Time = "string",
WeekDays = new[]
{
"string",
},
},
});
example, err := devtest.NewSchedule(ctx, "azureScheduleResource", &devtest.ScheduleArgs{
LabName: pulumi.String("string"),
NotificationSettings: &devtest.ScheduleNotificationSettingsArgs{
Status: pulumi.String("string"),
TimeInMinutes: pulumi.Int(0),
WebhookUrl: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
TaskType: pulumi.String("string"),
TimeZoneId: pulumi.String("string"),
DailyRecurrence: &devtest.ScheduleDailyRecurrenceArgs{
Time: pulumi.String("string"),
},
HourlyRecurrence: &devtest.ScheduleHourlyRecurrenceArgs{
Minute: pulumi.Int(0),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Status: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
WeeklyRecurrence: &devtest.ScheduleWeeklyRecurrenceArgs{
Time: pulumi.String("string"),
WeekDays: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var azureScheduleResource = new com.pulumi.azure.devtest.Schedule("azureScheduleResource", com.pulumi.azure.devtest.ScheduleArgs.builder()
.labName("string")
.notificationSettings(ScheduleNotificationSettingsArgs.builder()
.status("string")
.timeInMinutes(0)
.webhookUrl("string")
.build())
.resourceGroupName("string")
.taskType("string")
.timeZoneId("string")
.dailyRecurrence(ScheduleDailyRecurrenceArgs.builder()
.time("string")
.build())
.hourlyRecurrence(ScheduleHourlyRecurrenceArgs.builder()
.minute(0)
.build())
.location("string")
.name("string")
.status("string")
.tags(Map.of("string", "string"))
.weeklyRecurrence(ScheduleWeeklyRecurrenceArgs.builder()
.time("string")
.weekDays("string")
.build())
.build());
azure_schedule_resource = azure.devtest.Schedule("azureScheduleResource",
lab_name="string",
notification_settings={
"status": "string",
"time_in_minutes": 0,
"webhook_url": "string",
},
resource_group_name="string",
task_type="string",
time_zone_id="string",
daily_recurrence={
"time": "string",
},
hourly_recurrence={
"minute": 0,
},
location="string",
name="string",
status="string",
tags={
"string": "string",
},
weekly_recurrence={
"time": "string",
"week_days": ["string"],
})
const azureScheduleResource = new azure.devtest.Schedule("azureScheduleResource", {
labName: "string",
notificationSettings: {
status: "string",
timeInMinutes: 0,
webhookUrl: "string",
},
resourceGroupName: "string",
taskType: "string",
timeZoneId: "string",
dailyRecurrence: {
time: "string",
},
hourlyRecurrence: {
minute: 0,
},
location: "string",
name: "string",
status: "string",
tags: {
string: "string",
},
weeklyRecurrence: {
time: "string",
weekDays: ["string"],
},
});
type: azure:devtest:Schedule
properties:
dailyRecurrence:
time: string
hourlyRecurrence:
minute: 0
labName: string
location: string
name: string
notificationSettings:
status: string
timeInMinutes: 0
webhookUrl: string
resourceGroupName: string
status: string
tags:
string: string
taskType: string
timeZoneId: string
weeklyRecurrence:
time: string
weekDays:
- string
Schedule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Schedule resource accepts the following input properties:
- Lab
Name string - The name of the dev test lab. Changing this forces a new resource to be created.
- Notification
Settings ScheduleNotification Settings - Resource
Group stringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- Task
Type string - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - Time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- Daily
Recurrence ScheduleDaily Recurrence - Hourly
Recurrence ScheduleHourly Recurrence - Location string
- The location where the schedule is created. Changing this forces a new resource to be created.
- Name string
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - Status string
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Weekly
Recurrence ScheduleWeekly Recurrence
- Lab
Name string - The name of the dev test lab. Changing this forces a new resource to be created.
- Notification
Settings ScheduleNotification Settings Args - Resource
Group stringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- Task
Type string - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - Time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- Daily
Recurrence ScheduleDaily Recurrence Args - Hourly
Recurrence ScheduleHourly Recurrence Args - Location string
- The location where the schedule is created. Changing this forces a new resource to be created.
- Name string
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - Status string
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - map[string]string
- A mapping of tags to assign to the resource.
- Weekly
Recurrence ScheduleWeekly Recurrence Args
- lab
Name String - The name of the dev test lab. Changing this forces a new resource to be created.
- notification
Settings ScheduleNotification Settings - resource
Group StringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- task
Type String - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time
Zone StringId - The time zone ID (e.g. Pacific Standard time).
- daily
Recurrence ScheduleDaily Recurrence - hourly
Recurrence ScheduleHourly Recurrence - location String
- The location where the schedule is created. Changing this forces a new resource to be created.
- name String
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - status String
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Map<String,String>
- A mapping of tags to assign to the resource.
- weekly
Recurrence ScheduleWeekly Recurrence
- lab
Name string - The name of the dev test lab. Changing this forces a new resource to be created.
- notification
Settings ScheduleNotification Settings - resource
Group stringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- task
Type string - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- daily
Recurrence ScheduleDaily Recurrence - hourly
Recurrence ScheduleHourly Recurrence - location string
- The location where the schedule is created. Changing this forces a new resource to be created.
- name string
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - status string
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- weekly
Recurrence ScheduleWeekly Recurrence
- lab_
name str - The name of the dev test lab. Changing this forces a new resource to be created.
- notification_
settings ScheduleNotification Settings Args - resource_
group_ strname - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- task_
type str - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time_
zone_ strid - The time zone ID (e.g. Pacific Standard time).
- daily_
recurrence ScheduleDaily Recurrence Args - hourly_
recurrence ScheduleHourly Recurrence Args - location str
- The location where the schedule is created. Changing this forces a new resource to be created.
- name str
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - status str
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- weekly_
recurrence ScheduleWeekly Recurrence Args
- lab
Name String - The name of the dev test lab. Changing this forces a new resource to be created.
- notification
Settings Property Map - resource
Group StringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- task
Type String - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time
Zone StringId - The time zone ID (e.g. Pacific Standard time).
- daily
Recurrence Property Map - hourly
Recurrence Property Map - location String
- The location where the schedule is created. Changing this forces a new resource to be created.
- name String
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - status String
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Map<String>
- A mapping of tags to assign to the resource.
- weekly
Recurrence Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Schedule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Schedule Resource
Get an existing Schedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ScheduleState, opts?: CustomResourceOptions): Schedule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
daily_recurrence: Optional[ScheduleDailyRecurrenceArgs] = None,
hourly_recurrence: Optional[ScheduleHourlyRecurrenceArgs] = None,
lab_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
notification_settings: Optional[ScheduleNotificationSettingsArgs] = None,
resource_group_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
task_type: Optional[str] = None,
time_zone_id: Optional[str] = None,
weekly_recurrence: Optional[ScheduleWeeklyRecurrenceArgs] = None) -> Schedulefunc GetSchedule(ctx *Context, name string, id IDInput, state *ScheduleState, opts ...ResourceOption) (*Schedule, error)public static Schedule Get(string name, Input<string> id, ScheduleState? state, CustomResourceOptions? opts = null)public static Schedule get(String name, Output<String> id, ScheduleState state, CustomResourceOptions options)resources: _: type: azure:devtest:Schedule get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Daily
Recurrence ScheduleDaily Recurrence - Hourly
Recurrence ScheduleHourly Recurrence - Lab
Name string - The name of the dev test lab. Changing this forces a new resource to be created.
- Location string
- The location where the schedule is created. Changing this forces a new resource to be created.
- Name string
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - Notification
Settings ScheduleNotification Settings - Resource
Group stringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- Status string
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Task
Type string - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - Time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- Weekly
Recurrence ScheduleWeekly Recurrence
- Daily
Recurrence ScheduleDaily Recurrence Args - Hourly
Recurrence ScheduleHourly Recurrence Args - Lab
Name string - The name of the dev test lab. Changing this forces a new resource to be created.
- Location string
- The location where the schedule is created. Changing this forces a new resource to be created.
- Name string
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - Notification
Settings ScheduleNotification Settings Args - Resource
Group stringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- Status string
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - map[string]string
- A mapping of tags to assign to the resource.
- Task
Type string - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - Time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- Weekly
Recurrence ScheduleWeekly Recurrence Args
- daily
Recurrence ScheduleDaily Recurrence - hourly
Recurrence ScheduleHourly Recurrence - lab
Name String - The name of the dev test lab. Changing this forces a new resource to be created.
- location String
- The location where the schedule is created. Changing this forces a new resource to be created.
- name String
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - notification
Settings ScheduleNotification Settings - resource
Group StringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- status String
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Map<String,String>
- A mapping of tags to assign to the resource.
- task
Type String - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time
Zone StringId - The time zone ID (e.g. Pacific Standard time).
- weekly
Recurrence ScheduleWeekly Recurrence
- daily
Recurrence ScheduleDaily Recurrence - hourly
Recurrence ScheduleHourly Recurrence - lab
Name string - The name of the dev test lab. Changing this forces a new resource to be created.
- location string
- The location where the schedule is created. Changing this forces a new resource to be created.
- name string
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - notification
Settings ScheduleNotification Settings - resource
Group stringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- status string
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- task
Type string - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- weekly
Recurrence ScheduleWeekly Recurrence
- daily_
recurrence ScheduleDaily Recurrence Args - hourly_
recurrence ScheduleHourly Recurrence Args - lab_
name str - The name of the dev test lab. Changing this forces a new resource to be created.
- location str
- The location where the schedule is created. Changing this forces a new resource to be created.
- name str
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - notification_
settings ScheduleNotification Settings Args - resource_
group_ strname - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- status str
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- task_
type str - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time_
zone_ strid - The time zone ID (e.g. Pacific Standard time).
- weekly_
recurrence ScheduleWeekly Recurrence Args
- daily
Recurrence Property Map - hourly
Recurrence Property Map - lab
Name String - The name of the dev test lab. Changing this forces a new resource to be created.
- location String
- The location where the schedule is created. Changing this forces a new resource to be created.
- name String
- The name of the dev test lab schedule. Valid value for name depends on the
task_type. For instance for task_typeLabVmsStartupTaskthe name needs to beLabVmAutoStart. - notification
Settings Property Map - resource
Group StringName - The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
- status String
- The status of this schedule. Possible values are
EnabledandDisabled. Defaults toDisabled. - Map<String>
- A mapping of tags to assign to the resource.
- task
Type String - The task type of the schedule. Possible values include
LabVmsShutdownTaskandLabVmAutoStart. - time
Zone StringId - The time zone ID (e.g. Pacific Standard time).
- weekly
Recurrence Property Map
Supporting Types
ScheduleDailyRecurrence, ScheduleDailyRecurrenceArgs
- Time string
- The time each day when the schedule takes effect.
- Time string
- The time each day when the schedule takes effect.
- time String
- The time each day when the schedule takes effect.
- time string
- The time each day when the schedule takes effect.
- time str
- The time each day when the schedule takes effect.
- time String
- The time each day when the schedule takes effect.
ScheduleHourlyRecurrence, ScheduleHourlyRecurrenceArgs
- Minute int
- Minute int
- minute Integer
- minute number
- minute int
- minute Number
ScheduleNotificationSettings, ScheduleNotificationSettingsArgs
- Status string
- The status of the notification. Possible values are
EnabledandDisabled. Defaults toDisabled - Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- Status string
- The status of the notification. Possible values are
EnabledandDisabled. Defaults toDisabled - Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- status String
- The status of the notification. Possible values are
EnabledandDisabled. Defaults toDisabled - time
In IntegerMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
- status string
- The status of the notification. Possible values are
EnabledandDisabled. Defaults toDisabled - time
In numberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url string - The webhook URL to which the notification will be sent.
- status str
- The status of the notification. Possible values are
EnabledandDisabled. Defaults toDisabled - time_
in_ intminutes - Time in minutes before event at which notification will be sent.
- webhook_
url str - The webhook URL to which the notification will be sent.
- status String
- The status of the notification. Possible values are
EnabledandDisabled. Defaults toDisabled - time
In NumberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
ScheduleWeeklyRecurrence, ScheduleWeeklyRecurrenceArgs
Import
DevTest Schedule’s can be imported using the resource id, e.g.
$ pulumi import azure:devtest/schedule:Schedule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DevTestLab/labs/myDevTestLab/schedules/labvmautostart
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
