SubscriptionValidationEventData Class

  • java.lang.Object
    • com.microsoft.azure.eventgrid.models.SubscriptionValidationEventData

public class SubscriptionValidationEventData

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

Constructor Summary

Constructor Description
SubscriptionValidationEventData()

Method Summary

Modifier and Type Method and Description
java.lang.String validationCode()

Get the validation code sent by Azure Event Grid to validate an event subscription.

java.lang.String validationUrl()

Get the validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview).

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SubscriptionValidationEventData

public SubscriptionValidationEventData()

Method Details

validationCode

public String validationCode()

Get 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

validationUrl

public String validationUrl()

Get 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

Applies to