共用方式為


MachineLearningTriggerBase Class

Definition

Please note MachineLearningTriggerBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CronTrigger and MachineLearningRecurrenceTrigger.

[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

MachineLearningTriggerBase()

Initializes a new instance of MachineLearningTriggerBase.

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

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

Explicit Interface Implementations

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