|
15 | 15 | "description": "The name of the function app." |
16 | 16 | } |
17 | 17 | }, |
18 | | - "appServicePlanName": { |
19 | | - "type": "string", |
20 | | - "defaultValue": "[concat('datadog-asp-', newGuid())]", |
21 | | - "metadata": { |
22 | | - "description": "The name of the app service plan." |
23 | | - } |
24 | | - }, |
25 | 18 | "eventhubName": { |
26 | 19 | "type": "string", |
27 | 20 | "defaultValue": "datadog-eventhub", |
|
87 | 80 | "minimumTlsVersion": "TLS1_2" |
88 | 81 | } |
89 | 82 | }, |
90 | | - { |
91 | | - "type": "Microsoft.Web/serverfarms", |
92 | | - "apiVersion": "2024-04-01", |
93 | | - "name": "[parameters('appServicePlanName')]", |
94 | | - "location": "[parameters('location')]", |
95 | | - "sku": { |
96 | | - "name": "Y1", |
97 | | - "tier": "Dynamic" |
98 | | - }, |
99 | | - "kind": "functionapp", |
100 | | - "properties": { |
101 | | - "zoneRedundant": false |
102 | | - } |
103 | | - }, |
104 | 83 | { |
105 | 84 | "apiVersion": "2024-04-01", |
106 | 85 | "type": "Microsoft.Web/sites", |
107 | 86 | "name": "[parameters('functionAppName')]", |
108 | 87 | "location": "[parameters('location')]", |
109 | 88 | "kind": "functionapp", |
110 | 89 | "dependsOn": [ |
111 | | - "[resourceId('Microsoft.Web/serverfarms', parameters('appServicePlanName'))]", |
112 | 90 | "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]" |
113 | 91 | ], |
114 | 92 | "properties": { |
115 | 93 | "name": "[parameters('functionAppName')]", |
116 | | - "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('appServicePlanName'))]", |
117 | 94 | "clientAffinityEnabled": false, |
118 | 95 | "siteConfig": { |
119 | 96 | "cors": { |
|
0 commit comments