JobOperationsExtensions.GetAsync(IJobOperations, String) Method

Definition

Get the definition and status of a job.

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

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
String

Required. Id of the job to get.

Returns

The Get Job operation response.

Applies to