共用方式為


JobRunCollection.GetAll(CancellationToken) Method

Definition

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
public virtual Azure.Pageable<Azure.ResourceManager.StorageMover.JobRunResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageMover.JobRunResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageMover.JobRunResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of JobRunResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to