Class: Azure::KeyVault::Mgmt::V2019_09_01::Models::Attributes
- Inherits:
-
Object
- Object
- Azure::KeyVault::Mgmt::V2019_09_01::Models::Attributes
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb
Overview
The object attributes managed by the Azure Key Vault service.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#created ⇒ Integer
Creation time in seconds since 1970-01-01T00:00:00Z.
-
#enabled ⇒ Boolean
Determines whether or not the object is enabled.
-
#expires ⇒ Integer
Expiry date in seconds since 1970-01-01T00:00:00Z.
-
#not_before ⇒ Integer
1970-01-01T00:00:00Z.
-
#recovery_level ⇒ DeletionRecoveryLevel
in effect for the object.
-
#updated ⇒ Integer
1970-01-01T00:00:00Z.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Attributes class as Ruby Hash.
Instance Attribute Details
#created ⇒ Integer
Returns Creation time in seconds since 1970-01-01T00:00:00Z.
26 27 28 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 26 def created @created end |
#enabled ⇒ Boolean
Returns Determines whether or not the object is enabled.
16 17 18 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 16 def enabled @enabled end |
#expires ⇒ Integer
Returns Expiry date in seconds since 1970-01-01T00:00:00Z.
23 24 25 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 23 def expires @expires end |
#not_before ⇒ Integer
1970-01-01T00:00:00Z.
20 21 22 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 20 def not_before @not_before end |
#recovery_level ⇒ DeletionRecoveryLevel
in effect for the object. If it contains ‘Purgeable’, then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval. Possible values include: ‘Purgeable’, ‘Recoverable+Purgeable’, ‘Recoverable’, ‘Recoverable+ProtectedSubscription’
38 39 40 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 38 def recovery_level @recovery_level end |
#updated ⇒ Integer
1970-01-01T00:00:00Z.
30 31 32 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 30 def updated @updated end |
Class Method Details
.mapper ⇒ Object
Mapper for Attributes class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-09-01/generated/azure_mgmt_key_vault/models/attributes.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Attributes', type: { name: 'Composite', class_name: 'Attributes', 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: 'Number' } }, expires: { client_side_validation: true, required: false, serialized_name: 'exp', type: { name: 'Number' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'Number' } }, updated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'updated', type: { name: 'Number' } }, recovery_level: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recoveryLevel', type: { name: 'String' } } } } } end |