def begin_create_or_update_worker_pool(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers:nil)
      response = begin_create_or_update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_create_or_update_worker_pool(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers:nil)
      response = begin_create_or_update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Create or update a worker pool.

 Create or update a worker pool.

 @param resource_group_name [String] Name of the resource group to which the
 resource belongs.
 @param name [String] Name of the App Service Environment.
 @param worker_pool_name [String] Name of the worker pool.
 @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
 pool.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [WorkerPoolResource] operation results.