CloudPoolOperationsExtensions.StopResizeAsync Method (ICloudPoolOperations, String, CloudPoolStopResizeParameters)

 

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

public static Task<CloudPoolStopResizeResponse> StopResizeAsync(
    this ICloudPoolOperations operations,
    string poolId,
    CloudPoolStopResizeParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudPoolStopResizeResponse^>^ StopResizeAsync(
    ICloudPoolOperations^ operations,
    String^ poolId,
    CloudPoolStopResizeParameters^ parameters
)
static member StopResizeAsync : 
        operations:ICloudPoolOperations *
        poolId:string *
        parameters:CloudPoolStopResizeParameters -> Task<CloudPoolStopResizeResponse>
<ExtensionAttribute>
Public Shared Function StopResizeAsync (
    operations As ICloudPoolOperations,
    poolId As String,
    parameters As CloudPoolStopResizeParameters
) As Task(Of CloudPoolStopResizeResponse)

Parameters

  • poolId
    Type: System.String

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

CloudPoolOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top