| | 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; |
| | 9 | | using System.Collections.Generic; |
| | 10 | | using Azure.Core; |
| | 11 | |
|
| | 12 | | namespace Azure.ResourceManager.KeyVault.Models |
| | 13 | | { |
| | 14 | | /// <summary> Resource information with extended details. </summary> |
| | 15 | | public partial class Vault |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of Vault. </summary> |
| | 18 | | /// <param name="properties"> Properties of the vault. </param> |
| | 19 | | /// <exception cref="ArgumentNullException"> <paramref name="properties"/> is null. </exception> |
| 0 | 20 | | internal Vault(VaultProperties properties) |
| | 21 | | { |
| 0 | 22 | | if (properties == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(properties)); |
| | 25 | | } |
| | 26 | |
|
| 0 | 27 | | Tags = new ChangeTrackingDictionary<string, string>(); |
| 0 | 28 | | Properties = properties; |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> Initializes a new instance of Vault. </summary> |
| | 32 | | /// <param name="id"> Fully qualified identifier of the key vault resource. </param> |
| | 33 | | /// <param name="name"> Name of the key vault resource. </param> |
| | 34 | | /// <param name="type"> Resource type of the key vault resource. </param> |
| | 35 | | /// <param name="location"> Azure location of the key vault resource. </param> |
| | 36 | | /// <param name="tags"> Tags assigned to the key vault resource. </param> |
| | 37 | | /// <param name="properties"> Properties of the vault. </param> |
| 76 | 38 | | internal Vault(string id, string name, string type, string location, IReadOnlyDictionary<string, string> tags, V |
| | 39 | | { |
| 76 | 40 | | Id = id; |
| 76 | 41 | | Name = name; |
| 76 | 42 | | Type = type; |
| 76 | 43 | | Location = location; |
| 76 | 44 | | Tags = tags; |
| 76 | 45 | | Properties = properties; |
| 76 | 46 | | } |
| | 47 | |
|
| | 48 | | /// <summary> Fully qualified identifier of the key vault resource. </summary> |
| 108 | 49 | | public string Id { get; } |
| | 50 | | /// <summary> Name of the key vault resource. </summary> |
| 72 | 51 | | public string Name { get; } |
| | 52 | | /// <summary> Resource type of the key vault resource. </summary> |
| 0 | 53 | | public string Type { get; } |
| | 54 | | /// <summary> Azure location of the key vault resource. </summary> |
| 48 | 55 | | public string Location { get; } |
| | 56 | | /// <summary> Tags assigned to the key vault resource. </summary> |
| 48 | 57 | | public IReadOnlyDictionary<string, string> Tags { get; } |
| | 58 | | /// <summary> Properties of the vault. </summary> |
| 392 | 59 | | public VaultProperties Properties { get; } |
| | 60 | | } |
| | 61 | | } |