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
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
2
Answers
This API will provide the exact value of the runtime.
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/properties/status?api-version=2022-03-01
You can get it using below rest api which gives the whole number with
~
as it stores that way in the configuration section :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 .