Azure Functions

Managed function-as-a-service on consumption, premium or dedicated plans.

Provider
azure
Category
Compute
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
autoscalingboolean—nofalse▸ true
criticality · advancedenumlow | medium | highnomediuminherited
instancePerEntity · advancedboolean—nofalseinherited
instancesinteger—no—inherited
managedboolean—nofalse▸ true
ownsData · advancedboolean—notrueinherited
plan · component propertyenumconsumption | flex-consumption | premium | dedicatednoconsumptioninherited
runtimestring—no—inherited
shardingStrategy · advancedenumnone | consistent-hash | range | lookupnononeinherited
singleWriter · advancedboolean—nofalseinherited
statelessboolean—notrue▸ true
timeoutSeconds · component propertyinteger—no300inherited
trigger · component propertyenumhttp | timer | queue-storage | service-bus | event-grid | event-hubs | blob | cosmos-db | durableno—inherited
Rules that apply · 4

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

external-call-inline-without-durable-path

A service that calls a third party synchronously, with no queue or workflow engine attached, has nowhere to park the request when the third party is slow or down. The failure becomes the user's problem instead of a retried job.

  • — all of these hold:
  • — the node has at least one synchronous outgoing edge to a third-party-api
  • — this does not hold:
  • — the node has at least one connected edge joining a workflow-engine or queue
fanout-inline-in-request-path

Calling a worker synchronously puts the background job on the request path. The caller waits for the slowest part of the fan-out.

  • — the node has at least one synchronous outgoing edge to a worker
stateful-hash-ring-without-ring-manager

A stateful service on a consistent hash ring needs something that owns the ring: detect a dead host, pick a replacement, tell everyone. Without a coordination service the ring is edited by hand during the outage.

  • — all of these hold:
  • — the node's `shardingStrategy` is "consistent-hash"
  • — this does not hold:
  • — the node has at least one connected edge joining a coordination-service
stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "functions", component: "azure-functions" }
Other Application server products · 98
Elastic Container Instancealibaba-ecialibabacloudapp-serverEnterprise Distributed Application Servicealibaba-edasalibabacloudapp-serverFunction Computealibaba-function-computealibabacloudapp-serverServerless App Enginealibaba-saealibabacloudapp-serverYIDAalibaba-yidaalibabacloudapp-serverAWS App Runneraws-app-runnerawsapp-serverAWS App Studioaws-app-studioawsapp-serverCloudFront Functionsaws-cloudfront-functionsawsapp-serverAWS Elastic Beanstalkaws-elastic-beanstalkawsapp-serverAWS Fargateaws-fargateawsapp-serverAmazon GameLift Serversaws-gameliftawsapp-serverLambda@Edgeaws-lambda-edgeawsapp-serverAmazon S3 Object Lambdaaws-s3-object-lambdaawsapp-serverAWS Transfer Familyaws-transfer-familyawsapp-serverAWS Lambdalambdaawsapp-serverAzure App Serviceazure-app-serviceazureapp-serverAzure AI Bot Serviceazure-bot-serviceazureapp-serverAzure Container Appsazure-container-appsazureapp-serverAzure Container Instancesazure-container-instancesazureapp-serverMicrosoft Copilot Studioazure-copilot-studioazureapp-serverHealthcare agent serviceazure-health-botazureapp-serverMicrosoft Power Appsazure-power-appsazureapp-serverAzure Spring Appsazure-spring-appsazureapp-serverDynamic Workerscloudflare-dynamic-workerscloudflareapp-serverEmail Workerscloudflare-email-workerscloudflareapp-serverCloudflare Pagescloudflare-pagescloudflareapp-serverCloudflare Sandbox SDKcloudflare-sandboxcloudflareapp-serverCloudflare Workerscloudflare-workerscloudflareapp-serverWorkers for Platformscloudflare-workers-for-platformscloudflareapp-serverGeneric application serverapp-serverapp-serverAutoGen Studioautogen-studioapp-serverBotpressbotpressapp-serverCloud Foundrycloud-foundryapp-serverContainer servicecontainer-serviceapp-serverCoolifycoolifyapp-serverCrewAI AMPcrewai-enterpriseapp-serverDifydifyapp-serverDocker containerdocker-containerapp-serverDokkudokkuapp-serverErlang/BEAM nodeerlang-nodeapp-server
and 58 more → Application server page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Azure Functions: managed FaaS. Consumption plan by default with a 5-minute function timeout.
schemaVersion: "1"
type: "component"
id: "azure-functions"
kind: "app-server"
provider: "azure"
docs: "https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview"
defaults:
  managed: true
  stateless: true
  autoscaling: true
properties:
  # What invokes the function: its trigger binding ("Azure Functions triggers and bindings"). No
  # default: a function app has none until one is declared.
  trigger:
    type: "enum"
    values: ["http", "timer", "queue-storage", "service-bus", "event-grid", "event-hubs", "blob", "cosmos-db", "durable"]
  timeoutSeconds:
    type: "integer"
    default: 300
  plan:
    type: "enum"
    values: ["consumption", "flex-consumption", "premium", "dedicated"]
    default: "consumption"

The same page as markdown, for an agent: /catalogue/components/azure-functions.md