共用方式為


MachineLearningScheduleProperties Constructors

Definition

Overloads

MachineLearningScheduleProperties(MachineLearningScheduleAction, MachineLearningTriggerBase)

Initializes a new instance of MachineLearningScheduleProperties.

MachineLearningScheduleProperties(MachineLearningTriggerBase, MachineLearningScheduleAction)

Initializes a new instance of MachineLearningScheduleProperties.

MachineLearningScheduleProperties(MachineLearningScheduleAction, MachineLearningTriggerBase)

Source:
MachineLearningScheduleProperties.cs
Source:
MachineLearningScheduleProperties.cs

Initializes a new instance of MachineLearningScheduleProperties.

public MachineLearningScheduleProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction action, Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase trigger);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction * Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase -> Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProperties
Public Sub New (action As MachineLearningScheduleAction, trigger As MachineLearningTriggerBase)

Parameters

action
MachineLearningScheduleAction

[Required] Specifies the action of the schedule Please note MachineLearningScheduleAction 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 MachineLearningJobScheduleAction, CreateMonitorAction and MachineLearningEndpointScheduleAction.

trigger
MachineLearningTriggerBase

[Required] Specifies the trigger details 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.

Exceptions

action or trigger is null.

Applies to

MachineLearningScheduleProperties(MachineLearningTriggerBase, MachineLearningScheduleAction)

Source:
MachineLearningScheduleProperties.cs

Initializes a new instance of MachineLearningScheduleProperties.

public MachineLearningScheduleProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase trigger, Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction action);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase * Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction -> Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProperties
Public Sub New (trigger As MachineLearningTriggerBase, action As MachineLearningScheduleAction)

Parameters

trigger
MachineLearningTriggerBase

[Required] Specifies the trigger details 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.

action
MachineLearningScheduleAction

[Required] Specifies the action of the schedule Please note MachineLearningScheduleAction 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 MachineLearningJobScheduleAction, CreateMonitorAction and MachineLearningEndpointScheduleAction.

Exceptions

trigger or action is null.

Applies to