Class: Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle
- Inherits:
-
SecretBundle
- Object
- SecretBundle
- Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_bundle.rb
Overview
A Deleted Secret consisting of its previous id, attributes and its tags, as well as information on when it will be purged.
Instance Attribute Summary collapse
-
#deleted_date ⇒ Object
The time when the secret was deleted, in UTC.
-
#recovery_id ⇒ String
recover the deleted secret.
-
#scheduled_purge_date ⇒ Object
The time when the secret is scheduled to be purged, in UTC.
Attributes inherited from SecretBundle
#attributes, #content_type, #id, #kid, #managed, #tags, #value
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeletedSecretBundle class as Ruby Hash.
Instance Attribute Details
#deleted_date ⇒ Object
Returns The time when the secret was deleted, in UTC.
24 25 26 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_bundle.rb', line 24 def deleted_date @deleted_date end |
#recovery_id ⇒ String
recover the deleted secret.
18 19 20 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_bundle.rb', line 18 def recovery_id @recovery_id end |
#scheduled_purge_date ⇒ Object
Returns The time when the secret is scheduled to be purged, in UTC.
21 22 23 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_bundle.rb', line 21 def scheduled_purge_date @scheduled_purge_date end |
Class Method Details
.mapper ⇒ Object
Mapper for DeletedSecretBundle class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/deleted_secret_bundle.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeletedSecretBundle', type: { name: 'Composite', class_name: 'DeletedSecretBundle', model_properties: { value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', type: { name: 'String' } }, attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'SecretAttributes' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, kid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kid', type: { name: 'String' } }, managed: { client_side_validation: true, required: false, read_only: true, serialized_name: 'managed', type: { name: 'Boolean' } }, recovery_id: { client_side_validation: true, required: false, serialized_name: 'recoveryId', type: { name: 'String' } }, scheduled_purge_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'scheduledPurgeDate', type: { name: 'UnixTime' } }, deleted_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'deletedDate', type: { name: 'UnixTime' } } } } } end |