1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. GlobalSchedule
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.devtestlab.GlobalSchedule

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

A schedule.

Uses Azure REST API version 2018-09-15. In version 2.x of the Azure Native provider, it used API version 2018-09-15.

Example Usage

GlobalSchedules_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var globalSchedule = new AzureNative.DevTestLab.GlobalSchedule("globalSchedule", new()
    {
        Name = "labvmautostart",
        ResourceGroupName = "resourceGroupName",
        Status = AzureNative.DevTestLab.EnableStatus.Enabled,
        TaskType = "LabVmsStartupTask",
        TimeZoneId = "Hawaiian Standard Time",
        WeeklyRecurrence = new AzureNative.DevTestLab.Inputs.WeekDetailsArgs
        {
            Time = "0700",
            Weekdays = new[]
            {
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
            },
        },
    });

});
Copy
package main

import (
	devtestlab "github.com/pulumi/pulumi-azure-native-sdk/devtestlab/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devtestlab.NewGlobalSchedule(ctx, "globalSchedule", &devtestlab.GlobalScheduleArgs{
			Name:              pulumi.String("labvmautostart"),
			ResourceGroupName: pulumi.String("resourceGroupName"),
			Status:            pulumi.String(devtestlab.EnableStatusEnabled),
			TaskType:          pulumi.String("LabVmsStartupTask"),
			TimeZoneId:        pulumi.String("Hawaiian Standard Time"),
			WeeklyRecurrence: &devtestlab.WeekDetailsArgs{
				Time: pulumi.String("0700"),
				Weekdays: pulumi.StringArray{
					pulumi.String("Monday"),
					pulumi.String("Tuesday"),
					pulumi.String("Wednesday"),
					pulumi.String("Thursday"),
					pulumi.String("Friday"),
					pulumi.String("Saturday"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devtestlab.GlobalSchedule;
import com.pulumi.azurenative.devtestlab.GlobalScheduleArgs;
import com.pulumi.azurenative.devtestlab.inputs.WeekDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var globalSchedule = new GlobalSchedule("globalSchedule", GlobalScheduleArgs.builder()
            .name("labvmautostart")
            .resourceGroupName("resourceGroupName")
            .status("Enabled")
            .taskType("LabVmsStartupTask")
            .timeZoneId("Hawaiian Standard Time")
            .weeklyRecurrence(WeekDetailsArgs.builder()
                .time("0700")
                .weekdays(                
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday",
                    "Saturday")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const globalSchedule = new azure_native.devtestlab.GlobalSchedule("globalSchedule", {
    name: "labvmautostart",
    resourceGroupName: "resourceGroupName",
    status: azure_native.devtestlab.EnableStatus.Enabled,
    taskType: "LabVmsStartupTask",
    timeZoneId: "Hawaiian Standard Time",
    weeklyRecurrence: {
        time: "0700",
        weekdays: [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
            "Saturday",
        ],
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

global_schedule = azure_native.devtestlab.GlobalSchedule("globalSchedule",
    name="labvmautostart",
    resource_group_name="resourceGroupName",
    status=azure_native.devtestlab.EnableStatus.ENABLED,
    task_type="LabVmsStartupTask",
    time_zone_id="Hawaiian Standard Time",
    weekly_recurrence={
        "time": "0700",
        "weekdays": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
            "Saturday",
        ],
    })
Copy
resources:
  globalSchedule:
    type: azure-native:devtestlab:GlobalSchedule
    properties:
      name: labvmautostart
      resourceGroupName: resourceGroupName
      status: Enabled
      taskType: LabVmsStartupTask
      timeZoneId: Hawaiian Standard Time
      weeklyRecurrence:
        time: '0700'
        weekdays:
          - Monday
          - Tuesday
          - Wednesday
          - Thursday
          - Friday
          - Saturday
Copy

Create GlobalSchedule Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new GlobalSchedule(name: string, args: GlobalScheduleArgs, opts?: CustomResourceOptions);
@overload
def GlobalSchedule(resource_name: str,
                   args: GlobalScheduleArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def GlobalSchedule(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   daily_recurrence: Optional[DayDetailsArgs] = None,
                   hourly_recurrence: Optional[HourDetailsArgs] = None,
                   location: Optional[str] = None,
                   name: Optional[str] = None,
                   notification_settings: Optional[NotificationSettingsArgs] = None,
                   status: Optional[Union[str, EnableStatus]] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   target_resource_id: Optional[str] = None,
                   task_type: Optional[str] = None,
                   time_zone_id: Optional[str] = None,
                   weekly_recurrence: Optional[WeekDetailsArgs] = None)
func NewGlobalSchedule(ctx *Context, name string, args GlobalScheduleArgs, opts ...ResourceOption) (*GlobalSchedule, error)
public GlobalSchedule(string name, GlobalScheduleArgs args, CustomResourceOptions? opts = null)
public GlobalSchedule(String name, GlobalScheduleArgs args)
public GlobalSchedule(String name, GlobalScheduleArgs args, CustomResourceOptions options)
type: azure-native:devtestlab:GlobalSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GlobalScheduleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. GlobalScheduleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. GlobalScheduleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GlobalScheduleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GlobalScheduleArgs
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 globalScheduleResource = new AzureNative.DevTestLab.GlobalSchedule("globalScheduleResource", new()
{
    ResourceGroupName = "string",
    DailyRecurrence = new AzureNative.DevTestLab.Inputs.DayDetailsArgs
    {
        Time = "string",
    },
    HourlyRecurrence = new AzureNative.DevTestLab.Inputs.HourDetailsArgs
    {
        Minute = 0,
    },
    Location = "string",
    Name = "string",
    NotificationSettings = new AzureNative.DevTestLab.Inputs.NotificationSettingsArgs
    {
        EmailRecipient = "string",
        NotificationLocale = "string",
        Status = "string",
        TimeInMinutes = 0,
        WebhookUrl = "string",
    },
    Status = "string",
    Tags = 
    {
        { "string", "string" },
    },
    TargetResourceId = "string",
    TaskType = "string",
    TimeZoneId = "string",
    WeeklyRecurrence = new AzureNative.DevTestLab.Inputs.WeekDetailsArgs
    {
        Time = "string",
        Weekdays = new[]
        {
            "string",
        },
    },
});
Copy
example, err := devtestlab.NewGlobalSchedule(ctx, "globalScheduleResource", &devtestlab.GlobalScheduleArgs{
	ResourceGroupName: pulumi.String("string"),
	DailyRecurrence: &devtestlab.DayDetailsArgs{
		Time: pulumi.String("string"),
	},
	HourlyRecurrence: &devtestlab.HourDetailsArgs{
		Minute: pulumi.Int(0),
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	NotificationSettings: &devtestlab.NotificationSettingsArgs{
		EmailRecipient:     pulumi.String("string"),
		NotificationLocale: pulumi.String("string"),
		Status:             pulumi.String("string"),
		TimeInMinutes:      pulumi.Int(0),
		WebhookUrl:         pulumi.String("string"),
	},
	Status: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TargetResourceId: pulumi.String("string"),
	TaskType:         pulumi.String("string"),
	TimeZoneId:       pulumi.String("string"),
	WeeklyRecurrence: &devtestlab.WeekDetailsArgs{
		Time: pulumi.String("string"),
		Weekdays: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
})
Copy
var globalScheduleResource = new GlobalSchedule("globalScheduleResource", GlobalScheduleArgs.builder()
    .resourceGroupName("string")
    .dailyRecurrence(DayDetailsArgs.builder()
        .time("string")
        .build())
    .hourlyRecurrence(HourDetailsArgs.builder()
        .minute(0)
        .build())
    .location("string")
    .name("string")
    .notificationSettings(NotificationSettingsArgs.builder()
        .emailRecipient("string")
        .notificationLocale("string")
        .status("string")
        .timeInMinutes(0)
        .webhookUrl("string")
        .build())
    .status("string")
    .tags(Map.of("string", "string"))
    .targetResourceId("string")
    .taskType("string")
    .timeZoneId("string")
    .weeklyRecurrence(WeekDetailsArgs.builder()
        .time("string")
        .weekdays("string")
        .build())
    .build());
Copy
global_schedule_resource = azure_native.devtestlab.GlobalSchedule("globalScheduleResource",
    resource_group_name="string",
    daily_recurrence={
        "time": "string",
    },
    hourly_recurrence={
        "minute": 0,
    },
    location="string",
    name="string",
    notification_settings={
        "email_recipient": "string",
        "notification_locale": "string",
        "status": "string",
        "time_in_minutes": 0,
        "webhook_url": "string",
    },
    status="string",
    tags={
        "string": "string",
    },
    target_resource_id="string",
    task_type="string",
    time_zone_id="string",
    weekly_recurrence={
        "time": "string",
        "weekdays": ["string"],
    })
Copy
const globalScheduleResource = new azure_native.devtestlab.GlobalSchedule("globalScheduleResource", {
    resourceGroupName: "string",
    dailyRecurrence: {
        time: "string",
    },
    hourlyRecurrence: {
        minute: 0,
    },
    location: "string",
    name: "string",
    notificationSettings: {
        emailRecipient: "string",
        notificationLocale: "string",
        status: "string",
        timeInMinutes: 0,
        webhookUrl: "string",
    },
    status: "string",
    tags: {
        string: "string",
    },
    targetResourceId: "string",
    taskType: "string",
    timeZoneId: "string",
    weeklyRecurrence: {
        time: "string",
        weekdays: ["string"],
    },
});
Copy
type: azure-native:devtestlab:GlobalSchedule
properties:
    dailyRecurrence:
        time: string
    hourlyRecurrence:
        minute: 0
    location: string
    name: string
    notificationSettings:
        emailRecipient: string
        notificationLocale: string
        status: string
        timeInMinutes: 0
        webhookUrl: string
    resourceGroupName: string
    status: string
    tags:
        string: string
    targetResourceId: string
    taskType: string
    timeZoneId: string
    weeklyRecurrence:
        time: string
        weekdays:
            - string
Copy

GlobalSchedule 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 GlobalSchedule resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
DailyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.DayDetails
If the schedule will occur once each day of the week, specify the daily recurrence.
HourlyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.HourDetails
If the schedule will occur multiple times a day, specify the hourly recurrence.
Location string
The location of the resource.
Name Changes to this property will trigger replacement. string
The name of the schedule.
NotificationSettings Pulumi.AzureNative.DevTestLab.Inputs.NotificationSettings
Notification settings.
Status string | Pulumi.AzureNative.DevTestLab.EnableStatus
The status of the schedule (i.e. Enabled, Disabled)
Tags Dictionary<string, string>
The tags of the resource.
TargetResourceId string
The resource ID to which the schedule belongs
TaskType string
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
TimeZoneId string
The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
WeeklyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.WeekDetails
If the schedule will occur only some days of the week, specify the weekly recurrence.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
DailyRecurrence DayDetailsArgs
If the schedule will occur once each day of the week, specify the daily recurrence.
HourlyRecurrence HourDetailsArgs
If the schedule will occur multiple times a day, specify the hourly recurrence.
Location string
The location of the resource.
Name Changes to this property will trigger replacement. string
The name of the schedule.
NotificationSettings NotificationSettingsArgs
Notification settings.
Status string | EnableStatus
The status of the schedule (i.e. Enabled, Disabled)
Tags map[string]string
The tags of the resource.
TargetResourceId string
The resource ID to which the schedule belongs
TaskType string
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
TimeZoneId string
The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
WeeklyRecurrence WeekDetailsArgs
If the schedule will occur only some days of the week, specify the weekly recurrence.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
dailyRecurrence DayDetails
If the schedule will occur once each day of the week, specify the daily recurrence.
hourlyRecurrence HourDetails
If the schedule will occur multiple times a day, specify the hourly recurrence.
location String
The location of the resource.
name Changes to this property will trigger replacement. String
The name of the schedule.
notificationSettings NotificationSettings
Notification settings.
status String | EnableStatus
The status of the schedule (i.e. Enabled, Disabled)
tags Map<String,String>
The tags of the resource.
targetResourceId String
The resource ID to which the schedule belongs
taskType String
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
timeZoneId String
The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
weeklyRecurrence WeekDetails
If the schedule will occur only some days of the week, specify the weekly recurrence.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
dailyRecurrence DayDetails
If the schedule will occur once each day of the week, specify the daily recurrence.
hourlyRecurrence HourDetails
If the schedule will occur multiple times a day, specify the hourly recurrence.
location string
The location of the resource.
name Changes to this property will trigger replacement. string
The name of the schedule.
notificationSettings NotificationSettings
Notification settings.
status string | EnableStatus
The status of the schedule (i.e. Enabled, Disabled)
tags {[key: string]: string}
The tags of the resource.
targetResourceId string
The resource ID to which the schedule belongs
taskType string
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
timeZoneId string
The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
weeklyRecurrence WeekDetails
If the schedule will occur only some days of the week, specify the weekly recurrence.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
daily_recurrence DayDetailsArgs
If the schedule will occur once each day of the week, specify the daily recurrence.
hourly_recurrence HourDetailsArgs
If the schedule will occur multiple times a day, specify the hourly recurrence.
location str
The location of the resource.
name Changes to this property will trigger replacement. str
The name of the schedule.
notification_settings NotificationSettingsArgs
Notification settings.
status str | EnableStatus
The status of the schedule (i.e. Enabled, Disabled)
tags Mapping[str, str]
The tags of the resource.
target_resource_id str
The resource ID to which the schedule belongs
task_type str
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
time_zone_id str
The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
weekly_recurrence WeekDetailsArgs
If the schedule will occur only some days of the week, specify the weekly recurrence.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
dailyRecurrence Property Map
If the schedule will occur once each day of the week, specify the daily recurrence.
hourlyRecurrence Property Map
If the schedule will occur multiple times a day, specify the hourly recurrence.
location String
The location of the resource.
name Changes to this property will trigger replacement. String
The name of the schedule.
notificationSettings Property Map
Notification settings.
status String | "Enabled" | "Disabled"
The status of the schedule (i.e. Enabled, Disabled)
tags Map<String>
The tags of the resource.
targetResourceId String
The resource ID to which the schedule belongs
taskType String
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
timeZoneId String
The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
weeklyRecurrence Property Map
If the schedule will occur only some days of the week, specify the weekly recurrence.

Outputs

All input properties are implicitly available as output properties. Additionally, the GlobalSchedule resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
CreatedDate string
The creation date of the schedule.
Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
The provisioning status of the resource.
Type string
The type of the resource.
UniqueIdentifier string
The unique immutable identifier of a resource (Guid).
AzureApiVersion string
The Azure API version of the resource.
CreatedDate string
The creation date of the schedule.
Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
The provisioning status of the resource.
Type string
The type of the resource.
UniqueIdentifier string
The unique immutable identifier of a resource (Guid).
azureApiVersion String
The Azure API version of the resource.
createdDate String
The creation date of the schedule.
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
The provisioning status of the resource.
type String
The type of the resource.
uniqueIdentifier String
The unique immutable identifier of a resource (Guid).
azureApiVersion string
The Azure API version of the resource.
createdDate string
The creation date of the schedule.
id string
The provider-assigned unique ID for this managed resource.
provisioningState string
The provisioning status of the resource.
type string
The type of the resource.
uniqueIdentifier string
The unique immutable identifier of a resource (Guid).
azure_api_version str
The Azure API version of the resource.
created_date str
The creation date of the schedule.
id str
The provider-assigned unique ID for this managed resource.
provisioning_state str
The provisioning status of the resource.
type str
The type of the resource.
unique_identifier str
The unique immutable identifier of a resource (Guid).
azureApiVersion String
The Azure API version of the resource.
createdDate String
The creation date of the schedule.
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
The provisioning status of the resource.
type String
The type of the resource.
uniqueIdentifier String
The unique immutable identifier of a resource (Guid).

Supporting Types

DayDetails
, DayDetailsArgs

Time string
The time of day the schedule will occur.
Time string
The time of day the schedule will occur.
time String
The time of day the schedule will occur.
time string
The time of day the schedule will occur.
time str
The time of day the schedule will occur.
time String
The time of day the schedule will occur.

DayDetailsResponse
, DayDetailsResponseArgs

Time string
The time of day the schedule will occur.
Time string
The time of day the schedule will occur.
time String
The time of day the schedule will occur.
time string
The time of day the schedule will occur.
time str
The time of day the schedule will occur.
time String
The time of day the schedule will occur.

EnableStatus
, EnableStatusArgs

Enabled
Enabled
Disabled
Disabled
EnableStatusEnabled
Enabled
EnableStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

HourDetails
, HourDetailsArgs

Minute int
Minutes of the hour the schedule will run.
Minute int
Minutes of the hour the schedule will run.
minute Integer
Minutes of the hour the schedule will run.
minute number
Minutes of the hour the schedule will run.
minute int
Minutes of the hour the schedule will run.
minute Number
Minutes of the hour the schedule will run.

HourDetailsResponse
, HourDetailsResponseArgs

Minute int
Minutes of the hour the schedule will run.
Minute int
Minutes of the hour the schedule will run.
minute Integer
Minutes of the hour the schedule will run.
minute number
Minutes of the hour the schedule will run.
minute int
Minutes of the hour the schedule will run.
minute Number
Minutes of the hour the schedule will run.

NotificationSettings
, NotificationSettingsArgs

EmailRecipient string
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
NotificationLocale string
The locale to use when sending a notification (fallback for unsupported languages is EN).
Status string | Pulumi.AzureNative.DevTestLab.EnableStatus
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
TimeInMinutes int
Time in minutes before event at which notification will be sent.
WebhookUrl string
The webhook URL to which the notification will be sent.
EmailRecipient string
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
NotificationLocale string
The locale to use when sending a notification (fallback for unsupported languages is EN).
Status string | EnableStatus
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
TimeInMinutes int
Time in minutes before event at which notification will be sent.
WebhookUrl string
The webhook URL to which the notification will be sent.
emailRecipient String
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale String
The locale to use when sending a notification (fallback for unsupported languages is EN).
status String | EnableStatus
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
timeInMinutes Integer
Time in minutes before event at which notification will be sent.
webhookUrl String
The webhook URL to which the notification will be sent.
emailRecipient string
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale string
The locale to use when sending a notification (fallback for unsupported languages is EN).
status string | EnableStatus
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
timeInMinutes number
Time in minutes before event at which notification will be sent.
webhookUrl string
The webhook URL to which the notification will be sent.
email_recipient str
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notification_locale str
The locale to use when sending a notification (fallback for unsupported languages is EN).
status str | EnableStatus
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
time_in_minutes int
Time in minutes before event at which notification will be sent.
webhook_url str
The webhook URL to which the notification will be sent.
emailRecipient String
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale String
The locale to use when sending a notification (fallback for unsupported languages is EN).
status String | "Enabled" | "Disabled"
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
timeInMinutes Number
Time in minutes before event at which notification will be sent.
webhookUrl String
The webhook URL to which the notification will be sent.

NotificationSettingsResponse
, NotificationSettingsResponseArgs

EmailRecipient string
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
NotificationLocale string
The locale to use when sending a notification (fallback for unsupported languages is EN).
Status string
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
TimeInMinutes int
Time in minutes before event at which notification will be sent.
WebhookUrl string
The webhook URL to which the notification will be sent.
EmailRecipient string
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
NotificationLocale string
The locale to use when sending a notification (fallback for unsupported languages is EN).
Status string
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
TimeInMinutes int
Time in minutes before event at which notification will be sent.
WebhookUrl string
The webhook URL to which the notification will be sent.
emailRecipient String
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale String
The locale to use when sending a notification (fallback for unsupported languages is EN).
status String
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
timeInMinutes Integer
Time in minutes before event at which notification will be sent.
webhookUrl String
The webhook URL to which the notification will be sent.
emailRecipient string
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale string
The locale to use when sending a notification (fallback for unsupported languages is EN).
status string
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
timeInMinutes number
Time in minutes before event at which notification will be sent.
webhookUrl string
The webhook URL to which the notification will be sent.
email_recipient str
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notification_locale str
The locale to use when sending a notification (fallback for unsupported languages is EN).
status str
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
time_in_minutes int
Time in minutes before event at which notification will be sent.
webhook_url str
The webhook URL to which the notification will be sent.
emailRecipient String
The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale String
The locale to use when sending a notification (fallback for unsupported languages is EN).
status String
If notifications are enabled for this schedule (i.e. Enabled, Disabled).
timeInMinutes Number
Time in minutes before event at which notification will be sent.
webhookUrl String
The webhook URL to which the notification will be sent.

WeekDetails
, WeekDetailsArgs

Time string
The time of the day the schedule will occur.
Weekdays List<string>
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
Time string
The time of the day the schedule will occur.
Weekdays []string
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time String
The time of the day the schedule will occur.
weekdays List<String>
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time string
The time of the day the schedule will occur.
weekdays string[]
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time str
The time of the day the schedule will occur.
weekdays Sequence[str]
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time String
The time of the day the schedule will occur.
weekdays List<String>
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).

WeekDetailsResponse
, WeekDetailsResponseArgs

Time string
The time of the day the schedule will occur.
Weekdays List<string>
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
Time string
The time of the day the schedule will occur.
Weekdays []string
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time String
The time of the day the schedule will occur.
weekdays List<String>
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time string
The time of the day the schedule will occur.
weekdays string[]
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time str
The time of the day the schedule will occur.
weekdays Sequence[str]
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
time String
The time of the day the schedule will occur.
weekdays List<String>
The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:devtestlab:GlobalSchedule LabVmAutoStart /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi