Skip to main content
  • adminAlterJobs

    public AdminAlterJobsResponse adminAlterJobs(AdminAlterJobsRequest request) throws GPUdbException
    Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • adminAlterJobs

    public AdminAlterJobsResponse adminAlterJobs(List<Long> jobIds, String action, Map<String,String> options) throws GPUdbException
    Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.
    Parameters:
    jobIds - Jobs to be modified.
    action - Action to be performed on the jobs specified by job_ids. Supported values:
    options - Optional parameters.
    • JOB_TAG: Job tag returned in call to create the job.
    The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.