diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json index 1fb551307aa9..ab3336be3486 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json @@ -118,6 +118,43 @@ "type": "string" } } + }, + "SubscriptionValidationEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent.", + "type": "object", + "properties": { + "validationCode": { + "description": "The validation code sent by Azure Event Grid to validate an event subscription. To complete the validation handshake, the subscriber must either respond with this validation code as part of the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview).", + "type": "string", + "readOnly": true + }, + "validationUrl": { + "description": "The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview). To complete the validation handshake, the subscriber must either respond with the validationCode as part of the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview).", + "type": "string", + "readOnly": true + } + } + }, + "SubscriptionValidationResponse": { + "description": "To complete an event subscription validation handshake, a subscriber can use either the validationCode or the validationUrl received in a SubscriptionValidationEvent. When the validationCode is used, the SubscriptionValidationResponse can be used to build the response.", + "type": "object", + "properties": { + "validationResponse": { + "description": "The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.", + "type": "string" + } + } + }, + "SubscriptionDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionDeletedEvent.", + "type": "object", + "properties": { + "eventSubscriptionId": { + "description": "The Azure resource ID of the deleted event subscription.", + "type": "string", + "readOnly": true + } + } } }, "parameters": {