Two "name" properties in the function bindings information?

Nicholas Ellingson 0 Reputation points
2024-02-01T16:58:20.02+00:00

Hello,

In the learning module for 'Explore Azure Functions', on the page here: https://learn.microsoft.com/en-us/training/modules/develop-azure-functions/2-azure-function-development-overview
Right before the 'Function App' section of the page there is a table that explains the different bindings for a function.json file. In the table, it says that both the type and name bindings are the "name of the binding". Is this true? If it is, can someone explain to me how they differ? I was assuming that type would be more like a variable type, ie: string, integer, array, etc.

Thank you for any and all help!

Azure | Azure Training
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 36,951 Reputation points MVP Volunteer Moderator
    2024-02-01T17:28:23.3666667+00:00

    Hello @Nicholas Ellingson,

    welcome to this moderated Azure community forum.

    The 'Type' name is describing the trigger (which is a function coded in your favorite language).

    The 'Name' name is the name of a/the parameter in the function code.

    Here is an example:

    enter image description here

    Did you see the various ways to give feedback or even ask a question on that page?

    enter image description here


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


Your answer

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