CloudPoolOperationsExtensions.PatchAsync Method (ICloudPoolOperations, String, CloudPoolPatchParameters)
Updates the properties of a pool.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static Task<CloudPoolPatchResponse> PatchAsync(
this ICloudPoolOperations operations,
string poolId,
CloudPoolPatchParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudPoolPatchResponse^>^ PatchAsync(
ICloudPoolOperations^ operations,
String^ poolId,
CloudPoolPatchParameters^ parameters
)
static member PatchAsync :
operations:ICloudPoolOperations *
poolId:string *
parameters:CloudPoolPatchParameters -> Task<CloudPoolPatchResponse>
<ExtensionAttribute>
Public Shared Function PatchAsync (
operations As ICloudPoolOperations,
poolId As String,
parameters As CloudPoolPatchParameters
) As Task(Of CloudPoolPatchResponse)
Parameters
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudPoolOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudPoolOperations.
poolId
Type: System.StringRequired. The id of the pool to update.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudPoolPatchParametersRequired. The parameters for the request.
Return Value
Type: System.Threading.Tasks.Task<CloudPoolPatchResponse>
Response to a CloudPoolOperations.Patch request.
See Also
CloudPoolOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top