1
1
---
2
2
title : Azure API Center as Event Grid source
3
- description : Describes the properties that are provided for Azure API Management events with Azure Event Grid
3
+ description : Describes the properties that are provided for Azure API Center events with Azure Event Grid
4
4
ms.topic : conceptual
5
5
ms.date : 03/05/2024
6
6
author : dlepow
@@ -31,7 +31,7 @@ When an event is triggered, the API Center service sends data about that event t
31
31
``` json
32
32
[{
33
33
"source" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services" ,
34
- "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/{api_center_name}/workspaces/default/apis/{api-name }/versions/{version_name}/definitions/{definition_name}" ,
34
+ "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/{api_center_name}/workspaces/default/apis/{api_name }/versions/{version_name}/definitions/{definition_name}" ,
35
35
"type" : " Microsoft.ApiCenter.ApiDefinitionAdded" ,
36
36
"time" : " 2024-03-01T00:00:00.0000000Z" ,
37
37
"id" : " 00000000-0000-0000-0000-000000000000" ,
@@ -52,7 +52,7 @@ When an event is triggered, the API Center service sends data about that event t
52
52
``` json
53
53
[{
54
54
"source" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services" ,
55
- "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/{api_center_name}/workspaces/default/apis/{api-name }/versions/{version_name}/definitions/{definition_name}" ,
55
+ "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/{api_center_name}/workspaces/default/apis/{api_name }/versions/{version_name}/definitions/{definition_name}" ,
56
56
"type" : " Microsoft.ApiCenter.ApiDefinitionUpdated" ,
57
57
"time" : " 2024-03-01T00:00:00.0000000Z" ,
58
58
"id" : " 00000000-0000-0000-0000-000000000000" ,
@@ -76,7 +76,7 @@ When an event is triggered, the API Center service sends data about that event t
76
76
``` json
77
77
[{
78
78
"topic" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services" ,
79
- "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/contoso /workspaces/default/apis/echo-api /versions/2023-01-01/definitions/openapi" ,
79
+ "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/{api_center_name} /workspaces/default/apis/{api_name} /versions/2023-01-01/definitions/openapi" ,
80
80
"eventType" : " Microsoft.ApiCenter.ApiDefinitionAdded" ,
81
81
"id" : " 00000000-0000-0000-0000-000000000000" ,
82
82
"data" : {
@@ -98,7 +98,7 @@ When an event is triggered, the API Center service sends data about that event t
98
98
``` json
99
99
[{
100
100
"topic" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services" ,
101
- "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/contoso /workspaces/default/apis/echo-api /versions/2023-01-01/definitions/openapi" ,
101
+ "subject" : " /subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.ApiCenter/services/{api_center_name} /workspaces/default/apis/{api_name} /versions/2023-01-01/definitions/openapi" ,
102
102
"eventType" : " Microsoft.ApiCenter.ApiDefinitionUpdated" ,
103
103
"id" : " 00000000-0000-0000-0000-000000000000" ,
104
104
"data" : {
@@ -119,10 +119,8 @@ When an event is triggered, the API Center service sends data about that event t
119
119
120
120
## Event properties
121
121
122
-
123
122
# [ Cloud event schema] ( #tab/cloud-event-schema )
124
123
125
-
126
124
An event has the following top-level data:
127
125
128
126
| Property | Type | Description |
@@ -149,8 +147,8 @@ An event has the following top-level data:
149
147
| ` dataVersion ` | string | The schema version of the data object. The publisher defines the schema version. |
150
148
| ` metadataVersion ` | string | The schema version of the event metadata. Event Grid defines the schema of the top-level properties. Event Grid provides this value. |
151
149
| ` eventTime ` | string | The time the event is generated based on the provider's UTC time. |
152
- ---
153
150
151
+ ---
154
152
155
153
The data object has the following properties:
156
154
0 commit comments