JobScheduleOperations class
表示 JobScheduleOperations 的类。
构造函数
| Job |
创建 JobScheduleOperations。 |
方法
构造函数详细信息
JobScheduleOperations(AutomationClientContext)
创建 JobScheduleOperations。
new JobScheduleOperations(client: AutomationClientContext)
参数
- client
- AutomationClientContext
对服务客户端的引用。
方法详细信息
create(string, string, string, JobScheduleCreateParameters, RequestOptionsBase)
创建作业计划。
function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, options?: RequestOptionsBase): Promise<JobScheduleCreateResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- parameters
- JobScheduleCreateParameters
提供给创建作业计划作的参数。
- options
- RequestOptionsBase
可选参数
返回
Promise<JobScheduleCreateResponse>
承诺<Models.JobScheduleCreateResponse>
create(string, string, string, JobScheduleCreateParameters, RequestOptionsBase, ServiceCallback<JobSchedule>)
function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, options: RequestOptionsBase, callback: ServiceCallback<JobSchedule>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- parameters
- JobScheduleCreateParameters
提供给创建作业计划作的参数。
- options
- RequestOptionsBase
可选参数
- callback
回调
create(string, string, string, JobScheduleCreateParameters, ServiceCallback<JobSchedule>)
function create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: JobScheduleCreateParameters, callback: ServiceCallback<JobSchedule>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- parameters
- JobScheduleCreateParameters
提供给创建作业计划作的参数。
- callback
回调
deleteMethod(string, string, string, RequestOptionsBase)
删除作业计划名称标识的作业计划。
function deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: RequestOptionsBase): Promise<RestResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<RestResponse>
承诺<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- options
- RequestOptionsBase
可选参数
- callback
-
ServiceCallback<void>
回调
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, callback: ServiceCallback<void>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- callback
-
ServiceCallback<void>
回调
get(string, string, string, RequestOptionsBase)
检索作业计划名称标识的作业计划。
function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: RequestOptionsBase): Promise<JobScheduleGetResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- options
- RequestOptionsBase
可选参数
返回
Promise<JobScheduleGetResponse>
承诺<Models.JobScheduleGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<JobSchedule>)
function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: RequestOptionsBase, callback: ServiceCallback<JobSchedule>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- options
- RequestOptionsBase
可选参数
- callback
回调
get(string, string, string, ServiceCallback<JobSchedule>)
function get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, callback: ServiceCallback<JobSchedule>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- jobScheduleId
-
string
作业计划名称。
- callback
回调
listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams)
检索作业计划的列表。
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: JobScheduleListByAutomationAccountOptionalParams): Promise<JobScheduleListByAutomationAccountResponse>
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
可选参数
返回
承诺<Models.JobScheduleListByAutomationAccountResponse>
listByAutomationAccount(string, string, JobScheduleListByAutomationAccountOptionalParams, ServiceCallback<JobScheduleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: JobScheduleListByAutomationAccountOptionalParams, callback: ServiceCallback<JobScheduleListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
可选参数
- callback
回调
listByAutomationAccount(string, string, ServiceCallback<JobScheduleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<JobScheduleListResult>)
参数
- resourceGroupName
-
string
Azure 资源组的名称。
- automationAccountName
-
string
自动化帐户的名称。
- callback
回调
listByAutomationAccountNext(string, RequestOptionsBase)
检索作业计划的列表。
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<JobScheduleListByAutomationAccountNextResponse>
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
返回
Promise<Models.JobScheduleListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<JobScheduleListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<JobScheduleListResult>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
- callback
回调
listByAutomationAccountNext(string, ServiceCallback<JobScheduleListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<JobScheduleListResult>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调