Share via


Schedule Class

Definition

Schedule for automatically turning virtual machines in a lab on and off at specified times.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Schedule : Microsoft.Azure.Management.LabServices.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Schedule = class
    inherit ProxyResource
Public Class Schedule
Inherits ProxyResource
Inheritance
Attributes

Constructors

Schedule()

Initializes a new instance of the Schedule class.

Schedule(String, String, String, SystemData, Nullable<DateTime>, Nullable<DateTime>, RecurrencePattern, String, String, Nullable<ProvisioningState>)

Initializes a new instance of the Schedule class.

Properties

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(Inherited from Resource)
Notes

Gets or sets notes for this schedule.

ProvisioningState

Gets current provisioning state of the schedule. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'

RecurrencePattern

Gets or sets the recurrence pattern of the scheduled actions.

StartAt

Gets or sets when lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.

StopAt

Gets or sets when lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.

SystemData

Gets metadata pertaining to creation and last modification of the schedule.

TimeZoneId

Gets or sets the IANA timezone id for the schedule.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to