databricks-cli/cmd/account
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
..
access-control Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
billable-usage Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
budgets Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
credentials Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
custom-app-integration Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
encryption-keys Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
groups 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
log-delivery Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
metastore-assignments Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
metastores Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
networks Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
o-auth-enrollment Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
private-access Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
published-app-integration Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
service-principal-secrets Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
service-principals Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
settings Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
storage Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
storage-credentials 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
vpc-endpoints Disable shell completions for generated commands (#483) 2023-06-15 14:56:36 +00:00
workspace-assignment Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
workspaces 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