Cron Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| Cron() |
Creates an new Cron instance. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Cron. |
| DeserializeFromPSObject(PSObject) | |
| 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) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |