Udostępnij za pośrednictwem


TestJobOperationsExtensions.StopAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> StopAsync (this Microsoft.WindowsAzure.Management.Automation.ITestJobOperations operations, string automationAccount, string runbookName);
static member StopAsync : Microsoft.WindowsAzure.Management.Automation.ITestJobOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function StopAsync (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