| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | | 9 | | { |
| | | 10 | | /// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent |
| | | 11 | | public partial class SubscriptionValidationEventData |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of SubscriptionValidationEventData. </summary> |
| | 0 | 14 | | internal SubscriptionValidationEventData() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of SubscriptionValidationEventData. </summary> |
| | | 19 | | /// <param name="validationCode"> The validation code sent by Azure Event Grid to validate an event subscription |
| | | 20 | | /// <param name="validationUrl"> The validation URL sent by Azure Event Grid (available starting version 2018-05 |
| | 2 | 21 | | internal SubscriptionValidationEventData(string validationCode, string validationUrl) |
| | | 22 | | { |
| | 2 | 23 | | ValidationCode = validationCode; |
| | 2 | 24 | | ValidationUrl = validationUrl; |
| | 2 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> The validation code sent by Azure Event Grid to validate an event subscription. To complete the va |
| | 2 | 28 | | public string ValidationCode { get; } |
| | | 29 | | /// <summary> The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview). To co |
| | 0 | 30 | | public string ValidationUrl { get; } |
| | | 31 | | } |
| | | 32 | | } |