TestJobOperations class

Class representing a TestJobOperations.

Constructors

TestJobOperations(AutomationClientContext)

Create a TestJobOperations.

Methods

create(string, string, string, TestJobCreateParameters, RequestOptionsBase)

Create a test job of the runbook.

create(string, string, string, TestJobCreateParameters, RequestOptionsBase, ServiceCallback<TestJob>)
create(string, string, string, TestJobCreateParameters, ServiceCallback<TestJob>)
get(string, string, string, RequestOptionsBase)

Retrieve the test job for the specified runbook.

get(string, string, string, RequestOptionsBase, ServiceCallback<TestJob>)
get(string, string, string, ServiceCallback<TestJob>)
resume(string, string, string, RequestOptionsBase)

Resume the test job.

resume(string, string, string, RequestOptionsBase, ServiceCallback<void>)
resume(string, string, string, ServiceCallback<void>)
stop(string, string, string, RequestOptionsBase)

Stop the test job.

stop(string, string, string, RequestOptionsBase, ServiceCallback<void>)
stop(string, string, string, ServiceCallback<void>)
suspend(string, string, string, RequestOptionsBase)

Suspend the test job.

suspend(string, string, string, RequestOptionsBase, ServiceCallback<void>)
suspend(string, string, string, ServiceCallback<void>)

Constructor Details

TestJobOperations(AutomationClientContext)

Create a TestJobOperations.

new TestJobOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

create(string, string, string, TestJobCreateParameters, RequestOptionsBase)

Create a test job of the runbook.

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, options?: RequestOptionsBase): Promise<TestJobCreateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The parameters supplied to the create test job operation.

parameters
TestJobCreateParameters

The parameters supplied to the create test job operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.TestJobCreateResponse>

create(string, string, string, TestJobCreateParameters, RequestOptionsBase, ServiceCallback<TestJob>)

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, options: RequestOptionsBase, callback: ServiceCallback<TestJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The parameters supplied to the create test job operation.

parameters
TestJobCreateParameters

The parameters supplied to the create test job operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<TestJob>

The callback

create(string, string, string, TestJobCreateParameters, ServiceCallback<TestJob>)

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, callback: ServiceCallback<TestJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The parameters supplied to the create test job operation.

parameters
TestJobCreateParameters

The parameters supplied to the create test job operation.

callback

ServiceCallback<TestJob>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the test job for the specified runbook.

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<TestJobGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.TestJobGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<TestJob>)

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<TestJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<TestJob>

The callback

get(string, string, string, ServiceCallback<TestJob>)

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<TestJob>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

callback

ServiceCallback<TestJob>

The callback

resume(string, string, string, RequestOptionsBase)

Resume the test job.

function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

resume(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

resume(string, string, string, ServiceCallback<void>)

function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

callback

ServiceCallback<void>

The callback

stop(string, string, string, RequestOptionsBase)

Stop the test job.

function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

stop(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

stop(string, string, string, ServiceCallback<void>)

function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

callback

ServiceCallback<void>

The callback

suspend(string, string, string, RequestOptionsBase)

Suspend the test job.

function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

suspend(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

suspend(string, string, string, ServiceCallback<void>)

function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

callback

ServiceCallback<void>

The callback