Skip to content

Commit

Permalink
Schema Change for New Event Grid Events Emitting from Service Bus (Az…
Browse files Browse the repository at this point in the history
…ure#11935)

* draft for schema changes

* Revert "draft for schema changes"

This reverts commit 04faa0d.

* schema change

* modify existing swagger
  • Loading branch information
DorothySun216 authored and giromm2ms committed Dec 20, 2020
1 parent 5767018 commit 63d7c10
Showing 1 changed file with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
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 63d7c10

Please sign in to comment.