使用 ARM 的 Azure Blob 存储容器存储访问策略
问题描述:
有没有办法通过 ARM 模板为 Azure Blob 容器创建存储访问策略?如果是,如何?
Is there a way to create a Stored Access Policy for Azure Blob Containers through an ARM template? If yes how?
另见https://docs.microsoft.com/en-us/rest/api/storageservices/buildinging-a-stored-access-policy
谢谢
答
不,这是不可能的.这个 api 不是通过 ARM 公开的 >> 你不能在 arm 模板中使用它.
No, this is not possible. This api is not exposed through ARM >> you cannot use it in arm templates.
https://docs.microsoft.com/en-us/rest/api/storagerp/storageaccounts/create