SubscriptionValidationEventData Class

Definition

Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent event.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.SubscriptionValidationEventData+SubscriptionValidationEventDataConverter))]
public class SubscriptionValidationEventData
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.SubscriptionValidationEventData+SubscriptionValidationEventDataConverter))>]
type SubscriptionValidationEventData = class
Public Class SubscriptionValidationEventData
Inheritance
SubscriptionValidationEventData
Attributes

Properties

ValidationCode

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).

ValidationUrl

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).

Applies to