Skip to content

Commit

Permalink
draft for schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DorothySun216 committed Nov 17, 2020
1 parent 4f522c4 commit 04faa0d
Showing 1 changed file with 62 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"swagger": "3.0",
"info": {
"version": "2018-01-01",
"version": "2020-11-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."
},
Expand Down Expand Up @@ -66,6 +66,66 @@
"type": "string"
}
}
},
"ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications 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"
}
}
},
"ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications 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"
}
}
}
}
}

0 comments on commit 04faa0d

Please sign in to comment.