【发布时间】:2021-08-09 17:30:48
【问题描述】:
为了测试 ARM 模板,我们首先将它们部署在测试资源组中。在晚上 7 点,这些资源组将被自动删除。昨天它工作正常,今天我无法再部署到相同的测试资源组名称。好久没换模板了。
我在 Azure 门户的任何地方都找不到这个软删除的服务,也不知道如何清除它。
14:43:17 - Error: Code=FlagMustBeSetForRestore; Message=An existing resource with ID
| '/subscriptions/GUID/resourceGroups/myRG/providers/Microsoft.CognitiveServices/accounts/my-ta-zneztme4oqjb2' has been
| soft-deleted. To restore the resource, you must specify 'restore' to be 'true' in the property. If you don't want to restore existing resource, please purge it first.
【问题讨论】:
-
我也无法删除 Azure 表单识别器资源。我遇到了同样的错误。这个你搞定了吗?
-
不,我昨天尝试的时候刚刚成功。我能够再次部署它。
-
花了一天时间吗? 1天后我才试了,还是不行
-
不止于此。我星期四问了问题,它可能在星期二开始工作。我可能周一没有检查。当我在 Twitter 上询问 Azure 支持时,他们给了我这个链接:docs.microsoft.com/en-us/rest/api/apimanagement/…。它用于错误的服务,但文本分析可能也存在这样的端点。
标签: azure azure-resource-manager azure-cognitive-services