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.String

    The id of the pool whose resizing you want to stop.

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