メインコンテンツまでスキップ

account custom-app-integrationコマンドグループ

注記

この情報は、Databricks CLI バージョン 0.205 以降に適用されます。Databricks CLI はパブリック プレビュー段階です。

Databricks CLI使用には、使用状況データ プロビジョニングを含むDatabricksライセンスおよびDatabricksプライバシー通知が適用されます。

Databricks CLI内のaccount custom-app-integrationコマンド グループには、カスタムOAuthアプリの統合を管理するコマンドが含まれています。 これらの統合は、AWS クラウドで Tableau Cloud for Databricks などのカスタム OAuth アプリを追加して使用するために必要です。

databricks アカウントcustom-app-integration create

カスタム OAuth アプリ統合を作成します。

databricks account custom-app-integration create [flags]

オプション

--name string

カスタム OAuth アプリの名前。

--confidential

このフィールドは、このクライアントを認証するために OAuth クライアント シークレットが必要かどうかを示します。

--json JSON

インラインJSON文字列またはリクエストボディを含むJSONファイルへの@path

グローバルフラグ

次の例では、コマンドライン フラグを使用してカスタム OAuth アプリ統合を作成します。

Bash
databricks account custom-app-integration create --name "My Custom App" --confidential

次の例では、JSON を使用してカスタム OAuth アプリ統合を作成します。

Bash
databricks account custom-app-integration create --json '{"name": "My Custom App", "redirect_urls": ["https://example.com/callback"], "confidential": true}'

次の例では、JSON ファイルを使用してカスタム OAuth アプリ統合を作成します。

Bash
databricks account custom-app-integration create --json @custom-app.json

databricks アカウントcustom-app-integration delete

既存のカスタム OAuth アプリ統合を削除します。

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

議論

INTEGRATION_ID

OAuth アプリ統合 ID。

オプション

グローバルフラグ

次の例では、ID によってカスタム OAuth アプリ統合を削除します。

Bash
databricks account custom-app-integration delete integration-abc123

databricks アカウントcustom-app-integration get

指定された統合 ID のカスタム OAuth アプリ統合を取得します。

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

議論

INTEGRATION_ID

OAuth アプリ統合 ID。

オプション

グローバルフラグ

次の例では、ID によってカスタム OAuth アプリ統合を取得します。

Bash
databricks account custom-app-integration get integration-abc123

databricks アカウント カスタムアプリ統合リスト

指定された Databricks アカウントのカスタム OAuth アプリ統合のリストを取得します。

databricks account custom-app-integration list [flags]

オプション

--include-creator-username

応答に作成者のユーザー名を含めます。

--page-size int

ページごとに返される結果の数。

--page-token string

次のページの結果を取得するためのトークン。

グローバルフラグ

次の例では、すべてのカスタム OAuth アプリ統合を一覧表示します。

Bash
databricks account custom-app-integration list

次の例は、ページ区切りを使用したカスタム OAuth アプリの統合をリストします。

Bash
databricks account custom-app-integration list --page-size 10

次の例では、作成者のユーザー名を含むカスタム OAuth アプリの統合をリストします。

Bash
databricks account custom-app-integration list --include-creator-username

databricks アカウント カスタムアプリ統合の更新

既存のカスタム OAuth アプリ統合を更新します。

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

議論

INTEGRATION_ID

OAuth アプリ統合 ID。

オプション

--json JSON

インラインJSON文字列またはリクエストボディを含むJSONファイルへの@path

グローバルフラグ

次の例では、JSON を使用してカスタム OAuth アプリ統合を更新します。

Bash
databricks account custom-app-integration update integration-abc123 --json '{"name": "Updated App Name", "redirect_urls": ["https://example.com/new-callback"]}'

次の例では、JSON ファイルを使用してカスタム OAuth アプリ統合を更新します。

Bash
databricks account custom-app-integration update integration-abc123 --json @update-custom-app.json

グローバルフラグ

--debug

デバッグ ログを有効にするかどうか。

-h または --help

Databricks CLI または関連コマンド グループまたは関連コマンドのヘルプを表示します。

--log-file string

出力ログを書き込むファイルを表す文字列。このフラグが指定されていない場合、デフォルトでは出力ログは stderr に書き込まれます。

--log-format format

ログ形式のタイプ、 textまたはjson 。デフォルト値はtextです。

--log-level string

ログ形式のレベルを表す文字列。指定しない場合は、ログ形式のレベルは無効になります。

-o, --output タイプ

コマンド出力タイプ、 textまたはjson 。デフォルト値はtextです。

-p, --profile string

コマンドを実行するために使用する~/.databrickscfgファイル内のプロファイルの名前。このフラグが指定されていない場合、存在する場合は、 DEFAULTという名前のプロファイルが使用されます。

--progress-format format

進捗ログを表示する形式: defaultappendinplace 、または json

-t, --target string

該当する場合、使用するバンドルターゲット