def begin_update(resource_group_name, registry_name, task_name, task_update_parameters, custom_headers:nil)
      response = begin_update_async(resource_group_name, registry_name, task_name, task_update_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_update(resource_group_name, registry_name, task_name, task_update_parameters, custom_headers:nil)
      response = begin_update_async(resource_group_name, registry_name, task_name, task_update_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Updates a task with the specified parameters.

 @param resource_group_name [String] The name of the resource group to which
 the container registry belongs.
 @param registry_name [String] The name of the container registry.
 @param task_name [String] The name of the container registry task.
 @param task_update_parameters [TaskUpdateParameters] The parameters for
 updating a task.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Task] operation results.