Share via


RecurrencePattern Class

Definition

Recurrence pattern of a lab schedule.

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

Constructors

RecurrencePattern()

Creates an new RecurrencePattern instance.

Properties

ExpirationDate

When the recurrence will expire. This date is inclusive.

Frequency

The frequency of the recurrence.

Interval

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.

WeekDay

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RecurrencePattern.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RecurrencePattern.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RecurrencePattern into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to