@azure/arm-automation
Version:
AutomationClient Library with typescript type definitions for node.js and browser.
223 lines • 12.4 kB
TypeScript
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import { AutomationClientContext } from "../automationClientContext";
/** Class representing a JobOperations. */
export declare class JobOperations {
private readonly client;
/**
* Create a JobOperations.
* @param {AutomationClientContext} client Reference to the service client.
*/
constructor(client: AutomationClientContext);
/**
* Retrieve the job output identified by job name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The name of the job to be created.
* @param [options] The optional parameters
* @returns Promise<Models.JobGetOutputResponse>
*/
getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOutputOptionalParams): Promise<Models.JobGetOutputResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The name of the job to be created.
* @param callback The callback
*/
getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The name of the job to be created.
* @param options The optional parameters
* @param callback The callback
*/
getOutput(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetOutputOptionalParams, callback: msRest.ServiceCallback<void>): void;
/**
* Retrieve the runbook content of the job identified by job name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param [options] The optional parameters
* @returns Promise<Models.JobGetRunbookContentResponse>
*/
getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetRunbookContentOptionalParams): Promise<Models.JobGetRunbookContentResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param callback The callback
*/
getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param options The optional parameters
* @param callback The callback
*/
getRunbookContent(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetRunbookContentOptionalParams, callback: msRest.ServiceCallback<void>): void;
/**
* Suspend the job identified by job name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param [options] The optional parameters
* @returns Promise<msRest.RestResponse>
*/
suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobSuspendOptionalParams): Promise<msRest.RestResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param callback The callback
*/
suspend(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param options The optional parameters
* @param callback The callback
*/
suspend(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobSuspendOptionalParams, callback: msRest.ServiceCallback<void>): void;
/**
* Stop the job identified by jobName.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param [options] The optional parameters
* @returns Promise<msRest.RestResponse>
*/
stop(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobStopOptionalParams): Promise<msRest.RestResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param callback The callback
*/
stop(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param options The optional parameters
* @param callback The callback
*/
stop(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobStopOptionalParams, callback: msRest.ServiceCallback<void>): void;
/**
* Retrieve the job identified by job name.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param [options] The optional parameters
* @returns Promise<Models.JobGetResponse>
*/
get(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobGetOptionalParams): Promise<Models.JobGetResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param callback The callback
*/
get(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback<Models.Job>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param options The optional parameters
* @param callback The callback
*/
get(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobGetOptionalParams, callback: msRest.ServiceCallback<Models.Job>): void;
/**
* Create a job of the runbook.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param parameters The parameters supplied to the create job operation.
* @param [options] The optional parameters
* @returns Promise<Models.JobCreateResponse>
*/
create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: Models.JobCreateParameters, options?: Models.JobCreateOptionalParams): Promise<Models.JobCreateResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param parameters The parameters supplied to the create job operation.
* @param callback The callback
*/
create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: Models.JobCreateParameters, callback: msRest.ServiceCallback<Models.Job>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param parameters The parameters supplied to the create job operation.
* @param options The optional parameters
* @param callback The callback
*/
create(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: Models.JobCreateParameters, options: Models.JobCreateOptionalParams, callback: msRest.ServiceCallback<Models.Job>): void;
/**
* Retrieve a list of jobs.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param [options] The optional parameters
* @returns Promise<Models.JobListByAutomationAccountResponse>
*/
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Models.JobListByAutomationAccountOptionalParams): Promise<Models.JobListByAutomationAccountResponse>;
/**
* @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.JobListResultV2>): 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.JobListByAutomationAccountOptionalParams, callback: msRest.ServiceCallback<Models.JobListResultV2>): void;
/**
* Resume the job identified by jobName.
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param [options] The optional parameters
* @returns Promise<msRest.RestResponse>
*/
resume(resourceGroupName: string, automationAccountName: string, jobName: string, options?: Models.JobResumeOptionalParams): Promise<msRest.RestResponse>;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param callback The callback
*/
resume(resourceGroupName: string, automationAccountName: string, jobName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param jobName The job name.
* @param options The optional parameters
* @param callback The callback
*/
resume(resourceGroupName: string, automationAccountName: string, jobName: string, options: Models.JobResumeOptionalParams, callback: msRest.ServiceCallback<void>): void;
/**
* Retrieve a list of jobs.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.JobListByAutomationAccountNextResponse>
*/
listByAutomationAccountNext(nextPageLink: string, options?: Models.JobListByAutomationAccountNextOptionalParams): Promise<Models.JobListByAutomationAccountNextResponse>;
/**
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param callback The callback
*/
listByAutomationAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.JobListResultV2>): 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: Models.JobListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback<Models.JobListResultV2>): void;
}
//# sourceMappingURL=jobOperations.d.ts.map