/
DaprSubscriptions_List.json
73 lines (73 loc) · 2.53 KB
/
DaprSubscriptions_List.json
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
{
"parameters": {
"subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9",
"resourceGroupName": "examplerg",
"environmentName": "myenvironment",
"api-version": "2023-11-02-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/myenvironment/daprSubscriptions/mybulksubscription",
"name": "mybulksubscription",
"type": "Microsoft.App/managedEnvironments/daprSubscriptions",
"properties": {
"pubsubName": "mypubsubcomponent",
"topic": "inventory",
"routes": {
"rules": [],
"default": "/products"
},
"bulkSubscribe": {
"enabled": true,
"maxMessagesCount": 123,
"maxAwaitDurationMs": 500
}
}
},
{
"id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/myenvironment/daprSubscriptions/mydefaultsubscription",
"name": "mydefaultsubscription",
"type": "Microsoft.App/managedEnvironments/daprSubscriptions",
"properties": {
"pubsubName": "mypubsubcomponent",
"topic": "inventory",
"routes": {
"rules": [],
"default": "/products"
}
}
},
{
"id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/myenvironment/daprSubscriptions/myroutingsubscription",
"name": "myroutingsubscription",
"type": "Microsoft.App/managedEnvironments/daprSubscriptions",
"properties": {
"pubsubName": "mypubsubcomponent",
"topic": "inventory",
"routes": {
"rules": [
{
"match": "event.type == 'widget'",
"path": "/widgets"
},
{
"match": "event.type == 'gadget'",
"path": "/gadgets"
}
],
"default": "/products"
},
"metadata": {
"foo": "bar",
"hello": "world"
}
}
}
]
}
}
}
}