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

PoolOperationsExtensions.UpdateAsync 方法

定义

汇报现有池的属性。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Pool> UpdateAsync (this Microsoft.Azure.Management.Batch.IPoolOperations operations, string resourceGroupName, string accountName, string poolName, Microsoft.Azure.Management.Batch.Models.Pool parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Batch.IPoolOperations * string * string * string * Microsoft.Azure.Management.Batch.Models.Pool * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Pool>
<Extension()>
Public Function UpdateAsync (operations As IPoolOperations, resourceGroupName As String, accountName As String, poolName As String, parameters As Pool, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Pool)

参数

operations
IPoolOperations

此扩展方法的操作组。

resourceGroupName
String

包含 Batch 帐户的资源组的名称。

accountName
String

Batch 帐户的名称。

poolName
String

池名称。 这在帐户中必须是唯一的。

parameters
Pool

应更新的池属性。 提供的属性将更新,未提供的任何属性将保持不变。

ifMatch
String

实体状态 (ETag) 要更新的池版本。 可以省略此值或将其设置为“*”以无条件地应用操作。

cancellationToken
CancellationToken

取消标记。

返回

适用于