SubscriptionValidationEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. SubscriptionValidationEventData
- com.
Implements
public final class SubscriptionValidationEventData
implements JsonSerializable<SubscriptionValidationEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent event.
Constructor | Description |
---|---|
Subscription |
Creates an instance of Subscription |
Modifier and Type | Method and Description |
---|---|
static
Subscription |
from Reads an instance of Subscription |
String |
get Get the validation |
String |
get Get the validation |
Json |
to |
Methods inherited from java.lang.Object
SubscriptionValidationEventData
public SubscriptionValidationEventData()
Creates an instance of SubscriptionValidationEventData class.
fromJson
public static SubscriptionValidationEventData fromJson(JsonReader jsonReader)
Reads an instance of SubscriptionValidationEventData from the JsonReader.
Parameters:
Returns:
Throws:
getValidationCode
public String 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:
getValidationUrl
public String 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:
toJson
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: