Delen via


JobRunCollection Class

Definition

A class representing a collection of JobRunResource and their operations. Each JobRunResource in the collection will belong to the same instance of JobDefinitionResource. To get a JobRunCollection instance call the GetJobRuns method from an instance of JobDefinitionResource.

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

Constructors

JobRunCollection()

Initializes a new instance of the JobRunCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
  • Operation Id: JobRuns_Get
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
  • Operation Id: JobRuns_Get
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
Get(String, CancellationToken)

Gets a Job Run resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
  • Operation Id: JobRuns_Get
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
GetAll(CancellationToken)

Lists all Job Runs in a Job Definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns
  • Operation Id: JobRuns_List
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
GetAllAsync(CancellationToken)

Lists all Job Runs in a Job Definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns
  • Operation Id: JobRuns_List
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
GetAsync(String, CancellationToken)

Gets a Job Run resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
  • Operation Id: JobRuns_Get
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
  • Operation Id: JobRuns_Get
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
  • Operation Id: JobRuns_Get
  • Default Api Version: 2024-07-01
  • Resource: JobRunResource
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<JobRunResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<JobRunResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to