英文:
What is the better technique to identify and select region in Azure?
问题
我正在尝试通过在Azure门户中选择“容器的Web应用程序”选项来创建容器的Web应用程序。
当选择了“Canada Central”地区时,出现以下错误:
> 此地区对于您的订阅有1个实例的配额。尝试选择不同的地区或SKU。
当选择了“East US”地区时,出现以下错误:
> 此地区对于您的订阅没有实例的配额。尝试选择不同的地区或SKU。
以下是我的疑问:
有没有办法在不经历这些验证错误的情况下确定要选择哪个地区?或者,只是选择一个特定的地区然后碰运气吗?
英文:
I'm trying to create Web App for Containers by selecting "Web App For Containers" option in Azure Portal.
When selected region as "Canada Central", got the below error:
> This region has quota of 1 instances for your subscription. Try selecting different region or SKU.
When selected region as "East US", got the below error:
> The region has quota of 0 instances for your subscription. Try selecting different region or SKU.
Below is my doubt:
Is there anyway to identify what region to select without experiencing these validation errors? Or, is it just a game of selecting one particular region and try our luck?
答案1
得分: 0
为了避免这些验证错误并确定可用配额的区域,您可以尝试检查您当前的订阅配额。可以使用 Azure 门户或 Azure CLI 来执行此操作。以下是操作指南:
在 Azure 门户中,导航到“订阅”页面,选择您的订阅。
然后,在“使用情况 + 配额”部分下,您将找到各种资源的配额,包括实例。
如果您更喜欢使用 CLI,可以执行以下命令:
az vm list-usage --subscription SUBSCRIPTION_ID
英文:
To avoid these validation errors and identify the regions with available quota, you can try checking your current subscription quotas.This can be done using the Azure Portal or Azure CLI. Here is a guide to do so:
> In Azure Portal Navigate to the "Subscriptions" page and select your subscription. > Then, under the "Usage + quotas" section, you will find the quotas for various
> resources, including instances.
> If you prefer using CLI here you go,
az vm list-usage --subscription SUBSCRIPTION_ID
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论