white-architect-1595
01/04/2023, 3:11 PMvar standardLogicApp = new Pulumi.AzureNative.Web.WebApp($"Instanda-{sn}-logic-", new()
{
Kind = "functionapp,workflowapp",
ResourceGroupName = resourceGroup.Name,
Location = resourceGroup.Location,
ServerFarmId = appServicePlace.Id,
SiteConfig = new SiteConfigArgs
{
AppSettings = new[]{
new NameValuePairArgs
{
Name = "FUNCTIONS_EXTENSION_VERSION",
Value = "~4"
},
new NameValuePairArgs
{
Name = "FUNCTIONS_WORKER_RUNTIME",
Value = "node"
},
new NameValuePairArgs
{
Name = "WEBSITE_NODE_DEFAULT_VERSION",
Value = "~14"
},
new NameValuePairArgs
{
Name = "WEBSITE_CONTENTSHARE",
Value = Output.Format($"{workflowfolder}")
},
new NameValuePairArgs
{
Name = "AzureWebJobsStorage",
Value = Output.Format($"DefaultEndpointsProtocol=https;AccountName={storageAccount.Name};AccountKey={primaryStorageKey};EndpointSuffix=<http://core.windows.net|core.windows.net>"),
},
new NameValuePairArgs
{
Name = "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING",
Value = Output.Format($"DefaultEndpointsProtocol=https;AccountName={storageAccount.Name};AccountKey={primaryStorageKey};EndpointSuffix=<http://core.windows.net|core.windows.net>"),
},
new NameValuePairArgs
{
Name = "AzureFunctionsJobHost__extensionBundle__id",
Value = "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
},
new NameValuePairArgs
{
Name = "AzureFunctionsJobHost__extensionBundle__version",
Value = "[1.*, 2.0.0)",
},
new NameValuePairArgs
{
Name = "APP_KIND",
Value = "workflowapp",
},
},
},
icy-doctor-13719
01/04/2023, 3:21 PMAzureNative.Web.WebAppApplicationSettings
AzureNative.Web.WebAppApplicationSettings
resource and attach it to your app servicewhite-architect-1595
01/04/2023, 3:29 PMicy-doctor-13719
01/04/2023, 3:36 PMwhite-architect-1595
01/04/2023, 3:37 PMicy-doctor-13719
01/04/2023, 3:37 PMwhite-architect-1595
01/04/2023, 3:37 PMicy-doctor-13719
01/04/2023, 3:40 PM