Adjusted ARM template for Servlet sample to run on Windows.

This commit is contained in:
Tracy Boehrer 2019-09-05 14:44:55 -05:00
Родитель b1d549bb68
Коммит 99d9dd31f7
5 изменённых файлов: 8 добавлений и 92 удалений

Просмотреть файл

@ -1,42 +0,0 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"groupLocation": {
"value": ""
},
"groupName": {
"value": ""
},
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"newAppServicePlanLocation": {
"value": ""
},
"newWebAppName": {
"value": ""
}
}
}

Просмотреть файл

@ -1,39 +0,0 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appId": {
"value": ""
},
"appSecret": {
"value": ""
},
"botId": {
"value": ""
},
"botSku": {
"value": ""
},
"newAppServicePlanName": {
"value": ""
},
"newAppServicePlanSku": {
"value": {
"name": "S1",
"tier": "Standard",
"size": "S1",
"family": "S",
"capacity": 1
}
},
"appServicePlanLocation": {
"value": ""
},
"existingAppServicePlan": {
"value": ""
},
"newWebAppName": {
"value": ""
}
}
}

Просмотреть файл

@ -116,10 +116,9 @@
"apiVersion": "2018-02-01",
"location": "[variables('effectivePlanLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"kind": "linux",
"kind": "app",
"properties": {
"name": "[variables('appServicePlanName')]",
"reserved":true
"name": "[variables('appServicePlanName')]"
}
},
{
@ -188,4 +187,4 @@
}
}
]
}
}

Просмотреть файл

@ -87,10 +87,9 @@
"apiVersion": "2018-02-01",
"location": "[variables('resourcesLocation')]",
"sku": "[parameters('newAppServicePlanSku')]",
"kind": "linux",
"kind": "app",
"properties": {
"name": "[variables('servicePlanName')]",
"reserved":true
"name": "[variables('servicePlanName')]"
}
},
{
@ -107,7 +106,6 @@
"name": "[variables('webAppName')]",
"serverFarmId": "[variables('servicePlanName')]",
"siteConfig": {
"linuxFxVersion": "JAVA|8-jre8",
"appSettings": [
{
"name": "JAVA_OPTS",
@ -155,4 +153,4 @@
]
}
]
}
}

Просмотреть файл

@ -137,8 +137,8 @@
</property>
</appSettings>
<runtime>
<os>linux</os>
<javaVersion>jre8</javaVersion>
<os>windows</os>
<javaVersion>1.8</javaVersion>
<webContainer>tomcat 9.0</webContainer>
</runtime>
<deployment>