0

很奇怪,一切都运行良好,但突然我开始收到这条关于 ARM 部署的消息。作为测试的一部分,我什至已经使用脚本完成了 10 个 webapp 部署:New-AzureRmResourceGroupDeployment

New-AzureRmResourceGroupDeployment -Name ((Get-ChildItem $TemplateFile).BaseName + '-' + ((Get-Date).ToUniversalTime()).ToString('MMdd-HHmm')) `
                                                       -ResourceGroupName $ResourceGroupName `
                                                       -TemplateFile $TemplateFile `
                                                       -TemplateParameterFile $TemplateParameterFileAzureLocalLink `
                                                       -Force -Verbose

===============================错误信息如下=============== =

New-AzureRmResourceGroupDeployment : 6:33:49 PM - "Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for 
details. Please see https://aka.ms/arm-debug for usage details."
At D:\Azure\trial\runscript_localfiles_working_june6.ps1:116 char:25
+                         New-AzureRmResourceGroupDeployment -Name ((Get-ChildItem ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureResourceGroupDeploymentCommand

New-AzureRmResourceGroupDeployment : 'string' does not contain a definition for 'error'
At D:\Azure\trial\runscript_localfiles_working_june6.ps1:116 char:25
+                         New-AzureRmResourceGroupDeployment -Name ((Get-ChildItem ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : CloseError: (:) [New-AzureRmResourceGroupDeployment], RuntimeBinderException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureResourceGroupDeploymentCommand

任何建议,因为这让我吓坏了!:(

提前感谢您的考虑

4

0 回答 0