Sdílet prostřednictvím


TestJobOperations interface

Interface representing a TestJobOperations.

Methods

create(string, string, string, TestJobCreateParameters, TestJobCreateOptionalParams)

Create a test job of the runbook.

get(string, string, string, TestJobGetOptionalParams)

Retrieve the test job for the specified runbook.

resume(string, string, string, TestJobResumeOptionalParams)

Resume the test job.

stop(string, string, string, TestJobStopOptionalParams)

Stop the test job.

suspend(string, string, string, TestJobSuspendOptionalParams)

Suspend the test job.

Method Details

create(string, string, string, TestJobCreateParameters, TestJobCreateOptionalParams)

Create a test job of the runbook.

function create(resourceGroupName: string, automationAccountName: string, runbookName: string, parameters: TestJobCreateParameters, options?: TestJobCreateOptionalParams): Promise<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
TestJobCreateOptionalParams

The options parameters.

Returns

Promise<TestJob>

get(string, string, string, TestJobGetOptionalParams)

Retrieve the test job for the specified runbook.

function get(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobGetOptionalParams): Promise<TestJob>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
TestJobGetOptionalParams

The options parameters.

Returns

Promise<TestJob>

resume(string, string, string, TestJobResumeOptionalParams)

Resume the test job.

function resume(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobResumeOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
TestJobResumeOptionalParams

The options parameters.

Returns

Promise<void>

stop(string, string, string, TestJobStopOptionalParams)

Stop the test job.

function stop(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobStopOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
TestJobStopOptionalParams

The options parameters.

Returns

Promise<void>

suspend(string, string, string, TestJobSuspendOptionalParams)

Suspend the test job.

function suspend(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: TestJobSuspendOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

runbookName

string

The runbook name.

options
TestJobSuspendOptionalParams

The options parameters.

Returns

Promise<void>