-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
KeyVaultContractProperties.cs
34 lines (28 loc) · 1.78 KB
/
KeyVaultContractProperties.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;
using System.Collections.Generic;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> KeyVault contract details. </summary>
public partial class KeyVaultContractProperties : KeyVaultContractCreateProperties
{
/// <summary> Initializes a new instance of <see cref="KeyVaultContractProperties"/>. </summary>
public KeyVaultContractProperties()
{
}
/// <summary> Initializes a new instance of <see cref="KeyVaultContractProperties"/>. </summary>
/// <param name="secretIdentifier"> Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi. </param>
/// <param name="identityClientId"> Null for SystemAssignedIdentity or Client Id for UserAssignedIdentity , which will be used to access key vault secret. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="lastStatus"> Last time sync and refresh status of secret from key vault. </param>
internal KeyVaultContractProperties(string secretIdentifier, string identityClientId, IDictionary<string, BinaryData> serializedAdditionalRawData, KeyVaultLastAccessStatusContractProperties lastStatus) : base(secretIdentifier, identityClientId, serializedAdditionalRawData)
{
LastStatus = lastStatus;
}
/// <summary> Last time sync and refresh status of secret from key vault. </summary>
public KeyVaultLastAccessStatusContractProperties LastStatus { get; set; }
}
}