SchedulesOperations interface
代表排程作業的介面。
屬性
| create |
依識別碼建立或更新排程。 |
| delete | 刪除排程。 |
| get | 通過 ID 獲取時間表。 |
| get |
取得依 ID 執行的排程。 |
| list | 列出所有時間表。 |
| list |
列出所有排程執行。 |
屬性詳細資料
createOrUpdate
依識別碼建立或更新排程。
createOrUpdate: (id: string, schedule: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => Promise<Schedule>
屬性值
(id: string, schedule: Schedule, options?: SchedulesCreateOrUpdateOptionalParams) => Promise<Schedule>
delete
刪除排程。
delete: (id: string, options?: SchedulesDeleteOptionalParams) => Promise<void>
屬性值
(id: string, options?: SchedulesDeleteOptionalParams) => Promise<void>
get
通過 ID 獲取時間表。
get: (id: string, options?: SchedulesGetOptionalParams) => Promise<Schedule>
屬性值
(id: string, options?: SchedulesGetOptionalParams) => Promise<Schedule>
getRun
取得依 ID 執行的排程。
getRun: (scheduleId: string, runId: string, options?: SchedulesGetRunOptionalParams) => Promise<ScheduleRun>
屬性值
(scheduleId: string, runId: string, options?: SchedulesGetRunOptionalParams) => Promise<ScheduleRun>
list
列出所有時間表。
list: (options?: SchedulesListOptionalParams) => PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>
屬性值
(options?: SchedulesListOptionalParams) => PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>
listRuns
列出所有排程執行。
listRuns: (scheduleId: string, options?: SchedulesListRunsOptionalParams) => PagedAsyncIterableIterator<ScheduleRun, ScheduleRun[], PageSettings>
屬性值
(scheduleId: string, options?: SchedulesListRunsOptionalParams) => PagedAsyncIterableIterator<ScheduleRun, ScheduleRun[], PageSettings>