UNPKG

@azure/arm-automation

Version:

AutomationClient Library with typescript type definitions for node.js and browser.

127 lines 7.47 kB
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a JobScheduleOperations. */ export declare class JobScheduleOperations { private readonly client; /** * Create a JobScheduleOperations. * @param {AutomationClientContext} client Reference to the service client. */ constructor(client: AutomationClientContext); /** * Delete the job schedule identified by job schedule name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param [options] The optional parameters * @returns Promise<msRest.RestResponse> */ deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, callback: msRest.ServiceCallback<void>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param options The optional parameters * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void; /** * Retrieve the job schedule identified by job schedule name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param [options] The optional parameters * @returns Promise<Models.JobScheduleGetResponse> */ get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options?: msRest.RequestOptionsBase): Promise<Models.JobScheduleGetResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, callback: msRest.ServiceCallback<Models.JobSchedule>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobSchedule>): void; /** * Create a job schedule. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param parameters The parameters supplied to the create job schedule operation. * @param [options] The optional parameters * @returns Promise<Models.JobScheduleCreateResponse> */ create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: Models.JobScheduleCreateParameters, options?: msRest.RequestOptionsBase): Promise<Models.JobScheduleCreateResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param parameters The parameters supplied to the create job schedule operation. * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: Models.JobScheduleCreateParameters, callback: msRest.ServiceCallback<Models.JobSchedule>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param jobScheduleId The job schedule name. * @param parameters The parameters supplied to the create job schedule operation. * @param options The optional parameters * @param callback The callback */ create(resourceGroupName: string, automationAccountName: string, jobScheduleId: string, parameters: Models.JobScheduleCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobSchedule>): void; /** * Retrieve a list of job schedules. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param [options] The optional parameters * @returns Promise<Models.JobScheduleListByAutomationAccountResponse> */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.JobScheduleListByAutomationAccountOptionalParams): Promise<Models.JobScheduleListByAutomationAccountResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback<Models.JobScheduleListResult>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param options The optional parameters * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: Models.JobScheduleListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback<Models.JobScheduleListResult>): void; /** * Retrieve a list of job schedules. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise<Models.JobScheduleListByAutomationAccountNextResponse> */ listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.JobScheduleListByAutomationAccountNextResponse>; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.JobScheduleListResult>): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobScheduleListResult>): void; } //# sourceMappingURL=jobScheduleOperations.d.ts.map