code: public RunInner scheduleRun(String resourceGroupName, String registryName, RunRequest runRequest) {
          return scheduleRunWithServiceResponseAsync(resourceGroupName, registryName, runRequest).toBlocking().last().body();
      }
docs: Schedules a new run based on the request parameters and add it to the run queue.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @param runRequest The parameters of a run that needs to scheduled.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the RunInner object if successful.