ICloudPoolOperations.StopResizeAsync Method (String, CloudPoolStopResizeParameters, CancellationToken)
Stops an ongoing resize operation on the pool. This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<CloudPoolStopResizeResponse> StopResizeAsync(
string poolId,
CloudPoolStopResizeParameters parameters,
CancellationToken cancellationToken
)
Task<CloudPoolStopResizeResponse^>^ StopResizeAsync(
String^ poolId,
CloudPoolStopResizeParameters^ parameters,
CancellationToken cancellationToken
)
abstract StopResizeAsync :
poolId:string *
parameters:CloudPoolStopResizeParameters *
cancellationToken:CancellationToken -> Task<CloudPoolStopResizeResponse>
Function StopResizeAsync (
poolId As String,
parameters As CloudPoolStopResizeParameters,
cancellationToken As CancellationToken
) As Task(Of CloudPoolStopResizeResponse)
Parameters
poolId
Type: System.StringThe id of the pool whose resizing you want to stop.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudPoolStopResizeParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<CloudPoolStopResizeResponse>
Response to a CloudPoolOperations.StopResize request.
See Also
ICloudPoolOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top