Azure 自动化任务预览中的错误请求

问题描述 投票:0回答:1

我创建了一堆任务来停止、取消分配和重新启动 Azure 上的一些虚拟机,它们可以工作,但所有这些任务都报告为失败,因为逻辑应用工作流上的执行块不断抛出 400 错误请求错误。

还有其他人出现这些症状吗?

错误代码:

{ "error": { "code": 400, "source": "logic-apis-brazilsouth.azure-apim.net", "clientRequestId": "XXXX", "message": "The response is not in a JSON format.", "innerError": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">\r\n<HTML><HEAD><TITLE>Bad Request</TITLE>\r\n<META HTTP-EQUIV=\"Content-Type\" Content=\"text/html; charset=us-ascii\"></HEAD>\r\n<BODY><h2>Bad Request - Request Too Long</h2>\r\n<hr><p>HTTP Error 400. The size of the request headers is too long.</p>\r\n</BODY></HTML>\r\n" } }

azure azure-automation
1个回答
0
投票

它对我有用,要使用该操作释放虚拟机,您需要从下拉列表中正确选择现有的虚拟机,否则您可以单击输入自定义值并输入名称,或者您可以使用包含名称的字符串变量。

设计:

enter image description here

enter image description here 输出:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.