Share via


RecurrenceTrigger Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.RecurrenceTriggerTypeConverter))]
public class RecurrenceTrigger : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IRecurrenceTrigger, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.RecurrenceTriggerTypeConverter))>]
type RecurrenceTrigger = class
    interface IRecurrenceTrigger
    interface IJsonSerializable
    interface ITriggerBase
    interface IValidates
Public Class RecurrenceTrigger
Implements IRecurrenceTrigger, IValidates
Inheritance
RecurrenceTrigger
Attributes
Implements

Constructors

RecurrenceTrigger()

Creates an new RecurrenceTrigger instance.

Properties

EndTime

Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely

Frequency

[Required] The frequency to trigger schedule.

Interval

[Required] Specifies schedule interval in conjunction with frequency

ScheduleHour

[Required] List of hours for the schedule.

ScheduleMinute

[Required] List of minutes for the schedule.

ScheduleMonthDay

List of month days for the schedule

ScheduleWeekDay

List of days for the schedule.

StartTime

Specifies start time of schedule in ISO 8601 format, but without a UTC offset.

TimeZone

Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

TriggerType

[Required]

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RecurrenceTrigger.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RecurrenceTrigger.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IRecurrenceTrigger.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RecurrenceTrigger into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to