@Ilminsky, Mykola-ext Thanks for reaching out. It depends upon how you have configured the concurrency in your function if you are leverage the service bus bindings and for more you can refer to this document. If your function is executing concurrently then it will be creating multiple connections to the service bus and as Karthik has mentioned the connection would be consider as 5 tuple (Source IP, destination IP, source port, destination port and protocol).
In case you are not leveraging the service bus trigger and using the service bus SDK to send/receive the messages from function app then the outbound connection to service bus would depend how you are creating the connection in your code. If you have defined the static client and reusing it then it will create only once connection to service bus. For more details on managing the connection please refer to this document.
Regarding your concern of broker connection charge's function will just be client and FAQ section covers on the charges.
A brokered connection is defined as one of the following:
An AMQP connection from a client into a Service Bus topic, subscription, queue, or event hub.
An HTTP call to receive a message from a Service Bus topic or queue that has a receive timeout value greater than zero.
Microsoft charges for the peak number of concurrent brokered connections that exceed the included quantity (1,000 in the standard and premium tier). Peaks are measured on an hourly basis, prorated by dividing by 730 hours in a month, and added up over the monthly billing period. The included quantity (1,000 brokered connections per month) is applied at the end of the billing period against the sum of the prorated hourly peaks.
Examples:
5,000 clients connect via a single AMQP connection each, and receive commands from a Service Bus topic and send events to queues. If all clients connect for 12 hours every day, you will see the following connection charges (in addition to any other Service Bus charges)—5,000 connections * 12 hours * 30.5 days / 730 = 2,500 brokered connections. After the monthly allowance of 1,000 brokered connections, you would be charged for 1,500 brokered connections.
5,000 clients receive messages from a Service Bus queue via HTTP, specifying a non-zero timeout. If all devices connect for 12 hours every day, you will see the following connection charges (in addition to any other Service Bus charges)—5,000 HTTP receive connections * 12 hours per day * 30.5 days / 730 hours = 2,500 brokered connections.