Reputation: 187
I need to pull the Runtime version of a Function app using APIs.
Does not appear to provide this information.
does not provide the information either.
Does anyone have any guidance on how I can pull this information?
TIA
Upvotes: 0
Views: 153
Reputation: 11183
You can get it using below rest api which gives the whole number with ~
as it stores that way in the configuration section :
https://management.azure.com/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.Web/sites/funname/config/appsettings/list?api-version=2019-08-01
Got token for resource https://management.azure.com/
and used as Bearer Token.
Output:
It stores the functions version as ~4 instead of 4.34.2.22820 or ~3 for 3.22.0.0 .
Upvotes: 1