TestJobOperationsExtensions.SuspendAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> SuspendAsync (this Microsoft.WindowsAzure.Management.Automation.ITestJobOperations operations, string automationAccount, string runbookName);
static member SuspendAsync : Microsoft.WindowsAzure.Management.Automation.ITestJobOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function SuspendAsync (operations As ITestJobOperations, automationAccount As String, runbookName As String) As Task(Of AzureOperationResponse)

Parameters

operations
ITestJobOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.

automationAccount
String

Required. The automation account name.

runbookName
String

Required. The runbook name.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to