Language

ArmMachineLearningModelFactory.MachineLearningTriggerBase Method

Definition

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

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase MachineLearningTriggerBase(string endTime = default, string startTime = default, string timeZone = default, string triggerType = default);
static member MachineLearningTriggerBase : string * string * string * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase
Public Shared Function MachineLearningTriggerBase (Optional endTime As String = Nothing, Optional startTime As String = Nothing, Optional timeZone As String = Nothing, Optional triggerType As String = Nothing) As MachineLearningTriggerBase

Parameters

endTime
String

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
String

Specifies start time of schedule in ISO 8601 format, but without a UTC offset.

timeZone
String

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

triggerType
String

[Required].

Returns

A new MachineLearningTriggerBase instance for mocking.

Applies to