Partager via


ScheduleProperties Class

Definition

Schedule resource properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.SchedulePropertiesTypeConverter))]
public class ScheduleProperties : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IScheduleProperties, Microsoft.Azure.PowerShell.Cmdlets.LabServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.SchedulePropertiesTypeConverter))>]
type ScheduleProperties = class
    interface IScheduleProperties
    interface IJsonSerializable
    interface IScheduleUpdateProperties
    interface IValidates
Public Class ScheduleProperties
Implements IScheduleProperties, IValidates
Inheritance
ScheduleProperties
Attributes
Implements

Constructors

ScheduleProperties()

Creates an new ScheduleProperties instance.

Properties

Note

Notes for this schedule.

ProvisioningState

Current provisioning state of the schedule.

RecurrencePattern

The recurrence pattern of the scheduled actions.

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 ScheduleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScheduleProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScheduleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to