forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added redis cache publisher schema for azure event grid. (Azure#8486)
* Added redis cache Event Schema to Event Grid DP Repo * removed commented section
- Loading branch information
1 parent
dcaa4da
commit e2740f9
Showing
2 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.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,87 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2018-01-01", | ||
"title": "Schema of Redis Cache events published to Azure Event Grid", | ||
"description": "Describes the schema of the Redis Cache events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent." | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"RedisPatchingCompletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.PatchingCompleted event.", | ||
"type": "object", | ||
"properties": { | ||
"timestamp": { | ||
"description": "The time at which the event occurred.", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "The name of this event.", | ||
"type": "string" | ||
}, | ||
"status": { | ||
"description": "The status of this event. Failed or succeeded ", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"RedisScalingCompletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ScalingCompleted event.", | ||
"type": "object", | ||
"properties": { | ||
"timestamp": { | ||
"description": "The time at which the event occurred.", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "The name of this event.", | ||
"type": "string" | ||
}, | ||
"status": { | ||
"description": "The status of this event. Failed or succeeded ", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"RedisExportRDBCompletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ExportRDBCompleted event.", | ||
"type": "object", | ||
"properties": { | ||
"timestamp": { | ||
"description": "The time at which the event occurred.", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "The name of this event.", | ||
"type": "string" | ||
}, | ||
"status": { | ||
"description": "The status of this event. Failed or succeeded ", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"RedisImportRDBCompletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ImportRDBCompleted event.", | ||
"type": "object", | ||
"properties": { | ||
"timestamp": { | ||
"description": "The time at which the event occurred.", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "The name of this event.", | ||
"type": "string" | ||
}, | ||
"status": { | ||
"description": "The status of this event. Failed or succeeded ", | ||
"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