MachineLearningScheduleProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MachineLearningScheduleProperties(MachineLearningScheduleAction, MachineLearningTriggerBase) |
Initializes a new instance of MachineLearningScheduleProperties. |
MachineLearningScheduleProperties(MachineLearningTriggerBase, MachineLearningScheduleAction) |
Initializes a new instance of MachineLearningScheduleProperties. |
MachineLearningScheduleProperties(MachineLearningScheduleAction, MachineLearningTriggerBase)
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
[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)
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.
[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.