IJobOperations.GetAsync(String, Guid, CancellationToken) Method

Definition

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

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

Parameters

automationAccount
String

The automation account name.

jobId
Guid

The job id.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get job operation.

Applies to