你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmMachineLearningModelFactory.MachineLearningComputeStartStopSchedule 方法

定义

初始化 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

参数

id
String

系统为计划分配的 ID。

provisioningStatus
Nullable<MachineLearningComputeProvisioningStatus>

计划的当前部署状态。

status
Nullable<MachineLearningScheduleStatus>

计划是启用还是禁用?。

action
Nullable<MachineLearningComputePowerAction>

[必需]计算能力操作。

triggerType
Nullable<MachineLearningTriggerType>

[必需]计划触发器类型。

recurrenceSchedule
ComputeStartStopRecurrenceSchedule

如果 triggerType 为 Recurrence,则是必需的。

cronSchedule
ComputeStartStopCronSchedule

如果 triggerType 为 Cron,则是必需的。

schedule
MachineLearningScheduleBase

[已弃用]不再使用。

返回

用于模拟的新 MachineLearningComputeStartStopSchedule 实例。

适用于