def stop_resize(resource_group_name, account_name, pool_name, custom_headers:nil)
      response = stop_resize_async(resource_group_name, account_name, pool_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def stop_resize(resource_group_name, account_name, pool_name, custom_headers:nil)
      response = stop_resize_async(resource_group_name, account_name, pool_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
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. After stopping, the pool stabilizes at the
 number of nodes it was at when the stop operation was done. During the stop
 operation, the pool allocation state changes first to stopping and then to
 steady. A resize operation need not be an explicit resize pool request; this
 API can also be used to halt the initial sizing of the pool when it is
 created.

 @param resource_group_name [String] The name of the resource group that
 contains the Batch account.
 @param account_name [String] The name of the Batch account.
 @param pool_name [String] The pool name. This must be unique within the
 account.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Pool] operation results.