ScheduleOperations class
表示 ScheduleOperations 的类。
构造函数
| Schedule |
创建 ScheduleOperations。 |
方法
构造函数详细信息
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
可选参数
返回
Promise<ScheduleCreateOrUpdateResponse>
承诺<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
回调
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
回调
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
可选参数
返回
Promise<ScheduleGetResponse>
承诺<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
回调
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
回调
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
可选参数
- callback
回调
listByAutomationAccount(string, string, ServiceCallback<ScheduleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ScheduleListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- callback
回调
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
可选参数
- callback
回调
listByAutomationAccountNext(string, ServiceCallback<ScheduleListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ScheduleListResult>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调
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
可选参数
返回
Promise<ScheduleUpdateResponse>
承诺<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
回调
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
回调