billowy-television-23506
12/03/2018, 11:45 PMMicrosoft.Web/sites
in the siteConfig
section there is:
"alwaysOn": true,
"linuxFxVersion": "DOCKER CONTAINER"
The Pulumi SDK supports alwaysOn
is there a way to pass “linuxFxVersion”?white-balloon-205
const app = new azure.appservice.AppService(`as`, {
...resourceGroupArgs,
appServicePlanId: appServicePlan.id,
siteConfig: {
linuxFxVersion: "DOCKER|nginx"
},
appSettings: {
"WEBSITE_RUN_FROM_ZIP": codeBlobUrl,
"ApplicationInsights:InstrumentationKey": appInsights.instrumentationKey,
"APPINSIGHTS_INSTRUMENTATIONKEY": appInsights.instrumentationKey
},
connectionStrings: [{
name: "db",
value:
pulumi.all([sqlServer.name, database.name]).apply(([server, db]) =>
`Server=tcp:${server}.<http://database.windows.net;initial|database.windows.net;initial> catalog=${db};user ID=${username};password=${pwd};Min Pool Size=0;Max Pool Size=30;Persist Security Info=true;`),
type: "SQLAzure"
}]
});
billowy-television-23506
12/04/2018, 12:43 AMnew azure.appservice.FunctionApp
. I guess I can build the function app up from the AppService with the proper settings