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

BatchAccountPoolResource.Update 方法

定义

汇报现有池的属性。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • 操作IdPool_Update
public virtual Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource> Update (Azure.ResourceManager.Batch.BatchAccountPoolData data, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Batch.BatchAccountPoolData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
override this.Update : Azure.ResourceManager.Batch.BatchAccountPoolData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
Public Overridable Function Update (data As BatchAccountPoolData, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BatchAccountPoolResource)

参数

data
BatchAccountPoolData

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

ifMatch
Nullable<ETag>

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于