Udostępnij za pośrednictwem


ITestJobOperations.SuspendAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> SuspendAsync (string automationAccount, string runbookName, System.Threading.CancellationToken cancellationToken);
abstract member SuspendAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function SuspendAsync (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