-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StorageAccountKeyVaultProperties.cs
50 lines (44 loc) · 2.67 KB
/
StorageAccountKeyVaultProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Storage.Models
{
/// <summary> Properties of key vault. </summary>
public partial class StorageAccountKeyVaultProperties
{
/// <summary> Initializes a new instance of StorageAccountKeyVaultProperties. </summary>
public StorageAccountKeyVaultProperties()
{
}
/// <summary> Initializes a new instance of StorageAccountKeyVaultProperties. </summary>
/// <param name="keyName"> The name of KeyVault key. </param>
/// <param name="keyVersion"> The version of KeyVault key. </param>
/// <param name="keyVaultUri"> The Uri of KeyVault. </param>
/// <param name="currentVersionedKeyIdentifier"> The object identifier of the current versioned Key Vault Key in use. </param>
/// <param name="lastKeyRotationTimestamp"> Timestamp of last rotation of the Key Vault Key. </param>
/// <param name="currentVersionedKeyExpirationTimestamp"> This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. </param>
internal StorageAccountKeyVaultProperties(string keyName, string keyVersion, Uri keyVaultUri, string currentVersionedKeyIdentifier, DateTimeOffset? lastKeyRotationTimestamp, DateTimeOffset? currentVersionedKeyExpirationTimestamp)
{
KeyName = keyName;
KeyVersion = keyVersion;
KeyVaultUri = keyVaultUri;
CurrentVersionedKeyIdentifier = currentVersionedKeyIdentifier;
LastKeyRotationTimestamp = lastKeyRotationTimestamp;
CurrentVersionedKeyExpirationTimestamp = currentVersionedKeyExpirationTimestamp;
}
/// <summary> The name of KeyVault key. </summary>
public string KeyName { get; set; }
/// <summary> The version of KeyVault key. </summary>
public string KeyVersion { get; set; }
/// <summary> The Uri of KeyVault. </summary>
public Uri KeyVaultUri { get; set; }
/// <summary> The object identifier of the current versioned Key Vault Key in use. </summary>
public string CurrentVersionedKeyIdentifier { get; }
/// <summary> Timestamp of last rotation of the Key Vault Key. </summary>
public DateTimeOffset? LastKeyRotationTimestamp { get; }
/// <summary> This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. </summary>
public DateTimeOffset? CurrentVersionedKeyExpirationTimestamp { get; }
}
}