-
Notifications
You must be signed in to change notification settings - Fork 2
/
prototype.yml
44 lines (37 loc) · 1.14 KB
/
prototype.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
service: azure-functions-service
provider:
azure:
subscriptionId: <azure subscriptionId>
resourceGroupName: ${self:service}-rg
region: "west us"
deploymentName: ${self:service}-deployment
sourceControl: <gitUrl>
# more options to customize arm template - storage account #
# users can specify an arm template#
armTemplate: "<azure arm template file>"
plugins:
- serverless-azure-functions
package:
exclude:
- node_modules/**
- .gitignore
- package.json
- .git/**
functions:
azure:
httpcsharp:
code: run.csx or <Template Name: HttpCSharpTrigger>
bindings: <function.json>
queueTriggerJS:
code: index.js
bindings:
myBlob:
type: "blobTrigger",
direction: "in",
path: "samples-workitems/{name}",
connection: "AzureWebJobsDashboard"
notification:
type: "notificationHub",
hubName: "myhubname",
connection: "NOTIFICATIONHUB_ConnectionString",
direction: "out"