Lingua

MachineLearningTriggerBase Class

Definition

The MachineLearningTriggerBase. Please note this is the abstract base class. The derived classes available for instantiation are: MachineLearningRecurrenceTrigger and CronTrigger.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownTriggerBase))]
public abstract class MachineLearningTriggerBase : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase>
public abstract class MachineLearningTriggerBase
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownTriggerBase))>]
type MachineLearningTriggerBase = class
    interface IJsonModel<MachineLearningTriggerBase>
    interface IPersistableModel<MachineLearningTriggerBase>
type MachineLearningTriggerBase = class
Public MustInherit Class MachineLearningTriggerBase
Implements IJsonModel(Of MachineLearningTriggerBase), IPersistableModel(Of MachineLearningTriggerBase)
Public MustInherit Class MachineLearningTriggerBase
Inheritance
MachineLearningTriggerBase
Derived
Attributes
Implements

Constructors

Name Description
MachineLearningTriggerBase()

Initializes a new instance of MachineLearningTriggerBase.

Properties

Name Description
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

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MachineLearningTriggerBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningTriggerBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningTriggerBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningTriggerBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningTriggerBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to