简体   繁体   English

如何使用ARM模板为azure自动化设置账户运行?

[英]How to set run as account for azure automation using ARM template?

I want to set run as account for an automation account.我想为自动化帐户设置运行方式帐户。 Is it possible to do it using ARM template?是否可以使用 ARM 模板来完成? Thank you so much.太感谢了。

As stated in this documentation , creating the Run As Account from an ARM template is not supported (see the note).如本文档中所述,不支持从 ARM 模板创建运行方式帐户(请参阅注释)。 Only the Automation Account can be created.只能创建自动化帐户。

What you can do instead - create a Powershell script that triggers the creation of the Automation Account using an ARM template first, and creates the Run As Account afterwards.您可以改为 - 创建一个 Powershell 脚本,该脚本首先使用 ARM 模板触发自动化帐户的创建,然后创建运行方式帐户。 See Create an Azure Automation Run As Account .请参阅创建 Azure 自动化运行方式帐户

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ARM 存储帐户上的文件共享模板 - ARM Template for FileShare on Storage Account 使用 ARM 模板创建 Azure Function 密钥失败 - Creating Azure Function Key using ARM template fails 如何在 Azure DevOps 管道中引用 GitHub 中托管的 ARM 模板? - How to reference an ARM Template hosted in GitHub in an Azure DevOps Pipeline? Azure 容器实例 FQDN - 我如何在 ARM 中设置它(使用 az create 不起作用) - Azure Container Instance FQDN - how do I set it in the ARM (using az create does not work) 在 Azure 自动化账户(powershell)中将字符串转换为日期时间 - Convert string to datetime in Azure automation Account (powershell) 如何在嵌套的 ARM 模板中设置对子资源的依赖? - How can I set dependencies on child resources in nested ARM template? Azure 媒体视频分析器 - ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM - Azure Video Analyzer for Media - ARM_ACCOUNT_MUST_BE_MANAGED_BY_ARM ARM 模板 - 存储帐户 - 将专用终结点添加到现有存储帐户 - ARM template - storage account - add private endpoint to existing storage account Azure 自动化帐户:Azure VM 的设置更新管理 - Azure Automation Account: Setup Update management for Azure VMs 通过 ARM 模板使用单个 azure 资源向多个用户添加 RBAC 角色 - Adding a RBAC role to multiple users using single azure resource via ARM template
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM