Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
101 lines (100 sloc) 2.98 KB
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"aseName": {
"type": "string",
"metadata": {
"description": "Name of the App Service Environment"
}
},
"aseLocation": {
"type": "string",
"allowedValues": [
"Central US",
"East US",
"East US 2",
"North Central US",
"South Central US",
"West US",
"Canada Central",
"North Europe",
"West Europe",
"East Asia",
"Southeast Asia",
"Japan East",
"Japan West",
"Brazil South",
"Australia East",
"Australia Southeast",
"West India",
"Central India",
"South India"
],
"metadata": {
"description": "Location of the App Service Environment"
}
},
"ipSslAddressCount": {
"type": "int",
"defaultValue": 0,
"metadata": {
"description": "Number of IP addresses for the IP-SSL address pool. This value *must* be zero when internalLoadBalancing mode is set to either 1 or 3."
}
},
"existingVNETRG": {
"type": "string",
"metadata": {
"description": "change to VNET Resource Group"
}
},
"existingVnetName": {
"type": "string",
"metadata": {
"description": "VNET name"
}
},
"subnetName": {
"type": "string",
"metadata": {
"description": "Subnet name that will contain the App Service Environment"
}
},
"internalLoadBalancingMode": {
"type": "int",
"defaultValue": 3,
"metadata": {
"description": "0 = public VIP only, 1 = only ports 80/443 are mapped to ILB VIP, 2 = only FTP ports are mapped to ILB VIP, 3 = both ports 80/443 and FTP ports are mapped to an ILB VIP."
}
},
"dnsSuffix": {
"type": "string",
"metadata": {
"description": "Used *only* when deploying an ILB enabled ASE. Set this to the root domain associated with the ASE. For example: contoso.com"
}
}
},
"variables": {
"existingVnetResourceID": "[resourceId(parameters('existingVNETRG'),'Microsoft.Network/virtualNetworks', parameters('existingVnetName'))]"
},
"resources": [
{
"apiVersion": "2015-08-01",
"type": "Microsoft.Web/hostingEnvironments",
"name": "[parameters('aseName')]",
"kind": "ASEV2",
"location": "[parameters('aseLocation')]",
"properties": {
"name": "[parameters('aseName')]",
"location": "[parameters('aseLocation')]",
"ipSslAddressCount": "[parameters('ipSslAddressCount')]",
"internalLoadBalancingMode": "[parameters('internalLoadBalancingMode')]",
"dnsSuffix" : "[parameters('dnsSuffix')]",
"virtualNetwork": {
"Id": "[variables('existingVnetResourceId')]",
"Subnet": "[parameters('subnetName')]"
}
}
}
]
}
You can’t perform that action at this time.