如何创建Python类型的自动化操作手册?
我通过 azure cli 创建自动化运行手册 az Automation Runbook create --automation-account-name "Testing" --name "test_run_book" --resource-group "my_rg" --type "Python" 但是当我运行时,它显示类型错误。 我该怎么做?
I create an automation runbooks by azure cli
az automation runbook create --automation-account-name "Testing" --name "test_run_book" --resource-group "my_rg" --type "Python"
But when i run , it show type error .
How can i do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Python 不是可接受的“type”值;这些是 Microsoft Docs:
Graph、GraphPowerShell、GraphPowerShellWorkflow、PowerShell、PowerShellWorkflow、脚本
编辑:截至 22 年 9 月 3 日,无法使用 Azure CLI 创建 Python Runbook,但可以使用 Azure Powershell
Python is not an accepted value for 'type'; these are the accepted values from the Microsoft Docs:
Graph, GraphPowerShell, GraphPowerShellWorkflow, PowerShell, PowerShellWorkflow, Script
EDIT: As of 09/03/22, It is not possible to create a Python runbook using Azure CLI but it is possible using Azure Powershell