Delen via


BatchAccountPoolResource.UpdateAsync Method

Definition

Updates the properties of an existing pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Update
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>> UpdateAsync (Azure.ResourceManager.Batch.BatchAccountPoolData data, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Batch.BatchAccountPoolData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>>
override this.UpdateAsync : Azure.ResourceManager.Batch.BatchAccountPoolData * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>>
Public Overridable Function UpdateAsync (data As BatchAccountPoolData, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchAccountPoolResource))

Parameters

data
BatchAccountPoolData

Pool properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.

ifMatch
Nullable<ETag>

The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to apply the operation unconditionally.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to