| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.KeyVault.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// A Storage account bundle consists of key vault storage account details |
| | 20 | | /// plus its attributes. |
| | 21 | | /// </summary> |
| | 22 | | public partial class StorageBundle |
| | 23 | | { |
| | 24 | | /// <summary> |
| | 25 | | /// Initializes a new instance of the StorageBundle class. |
| | 26 | | /// </summary> |
| 34 | 27 | | public StorageBundle() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 34 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the StorageBundle class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="id">The storage account id.</param> |
| | 36 | | /// <param name="resourceId">The storage account resource id.</param> |
| | 37 | | /// <param name="activeKeyName">The current active storage account key |
| | 38 | | /// name.</param> |
| | 39 | | /// <param name="autoRegenerateKey">whether keyvault should manage the |
| | 40 | | /// storage account for the user.</param> |
| | 41 | | /// <param name="regenerationPeriod">The key regeneration time duration |
| | 42 | | /// specified in ISO-8601 format.</param> |
| | 43 | | /// <param name="attributes">The storage account attributes.</param> |
| | 44 | | /// <param name="tags">Application specific metadata in the form of |
| | 45 | | /// key-value pairs</param> |
| 0 | 46 | | public StorageBundle(string id = default(string), string resourceId = default(string), string activeKeyName = de |
| | 47 | | { |
| 0 | 48 | | Id = id; |
| 0 | 49 | | ResourceId = resourceId; |
| 0 | 50 | | ActiveKeyName = activeKeyName; |
| 0 | 51 | | AutoRegenerateKey = autoRegenerateKey; |
| 0 | 52 | | RegenerationPeriod = regenerationPeriod; |
| 0 | 53 | | Attributes = attributes; |
| 0 | 54 | | Tags = tags; |
| | 55 | | CustomInit(); |
| 0 | 56 | | } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// An initialization method that performs custom operations like setting defaults |
| | 60 | | /// </summary> |
| | 61 | | partial void CustomInit(); |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets the storage account id. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "id")] |
| 60 | 67 | | public string Id { get; private set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets the storage account resource id. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "resourceId")] |
| 0 | 73 | | public string ResourceId { get; private set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets the current active storage account key name. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "activeKeyName")] |
| 56 | 79 | | public string ActiveKeyName { get; private set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets whether keyvault should manage the storage account for the |
| | 83 | | /// user. |
| | 84 | | /// </summary> |
| | 85 | | [JsonProperty(PropertyName = "autoRegenerateKey")] |
| 56 | 86 | | public bool? AutoRegenerateKey { get; private set; } |
| | 87 | |
|
| | 88 | | /// <summary> |
| | 89 | | /// Gets the key regeneration time duration specified in ISO-8601 |
| | 90 | | /// format. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "regenerationPeriod")] |
| 56 | 93 | | public string RegenerationPeriod { get; private set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets the storage account attributes. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "attributes")] |
| 90 | 99 | | public StorageAccountAttributes Attributes { get; private set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets application specific metadata in the form of key-value pairs |
| | 103 | | /// </summary> |
| | 104 | | [JsonProperty(PropertyName = "tags")] |
| 0 | 105 | | public IDictionary<string, string> Tags { get; private set; } |
| | 106 | |
|
| | 107 | | } |
| | 108 | | } |