Share via


WeeklySchedule Class

Definition

For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.WeeklyScheduleTypeConverter))]
public class WeeklySchedule : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IWeeklySchedule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.WeeklyScheduleTypeConverter))>]
type WeeklySchedule = class
    interface IWeeklySchedule
    interface IJsonSerializable
Public Class WeeklySchedule
Implements IWeeklySchedule
Inheritance
WeeklySchedule
Attributes
Implements

Constructors

Name Description
WeeklySchedule()

Creates an new WeeklySchedule instance.

Properties

Name Description
DayOfWeek

Specifies on which day of the week the maintenance occurs.

IntervalWeek

Specifies the number of weeks between each set of occurrences.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WeeklySchedule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WeeklySchedule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IWeeklySchedule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WeeklySchedule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to