diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json index aff94fc9f773..7e2b2d52f5d6 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json @@ -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." }, @@ -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" + } + } } } }