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.
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
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" }
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 |
- AccessControlList
- AccessControlRequest
- AccessControlRequestForGroup
- AccessControlRequestForServicePrincipal
- AccessControlRequestForUser
- AutoScale
- AwsAttributes
- CanManage
- CanManageRun
- CanView
- ClusterAttributes
- ClusterCloudProviderNodeInfo
- ClusterCloudProviderNodeStatus
- ClusterEvent
- ClusterEventType
- ClusterInfo
- ClusterInstance
- ClusterLibraryStatuses
- ClusterLogConf
- ClusterSize
- ClusterSource
- ClusterSpec
- ClusterState
- Continuous
- CronSchedule
- DbfsStorageInfo
- DbtOutput
- DbtTask
- DockerBasicAuth
- DockerImage
- Error
- EventDetails
- FileStorageInfo
- GitSnapshot
- GitSource
- InitScriptInfo
- IsOwner
- Job
- JobCluster
- JobEmailNotifications
- JobSettings
- JobSettingsQueue
- JobTask
- JobTaskSettings
- JobsCreate200Response
- JobsCreateRequest
- JobsDeleteRequest
- JobsGet200Response
- JobsList200Response
- JobsResetRequest
- JobsRunNow200Response
- JobsRunNowRequest
- JobsRunsCancelAllRequest
- JobsRunsCancelRequest
- JobsRunsDeleteRequest
- JobsRunsExport200Response
- JobsRunsGet200Response
- JobsRunsGetOutput200Response
- JobsRunsList200Response
- JobsRunsRepair200Response
- JobsRunsRepairRequest
- JobsRunsSubmit200Response
- JobsRunsSubmitRequest
- JobsUpdateRequest
- Library
- LibraryFullStatus
- LibraryInstallStatus
- ListOrder
- LogSyncStatus
- MavenLibrary
- NewCluster
- NewTaskCluster
- NodeType
- NotebookOutput
- NotebookTask
- PermissionLevel
- PermissionLevelForGroup
- PipelineTask
- PoolClusterTerminationCode
- PythonPyPiLibrary
- PythonWheelTask
- RCranLibrary
- RepairHistory
- RepairHistoryItem
- RepairRunInput
- ResizeCause
- Run
- RunLifeCycleState
- RunNowInput
- RunParameters
- RunParametersPipelineParams
- RunResultState
- RunState
- RunSubmitSettings
- RunSubmitTaskSettings
- RunTask
- RunType
- S3StorageInfo
- SparkJarTask
- SparkNode
- SparkNodeAwsAttributes
- SparkPythonTask
- SparkSubmitTask
- SparkVersion
- SqlAlertOutput
- SqlDashboardOutput
- SqlDashboardWidgetOutput
- SqlOutput
- SqlOutputError
- SqlQueryOutput
- SqlStatementOutput
- SqlTask
- SqlTaskAlert
- SqlTaskDashboard
- SqlTaskQuery
- TaskDependenciesInner
- TaskSparkSubmitTask
- TerminationCode
- TerminationParameter
- TerminationReason
- TerminationType
- TriggerType
- ViewItem
- ViewType
- ViewsToExport
- WebhookNotifications
- WebhookNotificationsOnStartInner
To get access to the crate's generated documentation, use:
cargo doc --open