Condividi tramite


JobOperationsExtensions.ListPreparationAndReleaseTaskStatusNextAsync Method

Definition

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.JobPreparationAndReleaseTaskExecutionInformation>> ListPreparationAndReleaseTaskStatusNextAsync (this Microsoft.Azure.Batch.Protocol.IJobOperations operations, string nextPageLink, Microsoft.Azure.Batch.Protocol.Models.JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListPreparationAndReleaseTaskStatusNextAsync : Microsoft.Azure.Batch.Protocol.IJobOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobListPreparationAndReleaseTaskStatusNextOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.JobPreparationAndReleaseTaskExecutionInformation>>
<Extension()>
Public Function ListPreparationAndReleaseTaskStatusNextAsync (operations As IJobOperations, nextPageLink As String, Optional jobListPreparationAndReleaseTaskStatusNextOptions As JobListPreparationAndReleaseTaskStatusNextOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of JobPreparationAndReleaseTaskExecutionInformation))

Parameters

operations
IJobOperations

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

jobListPreparationAndReleaseTaskStatusNextOptions
JobListPreparationAndReleaseTaskStatusNextOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Applies to