/
NotificationRegistrations_CreateOrUpdate.json
66 lines (66 loc) · 2.54 KB
/
NotificationRegistrations_CreateOrUpdate.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
{
"parameters": {
"subscriptionId": "ab7a8701-f7ef-471a-a2f4-d0ebbf494f77",
"providerNamespace": "Microsoft.Contoso",
"api-version": "2020-11-20",
"notificationRegistrationName": "fooNotificationRegistration",
"properties": {
"properties": {
"notificationMode": "EventHub",
"messageScope": "RegisteredSubscriptions",
"includedEvents": [
"*/write",
"Microsoft.Contoso/employees/delete"
],
"notificationEndpoints": [
{
"locations": [
"",
"East US"
],
"notificationDestination": "/subscriptions/ac6bcfb5-3dc1-491f-95a6-646b89bf3e88/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications"
},
{
"locations": [
"North Europe"
],
"notificationDestination": "/subscriptions/ac6bcfb5-3dc1-491f-95a6-646b89bf3e88/resourceGroups/mgmtexp-northeurope/providers/Microsoft.EventHub/namespaces/europe-mgmtexpint/eventhubs/armlinkednotifications"
}
]
}
}
},
"responses": {
"200": {
"description": "Gets the notification registration details.",
"body": {
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/notificationregistrations/fooNotificationRegistration",
"type": "Microsoft.ProviderHub/providerRegistrations/notificationregistrations",
"name": "fooNotificationRegistration",
"properties": {
"notificationMode": "EventHub",
"messageScope": "RegisteredSubscriptions",
"includedEvents": [
"*/write",
"Microsoft.Contoso/employees/delete"
],
"notificationEndpoints": [
{
"locations": [
"",
"East US"
],
"notificationDestination": "/subscriptions/ac6bcfb5-3dc1-491f-95a6-646b89bf3e88/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications"
},
{
"locations": [
"North Europe"
],
"notificationDestination": "/subscriptions/ac6bcfb5-3dc1-491f-95a6-646b89bf3e88/resourceGroups/mgmtexp-northeurope/providers/Microsoft.EventHub/namespaces/europe-mgmtexpint/eventhubs/armlinkednotifications"
}
]
}
}
}
}
}