Share via


LabServicesSchedulePatch Class

Definition

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

public class LabServicesSchedulePatch
type LabServicesSchedulePatch = class
Public Class LabServicesSchedulePatch
Inheritance
LabServicesSchedulePatch

Constructors

LabServicesSchedulePatch()

Initializes a new instance of LabServicesSchedulePatch.

Properties

Notes

Notes for this schedule.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

RecurrencePattern

The recurrence pattern of the scheduled actions.

StartOn

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

StopOn

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.

Applies to