Schedule Args
    data class ScheduleArgs(val frequency: Output<Either<String, ScheduledFrequency>>? = null, val poolName: Output<String>? = null, val projectName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val scheduleName: Output<String>? = null, val state: Output<Either<String, ScheduleEnableStatus>>? = null, val time: Output<String>? = null, val timeZone: Output<String>? = null, val top: Output<Int>? = null, val type: Output<Either<String, ScheduledType>>? = null) : ConvertibleToJava<ScheduleArgs> 
Represents a Schedule to execute a task. Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2022-09-01-preview. Other available API versions: 2023-08-01-preview, 2023-10-01-preview.
Example Usage
Schedules_CreateDailyShutdownPoolSchedule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var schedule = new AzureNative.DevCenter.Schedule("schedule", new()
    {
        Frequency = "Daily",
        PoolName = "DevPool",
        ProjectName = "DevProject",
        ResourceGroupName = "rg1",
        ScheduleName = "autoShutdown",
        State = "Enabled",
        Time = "17:30",
        TimeZone = "America/Los_Angeles",
        Type = "StopDevBox",
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/devcenter/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devcenter.NewSchedule(ctx, "schedule", &devcenter.ScheduleArgs{
			Frequency:         pulumi.String("Daily"),
			PoolName:          pulumi.String("DevPool"),
			ProjectName:       pulumi.String("DevProject"),
			ResourceGroupName: pulumi.String("rg1"),
			ScheduleName:      pulumi.String("autoShutdown"),
			State:             pulumi.String("Enabled"),
			Time:              pulumi.String("17:30"),
			TimeZone:          pulumi.String("America/Los_Angeles"),
			Type:              pulumi.String("StopDevBox"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devcenter.Schedule;
import com.pulumi.azurenative.devcenter.ScheduleArgs;
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 schedule = new Schedule("schedule", ScheduleArgs.builder()
            .frequency("Daily")
            .poolName("DevPool")
            .projectName("DevProject")
            .resourceGroupName("rg1")
            .scheduleName("autoShutdown")
            .state("Enabled")
            .time("17:30")
            .timeZone("America/Los_Angeles")
            .type("StopDevBox")
            .build());
    }
}Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:devcenter:Schedule autoShutdown /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}Content copied to clipboard
Constructors
Link copied to clipboard
                fun ScheduleArgs(frequency: Output<Either<String, ScheduledFrequency>>? = null, poolName: Output<String>? = null, projectName: Output<String>? = null, resourceGroupName: Output<String>? = null, scheduleName: Output<String>? = null, state: Output<Either<String, ScheduleEnableStatus>>? = null, time: Output<String>? = null, timeZone: Output<String>? = null, top: Output<Int>? = null, type: Output<Either<String, ScheduledType>>? = null)