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

ScheduleOperations class

表示 ScheduleOperations 的类。

构造函数

ScheduleOperations(AutomationClientContext)

创建 ScheduleOperations。

方法

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase)

创建计划。

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)
createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, ServiceCallback<Schedule>)
deleteMethod(string, string, string, RequestOptionsBase)

删除按计划名称标识的计划。

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

检索按计划名称标识的计划。

get(string, string, string, RequestOptionsBase, ServiceCallback<Schedule>)
get(string, string, string, ServiceCallback<Schedule>)
listByAutomationAccount(string, string, RequestOptionsBase)

检索计划列表。

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)
listByAutomationAccount(string, string, ServiceCallback<ScheduleListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

检索计划列表。

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)
listByAutomationAccountNext(string, ServiceCallback<ScheduleListResult>)
update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase)

更新按计划名称标识的计划。

update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)
update(string, string, string, ScheduleUpdateParameters, ServiceCallback<Schedule>)

构造函数详细信息

ScheduleOperations(AutomationClientContext)

创建 ScheduleOperations。

new ScheduleOperations(client: AutomationClientContext)

参数

client
AutomationClientContext

对服务客户端的引用。

方法详细信息

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase)

创建计划。

function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<ScheduleCreateOrUpdateResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

parameters
ScheduleCreateOrUpdateParameters

提供给创建或更新计划作的参数。

options
RequestOptionsBase

可选参数

返回

承诺<Models.ScheduleCreateOrUpdateResponse>

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

parameters
ScheduleCreateOrUpdateParameters

提供给创建或更新计划作的参数。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Schedule>

回调

createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, ServiceCallback<Schedule>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, callback: ServiceCallback<Schedule>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

parameters
ScheduleCreateOrUpdateParameters

提供给创建或更新计划作的参数。

callback

ServiceCallback<Schedule>

回调

deleteMethod(string, string, string, RequestOptionsBase)

删除按计划名称标识的计划。

function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: RequestOptionsBase): Promise<RestResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

承诺<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, callback: ServiceCallback<void>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

callback

ServiceCallback<void>

回调

get(string, string, string, RequestOptionsBase)

检索按计划名称标识的计划。

function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: RequestOptionsBase): Promise<ScheduleGetResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

options
RequestOptionsBase

可选参数

返回

承诺<Models.ScheduleGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Schedule>)

function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Schedule>

回调

get(string, string, string, ServiceCallback<Schedule>)

function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, callback: ServiceCallback<Schedule>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

callback

ServiceCallback<Schedule>

回调

listByAutomationAccount(string, string, RequestOptionsBase)

检索计划列表。

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<ScheduleListByAutomationAccountResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ScheduleListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<ScheduleListResult>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

options
RequestOptionsBase

可选参数

listByAutomationAccount(string, string, ServiceCallback<ScheduleListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ScheduleListResult>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

listByAutomationAccountNext(string, RequestOptionsBase)

检索计划列表。

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ScheduleListByAutomationAccountNextResponse>

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ScheduleListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ScheduleListResult>)

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

options
RequestOptionsBase

可选参数

listByAutomationAccountNext(string, ServiceCallback<ScheduleListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ScheduleListResult>)

参数

nextPageLink

string

上一次成功调用 List作的 NextLink。

update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase)

更新按计划名称标识的计划。

function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, options?: RequestOptionsBase): Promise<ScheduleUpdateResponse>

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

parameters
ScheduleUpdateParameters

提供给更新计划作的参数。

options
RequestOptionsBase

可选参数

返回

承诺<Models.ScheduleUpdateResponse>

update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)

function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

parameters
ScheduleUpdateParameters

提供给更新计划作的参数。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Schedule>

回调

update(string, string, string, ScheduleUpdateParameters, ServiceCallback<Schedule>)

function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, callback: ServiceCallback<Schedule>)

参数

resourceGroupName

string

Azure 资源组的名称。

automationAccountName

string

自动化帐户的名称。

scheduleName

string

计划名称。

parameters
ScheduleUpdateParameters

提供给更新计划作的参数。

callback

ServiceCallback<Schedule>

回调