DataBoxExtensions.GetDataBoxJobsAsync Method

Definition

Lists all the jobs available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs
  • Operation Id: Jobs_List
public static Azure.AsyncPageable<Azure.ResourceManager.DataBox.DataBoxJobResource> GetDataBoxJobsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDataBoxJobsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataBox.DataBoxJobResource>
<Extension()>
Public Function GetDataBoxJobsAsync (subscriptionResource As SubscriptionResource, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataBoxJobResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

skipToken
String

$skipToken is supported on Get list of jobs, which provides the next page in the list of jobs.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataBoxJobResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to