| | 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 | | /// The storage account update parameters. |
| | 20 | | /// </summary> |
| | 21 | | public partial class StorageAccountUpdateParameters |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the StorageAccountUpdateParameters |
| | 25 | | /// class. |
| | 26 | | /// </summary> |
| 2 | 27 | | public StorageAccountUpdateParameters() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 2 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the StorageAccountUpdateParameters |
| | 34 | | /// class. |
| | 35 | | /// </summary> |
| | 36 | | /// <param name="activeKeyName">The current active storage account key |
| | 37 | | /// name.</param> |
| | 38 | | /// <param name="autoRegenerateKey">whether keyvault should manage the |
| | 39 | | /// storage account for the user.</param> |
| | 40 | | /// <param name="regenerationPeriod">The key regeneration time duration |
| | 41 | | /// specified in ISO-8601 format.</param> |
| | 42 | | /// <param name="storageAccountAttributes">The attributes of the |
| | 43 | | /// storage account.</param> |
| | 44 | | /// <param name="tags">Application specific metadata in the form of |
| | 45 | | /// key-value pairs.</param> |
| 0 | 46 | | public StorageAccountUpdateParameters(string activeKeyName = default(string), bool? autoRegenerateKey = default( |
| | 47 | | { |
| 0 | 48 | | ActiveKeyName = activeKeyName; |
| 0 | 49 | | AutoRegenerateKey = autoRegenerateKey; |
| 0 | 50 | | RegenerationPeriod = regenerationPeriod; |
| 0 | 51 | | StorageAccountAttributes = storageAccountAttributes; |
| 0 | 52 | | Tags = tags; |
| | 53 | | CustomInit(); |
| 0 | 54 | | } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// An initialization method that performs custom operations like setting defaults |
| | 58 | | /// </summary> |
| | 59 | | partial void CustomInit(); |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets the current active storage account key name. |
| | 63 | | /// </summary> |
| | 64 | | [JsonProperty(PropertyName = "activeKeyName")] |
| 4 | 65 | | public string ActiveKeyName { get; set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets or sets whether keyvault should manage the storage account for |
| | 69 | | /// the user. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "autoRegenerateKey")] |
| 4 | 72 | | public bool? AutoRegenerateKey { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets the key regeneration time duration specified in |
| | 76 | | /// ISO-8601 format. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "regenerationPeriod")] |
| 4 | 79 | | public string RegenerationPeriod { get; set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets or sets the attributes of the storage account. |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "attributes")] |
| 4 | 85 | | public StorageAccountAttributes StorageAccountAttributes { get; set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// Gets or sets application specific metadata in the form of key-value |
| | 89 | | /// pairs. |
| | 90 | | /// </summary> |
| | 91 | | [JsonProperty(PropertyName = "tags")] |
| 4 | 92 | | public IDictionary<string, string> Tags { get; set; } |
| | 93 | |
|
| | 94 | | } |
| | 95 | | } |