1. Packages
  2. Azure Classic
  3. API Docs
  4. lab
  5. Schedule

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.lab.Schedule

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Lab Service Schedule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleLab = new azure.lab.Lab("example", {
        name: "example-lab",
        resourceGroupName: example.name,
        location: example.location,
        title: "Test Title",
        security: {
            openAccessEnabled: false,
        },
        virtualMachine: {
            adminUser: {
                username: "testadmin",
                password: "Password1234!",
            },
            imageReference: {
                publisher: "Canonical",
                offer: "0001-com-ubuntu-server-jammy",
                sku: "22_04-lts",
                version: "latest",
            },
            sku: {
                name: "Classic_Fsv2_2_4GB_128_S_SSD",
                capacity: 1,
            },
        },
    });
    const exampleSchedule = new azure.lab.Schedule("example", {
        name: "example-labschedule",
        labId: exampleLab.id,
        stopTime: "2022-11-28T00:00:00Z",
        timeZone: "America/Los_Angeles",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_lab = azure.lab.Lab("example",
        name="example-lab",
        resource_group_name=example.name,
        location=example.location,
        title="Test Title",
        security=azure.lab.LabSecurityArgs(
            open_access_enabled=False,
        ),
        virtual_machine=azure.lab.LabVirtualMachineArgs(
            admin_user=azure.lab.LabVirtualMachineAdminUserArgs(
                username="testadmin",
                password="Password1234!",
            ),
            image_reference=azure.lab.LabVirtualMachineImageReferenceArgs(
                publisher="Canonical",
                offer="0001-com-ubuntu-server-jammy",
                sku="22_04-lts",
                version="latest",
            ),
            sku=azure.lab.LabVirtualMachineSkuArgs(
                name="Classic_Fsv2_2_4GB_128_S_SSD",
                capacity=1,
            ),
        ))
    example_schedule = azure.lab.Schedule("example",
        name="example-labschedule",
        lab_id=example_lab.id,
        stop_time="2022-11-28T00:00:00Z",
        time_zone="America/Los_Angeles")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleLab, err := lab.NewLab(ctx, "example", &lab.LabArgs{
    			Name:              pulumi.String("example-lab"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			Title:             pulumi.String("Test Title"),
    			Security: &lab.LabSecurityArgs{
    				OpenAccessEnabled: pulumi.Bool(false),
    			},
    			VirtualMachine: &lab.LabVirtualMachineArgs{
    				AdminUser: &lab.LabVirtualMachineAdminUserArgs{
    					Username: pulumi.String("testadmin"),
    					Password: pulumi.String("Password1234!"),
    				},
    				ImageReference: &lab.LabVirtualMachineImageReferenceArgs{
    					Publisher: pulumi.String("Canonical"),
    					Offer:     pulumi.String("0001-com-ubuntu-server-jammy"),
    					Sku:       pulumi.String("22_04-lts"),
    					Version:   pulumi.String("latest"),
    				},
    				Sku: &lab.LabVirtualMachineSkuArgs{
    					Name:     pulumi.String("Classic_Fsv2_2_4GB_128_S_SSD"),
    					Capacity: pulumi.Int(1),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = lab.NewSchedule(ctx, "example", &lab.ScheduleArgs{
    			Name:     pulumi.String("example-labschedule"),
    			LabId:    exampleLab.ID(),
    			StopTime: pulumi.String("2022-11-28T00:00:00Z"),
    			TimeZone: pulumi.String("America/Los_Angeles"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleLab = new Azure.Lab.Lab("example", new()
        {
            Name = "example-lab",
            ResourceGroupName = example.Name,
            Location = example.Location,
            Title = "Test Title",
            Security = new Azure.Lab.Inputs.LabSecurityArgs
            {
                OpenAccessEnabled = false,
            },
            VirtualMachine = new Azure.Lab.Inputs.LabVirtualMachineArgs
            {
                AdminUser = new Azure.Lab.Inputs.LabVirtualMachineAdminUserArgs
                {
                    Username = "testadmin",
                    Password = "Password1234!",
                },
                ImageReference = new Azure.Lab.Inputs.LabVirtualMachineImageReferenceArgs
                {
                    Publisher = "Canonical",
                    Offer = "0001-com-ubuntu-server-jammy",
                    Sku = "22_04-lts",
                    Version = "latest",
                },
                Sku = new Azure.Lab.Inputs.LabVirtualMachineSkuArgs
                {
                    Name = "Classic_Fsv2_2_4GB_128_S_SSD",
                    Capacity = 1,
                },
            },
        });
    
        var exampleSchedule = new Azure.Lab.Schedule("example", new()
        {
            Name = "example-labschedule",
            LabId = exampleLab.Id,
            StopTime = "2022-11-28T00:00:00Z",
            TimeZone = "America/Los_Angeles",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.lab.Lab;
    import com.pulumi.azure.lab.LabArgs;
    import com.pulumi.azure.lab.inputs.LabSecurityArgs;
    import com.pulumi.azure.lab.inputs.LabVirtualMachineArgs;
    import com.pulumi.azure.lab.inputs.LabVirtualMachineAdminUserArgs;
    import com.pulumi.azure.lab.inputs.LabVirtualMachineImageReferenceArgs;
    import com.pulumi.azure.lab.inputs.LabVirtualMachineSkuArgs;
    import com.pulumi.azure.lab.Schedule;
    import com.pulumi.azure.lab.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 example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleLab = new Lab("exampleLab", LabArgs.builder()        
                .name("example-lab")
                .resourceGroupName(example.name())
                .location(example.location())
                .title("Test Title")
                .security(LabSecurityArgs.builder()
                    .openAccessEnabled(false)
                    .build())
                .virtualMachine(LabVirtualMachineArgs.builder()
                    .adminUser(LabVirtualMachineAdminUserArgs.builder()
                        .username("testadmin")
                        .password("Password1234!")
                        .build())
                    .imageReference(LabVirtualMachineImageReferenceArgs.builder()
                        .publisher("Canonical")
                        .offer("0001-com-ubuntu-server-jammy")
                        .sku("22_04-lts")
                        .version("latest")
                        .build())
                    .sku(LabVirtualMachineSkuArgs.builder()
                        .name("Classic_Fsv2_2_4GB_128_S_SSD")
                        .capacity(1)
                        .build())
                    .build())
                .build());
    
            var exampleSchedule = new Schedule("exampleSchedule", ScheduleArgs.builder()        
                .name("example-labschedule")
                .labId(exampleLab.id())
                .stopTime("2022-11-28T00:00:00Z")
                .timeZone("America/Los_Angeles")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleLab:
        type: azure:lab:Lab
        name: example
        properties:
          name: example-lab
          resourceGroupName: ${example.name}
          location: ${example.location}
          title: Test Title
          security:
            openAccessEnabled: false
          virtualMachine:
            adminUser:
              username: testadmin
              password: Password1234!
            imageReference:
              publisher: Canonical
              offer: 0001-com-ubuntu-server-jammy
              sku: 22_04-lts
              version: latest
            sku:
              name: Classic_Fsv2_2_4GB_128_S_SSD
              capacity: 1
      exampleSchedule:
        type: azure:lab:Schedule
        name: example
        properties:
          name: example-labschedule
          labId: ${exampleLab.id}
          stopTime: 2022-11-28T00:00:00Z
          timeZone: America/Los_Angeles
    

    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_id: Optional[str] = None,
                 stop_time: Optional[str] = None,
                 time_zone: Optional[str] = None,
                 name: Optional[str] = None,
                 notes: Optional[str] = None,
                 recurrence: Optional[ScheduleRecurrenceArgs] = None,
                 start_time: Optional[str] = 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:lab: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.

    Example

    The following reference example uses placeholder values for all input properties.

    var examplescheduleResourceResourceFromLabschedule = new Azure.Lab.Schedule("examplescheduleResourceResourceFromLabschedule", new()
    {
        LabId = "string",
        StopTime = "string",
        TimeZone = "string",
        Name = "string",
        Notes = "string",
        Recurrence = new Azure.Lab.Inputs.ScheduleRecurrenceArgs
        {
            ExpirationDate = "string",
            Frequency = "string",
            Interval = 0,
            WeekDays = new[]
            {
                "string",
            },
        },
        StartTime = "string",
    });
    
    example, err := lab.NewSchedule(ctx, "examplescheduleResourceResourceFromLabschedule", &lab.ScheduleArgs{
    	LabId:    pulumi.String("string"),
    	StopTime: pulumi.String("string"),
    	TimeZone: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Notes:    pulumi.String("string"),
    	Recurrence: &lab.ScheduleRecurrenceArgs{
    		ExpirationDate: pulumi.String("string"),
    		Frequency:      pulumi.String("string"),
    		Interval:       pulumi.Int(0),
    		WeekDays: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	StartTime: pulumi.String("string"),
    })
    
    var examplescheduleResourceResourceFromLabschedule = new Schedule("examplescheduleResourceResourceFromLabschedule", ScheduleArgs.builder()        
        .labId("string")
        .stopTime("string")
        .timeZone("string")
        .name("string")
        .notes("string")
        .recurrence(ScheduleRecurrenceArgs.builder()
            .expirationDate("string")
            .frequency("string")
            .interval(0)
            .weekDays("string")
            .build())
        .startTime("string")
        .build());
    
    exampleschedule_resource_resource_from_labschedule = azure.lab.Schedule("examplescheduleResourceResourceFromLabschedule",
        lab_id="string",
        stop_time="string",
        time_zone="string",
        name="string",
        notes="string",
        recurrence=azure.lab.ScheduleRecurrenceArgs(
            expiration_date="string",
            frequency="string",
            interval=0,
            week_days=["string"],
        ),
        start_time="string")
    
    const examplescheduleResourceResourceFromLabschedule = new azure.lab.Schedule("examplescheduleResourceResourceFromLabschedule", {
        labId: "string",
        stopTime: "string",
        timeZone: "string",
        name: "string",
        notes: "string",
        recurrence: {
            expirationDate: "string",
            frequency: "string",
            interval: 0,
            weekDays: ["string"],
        },
        startTime: "string",
    });
    
    type: azure:lab:Schedule
    properties:
        labId: string
        name: string
        notes: string
        recurrence:
            expirationDate: string
            frequency: string
            interval: 0
            weekDays:
                - string
        startTime: string
        stopTime: string
        timeZone: 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

    The Schedule resource accepts the following input properties:

    LabId string
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    StopTime string
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    TimeZone string
    The IANA Time Zone ID for the Schedule.
    Name string
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    Notes string
    The notes for the Schedule.
    Recurrence ScheduleRecurrence
    A recurrence block as defined below.
    StartTime string
    When Lab User Virtual Machines will be started in RFC-3339 format.
    LabId string
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    StopTime string
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    TimeZone string
    The IANA Time Zone ID for the Schedule.
    Name string
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    Notes string
    The notes for the Schedule.
    Recurrence ScheduleRecurrenceArgs
    A recurrence block as defined below.
    StartTime string
    When Lab User Virtual Machines will be started in RFC-3339 format.
    labId String
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    stopTime String
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    timeZone String
    The IANA Time Zone ID for the Schedule.
    name String
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes String
    The notes for the Schedule.
    recurrence ScheduleRecurrence
    A recurrence block as defined below.
    startTime String
    When Lab User Virtual Machines will be started in RFC-3339 format.
    labId string
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    stopTime string
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    timeZone string
    The IANA Time Zone ID for the Schedule.
    name string
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes string
    The notes for the Schedule.
    recurrence ScheduleRecurrence
    A recurrence block as defined below.
    startTime string
    When Lab User Virtual Machines will be started in RFC-3339 format.
    lab_id str
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    stop_time str
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    time_zone str
    The IANA Time Zone ID for the Schedule.
    name str
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes str
    The notes for the Schedule.
    recurrence ScheduleRecurrenceArgs
    A recurrence block as defined below.
    start_time str
    When Lab User Virtual Machines will be started in RFC-3339 format.
    labId String
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    stopTime String
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    timeZone String
    The IANA Time Zone ID for the Schedule.
    name String
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes String
    The notes for the Schedule.
    recurrence Property Map
    A recurrence block as defined below.
    startTime String
    When Lab User Virtual Machines will be started in RFC-3339 format.

    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,
            lab_id: Optional[str] = None,
            name: Optional[str] = None,
            notes: Optional[str] = None,
            recurrence: Optional[ScheduleRecurrenceArgs] = None,
            start_time: Optional[str] = None,
            stop_time: Optional[str] = None,
            time_zone: Optional[str] = None) -> Schedule
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    LabId string
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    Notes string
    The notes for the Schedule.
    Recurrence ScheduleRecurrence
    A recurrence block as defined below.
    StartTime string
    When Lab User Virtual Machines will be started in RFC-3339 format.
    StopTime string
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    TimeZone string
    The IANA Time Zone ID for the Schedule.
    LabId string
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    Notes string
    The notes for the Schedule.
    Recurrence ScheduleRecurrenceArgs
    A recurrence block as defined below.
    StartTime string
    When Lab User Virtual Machines will be started in RFC-3339 format.
    StopTime string
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    TimeZone string
    The IANA Time Zone ID for the Schedule.
    labId String
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes String
    The notes for the Schedule.
    recurrence ScheduleRecurrence
    A recurrence block as defined below.
    startTime String
    When Lab User Virtual Machines will be started in RFC-3339 format.
    stopTime String
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    timeZone String
    The IANA Time Zone ID for the Schedule.
    labId string
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes string
    The notes for the Schedule.
    recurrence ScheduleRecurrence
    A recurrence block as defined below.
    startTime string
    When Lab User Virtual Machines will be started in RFC-3339 format.
    stopTime string
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    timeZone string
    The IANA Time Zone ID for the Schedule.
    lab_id str
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes str
    The notes for the Schedule.
    recurrence ScheduleRecurrenceArgs
    A recurrence block as defined below.
    start_time str
    When Lab User Virtual Machines will be started in RFC-3339 format.
    stop_time str
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    time_zone str
    The IANA Time Zone ID for the Schedule.
    labId String
    The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
    notes String
    The notes for the Schedule.
    recurrence Property Map
    A recurrence block as defined below.
    startTime String
    When Lab User Virtual Machines will be started in RFC-3339 format.
    stopTime String
    When Lab User Virtual Machines will be stopped in RFC-3339 format.
    timeZone String
    The IANA Time Zone ID for the Schedule.

    Supporting Types

    ScheduleRecurrence, ScheduleRecurrenceArgs

    ExpirationDate string
    When the recurrence will expire in RFC-3339 format.
    Frequency string
    The frequency of the recurrence. Possible values are Daily and Weekly.
    Interval int
    The interval to invoke the schedule on. Possible values are between 1 and 365.
    WeekDays List<string>
    The interval to invoke the schedule on. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
    ExpirationDate string
    When the recurrence will expire in RFC-3339 format.
    Frequency string
    The frequency of the recurrence. Possible values are Daily and Weekly.
    Interval int
    The interval to invoke the schedule on. Possible values are between 1 and 365.
    WeekDays []string
    The interval to invoke the schedule on. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
    expirationDate String
    When the recurrence will expire in RFC-3339 format.
    frequency String
    The frequency of the recurrence. Possible values are Daily and Weekly.
    interval Integer
    The interval to invoke the schedule on. Possible values are between 1 and 365.
    weekDays List<String>
    The interval to invoke the schedule on. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
    expirationDate string
    When the recurrence will expire in RFC-3339 format.
    frequency string
    The frequency of the recurrence. Possible values are Daily and Weekly.
    interval number
    The interval to invoke the schedule on. Possible values are between 1 and 365.
    weekDays string[]
    The interval to invoke the schedule on. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
    expiration_date str
    When the recurrence will expire in RFC-3339 format.
    frequency str
    The frequency of the recurrence. Possible values are Daily and Weekly.
    interval int
    The interval to invoke the schedule on. Possible values are between 1 and 365.
    week_days Sequence[str]
    The interval to invoke the schedule on. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
    expirationDate String
    When the recurrence will expire in RFC-3339 format.
    frequency String
    The frequency of the recurrence. Possible values are Daily and Weekly.
    interval Number
    The interval to invoke the schedule on. Possible values are between 1 and 365.
    weekDays List<String>
    The interval to invoke the schedule on. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.

    Import

    Lab Service Schedules can be imported using the resource id, e.g.

    $ pulumi import azure:lab/schedule:Schedule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labs/lab1/schedules/schedule1
    

    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi