JobOperationsOperations interface

Interface representing a JobOperations operations.

Properties

create

Create a job of the runbook.

get

Retrieve the job identified by job name.

getOutput

Retrieve the job output identified by job name.

getRunbookContent

Retrieve the runbook content of the job identified by job name.

listByAutomationAccount

Retrieve a list of jobs.

resume

Resume the job identified by jobName.

stop

Stop the job identified by jobName.

suspend

Suspend the job identified by job name.

Property Details

create

Create a job of the runbook.

create: (resourceGroupName: string, automationAccountName: string, jobName: string, parameters: JobCreateParameters, options?: JobOperationsCreateOptionalParams) => Promise<Job>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, parameters: JobCreateParameters, options?: JobOperationsCreateOptionalParams) => Promise<Job>

get

Retrieve the job identified by job name.

get: (resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsGetOptionalParams) => Promise<Job>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsGetOptionalParams) => Promise<Job>

getOutput

Retrieve the job output identified by job name.

getOutput: (resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsGetOutputOptionalParams) => Promise<JobOperationsGetOutputResponse>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsGetOutputOptionalParams) => Promise<JobOperationsGetOutputResponse>

getRunbookContent

Retrieve the runbook content of the job identified by job name.

getRunbookContent: (resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsGetRunbookContentOptionalParams) => Promise<JobOperationsGetRunbookContentResponse>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsGetRunbookContentOptionalParams) => Promise<JobOperationsGetRunbookContentResponse>

listByAutomationAccount

Retrieve a list of jobs.

listByAutomationAccount: (resourceGroupName: string, automationAccountName: string, options?: JobOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<JobCollectionItem, JobCollectionItem[], PageSettings>

Property Value

(resourceGroupName: string, automationAccountName: string, options?: JobOperationsListByAutomationAccountOptionalParams) => PagedAsyncIterableIterator<JobCollectionItem, JobCollectionItem[], PageSettings>

resume

Resume the job identified by jobName.

resume: (resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsResumeOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsResumeOptionalParams) => Promise<void>

stop

Stop the job identified by jobName.

stop: (resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsStopOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsStopOptionalParams) => Promise<void>

suspend

Suspend the job identified by job name.

suspend: (resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsSuspendOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, automationAccountName: string, jobName: string, options?: JobOperationsSuspendOptionalParams) => Promise<void>