JobOperationsExtensions.GetAsync(IJobOperations, String, Guid) Method

Definition

Retrieve the job identified by job id. (see http://aka.ms/azureautomationsdk/joboperations for more information)

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

Parameters

operations
IJobOperations

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

automationAccount
String

Required. The automation account name.

jobId
Guid

Required. The job id.

Returns

The response model for the get job operation.

Applies to