Questions? Feedback? powered by Olark live chat software
Pomiń nawigację

Funkcje — cennik

Obliczanie na żądanie oparte na zdarzeniach.

Usługa Azure Functions udostępnia środowisko deweloperskie bez serwera, które obsługuje niezawodne wyzwalacze zdarzeń i powiązania danych.

Cennik usługi Funkcje Azure

Azure Functions consumption plan is billed based on resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 400 000 GB-s of resource consumption per month. Customers can also run Functions within their App Service plan at regular App Service plan rates.

Jednostka Cena Bezpłatny przydział (miesięcznie)
Czas wykonywania* $1.6E-05/GB-s 400 000 GB-s
Łączna liczba wykonań* $0.2 za milion wykonań 1 mln wykonań

GA Pricing effective January 1, 2017

*Free grants apply to paid, consumption subscriptions only.

Note: A storage account is created by default with each Functions App. The storage account is not included in the free grant and any usage will be charged at standard storage rates.

Szczegóły cennika

Executions

Functions are billed based on total number of requested executions each month for all Functions. Executions are counted each time a function is executed in response to an event, triggered by a binding. The first million executions are included free each month.

Resource Consumption

Functions are billed based on observed resource consumption measured in Gigabyte Seconds (GB-s). Observed resource consumption is calculated by multiplying average memory size in Gigabytes by the time in seconds it takes to execute the function. Memory used by a function is measured to the nearest 128MB up to the maximum memory size of 1 536MB. Functions pricing includes a monthly free grant of 400 000 GB-s.

Przykład cen

A function with observed memory consumption of 1 536MB, executes 2 000 000 times during the month and has an execution duration of 1 second; monthly billing would be calculated as follows:

Resource Consumption Billing Calculation
Resource Consumption (Seconds) = Executions * Execution Duration (Seconds) = Resource Consumption (Seconds)
2 mln wykonań * 1 Second = 2 Million Seconds
Resource Consumption (GB-s) = Resource Consumption converted to GB’s * Execution Time (Seconds) = Resource Consumption
1 536 MB/1 024 MB * 2 Million Seconds = 3 Million GB-s
Billable Resource Consumption = Resource Consumption - Monthly Free Grant = Billable Resource Consumption
3 Million GB-s - 400 000 GB-s = 2 600 000 GB-s
Monthly Resource Consumption Cost = Billable Resource Consumption * Resource Consumption Price = Monthly Resource Consumption Cost
2 600 000 GB-s * $1.6E-05/GB-s = $41.6
Executions Billing Calculation
Billable Executions = Total Monthly Executions - Monthly Free Executions = Monthly Billable Executions
2 mln wykonań - 1 mln wykonań = 1 mln wykonań
Monthly Executions Cost = Monthly Billable Executions * Price per million Executions = Monthly Execution Cost
1 mln wykonań * $0.2 = $0.2
Total Consumption Billing Calculation
Total Monthly Cost = Monthly Resource Consumption Cost + Monthly Executions Cost = Total Monthly Cost
$41.6 + $0.2 = $41.8

Więcej informacji

Inne informacje dotyczące usługi Azure Functions:

Pomoc techniczna i umowa SLA

  • Bezpłatna pomoc dotycząca rozliczeń i subskrypcji
  • Potrzebujesz pomocy technicznej dotyczącej usług w wersji zapoznawczej? Skorzystaj z naszych forów
  • W okresie zapoznawczym nie są dostępne umowy SLA. Dowiedz się więcej

Zasoby

Utwórz konto już teraz i uzyskaj $200 kredytu na korzystanie z systemu Azure

Zacznij już dziś