答えを見つけました。
すべてのARMテンプレートは、ローカル設定を上書きします。だから私のwebconfigの場合、私は以下のように定義された接続文字列を持っています。
connectionStrings>
<add name="myConnectionString" connectionString="Server=localhost;Database=TimeTracker;uid=sa;pass=GodM0de1$;"/>
</connectionStrings>
次に、私のwebsite.json内で、私は次のようにします。
"properties": {
"name": "[variables('webSiteName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]",
"siteConfig": {
"connectionStrings": [
{
"name": "myConnectionString",
"connectionString": "[parameters('WebApp_ConnString')]",
"type": 1 /* SQL SERVER */
}
]
}
}
その後、私のWebSite.enviornment.parameters.jsonファイルには、私は、次のを持っているでしょう内側。
"WebApp_ConnString": {
"value": "Server=server01.corp.local;Database=TimeTracker;uid=sa;[email protected];"
}