JobOperations.ListJobPreparationAndReleaseTaskStatus Method

Definition

Enumerates the status of JobPreparationTask and JobReleaseTask tasks for the specified job.

C#
public Microsoft.Azure.Batch.IPagedEnumerable<Microsoft.Azure.Batch.JobPreparationAndReleaseTaskExecutionInformation> ListJobPreparationAndReleaseTaskStatus(string jobId, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);

Parameters

jobId
String

The id of the job.

detailLevel
DetailLevel

A DetailLevel used for filtering the list and for controlling which properties are retrieved from the service.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel.

Returns

An IPagedEnumerable<T> that can be used to enumerate statuses asynchronously or synchronously.

Remarks

This method returns immediately; the statuses are retrieved from the Batch service only when the collection is enumerated. Retrieval is non-atomic; statuses are retrieved in pages during enumeration of the collection.

Applies to

Product Versions
Azure SDK for .NET Latest