Share via


WeeklyRecurrence Class

Definition

The weekly recurrence of the schedule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.WeeklyRecurrenceTypeConverter))]
public class WeeklyRecurrence : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.WeeklyRecurrenceTypeConverter))>]
type WeeklyRecurrence = class
    interface IWeeklyRecurrence
    interface IJsonSerializable
    interface IRecurrence
    interface IValidates
Public Class WeeklyRecurrence
Implements IValidates, IWeeklyRecurrence
Inheritance
WeeklyRecurrence
Attributes
Implements

Constructors

WeeklyRecurrence()

Creates an new WeeklyRecurrence instance.

Properties

Day

The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence.

EndTime

The end time of the schedule recurrence. Full hour and 30-minute intervals are supported.

EndTimeHour

The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.

EndTimeMinute

The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.

StartTime

The start time of the schedule recurrence. Full hour and 30-minute intervals are supported.

StartTimeHour

The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.

StartTimeMinute

The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WeeklyRecurrence.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WeeklyRecurrence.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WeeklyRecurrence into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to