| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Template.Models |
| | 12 | | { |
| | 13 | | /// <summary> A secret consisting of a value, id and its attributes. </summary> |
| | 14 | | public partial class SecretBundle |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of SecretBundle. </summary> |
| 0 | 17 | | internal SecretBundle() |
| | 18 | | { |
| 0 | 19 | | Tags = new ChangeTrackingDictionary<string, string>(); |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | /// <summary> Initializes a new instance of SecretBundle. </summary> |
| | 23 | | /// <param name="value"> The secret value. </param> |
| | 24 | | /// <param name="id"> The secret id. </param> |
| | 25 | | /// <param name="contentType"> The content type of the secret. </param> |
| | 26 | | /// <param name="tags"> Application specific metadata in the form of key-value pairs. </param> |
| | 27 | | /// <param name="kid"> If this is a secret backing a KV certificate, then this field specifies the corresponding |
| | 28 | | /// <param name="managed"> True if the secret's lifetime is managed by key vault. If this is a secret backi |
| 4 | 29 | | internal SecretBundle(string value, string id, string contentType, IReadOnlyDictionary<string, string> tags, str |
| | 30 | | { |
| 4 | 31 | | Value = value; |
| 4 | 32 | | Id = id; |
| 4 | 33 | | ContentType = contentType; |
| 4 | 34 | | Tags = tags; |
| 4 | 35 | | Kid = kid; |
| 4 | 36 | | Managed = managed; |
| 4 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> The secret value. </summary> |
| 4 | 40 | | public string Value { get; } |
| | 41 | | /// <summary> The secret id. </summary> |
| 0 | 42 | | public string Id { get; } |
| | 43 | | /// <summary> The content type of the secret. </summary> |
| 0 | 44 | | public string ContentType { get; } |
| | 45 | | /// <summary> Application specific metadata in the form of key-value pairs. </summary> |
| 0 | 46 | | public IReadOnlyDictionary<string, string> Tags { get; } |
| | 47 | | /// <summary> If this is a secret backing a KV certificate, then this field specifies the corresponding key back |
| 0 | 48 | | public string Kid { get; } |
| | 49 | | /// <summary> True if the secret's lifetime is managed by key vault. If this is a secret backing a certific |
| 0 | 50 | | public bool? Managed { get; } |
| | 51 | | } |
| | 52 | | } |