Freigeben über


JobOperationsExtensions.ListPreparationAndReleaseTaskStatusAsync Methode

Definition

Listet die Ausführung status des Auftragsvorbereitungs- und Auftragsfreigabetasks für den angegebenen Auftrag auf den Computeknoten auf, auf denen der Auftrag ausgeführt wurde.

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

Parameter

operations
IJobOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

jobId
String

Die ID des Auftrags.

jobListPreparationAndReleaseTaskStatusOptions
JobListPreparationAndReleaseTaskStatusOptions

Zusätzliche Parameter für den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Diese API gibt den Auftragsvorbereitungs- und Auftragsfreigabetask status auf allen Computeknoten zurück, auf denen der Auftragsvorbereitungs- oder Auftragsfreigabetask ausgeführt wurde. Dies schließt Computeknoten ein, die inzwischen aus dem Pool entfernt wurden. Wenn diese API für einen Auftrag aufgerufen wird, der über keinen Auftragsvorbereitungs- oder Auftragsfreigabetask verfügt, gibt der Batch-Dienst HTTP-status Code 409 (Conflict) mit dem Fehlercode JobPreparationTaskNotSpecified zurück.

Gilt für: