你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IJobOperations.ListPreparationAndReleaseTaskStatusNextWithHttpMessagesAsync 方法

定义

列出运行作业的计算节点上指定作业的作业准备和作业发布任务的执行状态。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.JobPreparationAndReleaseTaskExecutionInformation>,Microsoft.Azure.Batch.Protocol.Models.JobListPreparationAndReleaseTaskStatusHeaders>> ListPreparationAndReleaseTaskStatusNextWithHttpMessagesAsync (string nextPageLink, Microsoft.Azure.Batch.Protocol.Models.JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListPreparationAndReleaseTaskStatusNextWithHttpMessagesAsync : string * Microsoft.Azure.Batch.Protocol.Models.JobListPreparationAndReleaseTaskStatusNextOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.JobPreparationAndReleaseTaskExecutionInformation>, Microsoft.Azure.Batch.Protocol.Models.JobListPreparationAndReleaseTaskStatusHeaders>>
Public Function ListPreparationAndReleaseTaskStatusNextWithHttpMessagesAsync (nextPageLink As String, Optional jobListPreparationAndReleaseTaskStatusNextOptions As JobListPreparationAndReleaseTaskStatusNextOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of JobPreparationAndReleaseTaskExecutionInformation), JobListPreparationAndReleaseTaskStatusHeaders))

参数

nextPageLink
String

上一次成功调用 List 操作的 NextLink。

jobListPreparationAndReleaseTaskStatusNextOptions
JobListPreparationAndReleaseTaskStatusNextOptions

操作的其他参数

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

操作返回无效状态代码时引发

无法反序列化响应时引发

当所需的参数为 null 时引发

注解

此 API 在运行作业准备或作业发布任务的所有计算节点上返回作业准备和作业发布任务状态。 这包括此后已从池中删除的计算节点。 如果在没有作业准备或作业发布任务的作业上调用此 API,Batch 服务将返回 HTTP 状态代码 409 (冲突) ,错误代码为 JobPreparationTaskNotSpecified。

适用于