Class: Azure::KeyVault::V2016_10_01::Models::SecretAttributes
- Inherits:
-
Attributes
- Object
- Attributes
- Azure::KeyVault::V2016_10_01::Models::SecretAttributes
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-10-01/generated/azure_key_vault/models/secret_attributes.rb
Overview
The secret management attributes.
Instance Attribute Summary collapse
-
#recovery_level ⇒ DeletionRecoveryLevel
currently in effect for secrets in the current vault.
Attributes inherited from Attributes
#created, #enabled, #expires, #not_before, #updated
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecretAttributes class as Ruby Hash.
Instance Attribute Details
#recovery_level ⇒ DeletionRecoveryLevel
currently in effect for secrets in the current vault. If it contains ‘Purgeable’, the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. Possible values include: ‘Purgeable’, ‘Recoverable+Purgeable’, ‘Recoverable’, ‘Recoverable+ProtectedSubscription’
22 23 24 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/secret_attributes.rb', line 22 def recovery_level @recovery_level end |
Class Method Details
.mapper ⇒ Object
Mapper for SecretAttributes class as Ruby Hash. This will be used for serialization/deserialization.
29 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 |
# File 'lib/2016-10-01/generated/azure_key_vault/models/secret_attributes.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecretAttributes', type: { name: 'Composite', class_name: 'SecretAttributes', model_properties: { enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, not_before: { client_side_validation: true, required: false, serialized_name: 'nbf', type: { name: 'UnixTime' } }, expires: { client_side_validation: true, required: false, serialized_name: 'exp', type: { name: 'UnixTime' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'UnixTime' } }, updated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'updated', type: { name: 'UnixTime' } }, recovery_level: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recoveryLevel', type: { name: 'String' } } } } } end |