azure - Azure:创建或更新虚拟机 AzureMolyVM1 时出错 - Azure 错误:SkuNotAvailable
问题描述
我正在尝试在 Azure 上创建一个 VM。我有现收现付订阅计划,但目前仍在免费时间。
挑战是我无法找到在任何地区都可用的单个 VM。我去创建虚拟机,然后我选择链接来选择一个 VM 大小,所有大小都被禁用。我无法选择任何东西。
我尝试的下一件事是使用 Ansible。在 powershell 上,我可以看到该图像在我的区域中非常可用。
$ az vm image list -f CentOS -l canadacentral
[
{
"offer": "CentOS",
"publisher": "OpenLogic",
"sku": "7.5",
"urn": "OpenLogic:CentOS:7.5:latest",
"urnAlias": "CentOS",
"version": "latest"
}
]
但是使用此映像创建 VM 会引发以下错误:
"Error creating or updating virtual machine azuremolyvm3 - Azure Error: SkuNotAvailable\nMessage:
The requested size for resource
'/subscriptions/fgfgfgfg-4cf4-43b8-b29f-f6448ecf09bd/resourceGroups/molygp/providers/Microsoft.Compute/virtualMachines/azuremolyvm3' is currently not available in location 'canadacentral' zones '' for subscription 'fgfgfgfg-4cf4-43b8-b29f-f6448ecf09bd'.
Please try another size or deploy to a different location or zones.
See https://aka.ms/azureskunotavailable for details.",
我错过了什么?
解决方案
推荐阅读
- html - 水平内联无序列表溢出之间的间距
- python - 哪个对象检测更快?
- php - 将数组合并为 1
- asp.net - MSBuild 16 在没有安装 Visual Studio 的情况下不会发布
- android - 如何为 Dagger 2 提供上下文?
- asp.net - [Authorize(Policy = "PolicyName")] 如何在 asp.net 核心中工作?
- android - 如何在随机位置在屏幕上添加 N 个 ImageViews。由于 AbsoluteLayout 已被弃用
- c++ - 在 clang 和 gcc 中是否有 Visual C++ __declspec(属性声明属性)的替代方法?
- python - Python 和 C 的单一源文件
- python - 有 python 请求的新手