Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added redis cache publisher schema for azure event grid. #8486

Merged
merged 2 commits into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
}
}
}
2 changes: 2 additions & 0 deletions specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ input-file:
- Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
- Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
- Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
- Microsoft.Cache/stable/2018-01-01/RedisCache.json
```

---
Expand Down Expand Up @@ -137,6 +138,7 @@ input-file:
- $(this-folder)/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
- $(this-folder)/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
- $(this-folder)/Microsoft.Cache/stable/2018-01-01/RedisCache.json

```

Expand Down