| | 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 an SecretNearExpiry event. </summary> |
| | 11 | | public partial class KeyVaultSecretNearExpiryEventData |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of KeyVaultSecretNearExpiryEventData. </summary> |
| 0 | 14 | | internal KeyVaultSecretNearExpiryEventData() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of KeyVaultSecretNearExpiryEventData. </summary> |
| | 19 | | /// <param name="id"> The id of the object that triggered this event. </param> |
| | 20 | | /// <param name="vaultName"> Key vault name of the object that triggered this event. </param> |
| | 21 | | /// <param name="objectType"> The type of the object that triggered this event. </param> |
| | 22 | | /// <param name="objectName"> The name of the object that triggered this event. </param> |
| | 23 | | /// <param name="version"> The version of the object that triggered this event. </param> |
| | 24 | | /// <param name="nbf"> Not before date of the object that triggered this event. </param> |
| | 25 | | /// <param name="exp"> The expiration date of the object that triggered this event. </param> |
| 0 | 26 | | internal KeyVaultSecretNearExpiryEventData(string id, string vaultName, string objectType, string objectName, st |
| | 27 | | { |
| 0 | 28 | | Id = id; |
| 0 | 29 | | VaultName = vaultName; |
| 0 | 30 | | ObjectType = objectType; |
| 0 | 31 | | ObjectName = objectName; |
| 0 | 32 | | Version = version; |
| 0 | 33 | | Nbf = nbf; |
| 0 | 34 | | Exp = exp; |
| 0 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> The id of the object that triggered this event. </summary> |
| 0 | 38 | | public string Id { get; } |
| | 39 | | /// <summary> Key vault name of the object that triggered this event. </summary> |
| 0 | 40 | | public string VaultName { get; } |
| | 41 | | /// <summary> The type of the object that triggered this event. </summary> |
| 0 | 42 | | public string ObjectType { get; } |
| | 43 | | /// <summary> The name of the object that triggered this event. </summary> |
| 0 | 44 | | public string ObjectName { get; } |
| | 45 | | /// <summary> The version of the object that triggered this event. </summary> |
| 0 | 46 | | public string Version { get; } |
| | 47 | | /// <summary> Not before date of the object that triggered this event. </summary> |
| 0 | 48 | | public float? Nbf { get; } |
| | 49 | | /// <summary> The expiration date of the object that triggered this event. </summary> |
| 0 | 50 | | public float? Exp { get; } |
| | 51 | | } |
| | 52 | | } |