Skip to content

function.json

Mathew Charles edited this page Nov 17, 2015 · 29 revisions

sdfs

QueueTrigger Example:

  // Queue trigger example
  "trigger": {
    "type": "queue",
    "queueName": "samples-workitems"
  }

BlobTrigger Example:

{
  "trigger": {
    "type": "blob",
    "blobPath": "samples-workitems"
  }
}

TimerTrigger Example:

{
  "trigger": {
    "type": "timer",
    "schedule": "*/10 * * * * *",
    "runOnStartup": true
  }
}

WebHookTrigger Example:

{
  "trigger": {
    "type": "webHook"
  }
}

ServiceBusTrigger Example (Queue):

{
  "trigger": {
    "type": "serviceBus",
    "queueName": "samples-workitems"
  }
}

ServiceBusTrigger Example (Topic):

{
  "trigger": {
    "type": "serviceBus",
    "topicName": "samples-topic",
    "subscriptionName": "samples-subscription"
  }
}

Learn

Azure Functions Basics

Advanced Concepts

Dotnet Functions

Java Functions

Node.js Functions

Python Functions

Host API's

Bindings

V2 Runtime

Contribute

Functions host

Language workers

Get Help

Other

Clone this wiki locally