Share via


DataBoxJobCollection Class

Definition

A class representing a collection of DataBoxJobResource and their operations. Each DataBoxJobResource in the collection will belong to the same instance of ResourceGroupResource. To get a DataBoxJobCollection instance call the GetDataBoxJobs method from an instance of ResourceGroupResource.

public class DataBoxJobCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DataBox.DataBoxJobResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.DataBoxJobResource>
type DataBoxJobCollection = class
    inherit ArmCollection
    interface seq<DataBoxJobResource>
    interface IEnumerable
    interface IAsyncEnumerable<DataBoxJobResource>
Public Class DataBoxJobCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DataBoxJobResource), IEnumerable(Of DataBoxJobResource)
Inheritance
DataBoxJobCollection
Implements

Constructors

DataBoxJobCollection()

Initializes a new instance of the DataBoxJobCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DataBoxJobData, CancellationToken)

Creates a new job with the specified parameters. Existing job cannot be updated with this API and should instead be updated with the Update job API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Create
CreateOrUpdateAsync(WaitUntil, String, DataBoxJobData, CancellationToken)

Creates a new job with the specified parameters. Existing job cannot be updated with this API and should instead be updated with the Update job API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Create
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
Get(String, String, CancellationToken)

Gets information about the specified job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
GetAll(String, CancellationToken)

Lists all the jobs available under the given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs
  • Operation Id: Jobs_ListByResourceGroup
GetAllAsync(String, CancellationToken)

Lists all the jobs available under the given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs
  • Operation Id: Jobs_ListByResourceGroup
GetAsync(String, String, CancellationToken)

Gets information about the specified job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}
  • Operation Id: Jobs_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DataBoxJobResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataBoxJobResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to