你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az fzf

Note

此参考是 Azure CLI 的 fzf 扩展的一部分(版本 2.9.0 或更高版本)。 该扩展将在首次运行 az fzf 命令时自动安装。 了解更多关于扩展的信息。

用于通过 fzf 选择活动对象或默认对象的命令。

使用简单的选择界面(fzf)选择活动订阅或设置默认值。

搜索语法:

令牌匹配类型说明


sbtrkt fuzzy-match Items that match sbtrkt 'wild exact-match (quoted) Items that include wild ^music prefix-exact-match Items that start with music .mp3$ suffix-exact-match Items that end with .mp3 !fire inverse-exact-match Items that not include fire !^music inverse-prefix-exact-match Items that not start with music !.mp3$ 反后缀-精确匹配项,不以.mp3结尾

有关搜索语法或 fzf 的详细信息,请参阅 fzf 项目页: https://github.com/junegunn/fzf#search-syntax

命令

名称 说明 类型 Status
az fzf group

选择默认资源组。

Extension GA
az fzf install

下载并安装 fzf 命令。

Extension GA
az fzf location

选择默认位置。

Extension GA
az fzf subscription

选择默认订阅。

Extension GA

az fzf group

选择默认资源组。

az fzf group [--filter]
             [--no-default]

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--filter -f

要传递给 fzf 的筛选器字符串。

--no-default -d

不要更改活动项或默认值,只需返回所选项。

属性
默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az fzf install

下载并安装 fzf 命令。

az fzf install [--install-dir]
               [--version]

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--install-dir -i

应安装 fzf 的目录的路径。

--version -v

要安装的 fzf 版本。

属性
默认值: latest
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az fzf location

选择默认位置。

az fzf location [--filter]
                [--no-default]

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--filter -f

要传递给 fzf 的筛选器字符串。

--no-default -d

不要更改活动项或默认值,只需返回所选项。

属性
默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az fzf subscription

选择默认订阅。

az fzf subscription [--filter]
                    [--no-default]

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--filter -f

要传递给 fzf 的筛选器字符串。

--no-default -d

不要更改活动项或默认值,只需返回所选项。

属性
默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

输出格式。

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False