IJobOperations.GetAsync(String, 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.Azure.Management.Automation.Models.JobGetResponse> GetAsync (string resourceGroupName, string automationAccount, Guid jobId, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobGetResponse>

Parameters

resourceGroupName
System.String

The name of the resource group

automationAccount
System.String

The automation account name.

jobId
System.Guid

The job id.

cancellationToken
System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task<JobGetResponse>

The response model for the get job operation.

Applies to