ITestJobOperations.StopAsync(String, String, CancellationToken) Method

Definition

Stop the test job. (see http://aka.ms/azureautomationsdk/testjoboperations for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> StopAsync (string automationAccount, string runbookName, System.Threading.CancellationToken cancellationToken);
abstract member StopAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function StopAsync (automationAccount As String, runbookName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

automationAccount
String

The automation account name.

runbookName
String

The runbook name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to