| | 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 key update parameters. |
| | 20 | | /// </summary> |
| | 21 | | public partial class KeyUpdateParameters |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the KeyUpdateParameters class. |
| | 25 | | /// </summary> |
| 6 | 26 | | public KeyUpdateParameters() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 6 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the KeyUpdateParameters class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="keyOps">Json web key operations. For more information |
| | 35 | | /// on possible key operations, see Microsoft.Azure.KeyVault.WebKey.JsonWebKeyOperation.</param> |
| | 36 | | /// <param name="tags">Application specific metadata in the form of |
| | 37 | | /// key-value pairs.</param> |
| 0 | 38 | | public KeyUpdateParameters(IList<string> keyOps = default(IList<string>), KeyAttributes keyAttributes = default( |
| | 39 | | { |
| 0 | 40 | | KeyOps = keyOps; |
| 0 | 41 | | KeyAttributes = keyAttributes; |
| 0 | 42 | | Tags = tags; |
| | 43 | | CustomInit(); |
| 0 | 44 | | } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// An initialization method that performs custom operations like setting defaults |
| | 48 | | /// </summary> |
| | 49 | | partial void CustomInit(); |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets json web key operations. For more information on |
| | 53 | | /// possible key operations, see Microsoft.Azure.KeyVault.WebKey.JsonWebKeyOperation. |
| | 54 | | /// </summary> |
| | 55 | | [JsonProperty(PropertyName = "key_ops")] |
| 12 | 56 | | public IList<string> KeyOps { get; set; } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "attributes")] |
| 12 | 61 | | public KeyAttributes KeyAttributes { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets application specific metadata in the form of key-value |
| | 65 | | /// pairs. |
| | 66 | | /// </summary> |
| | 67 | | [JsonProperty(PropertyName = "tags")] |
| 12 | 68 | | public IDictionary<string, string> Tags { get; set; } |
| | 69 | |
|
| | 70 | | } |
| | 71 | | } |