【问题标题】:ARM template to create storage account with both blob and table使用 Blob 和表创建存储帐户的 ARM 模板
【发布时间】:2020-09-04 23:41:23
【问题描述】:

是否可以通过 ARM 模板 创建带有 blob 容器和表存储的 Azure 存储帐户?我看到了创建存储帐户和 blob 容器 (https://docs.microsoft.com/en-us/azure/templates/microsoft.storage/2019-04-01/storageaccounts) 的示例,但不是 blob 和表。请提供一些有用的文件。

创建 blob 和表需要对以下代码进行哪些更改:

"resources": [
    {
      "type": "Microsoft.Storage/storageAccounts",
      "name": "[parameters('name')]",
      "apiVersion": "2019-04-01",      
      "location": "[resourceGroup().location]",
      "kind": "StorageV2",
      "sku": {
        "name": "[parameters('sku')]"
      },
      "properties": {
        "supportsHttpsTrafficOnly": true
      },
      "identity": {
        "type": "SystemAssigned"
      }
    }
  ]

【问题讨论】:

    标签: azure-table-storage azure-blob-storage arm-template


    【解决方案1】:

    我相当肯定表创建尚不支持。 blob\files 是。

    https://docs.microsoft.com/en-us/rest/api/storagerp/

    【讨论】:

      猜你喜欢
      • 2020-07-18
      • 2019-07-23
      • 2018-02-09
      • 1970-01-01
      • 2021-01-31
      • 2020-10-02
      • 1970-01-01
      • 2019-01-17
      • 2022-07-19
      相关资源
      最近更新 更多