-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy patheventhub-dev.schema.json
More file actions
74 lines (74 loc) · 1.96 KB
/
eventhub-dev.schema.json
File metadata and controls
74 lines (74 loc) · 1.96 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/OpenLearningNet/local-node-eventhub-trigger/master/eventhub-dev.schema.json",
"title": "EventHub Local Dev Settings",
"description": "A configuration file for the EventHub Local Dev tools",
"type": "object",
"required": ["eventHubs", "triggerFunction"],
"properties": {
"cert": {
"description": "TLS Certificate",
"type": "string"
},
"key": {
"description": "TLS Private Key",
"type": "string"
},
"hostname": {
"description": "AMQP hostname",
"type": "string"
},
"port": {
"description": "AMQP port",
"type": "number"
},
"functionHostname": {
"description": "Azure Functions runtime hostname",
"type": "string"
},
"functionPort": {
"description": "Azure Functions runtime port",
"type": "number"
},
"redisHostname": {
"description": "Redis hostname",
"type": "string"
},
"redisPort": {
"description": "Redis port",
"type": "number"
},
"triggerFunction": {
"type": "string",
"description": "Azure HTTP Triggered function which is configured to run EvenHub local triggers"
},
"consumerGroups": {
"type": "array",
"description": "Array of consumer groups which will be triggered",
"items": {
"type": "string"
}
},
"eventHubs": {
"description": "Array of EventHub configurations",
"type": "array",
"items": {
"type": "object",
"required": ["name", "partitionIds"],
"properties": {
"name": {
"description": "EventHub name",
"type": "string"
},
"partitionIds": {
"description": "Array of partition IDs used on this EventHub",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}