JobsOperationsExtensions.GetAsync(IJobsOperations, String, String, String, CancellationToken) Method

Definition

Gets the details of a specified job on a data box edge/gateway device.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Job> GetAsync (this Microsoft.Azure.Management.EdgeGateway.IJobsOperations operations, string deviceName, string name, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EdgeGateway.IJobsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Job>
<Extension()>
Public Function GetAsync (operations As IJobsOperations, deviceName As String, name As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Job)

Parameters

operations
IJobsOperations

The operations group for this extension method.

deviceName
System.String

The device name.

name
System.String

The job name.

resourceGroupName
System.String

The resource group name.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Job>

Applies to