你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
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) | |
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() |