workspace-conf 命令组

Note

此信息适用于 Databricks CLI 版本 0.205 及更高版本。 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 workspace-conf command group within the Databricks CLI contains commands to update workspace settings for advanced users.

databricks workspace-conf get-status

检查工作区的配置状态。

databricks workspace-conf get-status KEYS [flags]

Arguments

KEYS

    要检查其状态的配置密钥

选项

Global flags

Examples

databricks workspace-conf get-status enableIpAccessLists

databricks workspace-conf set-status

Enable/disable features. 设置工作区的配置状态,包括启用或禁用它。

databricks workspace-conf set-status [flags]

选项

--json JSON

    内联 JSON 字符串或 @path 包含请求正文的 JSON 文件的 JSON 文件。

Global flags

Examples

databricks workspace-conf set-status --json @config.json

Global flags

--debug

  是否启用调试日志记录。

-h--help

    显示 Databricks CLI、相关命令组或相关命令的帮助。

--log-file 字符串

    一个字符串,表示要将输出日志写入到的文件。 如果未指定此标志,则默认会将输出日志写入到 stderr。

--log-format 格式

    日志格式类型或 textjson。 默认值是 text

--log-level 字符串

    一个表示日志格式级别的字符串。 如果未指定,则禁用日志格式级别。

-o, --output 类型

    命令输出类型或 textjson。 默认值是 text

-p, --profile 字符串

    用于运行命令的文件中配置文件 ~/.databrickscfg 的名称。 如果未指定此标志,则如果存在,则使用命名 DEFAULT 的配置文件。

--progress-format 格式

    显示进度日志的格式: defaultappendinplacejson

-t, --target 字符串

    如果适用,要使用的捆绑包目标