Hi, I'd like to provision a flexapp consumption fu...
# azure
b
Hi, I'd like to provision a flexapp consumption function app via the azure native provider's Java flavor. I struggle with not being able to specify a
functionAppConfing
in the
SiteConfigArgs
.
SiteConfigArgs
seems to lack the functionality to set this config, which in turn prevents me from being able to provision the function app. What am I missing? I'm using
com.pulumi:pulumi:1.1.0
and
com.pulumi:azure-native:2.86.0
m
b
Thanks for the reply. I am running a Java stack, and the article is written for the typescript api.
m
The important thing is this line of code https://github.com/TechWatching/AzureFunctionsFlexConsumptionPlan/blob/main/infra%2Findex.ts#L4 I'm using a specific version of the Azure API for these resources. That way I have access to the config specific to flex consumption plan. It's typescript but you can do exactly the same thing in java
f
java doesn't currently support api versions - @millions-journalist-34868 did you find you had to specify the api version for this to work? I assume so but I figure I'll ask the dumb question 😄
m
Oh I did not know that it was not supported for Java. I jsut find out , indeed :
I did not see the other thread, sorry. Yes, I guessed it, it's quite usual to have to specifiy latest API versions when using the azure native provider