Azure / Azure/azure-libraries-for-java

Validate function extension version

Open
#544 0 comments 0 reactions 0 assignees View on GitHub
Functions Mgmt
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.