Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb
Overview
The disk encryption properties
Instance Attribute Summary collapse
-
#encryption_algorithm ⇒ JsonWebKeyEncryptionAlgorithm
encryption, default RSA-OAEP.
-
#key_name ⇒ String
Key name that is used for enabling disk encryption.
-
#key_version ⇒ String
encryption.
-
#msi_resource_id ⇒ String
the key vault.
-
#vault_uri ⇒ String
eg.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiskEncryptionProperties class as Ruby Hash.
Instance Attribute Details
#encryption_algorithm ⇒ JsonWebKeyEncryptionAlgorithm
encryption, default RSA-OAEP. Possible values include: ‘RSA-OAEP’, ‘RSA-OAEP-256’, ‘RSA1_5’
29 30 31 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 29 def encryption_algorithm @encryption_algorithm end |
#key_name ⇒ String
Returns Key name that is used for enabling disk encryption.
20 21 22 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 20 def key_name @key_name end |
#key_version ⇒ String
encryption.
24 25 26 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 24 def key_version @key_version end |
#msi_resource_id ⇒ String
the key vault.
33 34 35 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 33 def msi_resource_id @msi_resource_id end |
#vault_uri ⇒ String
17 18 19 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 17 def vault_uri @vault_uri end |
Class Method Details
.mapper ⇒ Object
Mapper for DiskEncryptionProperties class as Ruby Hash. This will be used for serialization/deserialization.
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/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiskEncryptionProperties', type: { name: 'Composite', class_name: 'DiskEncryptionProperties', model_properties: { vault_uri: { client_side_validation: true, required: false, serialized_name: 'vaultUri', type: { name: 'String' } }, key_name: { client_side_validation: true, required: false, serialized_name: 'keyName', type: { name: 'String' } }, key_version: { client_side_validation: true, required: false, serialized_name: 'keyVersion', type: { name: 'String' } }, encryption_algorithm: { client_side_validation: true, required: false, serialized_name: 'encryptionAlgorithm', type: { name: 'String' } }, msi_resource_id: { client_side_validation: true, required: false, serialized_name: 'msiResourceId', type: { name: 'String' } } } } } end |