Jac*_*eja 5 azure azure-cloud-shell
我刚刚尝试使用在 Build 2017 上宣布的新奇 Azure Cloud Shell,但收到以下错误(作为 json 消息):
{
"error": {
"code": "MissingSubscriptionRegistration",
"message": "The subscription is not registered to use namespace 'Microsoft.Storage'"
}
}
Run Code Online (Sandbox Code Playgroud)
我用谷歌搜索了这个并找到了答案,建议我需要注册一个资源提供者:
Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Storage
Run Code Online (Sandbox Code Playgroud)
或者
azure provider register Microsoft.Storage
Run Code Online (Sandbox Code Playgroud)
...但我懒得设置到 Azure 的命令行会话。
如何使用 Azure 门户执行此操作?
我通过探索找到了答案:资源提供程序隐藏在订阅 -> {我的订阅} -> 资源提供程序 -> Microsoft.Storage -> 注册中。
| 归档时间: |
|
| 查看次数: |
4626 次 |
| 最近记录: |