Sdílet prostřednictvím


ArmMachineLearningModelFactory.MachineLearningScheduleProperties Method

Definition

Initializes a new instance of MachineLearningScheduleProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProperties MachineLearningScheduleProperties (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction action = default, string displayName = default, bool? isEnabled = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProvisioningStatus? provisioningState = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase trigger = default);
static member MachineLearningScheduleProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction * string * Nullable<bool> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProvisioningStatus> * Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerBase -> Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleProperties
Public Shared Function MachineLearningScheduleProperties (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional action As MachineLearningScheduleAction = Nothing, Optional displayName As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of MachineLearningScheduleProvisioningStatus) = Nothing, Optional trigger As MachineLearningTriggerBase = Nothing) As MachineLearningScheduleProperties

Parameters

description
String

The asset description text.

properties
IDictionary<String,String>

The asset property dictionary.

tags
IDictionary<String,String>

Tag dictionary. Tags can be added, removed, and updated.

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, ImportDataAction and MachineLearningEndpointScheduleAction.

displayName
String

Display name of schedule.

isEnabled
Nullable<Boolean>

Is the schedule enabled?.

provisioningState
Nullable<MachineLearningScheduleProvisioningStatus>

Provisioning state for the schedule.

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.

Returns

A new MachineLearningScheduleProperties instance for mocking.

Applies to