Skip to content

Commit c23acb8

Browse files
authored
Update functions-networking-options.md
For better discoverability of what's already mentioned in https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-function-app-portal#create-function.
1 parent 53fbfae commit c23acb8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/azure-functions/functions-networking-options.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,15 @@ The following APIs let you programmatically manage regional virtual network inte
283283
+ **Azure CLI**: Use the [`az functionapp vnet-integration`](/cli/azure/functionapp/vnet-integration) commands to add, list, or remove a regional virtual network integration.
284284
+ **ARM templates**: Regional virtual network integration can be enabled by using an Azure Resource Manager template. For a full example, see [this Functions quickstart template](https://azure.microsoft.com/resources/templates/function-premium-vnet-integration/).
285285

286+
## Testing
287+
288+
To test functions in a function app with private endpoints, you must test them from within the same virtual network, such as a Virtual Machine (VM) in that network. To use the Code + Test option in the portal from that VM, you need to add following [CORS origins](./functions-how-to-use-azure-function-app-settings.md?tabs=portal#cors) to your function app.
289+
290+
* https://functions-next.azure.com
291+
* https://functions-staging.azure.com
292+
* https://functions.azure.com
293+
* https://portal.azure.com
294+
286295
## Troubleshooting
287296

288297
[!INCLUDE [app-service-web-vnet-troubleshooting](../../includes/app-service-web-vnet-troubleshooting.md)]

0 commit comments

Comments
 (0)