Class: Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
- Inherits:
-
Object
- Object
- Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
- Includes:
- MsRestAzure
- Defined in:
- lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb
Overview
The SAS definition management attributes.
Instance Attribute Summary collapse
-
#created ⇒ Object
Creation time in UTC.
-
#enabled ⇒ Boolean
The enabled state of the object.
-
#recoverable_days ⇒ Integer
and <=90 when softDelete enabled, otherwise 0.
-
#recovery_level ⇒ DeletionRecoveryLevel
currently in effect for SAS definitions in the current vault.
-
#updated ⇒ Object
Last updated time in UTC.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SasDefinitionAttributes class as Ruby Hash.
Instance Attribute Details
#created ⇒ Object
Returns Creation time in UTC.
19 20 21 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 19 def created @created end |
#enabled ⇒ Boolean
Returns the enabled state of the object.
16 17 18 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 16 def enabled @enabled end |
#recoverable_days ⇒ Integer
and <=90 when softDelete enabled, otherwise 0.
26 27 28 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 26 def recoverable_days @recoverable_days end |
#recovery_level ⇒ DeletionRecoveryLevel
currently in effect for SAS definitions in the current vault. If it contains ‘Purgeable’ the SAS definition can be permanently deleted by a privileged user; otherwise, only the system can purge the SAS definition, at the end of the retention interval. Possible values include: ‘Purgeable’, ‘Recoverable+Purgeable’, ‘Recoverable’, ‘Recoverable+ProtectedSubscription’, ‘CustomizedRecoverable+Purgeable’, ‘CustomizedRecoverable’, ‘CustomizedRecoverable+ProtectedSubscription’
36 37 38 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 36 def recovery_level @recovery_level end |
#updated ⇒ Object
Returns Last updated time in UTC.
22 23 24 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 22 def updated @updated end |
Class Method Details
.mapper ⇒ Object
Mapper for SasDefinitionAttributes class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SasDefinitionAttributes', type: { name: 'Composite', class_name: 'SasDefinitionAttributes', model_properties: { enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, 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 |