越来越模糊的错误信息attemtping创造的Azure PowerShell中使用AzureResourceManager模式SQL数据库时, [英] Getting vague error message when attemtping to create a SQL Database using AzureResourceManager mode in Azure Powershell

查看:200
本文介绍了越来越模糊的错误信息attemtping创造的Azure PowerShell中使用AzureResourceManager模式SQL数据库时,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在下面(加回车的可读性)的例子我能创建资源组和SQL Server就好了。当我运行线#19我得到模糊的错误消息:

In the example below (added carriage returns for readability) I am able to create a resource group and Sql Server just fine. When I run line #19 I get the vague error message:

错误请求:处理此请求时出错

BadRequest: An error occurred while processing this request.

我已经打了一堵墙没有适当的反馈,以帮助我们解决问题。我可以创建AzureServiceManager模式数据库就好了,但我希望能够使用资源组来管理我的数据库。没有可用于这种情况下这么少的信息,所有信息点我在正确的方向将更加AP preciated!

I've hit a wall without the proper feedback to help me troubleshoot. I can create databases in AzureServiceManager mode just fine, but I'd like to be able to use resource groups to manage my databases. There is so little information available for this scenario so any information to point me in the right direction will be much appreciated!

推荐答案

我认为你应该使用新AzureRmResource 而不是的新AzureResource ;因为你在资源管理器模式下工作,唯一的命令来创建一个新的Azure资源是使用新AzureRmResource

I think you should use New-AzureRmResource instead of New-AzureResource; since you're working in resource manager mode, the only command to create a new Azure resource is to use New-AzureRmResource.

这篇关于越来越模糊的错误信息attemtping创造的Azure PowerShell中使用AzureResourceManager模式SQL数据库时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆