Share via


provider-files command group

Note

This information applies to Databricks CLI versions 0.205 and above. The Databricks CLI is in Public Preview.

Databricks CLI use is subject to the Databricks License and Databricks Privacy Notice, including any Usage Data provisions.

The provider-files command group within the Databricks CLI contains commands to manage files in the marketplace. Marketplace offers a set of file APIs for various purposes such as preview notebooks and provider icons. See What is Databricks Marketplace?.

databricks provider-files create

Create a file. Currently, only provider icons and attached notebooks are supported.

databricks provider-files create [flags]

Arguments

None

Options

--display-name string

    Display name for the file

--json JSON

    The inline JSON string or the @path to the JSON file with the request body.

Global flags

Examples

databricks provider-files create --display-name "My Provider Icon" --json @icon-config.json

databricks provider-files delete

Delete a file.

databricks provider-files delete FILE_ID [flags]

Arguments

FILE_ID

    The ID of the file to delete

Options

Global flags

Examples

databricks provider-files delete <file-id>

databricks provider-files get

Get a file.

databricks provider-files get FILE_ID [flags]

Arguments

FILE_ID

    The ID of the file to retrieve

Options

Global flags

Examples

databricks provider-files get <file-id>

databricks provider-files list

List files attached to a parent entity.

databricks provider-files list [flags]

Arguments

None

Options

--json JSON

    The inline JSON string or the @path to the JSON file with the request body.

--page-size int

    Number of items to return per page

--page-token string

    Token for pagination

Global flags

Examples

databricks provider-files list

Global flags

--debug

  Whether to enable debug logging.

-h or --help

    Display help for the Databricks CLI or the related command group or the related command.

--log-file string

    A string representing the file to write output logs to. If this flag is not specified then the default is to write output logs to stderr.

--log-format format

    The log format type, text or json. The default value is text.

--log-level string

    A string representing the log format level. If not specified then the log format level is disabled.

-o, --output type

    The command output type, text or json. The default value is text.

-p, --profile string

    The name of the profile in the ~/.databrickscfg file to use to run the command. If this flag is not specified then if it exists, the profile named DEFAULT is used.

--progress-format format

    The format to display progress logs: default, append, inplace, or json

-t, --target string

    If applicable, the bundle target to use