如何创建Python类型的自动化操作手册?

发布于 2025-01-12 18:29:27 字数 183 浏览 6 评论 0原文

我通过 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泡沫很甜 2025-01-19 18:29:27

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文