PoolOperationsExtensions.UpdateAsync(IPoolOperations, String, String, String, Pool, String, CancellationToken) PoolOperationsExtensions.UpdateAsync(IPoolOperations, String, String, String, Pool, String, CancellationToken) Method

Definition

Updates the properties of an existing pool.

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 = null, System.Threading.CancellationToken cancellationToken = null);
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>
Parameters
operations
IPoolOperations IPoolOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group that contains the Batch account.

accountName
String String

The name of the Batch account.

poolName
String String

The pool name. This must be unique within the account.

parameters
Pool Pool

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

ifMatch
String String

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 CancellationToken

The cancellation token.

Returns

Applies to