Skip to content

Commit 391fae2

Browse files
ahamad-MSAshraf Hamad
authored andcommitted
fix example (Azure#11631)
Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>
1 parent 9343113 commit 391fae2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"eventSubscriptionInfo": {
77
"properties": {
88
"destination": {
9-
"endpointType": "EventHub",
9+
"endpointType": "WebHook",
1010
"properties": {
11-
"resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
11+
"endpointUrl": "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE"
1212
}
1313
},
1414
"filter": {
@@ -25,7 +25,7 @@
2525
"properties": {
2626
"destination": {
2727
"properties": {
28-
"endpointBaseUrl": "https://requestb.in/15ksip71"
28+
"endpointBaseUrl": "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid"
2929
},
3030
"endpointType": "WebHook"
3131
},

0 commit comments

Comments
 (0)