Class: Azure::KeyVault::V7_1::Models::DeletedSecretItem
- Inherits:
-
SecretItem
- Object
- SecretItem
- Azure::KeyVault::V7_1::Models::DeletedSecretItem
- Includes:
- MsRestAzure
- Defined in:
- lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb
Overview
The deleted secret item containing metadata about the deleted secret.
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 SecretItem
#attributes, #content_type, #id, #managed, #tags
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeletedSecretItem class as Ruby Hash.
Instance Attribute Details
#deleted_date ⇒ Object
Returns The time when the secret was deleted, in UTC.
23 24 25 |
# File 'lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb', line 23 def deleted_date @deleted_date end |
#recovery_id ⇒ String
recover the deleted secret.
17 18 19 |
# File 'lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb', line 17 def recovery_id @recovery_id end |
#scheduled_purge_date ⇒ Object
Returns The time when the secret is scheduled to be purged, in UTC.
20 21 22 |
# File 'lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb', line 20 def scheduled_purge_date @scheduled_purge_date end |
Class Method Details
.mapper ⇒ Object
Mapper for DeletedSecretItem class as Ruby Hash. This will be used for serialization/deserialization.
30 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 |
# File 'lib/7.1/generated/azure_key_vault/models/deleted_secret_item.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeletedSecretItem', type: { name: 'Composite', class_name: 'DeletedSecretItem', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', 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' } } } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', 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 |