Azure / Azure/azure-libraries-for-java
Validate function extension version
- Dominant language
- Java
- Stars
- 97
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
When I use the function API to create a function with withRuntimeVersion("beta"), the function could be created. But when I run the function, the function cannot work since its app setting variable `FUNCTIONS_EXTENSION_VERSION` set as `~beta` which is invalid. Should the library check this before creating the function?
```
FunctionApp function = azureClient.appServices().functionApps()
.define(testEnv.appServiceName)
.withRegion(Region.US_WEST)
.withExistingResourceGroup(testEnv.azureResourceGroup)
.withRuntimeVersion("beta")
.create();
```
Contributor guide
Assessment
This issue has not been assessed yet.