[英]Azure Storage: Deploy Queue via ARM template
Is there a way to deploy Queues within a Storage Account via ARM templates?有没有办法通过 ARM 模板在存储帐户中部署队列? Haven't found an option so far.
目前还没有找到一个选项。
If yes, how?如果是,如何? If not, is it planned to provide this capability?
如果没有,是否计划提供这种能力? If not and not planned, which approach do you recommend for automated deployments?
如果没有也没有计划,您建议使用哪种方法进行自动化部署?
Thanks谢谢
Is there a way to deploy Queues within a Storage Account via ARM templates?
有没有办法通过 ARM 模板在存储帐户中部署队列?
No, it's not support now .不,现在不支持。
ARM templates could deploy Azure Storage accounts, blob container, but not support to deploy queues, or tables within storage account . ARM 模板可以部署 Azure 存储帐户、blob 容器,但不支持在存储帐户中部署队列或表。 Here is a link to a sample template to create a container: https://azure.microsoft.com/en-us/resources/templates/101-storage-blob-container/
以下是用于创建容器的示例模板的链接: https://azure.microsoft.com/en-us/resources/templates/101-storage-blob-container/
You can vote up your voice to this feedback to promote the further achieved.您可以对此反馈投票,以促进进一步取得的成就。
A few ways you can think about data plane operations in deployment/apps您可以考虑部署/应用程序中的数据平面操作的几种方法
1) the code that consumes the queue can create on init if it doesn't exist 1)如果队列不存在,消费队列的代码可以在init上创建
2) if you're deploying via a pipeline, use a pipeline task to perform data plane operations 2)如果您通过管道进行部署,请使用管道任务来执行数据平面操作
3) in a template use the deploymentScript resource to create it - this is a bit heavyweight for the task you need, but it will work. 3) 在模板中使用deploymentScript资源来创建它 - 这对于您需要的任务来说有点重量级,但它会起作用。
That help?这种帮助?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.