简体   繁体   English

azure,通过 arm 模板添加提供程序

[英]azure, add provider by arm template

Is there a way to allow resource providers to be provisioned by users inside an ARM template?有没有办法允许用户在 ARM 模板中配置资源提供程序? I can currently only see a way to do so by PowerShell or going to the subscription directly.我目前只能看到一种通过 PowerShell 或直接进入订阅的方法。

Based on my knowledge, you could not use template to register provider.根据我的知识,您不能使用模板来注册提供程序。

I can currently only see a way to do so by PowerShell or going to the subscription directly.我目前只能看到一种通过 PowerShell 或直接进入订阅的方法。

You also could use Azure CLI to register provider.您还可以使用 Azure CLI 来注册提供程序。

az provider register --namespace Microsoft.Batch

More information please refer to this document .更多信息请参考本文档

You can refer a following link to register using ARM Portal您可以参考以下链接使用 ARM Portal 进行注册

https://www.dotnetpiper.com/2020/05/resource-provider-registration-using.html https://www.dotnetpiper.com/2020/05/resource-provider-registration-using.html

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM