Class: Azure::KeyVault::V7_1_preview::Models::CertificateAttributes
- Inherits:
-
Attributes
- Object
- Attributes
- Azure::KeyVault::V7_1_preview::Models::CertificateAttributes
- Includes:
- MsRestAzure
- Defined in:
- lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb
Overview
The certificate management attributes.
Instance Attribute Summary collapse
-
#recoverable_days ⇒ Integer
and <=90 when softDelete enabled, otherwise 0.
-
#recovery_level ⇒ DeletionRecoveryLevel
currently in effect for certificates in the current vault.
Attributes inherited from Attributes
#created, #enabled, #expires, #not_before, #updated
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CertificateAttributes class as Ruby Hash.
Instance Attribute Details
#recoverable_days ⇒ Integer
and <=90 when softDelete enabled, otherwise 0.
17 18 19 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb', line 17 def recoverable_days @recoverable_days end |
#recovery_level ⇒ DeletionRecoveryLevel
currently in effect for certificates in the current vault. If it contains ‘Purgeable’, the certificate can be permanently deleted by a privileged user; otherwise, only the system can purge the certificate, at the end of the retention interval. Possible values include: ‘Purgeable’, ‘Recoverable+Purgeable’, ‘Recoverable’, ‘Recoverable+ProtectedSubscription’, ‘CustomizedRecoverable+Purgeable’, ‘CustomizedRecoverable’, ‘CustomizedRecoverable+ProtectedSubscription’
27 28 29 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb', line 27 def recovery_level @recovery_level end |
Class Method Details
.mapper ⇒ Object
Mapper for CertificateAttributes class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/7.1-preview/generated/azure_key_vault/models/certificate_attributes.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateAttributes', type: { name: 'Composite', class_name: 'CertificateAttributes', 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' } }, recoverable_days: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recoverableDays', type: { name: 'Number' } }, recovery_level: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recoveryLevel', type: { name: 'String' } } } } } end |