Share via


PoolOperationsExtensions.Patch Method

Definition

Updates the properties of the specified Pool.

public static Microsoft.Azure.Batch.Protocol.Models.PoolPatchHeaders Patch (this Microsoft.Azure.Batch.Protocol.IPoolOperations operations, string poolId, Microsoft.Azure.Batch.Protocol.Models.PoolPatchParameter poolPatchParameter, Microsoft.Azure.Batch.Protocol.Models.PoolPatchOptions poolPatchOptions = default);
static member Patch : Microsoft.Azure.Batch.Protocol.IPoolOperations * string * Microsoft.Azure.Batch.Protocol.Models.PoolPatchParameter * Microsoft.Azure.Batch.Protocol.Models.PoolPatchOptions -> Microsoft.Azure.Batch.Protocol.Models.PoolPatchHeaders
<Extension()>
Public Function Patch (operations As IPoolOperations, poolId As String, poolPatchParameter As PoolPatchParameter, Optional poolPatchOptions As PoolPatchOptions = Nothing) As PoolPatchHeaders

Parameters

operations
IPoolOperations

The operations group for this extension method.

poolId
String

The ID of the Pool to update.

poolPatchParameter
PoolPatchParameter

The parameters for the request.

poolPatchOptions
PoolPatchOptions

Additional parameters for the operation

Returns

Remarks

This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Applies to