question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure function list properties

See original GitHub issue

I am trying to get the information such as the App Service Plan linked to the Azure Function App and settings highlighted under Protocol settings like if the function has HTTP vs HTTPS as highlighted by the screenshot -

image

I have read only access and using python 3.9 version with azure-mgmt-web version 5.0.0.

I used the following code but didn’t get the information highlighted -

mgmt_client = WebSiteManagementClient(credentials, ['Subscription'])
configs = mgmt_client.web_apps.get_configuration(resource_group_name='Resource_Group',
                                                         name='name_of_function').as_dict()

is there something different that needs to be done to pull this information.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
BigCat20196commented, Nov 9, 2021

@reach4bawer , So list_function_secrets might suit you.

func =web_client.web_apps.list_function_secrets(resource_group_name=rg_name, name=app_name, function_name=func_name).as_dict()
0reactions
msftbot[bot]commented, Feb 24, 2022

Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Guidance for developing Azure Functions | Microsoft Learn
Learn the Azure Functions concepts and techniques that you need ... The bindings property is where you configure both triggers and bindings.
Read more >
Configure function app settings in Azure Functions
Learn how to configure function app settings in Azure Functions.
Read more >
Web Apps - List Functions - REST API (Azure App Service)
Learn more about App Service service - Description for List the functions for a web site, or a deployment slot.
Read more >
App settings reference for Azure Functions | Microsoft Learn
Reference documentation for the Azure Functions app settings or ... This article lists the app settings that are available in function apps.
Read more >
Getting the list of Resource Groups using Azure Functions
This sample helps you setup your app to work with Azure resources using the Managed Service Identity (MSI) and get a list of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found