-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
SubscriptionValidationResponse.cs
28 lines (23 loc) · 1.34 KB
/
SubscriptionValidationResponse.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> 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. </summary>
public partial class SubscriptionValidationResponse
{
/// <summary> Initializes a new instance of <see cref="SubscriptionValidationResponse"/>. </summary>
public SubscriptionValidationResponse()
{
}
/// <summary> Initializes a new instance of <see cref="SubscriptionValidationResponse"/>. </summary>
/// <param name="validationResponse"> The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription. </param>
internal SubscriptionValidationResponse(string validationResponse)
{
ValidationResponse = validationResponse;
}
/// <summary> The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription. </summary>
public string ValidationResponse { get; set; }
}
}