-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Azure App Configuration event data schema. (#5309)
* 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
1 parent
b63a336
commit 50a0e48
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
...n/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters