问题描述
我一直在使用ARM模板来部署API管理配置,在过去的几周中,它一直运行良好.由于昨天部署未更改ARM模板中的任何内容,此部署突然失败,因此最后一次成功 部署于 12/19/2018,3:15:45 PM.
I have been using an ARM template to deploy API Management configuration, this has been working very well for the last couple of weeks. Since yesterday this deployment suddenly fails without having changed anything in the ARM template, the last successfull deploy was on 12/19/2018, 3:15:45 PM.
原始错误是:
{
"代码":"DeploymentFailed",
消息":至少一项资源部署操作失败.请列出部署操作以获取详细信息.有关用法的详细信息,请参见https://aka.ms/arm-debug.,
详细信息":[
{
"代码":"InternalServerError",
消息":"{\ r \ n \错误":{\ r \ n \"code \":\"ResourceDeploymentFailure \",\ r \ n \"message \":\未知资源响应 \'"\ r \ n 代码. } \ r \ n}"
}
]
}
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "InternalServerError",
"message": "{\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The unknown resource response code 'NoContent' is encountered.\"\r\n }\r\n}"
}
]
}
比较上一次成功部署和失败的部署模板,它们是完全相同的.
有人遇到过吗?
Comparing the deployment template of the last successfull deploy and the one that fails, they are exactly the same.
Has anyone encountered this?
推荐答案
这可能是暂时性的问题.一段时间后您是否再次尝试部署?
It could be a transient issue. Have you tried deployment again after some time?
您是否可以与位置"详细信息共享您正在使用的模板(删除机密和个人配置),以便我可以尝试在自己身边进行复制.
Would it be possible for you to share your template (removing secrets and personal configuration) that you are using with Location details so that I can try repro this at my side.
如果您有支持计划,也可以联系Microsoft支持.
You can also contact Microsoft Support if you have a support plan.
这篇关于通过ARM模板进行的API管理部署突然失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!