แชร์ผ่าน


account published-app-integration 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 account published-app-integration command group within the Databricks CLI contains commands to manage published OAuth app integrations. These integrations are required for adding and using published OAuth apps like Tableau Desktop for Databricks in AWS cloud.

databricks account published-app-integration create

Create a published OAuth app integration.

databricks account published-app-integration create [flags]

Options

--app-id string

    App ID of the OAuth published app integration.

--json JSON

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

Global flags

Examples

The following example creates a published OAuth app integration using command-line flags:

databricks account published-app-integration create --app-id "tableau-desktop"

The following example creates a published OAuth app integration using JSON:

databricks account published-app-integration create --json '{"app_id": "tableau-desktop"}'

The following example creates a published OAuth app integration using a JSON file:

databricks account published-app-integration create --json @published-app.json

databricks account published-app-integration delete

Delete an existing published OAuth app integration.

databricks account published-app-integration delete INTEGRATION_ID [flags]

Arguments

INTEGRATION_ID

    The OAuth app integration ID.

Options

Global flags

Examples

The following example deletes a published OAuth app integration by ID:

databricks account published-app-integration delete integration-abc123

databricks account published-app-integration get

Get the published OAuth app integration for the given integration ID.

databricks account published-app-integration get INTEGRATION_ID [flags]

Arguments

INTEGRATION_ID

    The OAuth app integration ID.

Options

Global flags

Examples

The following example gets a published OAuth app integration by ID:

databricks account published-app-integration get integration-abc123

databricks account published-app-integration list

Get the list of published OAuth app integrations for the specified Databricks account.

databricks account published-app-integration list [flags]

Options

--page-size int

    Number of results to return per page.

--page-token string

    Token to retrieve the next page of results.

Global flags

Examples

The following example lists all published OAuth app integrations:

databricks account published-app-integration list

The following example lists published OAuth app integrations with pagination:

databricks account published-app-integration list --page-size 10

The following example lists the next page of published OAuth app integrations:

databricks account published-app-integration list --page-token "next_page_token"

databricks account published-app-integration update

Update an existing published OAuth app integration.

databricks account published-app-integration update INTEGRATION_ID [flags]

Arguments

INTEGRATION_ID

    The OAuth app integration ID.

Options

--json JSON

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

Global flags

Examples

The following example updates a published OAuth app integration using JSON:

databricks account published-app-integration update integration-abc123 --json '{"app_id": "tableau-desktop"}'

The following example updates a published OAuth app integration using a JSON file:

databricks account published-app-integration update integration-abc123 --json @update-published-app.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