共用方式為


TestJobOperationsExtensions.GetAsync Method

Definition

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

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

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

The response model for the get test job operation.

Applies to