Disabled Azure Function Billing

152 views Asked by At

TLDR;

Assuming my azure function (consumption plan) is disabled, would I still have to pay for request attempts sent to it (NotFound response)?

In Depth:

I have azure function created (consumption plan) with multiple HTTP triggers configured (myazfunc.azurewebsites.com/api/add, api/check, etc..)

As you know, Azure allows to change the state of every one of this triggers (Disabled/Enabled).

If I disabled one of them and then try to call it, I get a NotFound response (which is fine).

So, my question is, would I be billed for requests sent to this trigger even though it's disabled?

1

There are 1 answers

2
SwethaKandikonda On BEST ANSWER
  • Azure functions only pay for computing resources for the functions that are active. Its usage plan is based on resource consumption and executions per second.

  • The Consumption plan dynamically adds and removes instances of the Functions host based on the number of incoming events.

For more info on Azure functions you can refer HERE

REFERENCES: Azure Functions pricing