Share via


ScheduleUpdate Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ScheduleUpdateTypeConverter))]
public class ScheduleUpdate : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IScheduleUpdate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ScheduleUpdateTypeConverter))>]
type ScheduleUpdate = class
    interface IScheduleUpdate
    interface IJsonSerializable
Public Class ScheduleUpdate
Implements IScheduleUpdate
Inheritance
ScheduleUpdate
Attributes
Implements

Constructors

ScheduleUpdate()

Creates an new ScheduleUpdate instance.

Properties

Note

Notes for this schedule.

RecurrencePatternExpirationDate

When the recurrence will expire. This date is inclusive.

RecurrencePatternFrequency

The frequency of the recurrence.

RecurrencePatternInterval

The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.

RecurrencePatternWeekDay

The week days the schedule runs. Used for when the Frequency is set to Weekly.

StartAt

When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.

StopAt

When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.

TimeZoneId

The IANA timezone id for the schedule.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScheduleUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScheduleUpdate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IScheduleUpdate.

FromJsonString(String)

Creates a new instance of ScheduleUpdate, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScheduleUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to