Skip to content

Instantly share code, notes, and snippets.

@brianrandell
Last active March 1, 2020 05:30
Show Gist options
  • Save brianrandell/4d4b03e872548a3d73b06ed8cac11dc2 to your computer and use it in GitHub Desktop.
Save brianrandell/4d4b03e872548a3d73b06ed8cac11dc2 to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"webAppName": {
"type": "string",
"metadata": {
"description": "Web Application Name"
}
}
},
"variables": {},
"resources": [
{
"name": "[parameters('webAppName')]",
"type": "Microsoft.Web/sites",
"apiVersion": "2016-08-01",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', 'vsl2020las-plan')]"
],
"properties": {
"name": "[parameters('webAppName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', 'vsl2020las-plan')]"
}
},
{
"name": "vsl2020las-plan",
"type": "Microsoft.Web/serverfarms",
"apiVersion": "2018-02-01",
"location": "[resourceGroup().location]",
"sku": {
"name": "S1",
"capacity": 1
},
"tags": {
"displayName": "vsl2020las-plan"
},
"properties": {
"name": "vsl2020las-plan"
}
}
],
"outputs": {},
"functions": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment