| | | 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 | | /// The deleted storage account item containing metadata about the deleted |
| | | 22 | | /// storage account. |
| | | 23 | | /// </summary> |
| | | 24 | | public partial class DeletedStorageAccountItem : StorageAccountItem |
| | | 25 | | { |
| | | 26 | | /// <summary> |
| | | 27 | | /// Initializes a new instance of the DeletedStorageAccountItem class. |
| | | 28 | | /// </summary> |
| | 0 | 29 | | public DeletedStorageAccountItem() |
| | | 30 | | { |
| | | 31 | | CustomInit(); |
| | 0 | 32 | | } |
| | | 33 | | |
| | | 34 | | /// <summary> |
| | | 35 | | /// Initializes a new instance of the DeletedStorageAccountItem class. |
| | | 36 | | /// </summary> |
| | | 37 | | /// <param name="id">Storage identifier.</param> |
| | | 38 | | /// <param name="resourceId">Storage account resource Id.</param> |
| | | 39 | | /// <param name="attributes">The storage account management |
| | | 40 | | /// attributes.</param> |
| | | 41 | | /// <param name="tags">Application specific metadata in the form of |
| | | 42 | | /// key-value pairs.</param> |
| | | 43 | | /// <param name="recoveryId">The url of the recovery object, used to |
| | | 44 | | /// identify and recover the deleted storage account.</param> |
| | | 45 | | /// <param name="scheduledPurgeDate">The time when the storage account |
| | | 46 | | /// is scheduled to be purged, in UTC</param> |
| | | 47 | | /// <param name="deletedDate">The time when the storage account was |
| | | 48 | | /// deleted, in UTC</param> |
| | | 49 | | public DeletedStorageAccountItem(string id = default(string), string resourceId = default(string), StorageAccoun |
| | 0 | 50 | | : base(id, resourceId, attributes, tags) |
| | | 51 | | { |
| | 0 | 52 | | RecoveryId = recoveryId; |
| | 0 | 53 | | ScheduledPurgeDate = scheduledPurgeDate; |
| | 0 | 54 | | DeletedDate = deletedDate; |
| | | 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 or sets the url of the recovery object, used to identify and |
| | | 65 | | /// recover the deleted storage account. |
| | | 66 | | /// </summary> |
| | | 67 | | [JsonProperty(PropertyName = "recoveryId")] |
| | 0 | 68 | | public string RecoveryId { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets the time when the storage account is scheduled to be purged, |
| | | 72 | | /// in UTC |
| | | 73 | | /// </summary> |
| | | 74 | | [JsonConverter(typeof(UnixTimeJsonConverter))] |
| | | 75 | | [JsonProperty(PropertyName = "scheduledPurgeDate")] |
| | 0 | 76 | | public System.DateTime? ScheduledPurgeDate { get; private set; } |
| | | 77 | | |
| | | 78 | | /// <summary> |
| | | 79 | | /// Gets the time when the storage account was deleted, in UTC |
| | | 80 | | /// </summary> |
| | | 81 | | [JsonConverter(typeof(UnixTimeJsonConverter))] |
| | | 82 | | [JsonProperty(PropertyName = "deletedDate")] |
| | 0 | 83 | | public System.DateTime? DeletedDate { get; private set; } |
| | | 84 | | |
| | | 85 | | } |
| | | 86 | | } |