现在我想通过ARM模板导入Python包。请帮我在这里输入图像描述
发布于 2022-03-16 05:47:24
您可以参考本文件来设置一个ARM模板来部署您的Azure自动化帐户。
在设置ARM模板之后:
发布于 2022-03-16 10:08:32
要实现自动化,请下载并在Azure自动化帐户中添加python包:
第一步:你必须创建Azure Run作为帐户。
步骤2:创建运行簿,您可以导入Python3包及其依赖项,方法是将跟随Python脚本导入Python3运行簿,然后运行它
步骤3:启动运行簿,您必须为runbook添加以下参数:
subscription_id (-s) - Subscription id of the Automation account
resource_group (-g) - Resource group name of the Automation account
automation_account (-a) - Automation account name
module_name (-m) - Name of module to import from pypi.orghttps://stackoverflow.com/questions/71491861
复制相似问题