def create(resource_group_name, registry_name, task_name, task_create_parameters, custom_headers:nil)
      response = create_async(resource_group_name, registry_name, task_name, task_create_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create(resource_group_name, registry_name, task_name, task_create_parameters, custom_headers:nil)
      response = create_async(resource_group_name, registry_name, task_name, task_create_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates a task for a container registry 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_create_parameters [Task] The parameters for creating 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.