| | 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.Collections; |
| | 17 | | using System.Collections.Generic; |
| | 18 | | using System.Linq; |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// A deleted storage account bundle consisting of its previous id, |
| | 22 | | /// attributes and its tags, as well as information on when it will be |
| | 23 | | /// purged. |
| | 24 | | /// </summary> |
| | 25 | | public partial class DeletedStorageBundle : StorageBundle |
| | 26 | | { |
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the DeletedStorageBundle class. |
| | 29 | | /// </summary> |
| 14 | 30 | | public DeletedStorageBundle() |
| | 31 | | { |
| | 32 | | CustomInit(); |
| 14 | 33 | | } |
| | 34 | |
|
| | 35 | | /// <summary> |
| | 36 | | /// Initializes a new instance of the DeletedStorageBundle class. |
| | 37 | | /// </summary> |
| | 38 | | /// <param name="id">The storage account id.</param> |
| | 39 | | /// <param name="resourceId">The storage account resource id.</param> |
| | 40 | | /// <param name="activeKeyName">The current active storage account key |
| | 41 | | /// name.</param> |
| | 42 | | /// <param name="autoRegenerateKey">whether keyvault should manage the |
| | 43 | | /// storage account for the user.</param> |
| | 44 | | /// <param name="regenerationPeriod">The key regeneration time duration |
| | 45 | | /// specified in ISO-8601 format.</param> |
| | 46 | | /// <param name="attributes">The storage account attributes.</param> |
| | 47 | | /// <param name="tags">Application specific metadata in the form of |
| | 48 | | /// key-value pairs</param> |
| | 49 | | /// <param name="recoveryId">The url of the recovery object, used to |
| | 50 | | /// identify and recover the deleted storage account.</param> |
| | 51 | | /// <param name="scheduledPurgeDate">The time when the storage account |
| | 52 | | /// is scheduled to be purged, in UTC</param> |
| | 53 | | /// <param name="deletedDate">The time when the storage account was |
| | 54 | | /// deleted, in UTC</param> |
| | 55 | | public DeletedStorageBundle(string id = default(string), string resourceId = default(string), string activeKeyNa |
| 0 | 56 | | : base(id, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, attributes, tags) |
| | 57 | | { |
| 0 | 58 | | RecoveryId = recoveryId; |
| 0 | 59 | | ScheduledPurgeDate = scheduledPurgeDate; |
| 0 | 60 | | DeletedDate = deletedDate; |
| | 61 | | CustomInit(); |
| 0 | 62 | | } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// An initialization method that performs custom operations like setting defaults |
| | 66 | | /// </summary> |
| | 67 | | partial void CustomInit(); |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the url of the recovery object, used to identify and |
| | 71 | | /// recover the deleted storage account. |
| | 72 | | /// </summary> |
| | 73 | | [JsonProperty(PropertyName = "recoveryId")] |
| 0 | 74 | | public string RecoveryId { get; set; } |
| | 75 | |
|
| | 76 | | /// <summary> |
| | 77 | | /// Gets the time when the storage account is scheduled to be purged, |
| | 78 | | /// in UTC |
| | 79 | | /// </summary> |
| | 80 | | [JsonConverter(typeof(UnixTimeJsonConverter))] |
| | 81 | | [JsonProperty(PropertyName = "scheduledPurgeDate")] |
| 0 | 82 | | public System.DateTime? ScheduledPurgeDate { get; private set; } |
| | 83 | |
|
| | 84 | | /// <summary> |
| | 85 | | /// Gets the time when the storage account was deleted, in UTC |
| | 86 | | /// </summary> |
| | 87 | | [JsonConverter(typeof(UnixTimeJsonConverter))] |
| | 88 | | [JsonProperty(PropertyName = "deletedDate")] |
| 0 | 89 | | public System.DateTime? DeletedDate { get; private set; } |
| | 90 | |
|
| | 91 | | } |
| | 92 | | } |