Class: Azure::Compute::Mgmt::V2019_12_01::Models::OSDiskImageEncryption

Inherits:
DiskImageEncryption show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image_encryption.rb

Overview

Contains encryption settings for an OS disk image.

Instance Attribute Summary

Attributes inherited from DiskImageEncryption

#disk_encryption_set_id

Class Method Summary collapse

Class Method Details

.mapperObject

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



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image_encryption.rb', line 20

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OSDiskImageEncryption',
    type: {
      name: 'Composite',
      class_name: 'OSDiskImageEncryption',
      model_properties: {
        disk_encryption_set_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskEncryptionSetId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end