Class SubscriptionValidationEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.SubscriptionValidationEventData
Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the validationCode property: The validation code sent by Azure Event Grid to validate an event subscription.Get the validationUrl property: The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview).
-
Constructor Details
-
SubscriptionValidationEventData
public SubscriptionValidationEventData()
-
-
Method Details
-
getValidationCode
Get the validationCode property: 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).- Returns:
- the validationCode value.
-
getValidationUrl
Get the validationUrl property: 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).- Returns:
- the validationUrl value.
-