Share via


provider-exchanges 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-exchanges command group within the Databricks CLI allows you to manage marketplace exchanges. Marketplace exchanges allow providers to share their listings with a curated set of customers. See Create and manage private exchanges in Databricks Marketplace.

databricks provider-exchanges add-listing-to-exchange

Associate an exchange with a listing.

databricks provider-exchanges add-listing-to-exchange LISTING_ID EXCHANGE_ID [flags]

Arguments

LISTING_ID

    The listing ID to associate with the exchange

EXCHANGE_ID

    The exchange ID to associate with the listing

Options

--json JSON

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

Global flags

Examples

databricks provider-exchanges add-listing-to-exchange 12345 67890

databricks provider-exchanges create

Create an exchange.

databricks provider-exchanges create [flags]

Arguments

None

Options

--json JSON

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

Global flags

Examples

databricks provider-exchanges create --json @exchange-config.json

databricks provider-exchanges delete

Delete an exchange. This removes a listing from marketplace.

databricks provider-exchanges delete ID [flags]

Arguments

ID

    The exchange ID to delete

Options

Global flags

Examples

databricks provider-exchanges delete <exchange-id>

databricks provider-exchanges delete-listing-from-exchange

Disassociate an exchange with a listing.

databricks provider-exchanges delete-listing-from-exchange ID [flags]

Arguments

ID

    The ID to disassociate the exchange and listing

Options

Global flags

Examples

databricks provider-exchanges delete-listing-from-exchange <id>

databricks provider-exchanges get

Get an exchange.

databricks provider-exchanges get ID [flags]

Arguments

ID

    The exchange ID to retrieve

Options

Global flags

Examples

databricks provider-exchanges get <exchange-id>

databricks provider-exchanges list

List exchanges visible to provider.

databricks provider-exchanges list [flags]

Arguments

None

Options

--page-size int

    Number of items to return per page

--page-token string

    Token for pagination

Global flags

Examples

databricks provider-exchanges list

databricks provider-exchanges list-exchanges-for-listing

List exchanges associated with a listing.

databricks provider-exchanges list-exchanges-for-listing LISTING_ID [flags]

Arguments

LISTING_ID

    The listing ID to list exchanges for

Options

--page-size int

    Number of items to return per page

--page-token string

    Token for pagination

Global flags

Examples

databricks provider-exchanges list-exchanges-for-listing 12345

databricks provider-exchanges list-listings-for-exchange

List listings associated with an exchange.

databricks provider-exchanges list-listings-for-exchange EXCHANGE_ID [flags]

Arguments

EXCHANGE_ID

    The exchange ID to list listings for

Options

--page-size int

    Number of items to return per page

--page-token string

    Token for pagination

Global flags

Examples

databricks provider-exchanges list-listings-for-exchange 67890

databricks provider-exchanges update

Update an exchange.

databricks provider-exchanges update ID [flags]

Arguments

ID

    The exchange ID to update

Options

--json JSON

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

Global flags

Examples

databricks provider-exchanges update <exchange-id> --json @updated-exchange-config.json

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