Skip to content

Latest commit

 

History

History
187 lines (166 loc) · 9.13 KB

File metadata and controls

187 lines (166 loc) · 9.13 KB

Rust API client for databricks_rust_jobs

The Jobs API allows you to create, edit, and delete jobs. You should never hard code secrets or store them in plain text. Use the Secrets API to manage secrets in the Databricks CLI. Use the Secrets utility to reference secrets in notebooks and jobs.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 2.1
  • Package version: 2.1.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named databricks_rust_jobs and add the following to Cargo.toml under [dependencies]:

databricks_rust_jobs = { path = "./databricks_rust_jobs" }

Documentation for API Endpoints

All URIs are relative to https:///api

Class Method HTTP request Description
DefaultApi jobs_create POST /2.1/jobs/create Create a new job
DefaultApi jobs_delete POST /2.1/jobs/delete Delete a job
DefaultApi jobs_get GET /2.1/jobs/get Get a single job
DefaultApi jobs_list GET /2.1/jobs/list List all jobs
DefaultApi jobs_reset POST /2.1/jobs/reset Overwrites all settings for a job
DefaultApi jobs_run_now POST /2.1/jobs/run-now Trigger a new job run
DefaultApi jobs_runs_cancel POST /2.1/jobs/runs/cancel Cancel a job run
DefaultApi jobs_runs_cancel_all POST /2.1/jobs/runs/cancel-all Cancel all runs of a job
DefaultApi jobs_runs_delete POST /2.1/jobs/runs/delete Delete a job run
DefaultApi jobs_runs_export GET /2.0/jobs/runs/export Export and retrieve a job run
DefaultApi jobs_runs_get GET /2.1/jobs/runs/get Get a single job run
DefaultApi jobs_runs_get_output GET /2.1/jobs/runs/get-output Get the output for a single run
DefaultApi jobs_runs_list GET /2.1/jobs/runs/list List runs for a job
DefaultApi jobs_runs_repair POST /2.1/jobs/runs/repair Repair a job run
DefaultApi jobs_runs_submit POST /2.1/jobs/runs/submit Create and trigger a one-time run
DefaultApi jobs_update POST /2.1/jobs/update Partially updates a job

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author