| | 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 Microsoft.Rest; |
| | 14 | | using Microsoft.Rest.Serialization; |
| | 15 | | using Newtonsoft.Json; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// The storage account management attributes. |
| | 20 | | /// </summary> |
| | 21 | | public partial class StorageAccountAttributes |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the StorageAccountAttributes class. |
| | 25 | | /// </summary> |
| 52 | 26 | | public StorageAccountAttributes() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 52 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the StorageAccountAttributes class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="enabled">the enabled state of the object.</param> |
| | 35 | | /// <param name="created">Creation time in UTC.</param> |
| | 36 | | /// <param name="updated">Last updated time in UTC.</param> |
| | 37 | | /// <param name="recoveryLevel">Reflects the deletion recovery level |
| | 38 | | /// currently in effect for storage accounts in the current vault. If |
| | 39 | | /// it contains 'Purgeable' the storage account can be permanently |
| | 40 | | /// deleted by a privileged user; otherwise, only the system can purge |
| | 41 | | /// the storage account, at the end of the retention interval. Possible |
| | 42 | | /// values include: 'Purgeable', 'Recoverable+Purgeable', |
| | 43 | | /// 'Recoverable', 'Recoverable+ProtectedSubscription'</param> |
| 14 | 44 | | public StorageAccountAttributes(bool? enabled = default(bool?), System.DateTime? created = default(System.DateTi |
| | 45 | | { |
| 14 | 46 | | Enabled = enabled; |
| 14 | 47 | | Created = created; |
| 14 | 48 | | Updated = updated; |
| 14 | 49 | | RecoveryLevel = recoveryLevel; |
| | 50 | | CustomInit(); |
| 14 | 51 | | } |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | 55 | | /// </summary> |
| | 56 | | partial void CustomInit(); |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// Gets or sets the enabled state of the object. |
| | 60 | | /// </summary> |
| | 61 | | [JsonProperty(PropertyName = "enabled")] |
| 102 | 62 | | public bool? Enabled { get; set; } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// Gets creation time in UTC. |
| | 66 | | /// </summary> |
| | 67 | | [JsonConverter(typeof(UnixTimeJsonConverter))] |
| | 68 | | [JsonProperty(PropertyName = "created")] |
| 118 | 69 | | public System.DateTime? Created { get; private set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets last updated time in UTC. |
| | 73 | | /// </summary> |
| | 74 | | [JsonConverter(typeof(UnixTimeJsonConverter))] |
| | 75 | | [JsonProperty(PropertyName = "updated")] |
| 118 | 76 | | public System.DateTime? Updated { get; private set; } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// Gets reflects the deletion recovery level currently in effect for |
| | 80 | | /// storage accounts in the current vault. If it contains 'Purgeable' |
| | 81 | | /// the storage account can be permanently deleted by a privileged |
| | 82 | | /// user; otherwise, only the system can purge the storage account, at |
| | 83 | | /// the end of the retention interval. Possible values include: |
| | 84 | | /// 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', |
| | 85 | | /// 'Recoverable+ProtectedSubscription' |
| | 86 | | /// </summary> |
| | 87 | | [JsonProperty(PropertyName = "recoveryLevel")] |
| 0 | 88 | | public string RecoveryLevel { get; private set; } |
| | 89 | |
|
| | 90 | | } |
| | 91 | | } |