Is there an API for listing function app proxies?

Martin D 61 Reputation points
2022-01-13T07:39:54.36+00:00

Hi,
I'm wondering if there's an Azure REST API that I can use to get information about the proxies that have been configured in an Function App. I'm using the "Web Apps - List" Api to get all apps in my subscription and when I see "kind": "functionapp" in the json data I'd like to get information about which proxies have been created in the function app and what the configuration looks like.

Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,935 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,506 Reputation points
    2022-01-14T05:51:43.743+00:00

    @Martin D ,

    Thanks for reaching out to Q&A.

    You can try this url : https://management.azure.com/subscriptions/subscriptionid/resourceGroups/resourcegroupname/providers/Microsoft.Web/sites/sitename/hostruntime/admin/vfs/proxies.json?relativePath=1&api-version=2018-11-01

    You could also write custom code that calls the VFS API to get proxies.json and parse the rules from there.
    https://github.com/projectkudu/kudu/wiki/REST-API#vfs

    Please note that we have removed Proxies support in Functions v4 as there is an APIM Consumption tier now .

    https://learn.microsoft.com/en-us/azure/azure-functions/functions-versions?tabs=in-process%2Cv4&pivots=programming-language-csharp#breaking-changes-between-3x-and-4x

    “Azure Functions Proxies are no longer supported in 4.x. You are recommended to use Azure API Management.”

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.