BatchAccountPoolResource.Update 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 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)

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