Share via


Cron Class

Definition

The workflow trigger cron for ComputeStartStop schedule type.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CronTypeConverter))]
public class Cron : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICron
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.CronTypeConverter))>]
type Cron = class
    interface ICron
    interface IJsonSerializable
Public Class Cron
Implements ICron
Inheritance
Cron
Attributes
Implements

Constructors

Cron()

Creates an new Cron instance.

Properties

Expression

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

StartTime

The start time in yyyy-MM-ddTHH:mm:ss format.

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Cron.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Cron.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Cron into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to