You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/cloudevents-schema.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,10 @@ title: Use Azure Event Grid with events in CloudEvents schema
3
3
description: Describes how to set the CloudEvents schema for events in Azure Event Grid.
4
4
services: event-grid
5
5
author: banisadr
6
-
manager: timlt
7
6
8
7
ms.service: event-grid
9
8
ms.topic: conceptual
10
-
ms.date: 11/07/2018
9
+
ms.date: 11/18/2019
11
10
ms.author: babanisa
12
11
---
13
12
@@ -90,7 +89,7 @@ az eventgrid topic create \
90
89
--name <topic_name> \
91
90
-l westcentralus \
92
91
-g gridResourceGroup \
93
-
--input-schema cloudeventv01schema
92
+
--input-schema cloudeventschemav1_0
94
93
```
95
94
96
95
For PowerShell, use:
@@ -104,7 +103,7 @@ New-AzureRmEventGridTopic `
104
103
-ResourceGroupName gridResourceGroup `
105
104
-Location westcentralus `
106
105
-Name <topic_name> `
107
-
-InputSchema CloudEventV01Schema
106
+
-InputSchema CloudEventSchemaV1_0
108
107
```
109
108
110
109
The current version of CloudEvents doesn't support batching of events. To publish events with CloudEvent schema to a topic, publish each event individually.
@@ -122,7 +121,7 @@ az eventgrid event-subscription create \
Currently, you can't use an Event Grid trigger for an Azure Functions app when the event is delivered in the CloudEvents schema. Use an HTTP trigger. For examples of implementing an HTTP trigger that receives events in the CloudEvents schema, see [Use an HTTP trigger as an Event Grid trigger](../azure-functions/functions-bindings-event-grid.md#use-an-http-trigger-as-an-event-grid-trigger).
140
139
140
+
## Endpoint Validation with CloudEvents v1.0
141
+
142
+
If you are already familiar with Event Grid, you may be aware of Event Grid's endpoint validation handshake for preventing abuse. CloudEvents v1.0 implements its own [abuse protection semantics](security-authentication.md#webhook-event-delivery) using the HTTP OPTIONS method. You can read more about it [here](https://github.com/cloudevents/spec/blob/v1.0/http-webhook.md#4-abuse-protection). When using the CloudEvents schema for output, Event Grid uses with the CloudEvents v1.0 abuse protection in place of the Event Grid validation event mechanism.
143
+
141
144
## Next steps
142
145
143
146
* For information about monitoring event deliveries, see [Monitor Event Grid message delivery](monitor-event-delivery.md).
0 commit comments