databricks-cli/cmd/workspace
Andrew Nester d11128c638
Fixed jobs create command to only accept JSON payload (#498)
## Changes
Fixed jobs create command to only accept JSON payload.

Note: relies on this PR from Go SDK
https://github.com/databricks/databricks-sdk-go/pull/522

## Tests

```
andrew.nester@HFW9Y94129 cli % ./cli jobs create -h
Create a new job.

  Create a new job.

Usage:
  databricks jobs create [flags]

Flags:
  -h, --help        help for create
      --json JSON   either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes))

Global Flags:
  -e, --environment string       bundle environment to use (if applicable)
      --log-file file            file to write logs to (default stderr)
      --log-format type          log output format (text or json) (default text)
      --log-level format         log level (default disabled)
  -o, --output type              output type: text or json (default text)
  -p, --profile string           ~/.databrickscfg profile
      --progress-format format   format for progress logs (append, inplace, json) (default default)
 ```
2023-06-21 09:25:29 +02:00
..
alerts Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
catalogs Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
cluster-policies Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
clusters Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
connections Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
current-user Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
dashboards Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
data-sources Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
experiments Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
external-locations Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
functions Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
git-credentials Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
global-init-scripts Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
grants Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
groups Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
instance-pools Correctly set ExactArgs if generated command has positional arguments (#488) 2023-06-16 12:15:25 +00:00
instance-profiles Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
ip-access-lists Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
jobs Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
libraries Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
metastores Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
model-registry Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
permissions Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
pipelines Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
policy-families Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
providers Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
queries Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
query-history Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
recipient-activation Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
recipients Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
repos Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
schemas Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
secrets Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
service-principals Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
serving-endpoints Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
shares Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
storage-credentials Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
system-schemas Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
table-constraints Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
tables Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
token-management Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
tokens Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
users Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
volumes Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
warehouses Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
workspace Correctly set ExactArgs if generated command has positional arguments (#488) 2023-06-16 12:15:25 +00:00
workspace-bindings Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
workspace-conf Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
cmd.go Associate generated commands with command groups (#475) 2023-06-15 14:47:24 +00:00
groups.go Associate generated commands with command groups (#475) 2023-06-15 14:47:24 +00:00