Skip to content

Commit

Permalink
Add ServiceBus Messaging Integration Events with EventGrid to the Eve…
Browse files Browse the repository at this point in the history
…ntGrid spec (#3030)
  • Loading branch information
vinaysurya authored and jhendrixMSFT committed May 8, 2018
1 parent f0face3 commit 3a55b9e
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure ServiceBus Messaging events published to Azure Event Grid",
"description": "Describes the schema of the Azure ServiceBus Messaging events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
"paths": {},
"definitions": {
"ServiceBusActiveMessagesAvailableWithNoListenersEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.",
"type": "object",
"properties": {
"namespaceName": {
"description": "The namespace name of the Microsoft.ServiceBus resource.",
"type": "string"
},
"requestUri": {
"description": "The endpoint of the Microsoft.ServiceBus resource.",
"type": "string"
},
"entityType": {
"description": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.",
"type": "string"
},
"queueName": {
"description": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.",
"type": "string"
},
"topicName": {
"description": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.",
"type": "string"
},
"subscriptionName": {
"description": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.",
"type": "string"
}
}
},
"ServiceBusDeadletterMessagesAvailableWithNoListenersEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent event.",
"type": "object",
"properties": {
"namespaceName": {
"description": "The namespace name of the Microsoft.ServiceBus resource.",
"type": "string"
},
"requestUri": {
"description": "The endpoint of the Microsoft.ServiceBus resource.",
"type": "string"
},
"entityType": {
"description": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.",
"type": "string"
},
"queueName": {
"description": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.",
"type": "string"
},
"topicName": {
"description": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.",
"type": "string"
},
"subscriptionName": {
"description": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.",
"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 @@ -50,6 +50,7 @@ input-file:
- Microsoft.EventGrid/stable/2018-01-01/EventGrid.json
- Microsoft.Devices/stable/2018-01-01/IotHub.json
- Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json
- Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json
```

---
Expand Down

0 comments on commit 3a55b9e

Please sign in to comment.