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

Schedules interface

表示计划的接口。

方法详细信息

beginCreateOrUpdate(string, string, string, Schedule, SchedulesCreateOrUpdateOptionalParams)

创建或更新计划。

function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

name

string

计划名称。

body
Schedule

计划定义。

options
SchedulesCreateOrUpdateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<Schedule>, Schedule>>

beginCreateOrUpdateAndWait(string, string, string, Schedule, SchedulesCreateOrUpdateOptionalParams)

创建或更新计划。

function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<Schedule>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

name

string

计划名称。

body
Schedule

计划定义。

options
SchedulesCreateOrUpdateOptionalParams

选项参数。

返回

Promise<Schedule>

beginDelete(string, string, string, SchedulesDeleteOptionalParams)

删除计划。

function beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

name

string

计划名称。

options
SchedulesDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, SchedulesDeleteOptionalParams)

删除计划。

function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

name

string

计划名称。

options
SchedulesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, SchedulesGetOptionalParams)

获取计划。

function get(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesGetOptionalParams): Promise<Schedule>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

name

string

计划名称。

options
SchedulesGetOptionalParams

选项参数。

返回

Promise<Schedule>

list(string, string, SchedulesListOptionalParams)

列出指定工作区中的计划。

function list(resourceGroupName: string, workspaceName: string, options?: SchedulesListOptionalParams): PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

options
SchedulesListOptionalParams

选项参数。

返回