Class: Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings
- Inherits:
-
BaseModel
- Object
- BaseModel
- Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/encryption_settings.rb
Overview
The encryption settings.
Instance Attribute Summary collapse
-
#encryption_status ⇒ EncryptionStatus
encryption is enabled or not.
-
#key_rollover_status ⇒ KeyRolloverStatus
rollover is required or not.
Attributes inherited from BaseModel
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EncryptionSettings class as Ruby Hash.
Instance Attribute Details
#encryption_status ⇒ EncryptionStatus
encryption is enabled or not. Possible values include: ‘Enabled’, ‘Disabled’
18 19 20 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/encryption_settings.rb', line 18 def encryption_status @encryption_status end |
#key_rollover_status ⇒ KeyRolloverStatus
rollover is required or not. If secret’s encryption has been upgraded, then it requires key rollover. Possible values include: ‘Required’, ‘NotRequired’
24 25 26 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/encryption_settings.rb', line 24 def key_rollover_status @key_rollover_status end |
Class Method Details
.mapper ⇒ Object
Mapper for EncryptionSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/encryption_settings.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { name: 'Composite', class_name: 'EncryptionSettings', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'Enum', module: 'Kind' } }, encryption_status: { client_side_validation: true, required: true, serialized_name: 'properties.encryptionStatus', type: { name: 'Enum', module: 'EncryptionStatus' } }, key_rollover_status: { client_side_validation: true, required: true, serialized_name: 'properties.keyRolloverStatus', type: { name: 'Enum', module: 'KeyRolloverStatus' } } } } } end |