Skip to content

Commit

Permalink
Added Azure App Configuration event data schema. (#5309)
Browse files Browse the repository at this point in the history
* Added Azure App Configuration event data schema.

* Added a few missing pieces.

* Prefixed event names with our service prefix 'AppConfiguration'.
* Added Microsoft.AppConfiguration to the event grid data-plane readme.

* Updated api-version path to '2018-01-01' from '2018-02-01'.
  • Loading branch information
jimmyca15 authored and jhendrixMSFT committed Mar 1, 2019
1 parent b63a336 commit 50a0e48
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure App Configuration events published to Azure Event Grid",
"description": "Describes the schema of the Azure App Configuration events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
"paths": {},
"definitions": {
"AppConfigurationKeyValueModifiedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueModified event.",
"type": "object",
"properties": {
"key": {
"description": "The key used to identify the key-value that was modified.",
"type": "string"
},
"label": {
"description": "The label, if any, used to identify the key-value that was modified.",
"type": "string"
},
"etag": {
"description": "The etag representing the new state of the key-value.",
"type": "string"
}
}
},
"AppConfigurationKeyValueDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueDeleted event.",
"type": "object",
"properties": {
"key": {
"description": "The key used to identify the key-value that was deleted.",
"type": "string"
},
"label": {
"description": "The label, if any, used to identify the key-value that was deleted.",
"type": "string"
},
"etag": {
"description": "The etag representing the key-value that was deleted.",
"type": "string"
}
}
}
}
}
1 change: 1 addition & 0 deletions specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ input-file:
- Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json
- Microsoft.Media/stable/2018-01-01/MediaServices.json
- Microsoft.Maps/stable/2018-01-01/Maps.json
- Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
```

---
Expand Down

0 comments on commit 50a0e48

Please sign in to comment.