Show / Hide Table of Contents

Class Schedule

Manages automated startup and shutdown schedules for Azure Dev Test Lab.

Inheritance
System.Object
Resource
CustomResource
Schedule
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.DevTest
Assembly: Pulumi.Azure.dll
Syntax
public class Schedule : CustomResource

Constructors

View Source

Schedule(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 Source

DailyRecurrence

Declaration
public Output<ScheduleDailyRecurrence> DailyRecurrence { get; }
Property Value
Type Description
Output<ScheduleDailyRecurrence>
View Source

HourlyRecurrence

Declaration
public Output<ScheduleHourlyRecurrence> HourlyRecurrence { get; }
Property Value
Type Description
Output<ScheduleHourlyRecurrence>
View Source

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>
View Source

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>
View Source

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>
View Source

NotificationSettings

Declaration
public Output<ScheduleNotificationSettings> NotificationSettings { get; }
Property Value
Type Description
Output<ScheduleNotificationSettings>
View Source

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>
View Source

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>
View Source

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>>
View Source

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>
View Source

TimeZoneId

The time zone ID (e.g. Pacific Standard time).

Declaration
public Output<string> TimeZoneId { get; }
Property Value
Type Description
Output<System.String>
View Source

WeeklyRecurrence

Declaration
public Output<ScheduleWeeklyRecurrence> WeeklyRecurrence { get; }
Property Value
Type Description
Output<ScheduleWeeklyRecurrence>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.