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

SchedulesOperations interface

表示计划作的接口。

属性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

创建或更新计划。

delete

删除一个日程表。

get

获取计划资源。

listByPool

列出泳池的排班表。

update

部分更新时间表。

属性详细信息

beginCreateOrUpdate

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

beginCreateOrUpdateAndWait

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => Promise<Schedule>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => Promise<Schedule>

beginDelete

警告

现已弃用此 API。

use delete instead

beginDelete: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams) => Promise<void>

beginUpdate

警告

现已弃用此 API。

use update instead

beginUpdate: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

beginUpdateAndWait

警告

现已弃用此 API。

use update instead

beginUpdateAndWait: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams) => Promise<Schedule>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams) => Promise<Schedule>

createOrUpdate

创建或更新计划。

createOrUpdate: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Schedule>, Schedule>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Schedule>, Schedule>

delete

删除一个日程表。

delete: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

获取计划资源。

get: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesGetOptionalParams) => Promise<Schedule>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesGetOptionalParams) => Promise<Schedule>

listByPool

列出泳池的排班表。

listByPool: (resourceGroupName: string, projectName: string, poolName: string, options?: SchedulesListByPoolOptionalParams) => PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>

属性值

(resourceGroupName: string, projectName: string, poolName: string, options?: SchedulesListByPoolOptionalParams) => PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>

update

部分更新时间表。

update: (resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams) => PollerLike<OperationState<Schedule>, Schedule>

属性值

(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams) => PollerLike<OperationState<Schedule>, Schedule>