deploy/azure/az/storage/catalog/deploystorage.json

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "catalogstorage": {
      "type": "string"
    },
    "profileName" : {
      "type": "string"
    },
    "endpointName" : {
      "type": "string"
    }
  },
  "variables": {
    "catalogstorage": "[concat(parameters('catalogstorage'), uniqueString(resourceGroup().id))]",
    "endpointName": "[concat(parameters('endpointName'), uniqueString(resourceGroup().id))]",
    "profileName": "[parameters('profileName')]"
  },
  "resources": [
    {
      "type": "Microsoft.Storage/storageAccounts",
      "name": "[variables('catalogstorage')]",
      "apiVersion": "2016-01-01",
      "location": "[resourceGroup().location]",
      "tags": {
        "displayName": "[variables('catalogstorage')]"
      },
      "sku": {
        "name": "Standard_LRS"
      },
      "kind": "Storage"
    },
    {
      "name": "[variables('profileName')]",
      "type": "Microsoft.Cdn/profiles",
      "location": "[resourceGroup().location]",
      "apiVersion": "2016-04-02",
      "tags": {
        "displayName": "[variables('profileName')]"
      },
      "sku": {
        "name": "Standard_Verizon"
      },
      "resources": [
        {
          "apiVersion": "2016-04-02",
          "name": "[variables('endpointName')]",
          "type": "endpoints",
          "dependsOn": [
            "[variables('profileName')]",
            "[variables('catalogstorage')]"
          ],
          "location": "[resourceGroup().location]",
          "tags": {
            "displayName": "[variables('endpointName')]"
          },
          "properties": {
            "originHostHeader": "[replace(replace(reference(resourceId('Microsoft.Storage/storageAccounts', variables('catalogstorage')),'2015-06-15' ).primaryEndpoints.blob,'https://',''),'/','')]",
            "isHttpAllowed": true,
后面还有 34 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。