Azure 查找资源组配额

问题描述 投票:0回答:1

az container create --resource-group <my-resource-group> .......
如果已达到 ContainerGroupQuotaReached,我会收到错误消息:

(ContainerGroupQuotaReached) Resource type 'Microsoft.ContainerInstance/containerGroups' container group quota 'StandardCores' exceeded in region 'norwayeast'. Limit: '10', Usage: '10' Requested: '1'.

我发现

az quota ...
应该有帮助,但是:

az quota show --resource-name ContainerGroupQuotaReached \
--scope /subscriptions/<my account id>/providers/Microsoft.Compute/locations/norwayeast

(AuthorizationFailed) The client '<my client id>' with object id '<client object id>' does \
not have authorization to perform action 'Microsoft.Quota/quotas/read' over scope \
/subscriptions/<my account id>/providers/Microsoft.Compute/locations/norwayeast/providers/Microsoft.Quota/quotas/ContainerGroupQuotaReached'

我有一个有限的帐户,只能将容器推送和部署到资源组

有什么办法可以预先看到这个配额吗?

azure azure-cli
1个回答
0
投票
(AuthorizationFailed) The client '<my client id>' with object id '<client object id>' does \
not have authorization to perform action 'Microsoft.Quota/quotas/read' over scope \
/subscriptions/<my account id>/providers/Microsoft.Compute/locations/norwayeast/providers/Microsoft.Quota/quotas/ContainerGroupQuotaReached'

根据错误,您无权检查配额使用情况。要检查 subscription 上的

使用情况 + 配额
,您可能至少需要 配额请求运算符

> Is there a way I can see this quota up front?

或者,您可以导航至以下步骤,检查每个 region

norwayeast
StandardCores 配额限制。
转到

门户 > 订阅 > 使用 + 配额 > 提供商:Azure 容器实例 > 区域:norwayeast > 标准核心

enter image description here

参考资料:

更新特定资源的配额限制

使用

REST API

检查配额使用情况

© www.soinside.com 2019 - 2024. All rights reserved.