IJobOperations.GetAsync(String, String, Guid, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.