Class Schedule
Manages automated startup and shutdown schedules for Azure Dev Test Lab.
Inherited Members
Namespace: Pulumi.Azure.DevTest
Assembly: Pulumi.Azure.dll
Syntax
public class Schedule : CustomResource
Constructors
View SourceSchedule(String, ScheduleArgs, CustomResourceOptions)
Create a Schedule resource with the given unique name, arguments, and options.
Declaration
public Schedule(string name, ScheduleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ScheduleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDailyRecurrence
Declaration
public Output<ScheduleDailyRecurrence> DailyRecurrence { get; }
Property Value
| Type | Description |
|---|---|
| Output<ScheduleDailyRecurrence> |
HourlyRecurrence
Declaration
public Output<ScheduleHourlyRecurrence> HourlyRecurrence { get; }
Property Value
| Type | Description |
|---|---|
| Output<ScheduleHourlyRecurrence> |
LabName
The name of the dev test lab. Changing this forces a new resource to be created.
Declaration
public Output<string> LabName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
The location where the schedule is created. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the dev test lab schedule. Valid value for name depends on the task_type. For instance for task_type LabVmsStartupTask the name needs to be LabVmAutoStart.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NotificationSettings
Declaration
public Output<ScheduleNotificationSettings> NotificationSettings { get; }
Property Value
| Type | Description |
|---|---|
| Output<ScheduleNotificationSettings> |
ResourceGroupName
The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Status
The status of this schedule. Possible values are Enabled and Disabled. Defaults to Disabled.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
TaskType
The task type of the schedule. Possible values include LabVmsShutdownTask and LabVmAutoStart.
Declaration
public Output<string> TaskType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TimeZoneId
The time zone ID (e.g. Pacific Standard time).
Declaration
public Output<string> TimeZoneId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
WeeklyRecurrence
Declaration
public Output<ScheduleWeeklyRecurrence> WeeklyRecurrence { get; }
Property Value
| Type | Description |
|---|---|
| Output<ScheduleWeeklyRecurrence> |
Methods
View SourceGet(String, Input<String>, ScheduleState, CustomResourceOptions)
Get an existing Schedule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Schedule Get(string name, Input<string> id, ScheduleState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ScheduleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Schedule |