Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#encryption_algorithmJsonWebKeyEncryptionAlgorithm

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

#encryption_at_hostBoolean

enabled. Default value: false .



37
38
39
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 37

def encryption_at_host
  @encryption_at_host
end

#key_nameString



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_versionString

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_idString

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_uriString



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

.mapperObject

Mapper for DiskEncryptionProperties class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb', line 44

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'
          }
        },
        encryption_at_host: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encryptionAtHost',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end