-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
KeyVaultSecretNearExpiryEventData.cs
52 lines (47 loc) · 2.54 KB
/
KeyVaultSecretNearExpiryEventData.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretNearExpiry event. </summary>
public partial class KeyVaultSecretNearExpiryEventData
{
/// <summary> Initializes a new instance of KeyVaultSecretNearExpiryEventData. </summary>
internal KeyVaultSecretNearExpiryEventData()
{
}
/// <summary> Initializes a new instance of KeyVaultSecretNearExpiryEventData. </summary>
/// <param name="id"> The id of the object that triggered this event. </param>
/// <param name="vaultName"> Key vault name of the object that triggered this event. </param>
/// <param name="objectType"> The type of the object that triggered this event. </param>
/// <param name="objectName"> The name of the object that triggered this event. </param>
/// <param name="version"> The version of the object that triggered this event. </param>
/// <param name="nbf"> Not before date of the object that triggered this event. </param>
/// <param name="exp"> The expiration date of the object that triggered this event. </param>
internal KeyVaultSecretNearExpiryEventData(string id, string vaultName, string objectType, string objectName, string version, float? nbf, float? exp)
{
Id = id;
VaultName = vaultName;
ObjectType = objectType;
ObjectName = objectName;
Version = version;
Nbf = nbf;
Exp = exp;
}
/// <summary> The id of the object that triggered this event. </summary>
public string Id { get; }
/// <summary> Key vault name of the object that triggered this event. </summary>
public string VaultName { get; }
/// <summary> The type of the object that triggered this event. </summary>
public string ObjectType { get; }
/// <summary> The name of the object that triggered this event. </summary>
public string ObjectName { get; }
/// <summary> The version of the object that triggered this event. </summary>
public string Version { get; }
/// <summary> Not before date of the object that triggered this event. </summary>
public float? Nbf { get; }
/// <summary> The expiration date of the object that triggered this event. </summary>
public float? Exp { get; }
}
}