From b9693fc9be6e0d27441d06257e5db0c65b260195 Mon Sep 17 00:00:00 2001 From: Ashraf Hamad Date: Tue, 10 Nov 2020 23:46:32 -0800 Subject: [PATCH] fix example --- ...ons_CreateOrUpdateForCustomTopic_WebhookDestination.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json index 2fbdb457220b..8ff82a8abfab 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json @@ -6,9 +6,9 @@ "eventSubscriptionInfo": { "properties": { "destination": { - "endpointType": "EventHub", + "endpointType": "WebHook", "properties": { - "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1" + "endpointUrl": "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE" } }, "filter": { @@ -25,7 +25,7 @@ "properties": { "destination": { "properties": { - "endpointBaseUrl": "https://requestb.in/15ksip71" + "endpointBaseUrl": "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid" }, "endpointType": "WebHook" },