Share via


CronTrigger Class

Definition

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

Constructors

CronTrigger()

Creates an new CronTrigger 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

Expression

[Required] Specifies cron expression of schedule. The expression should follow NCronTab format.

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 CronTrigger.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CronTrigger.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CronTrigger into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to