def schedule_run(resource_group_name, registry_name, run_request, custom_headers:nil)
      response = schedule_run_async(resource_group_name, registry_name, run_request, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def schedule_run(resource_group_name, registry_name, run_request, custom_headers:nil)
      response = schedule_run_async(resource_group_name, registry_name, run_request, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Schedules a new run based on the request parameters and add it to the run
 queue.

 @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 run_request [RunRequest] The parameters of a run that needs to
 scheduled.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Run] operation results.