/
RedisEnterpriseCustomerManagedKeyEncryption.cs
34 lines (28 loc) · 1.9 KB
/
RedisEnterpriseCustomerManagedKeyEncryption.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.RedisEnterprise.Models
{
/// <summary> All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. </summary>
public partial class RedisEnterpriseCustomerManagedKeyEncryption
{
/// <summary> Initializes a new instance of <see cref="RedisEnterpriseCustomerManagedKeyEncryption"/>. </summary>
public RedisEnterpriseCustomerManagedKeyEncryption()
{
}
/// <summary> Initializes a new instance of <see cref="RedisEnterpriseCustomerManagedKeyEncryption"/>. </summary>
/// <param name="keyEncryptionKeyIdentity"> All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. </param>
/// <param name="keyEncryptionKeyUri"> Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78. </param>
internal RedisEnterpriseCustomerManagedKeyEncryption(RedisEnterpriseCustomerManagedKeyEncryptionKeyIdentity keyEncryptionKeyIdentity, Uri keyEncryptionKeyUri)
{
KeyEncryptionKeyIdentity = keyEncryptionKeyIdentity;
KeyEncryptionKeyUri = keyEncryptionKeyUri;
}
/// <summary> All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. </summary>
public RedisEnterpriseCustomerManagedKeyEncryptionKeyIdentity KeyEncryptionKeyIdentity { get; set; }
/// <summary> Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78. </summary>
public Uri KeyEncryptionKeyUri { get; set; }
}
}