与
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'
我有一个有限的帐户,只能将容器推送和部署到资源组
有什么办法可以预先看到这个配额吗?
(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 > 标准核心
参考资料:
更新特定资源的配额限制 REST API