ArmMachineLearningModelFactory.MachineLearningComputeStartStopSchedule Method
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.
Initializes a new instance of MachineLearningComputeStartStopSchedule.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeStartStopSchedule MachineLearningComputeStartStopSchedule (string id = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeProvisioningStatus? provisioningStatus = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleStatus? status = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningComputePowerAction? action = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerType? triggerType = default, Azure.ResourceManager.MachineLearning.Models.ComputeStartStopRecurrenceSchedule recurrenceSchedule = default, Azure.ResourceManager.MachineLearning.Models.ComputeStartStopCronSchedule cronSchedule = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleBase schedule = default);
static member MachineLearningComputeStartStopSchedule : string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeProvisioningStatus> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleStatus> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputePowerAction> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningTriggerType> * Azure.ResourceManager.MachineLearning.Models.ComputeStartStopRecurrenceSchedule * Azure.ResourceManager.MachineLearning.Models.ComputeStartStopCronSchedule * Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleBase -> Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeStartStopSchedule
Public Shared Function MachineLearningComputeStartStopSchedule (Optional id As String = Nothing, Optional provisioningStatus As Nullable(Of MachineLearningComputeProvisioningStatus) = Nothing, Optional status As Nullable(Of MachineLearningScheduleStatus) = Nothing, Optional action As Nullable(Of MachineLearningComputePowerAction) = Nothing, Optional triggerType As Nullable(Of MachineLearningTriggerType) = Nothing, Optional recurrenceSchedule As ComputeStartStopRecurrenceSchedule = Nothing, Optional cronSchedule As ComputeStartStopCronSchedule = Nothing, Optional schedule As MachineLearningScheduleBase = Nothing) As MachineLearningComputeStartStopSchedule
Parameters
- id
- String
A system assigned id for the schedule.
- provisioningStatus
- Nullable<MachineLearningComputeProvisioningStatus>
The current deployment state of schedule.
Is the schedule enabled or disabled?.
[Required] The compute power action.
- triggerType
- Nullable<MachineLearningTriggerType>
[Required] The schedule trigger type.
- recurrenceSchedule
- ComputeStartStopRecurrenceSchedule
Required if triggerType is Recurrence.
- cronSchedule
- ComputeStartStopCronSchedule
Required if triggerType is Cron.
- schedule
- MachineLearningScheduleBase
[Deprecated] Not used any more.
Returns
A new MachineLearningComputeStartStopSchedule instance for mocking.