Aracılığıyla paylaş


CronTrigger Class

Definition

The CronTrigger.

public class CronTrigger : Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.CronTrigger>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.CronTrigger>
public class CronTrigger : Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase
type CronTrigger = class
    inherit MachineLearningTriggerBase
    interface IJsonModel<CronTrigger>
    interface IPersistableModel<CronTrigger>
type CronTrigger = class
    inherit MachineLearningTriggerBase
Public Class CronTrigger
Inherits MachineLearningTriggerBase
Implements IJsonModel(Of CronTrigger), IPersistableModel(Of CronTrigger)
Public Class CronTrigger
Inherits MachineLearningTriggerBase
Inheritance
Implements

Constructors

CronTrigger(String)

Initializes a new instance of CronTrigger.

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

(Inherited from MachineLearningTriggerBase)
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.

(Inherited from MachineLearningTriggerBase)
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

(Inherited from MachineLearningTriggerBase)

Explicit Interface Implementations

IJsonModel<CronTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CronTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MachineLearningTriggerBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MachineLearningTriggerBase)
IJsonModel<MachineLearningTriggerBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningTriggerBase)
IPersistableModel<CronTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CronTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CronTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MachineLearningTriggerBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningTriggerBase)
IPersistableModel<MachineLearningTriggerBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MachineLearningTriggerBase)
IPersistableModel<MachineLearningTriggerBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningTriggerBase)

Applies to