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

az fileshare

注释

此引用是 Azure CLI(版本 2.75.0 或更高版本) 的文件共享 扩展的一部分。 该扩展将在首次运行 az fileshare 命令时自动安装。 了解更多关于扩展程序的信息。

管理 Azure 文件共享。

命令

名称 说明 类型 Status
az fileshare check-name-availability

实现本地 CheckNameAvailability作。

Extension GA
az fileshare create

创建文件共享。

Extension GA
az fileshare delete

删除 FileShare。

Extension GA
az fileshare get-provisioning-recommendation

获取文件共享预配参数建议。

Extension GA
az fileshare limits-show

获取文件共享限制和预配常量。

Extension GA
az fileshare list

按订阅 ID 列出 FileShare 资源。

Extension GA
az fileshare private-endpoint-connection

管理文件共享的专用终结点连接。

Extension GA
az fileshare private-endpoint-connection approve

批准文件共享的专用终结点连接。

Extension GA
az fileshare private-endpoint-connection delete

删除与文件共享关联的指定专用终结点连接。

Extension GA
az fileshare private-endpoint-connection list

列出 PrivateEndpointConnection 列表。

Extension GA
az fileshare private-endpoint-connection reject

拒绝文件共享的专用终结点连接。

Extension GA
az fileshare private-endpoint-connection show

获取与文件共享关联的指定专用终结点连接。

Extension GA
az fileshare private-endpoint-connection update

更新与文件共享关联的指定专用终结点连接的状态。

Extension GA
az fileshare private-endpoint-connection wait

将 CLI 置于等待状态,直到满足条件。

Extension GA
az fileshare private-link-resource

管理文件共享的专用链接资源。

Extension GA
az fileshare private-link-resource list

列出需要为文件共享创建的专用链接资源。

Extension GA
az fileshare private-link-resource show

获取需要为文件共享创建的专用链接资源。

Extension GA
az fileshare show

获取 FileShare。

Extension GA
az fileshare snapshot

管理文件共享快照。

Extension GA
az fileshare snapshot create

创建 FileShareSnapshot。

Extension GA
az fileshare snapshot delete

删除 FileShareSnapshot。

Extension GA
az fileshare snapshot list

列出 FileShareSnapshot by FileShare。

Extension GA
az fileshare snapshot show

获取 FileShareSnapshot。

Extension GA
az fileshare snapshot update

更新 FileShareSnapshot。

Extension GA
az fileshare snapshot wait

将 CLI 置于等待状态,直到满足条件。

Extension GA
az fileshare update

更新 FileShare。

Extension GA
az fileshare usage-show

获取文件共享使用情况数据。

Extension GA
az fileshare wait

将 CLI 置于等待状态,直到满足条件。

Extension GA

az fileshare check-name-availability

实现本地 CheckNameAvailability作。

az fileshare check-name-availability --name
                                     [--acquire-policy-token]
                                     [--change-reference]
                                     [--ids]
                                     [--location]
                                     [--subscription]

示例

检查文件共享的名称可用性

az fileshare check-name-availability --location westus --name myfileshare

必需参数

--name

需要检查其可用性的资源的名称。

属性
参数组: Body Arguments

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--location -l

Location. az account list-locations 中的值。 可以使用 az configure --defaults location=<location> 配置默认位置。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare create

创建文件共享。

az fileshare create --name --resource-name
                    --resource-group
                    [--acquire-policy-token]
                    [--allowed-subnets]
                    [--change-reference]
                    [--location]
                    [--media-tier {SSD}]
                    [--mount-name]
                    [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                    [--protocol {NFS}]
                    [--provisioned-io-per-sec --provisioned-iops]
                    [--provisioned-storage-GiB --provisioned-storage-gi-b --storage-gib]
                    [--provisioned-throughput-MiB --provisioned-throughput-mi-b-per-sec --throughput-mibps]
                    [--public-network-access {Disabled, Enabled}]
                    [--redundancy {Local, Zone}]
                    [--root-squash {AllSquash, NoRootSquash, RootSquash}]
                    [--tags]

示例

使用 NFS 协议创建文件共享

az fileshare create --name MyFileShare --resource-group MyRG --location eastus --provisioned-storage-GiB 1024 --provisioned-iops 3000 --provisioned-throughput-MiB 125 --protocol NFS --redundancy Local

必需参数

--name --resource-name -n

文件共享的资源名称,由管理员通过Azure Resource Manager看到。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--allowed-subnets

允许访问的子网资源 ID 的空间分隔列表。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
参数组: Properties Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--location -l

未指定资源所在的地理位置,将使用资源组的位置。

属性
参数组: Resource Arguments
--media-tier

文件共享的存储介质层。

属性
参数组: Properties Arguments
接受的值: SSD
--mount-name

最终用户在装载共享时看到的文件共享的名称,例如在其作系统中采用 URI 或 UNC 格式。

属性
参数组: Properties Arguments
--no-wait

不等待长时间运行的操作完成。

属性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--protocol

此文件共享的文件共享协议。

属性
参数组: Properties Arguments
接受的值: NFS
--provisioned-io-per-sec --provisioned-iops

共享的预置 IO/秒。

属性
参数组: Properties Arguments
--provisioned-storage-GiB --provisioned-storage-gi-b --storage-gib

共享的预置存储大小(以 GiB 为单位)(1 GiB 为 1024^3 字节或 1073741824 字节)。 文件共享账单的一个组成部分是预配的存储,无论已使用的存储量如何。

属性
参数组: Properties Arguments
--provisioned-throughput-MiB --provisioned-throughput-mi-b-per-sec --throughput-mibps

共享的预置吞吐量/秒。

属性
参数组: Properties Arguments
--public-network-access

获取或设置允许或禁止对 Azure 托管文件共享的公共网络访问。

属性
参数组: Properties Arguments
接受的值: Disabled, Enabled
--redundancy

文件共享的所选冗余级别。

属性
参数组: Properties Arguments
接受的值: Local, Zone
--root-squash

根压缩定义了如何将客户端上的根用户映射到 NFS 共享。

属性
参数组: Properties Arguments
接受的值: AllSquash, NoRootSquash, RootSquash
--tags

资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
参数组: Resource Arguments
全局参数
--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 fileshare delete

删除 FileShare。

az fileshare delete [--acquire-policy-token]
                    [--change-reference]
                    [--ids]
                    [--name --resource-name]
                    [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                    [--resource-group]
                    [--subscription]
                    [--yes]

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--name --resource-name -n

文件共享的资源名称,由管理员通过Azure Resource Manager看到。

属性
参数组: Resource Id Arguments
--no-wait

不等待长时间运行的操作完成。

属性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
--yes -y

不请求确认。

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

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare get-provisioning-recommendation

获取文件共享预配参数建议。

az fileshare get-provisioning-recommendation --provisioned-storage-GiB --provisioned-storage-gi-b --storage-gib
                                             [--acquire-policy-token]
                                             [--change-reference]
                                             [--ids]
                                             [--location]
                                             [--subscription]

示例

获取文件共享的预配建议

az fileshare get-provisioning-recommendation --location eastus --provisioned-storage-GiB 1024

必需参数

--provisioned-storage-GiB --provisioned-storage-gi-b --storage-gib

共享所需的预配存储大小,以 GiB 为单位。 将用于计算剩余预配参数的值。

属性
参数组: Properties Arguments

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--location -l

Location. az account list-locations 中的值。 可以使用 az configure --defaults location=<location> 配置默认位置。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare limits-show

获取文件共享限制和预配常量。

az fileshare limits-show [--acquire-policy-token]
                         [--change-reference]
                         [--ids]
                         [--location]
                         [--subscription]

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--location -l

Location. az account list-locations 中的值。 可以使用 az configure --defaults location=<location> 配置默认位置。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare list

按订阅 ID 列出 FileShare 资源。

az fileshare list [--max-items]
                  [--next-token]
                  [--resource-group]

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--max-items

命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。

属性
参数组: Pagination Arguments
--next-token

用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。

属性
参数组: Pagination Arguments
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

全局参数
--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 fileshare show

获取 FileShare。

az fileshare show [--ids]
                  [--name --resource-name]
                  [--resource-group]
                  [--subscription]

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--name --resource-name -n

文件共享的资源名称,由管理员通过Azure Resource Manager看到。

属性
参数组: Resource Id Arguments
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare update

更新 FileShare。

az fileshare update [--acquire-policy-token]
                    [--allowed-subnets]
                    [--change-reference]
                    [--ids]
                    [--name --resource-name]
                    [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                    [--provisioned-io-per-sec --provisioned-iops]
                    [--provisioned-storage-GiB --provisioned-storage-gi-b --storage-gib]
                    [--provisioned-throughput-MiB --provisioned-throughput-mi-b-per-sec --throughput-mibps]
                    [--public-network-access {Disabled, Enabled}]
                    [--resource-group]
                    [--root-squash {AllSquash, NoRootSquash, RootSquash}]
                    [--subscription]
                    [--tags]

示例

更新文件共享的预配存储

az fileshare update --name MyFileShare --resource-group MyRG --provisioned-storage-GiB 2048

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--allowed-subnets

允许访问的子网资源 ID 的空间分隔列表。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
参数组: Properties Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--name --resource-name -n

文件共享的资源名称,由管理员通过Azure Resource Manager看到。

属性
参数组: Resource Id Arguments
--no-wait

不等待长时间运行的操作完成。

属性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--provisioned-io-per-sec --provisioned-iops

共享的预置 IO/秒。

属性
参数组: Properties Arguments
--provisioned-storage-GiB --provisioned-storage-gi-b --storage-gib

共享的预置存储大小(以 GiB 为单位)(1 GiB 为 1024^3 字节或 1073741824 字节)。 文件共享账单的一个组成部分是预配的存储,无论已使用的存储量如何。

属性
参数组: Properties Arguments
--provisioned-throughput-MiB --provisioned-throughput-mi-b-per-sec --throughput-mibps

共享的预置吞吐量/秒。

属性
参数组: Properties Arguments
--public-network-access

获取或设置允许或禁止对 Azure 托管文件共享的公共网络访问。

属性
参数组: Properties Arguments
接受的值: Disabled, Enabled
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

属性
参数组: Resource Id Arguments
--root-squash

根压缩定义了如何将客户端上的根用户映射到 NFS 共享。

属性
参数组: Properties Arguments
接受的值: AllSquash, NoRootSquash, RootSquash
--subscription

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

属性
参数组: Resource Id Arguments
--tags

资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
参数组: Properties Arguments
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare usage-show

获取文件共享使用情况数据。

az fileshare usage-show [--acquire-policy-token]
                        [--change-reference]
                        [--ids]
                        [--location]
                        [--subscription]

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--location -l

Location. az account list-locations 中的值。 可以使用 az configure --defaults location=<location> 配置默认位置。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False

az fileshare wait

将 CLI 置于等待状态,直到满足条件。

az fileshare wait [--acquire-policy-token]
                  [--change-reference]
                  [--created]
                  [--custom]
                  [--deleted]
                  [--exists]
                  [--ids]
                  [--interval]
                  [--name --resource-name]
                  [--resource-group]
                  [--subscription]
                  [--timeout]
                  [--updated]

可选参数

以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。

--acquire-policy-token

为此资源操作自动获取Azure Policy令牌。

属性
参数组: Global Policy Arguments
--change-reference

此资源操作的相关更改引用 ID。

属性
参数组: Global Policy Arguments
--created

等待在“Succeeded”中使用“provisioningState”创建。

属性
参数组: Wait Condition Arguments
默认值: False
--custom

等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

属性
参数组: Wait Condition Arguments
--deleted

等到删除为止。

属性
参数组: Wait Condition Arguments
默认值: False
--exists

等待资源存在。

属性
参数组: Wait Condition Arguments
默认值: False
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
参数组: Resource Id Arguments
--interval

轮询间隔(以秒为单位)。

属性
参数组: Wait Condition Arguments
默认值: 30
--name --resource-name -n

文件共享的资源名称,由管理员通过Azure Resource Manager看到。

属性
参数组: Resource Id Arguments
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

属性
参数组: Resource Id Arguments
--subscription

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

属性
参数组: Resource Id Arguments
--timeout

最大等待(以秒为单位)。

属性
参数组: Wait Condition Arguments
默认值: 3600
--updated

等到 provisioningState 更新为“Succeeded”。

属性
参数组: Wait Condition Arguments
默认值: False
全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

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

输出格式。

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

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

--verbose

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

属性
默认值: False