我已经创建了 Azure SQL 托管实例,并且我想创建将用于访问该实例的客户端 VM。我已经从 Azure 门户复制了配置脚本:
当我通过 PowerShell 执行此脚本时,出现以下错误:
新 AzureRmResourceGroupDeployment:下午 5:06:13 - 错误:代码 = InvalidTemplateDeployment;Message=根据验证过程,模板部署“azuredeploy”无效。跟踪 ID 为“8bc76e8d-3070-44a3-bc43-58bbeeac20d8”。有关详细信息,请参阅内部错误。有关使用详情,请参阅https://aka.ms/arm-deploy。
在 line:179 char:1
+ New-AzureRmResourceGroupDeployment -ResourceGroupName $resourceGroupN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment ],异常
+ FullyQualifiedErrorId:Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet新 AzureRmResourceGroupDeployment:下午 5:06:14 - 错误:代码 = QuotaExceeded;Message=Operation 导致超出 Core 的配额限制。最大允许:100,当前使用:100,额外请求:2。请在http://aka.ms/corequotaincrease阅读有关配额增加的更多信息。在 line:179 char:1
+ New-AzureRmResourceGroupDeployment -ResourceGroupName $resourceGroupN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment ],异常
+ FullyQualifiedErrorId:Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
如果这些解释为什么会发生这个错误并且很热,看看当前的配额是多少?