注
この情報は、Databricks CLI バージョン 0.205 以降に適用されます。 Databricks CLI は パブリック プレビュー段階です。
Databricks CLI の使用には、Databricks ライセンスおよび使用状況データのプロビジョニングを含むDatabricks のプライバシーに関する通知が適用されます。
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 アプリ統合を作成します。
databricks account custom-app-integration create --name "My Custom App" --confidential
次の例では、JSON を使用してカスタム OAuth アプリ統合を作成します。
databricks account custom-app-integration create --json '{"name": "My Custom App", "redirect_urls": ["https://example.com/callback"], "confidential": true}'
次の例では、JSON ファイルを使用してカスタム OAuth アプリ統合を作成します。
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。
オプション
例示
次の例では、カスタム OAuth アプリ統合を ID で削除します。
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 アプリ統合を取得します。
databricks account custom-app-integration get integration-abc123
databricks アカウントの custom-app-integration list
指定した Databricks アカウントのカスタム OAuth アプリ統合の一覧を取得します。
databricks account custom-app-integration list [flags]
オプション
--include-creator-username
応答に作成者ユーザー名を含めます。
--page-size int
1 ページあたりに返される結果の数。
--page-token string
結果の次のページを取得するトークン。
例示
次の例では、すべてのカスタム OAuth アプリ統合の一覧を示します。
databricks account custom-app-integration list
次の例では、カスタム OAuth アプリと改ページ位置の統合の一覧を示します。
databricks account custom-app-integration list --page-size 10
次の例では、作成者のユーザー名を含むカスタム OAuth アプリ統合の一覧を示します。
databricks account custom-app-integration list --include-creator-username
databricks アカウントの custom-app-integration 更新
既存のカスタム OAuth アプリ統合を更新します。
databricks account custom-app-integration update INTEGRATION_ID [flags]
論争
INTEGRATION_ID
OAuth アプリ統合 ID。
オプション
--json JSON
要求本文を含む JSON ファイルに対するインライン JSON 文字列または @path
例示
次の例では、JSON を使用してカスタム OAuth アプリ統合を更新します。
databricks account custom-app-integration update integration-abc123 --json '{"name": "Updated App Name", "redirect_urls": ["https://example.com/new-callback"]}'
次の例では、JSON ファイルを使用してカスタム OAuth アプリ統合を更新します。
databricks account custom-app-integration update integration-abc123 --json @update-custom-app.json
グローバル フラグ
--debug
デバッグ ログを有効にするかどうかを指定します。
-h または --help
Databricks CLI、または関連コマンド グループ、または関連コマンドのヘルプの表示。
--log-file 文字列
出力ログを書き込むファイルを表す文字列。 このフラグが指定されていない場合、既定では stderr に出力ログが書き込まれます。
--log-format 形式
ログ形式の種類、 text 、または json。 既定値は text です。
--log-level 文字列
ログ形式レベルを表す文字列。 指定しない場合、ログ形式レベルは無効になります。
-o, --output 型
コマンド出力の種類( text または json)。 既定値は text です。
-p, --profile 文字列
コマンドの実行に使用する ~/.databrickscfg ファイル内のプロファイルの名前。 このフラグが指定されていない場合は、存在する場合は、 DEFAULT という名前のプロファイルが使用されます。
--progress-format 形式
進行状況ログを表示する形式: default、 append、 inplace、または json
-t, --target 文字列
該当する場合は、使用するバンドル ターゲット