DataBoxExtensions.GetDataBoxJobs Method

Definition

Overloads

GetDataBoxJobs(ResourceGroupResource)

Gets a collection of DataBoxJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataBoxJobs() instead.

GetDataBoxJobs(SubscriptionResource, String, CancellationToken)

Lists all the jobs available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs
  • Operation Id: Jobs_List

GetDataBoxJobs(ResourceGroupResource)

Source:
DataBoxExtensions.cs

Gets a collection of DataBoxJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataBoxJobs() instead.

public static Azure.ResourceManager.DataBox.DataBoxJobCollection GetDataBoxJobs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDataBoxJobs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DataBox.DataBoxJobCollection
<Extension()>
Public Function GetDataBoxJobs (resourceGroupResource As ResourceGroupResource) As DataBoxJobCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DataBoxJobResources and their operations over a DataBoxJobResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDataBoxJobs(SubscriptionResource, String, CancellationToken)

Source:
DataBoxExtensions.cs

Lists all the jobs available under the subscription.

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

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

Exceptions

subscriptionResource is null.

Applies to