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

az quota request

Note

This reference is part of the quota extension for the Azure CLI (version 2.54.0 or higher). 该扩展会在首次运行 az quota request 命令时自动安装。 Learn more about extensions.

管理配额请求详细信息和状态。

命令

名称 说明 类型 Status
az quota request list

列出指定的范围,获取在进行时结束的一年期限的当前配额请求。 Use the oData filter to select quota requests.

Extension GA
az quota request show

按特定位置资源提供程序资源的配额请求 ID 显示配额请求详细信息和状态。

Extension GA
az quota request status

使用配额管理配额请求状态。

Extension GA
az quota request status list

对于指定的范围,获取在一年内结束的一年配额请求。 Use the oData filter to select quota requests.

Extension GA
az quota request status show

根据特定位置的资源的资源配额请求 ID 获取配额请求详细信息和状态。 The quota request ID id is returned in the response of the PUT operation.

Extension GA

az quota request list

列出指定的范围,获取在进行时结束的一年期限的当前配额请求。 Use the oData filter to select quota requests.

az quota request list --scope
                      [--filter]
                      [--max-items]
                      [--next-token]
                      [--skiptoken]
                      [--top]

示例

列出来自网络的配额请求

az quota request list --scope /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus --top 3

必需参数

--scope

目标 Azure 资源 URI。

可选参数

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

--filter

支持的运算符:ge、le、eq、gt、lt。 示例:provisioningState eq {QuotaRequestState}, resourceName eq {resourceName}。

--max-items

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

属性
Parameter group: Pagination Arguments
--next-token

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

属性
Parameter group: Pagination Arguments
--skiptoken

The Skiptoken parameter is used only if a previous operation returned a partial result. If a previous response contains a nextLink element, its value includes a skiptoken parameter that specifies a starting point to use for subsequent calls.

--top

要返回的记录数。

全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

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

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

Output format.

属性
默认值: 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 quota request show

按特定位置资源提供程序资源的配额请求 ID 显示配额请求详细信息和状态。

az quota request show --id
                      --scope

示例

显示网络的配额请求

az quota request show --scope /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus --id resourcename/subRequestId

必需参数

--id

配额请求 ID。 ResourceName 或 subRequestId。

--scope

目标 Azure 资源 URI。

全局参数
--debug

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

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

显示此帮助消息并退出。

--only-show-errors

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

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

Output format.

属性
默认值: 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