Class: Azure::Compute::Mgmt::V2019_12_01::Models::DiskImageEncryption

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_compute/models/disk_image_encryption.rb

Overview

This is the disk image encryption base class.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disk_encryption_set_idString

encryption set.

Returns:

  • (String)

    A relative URI containing the resource ID of the disk



17
18
19
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/disk_image_encryption.rb', line 17

def disk_encryption_set_id
  @disk_encryption_set_id
end

Class Method Details

.mapperObject

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



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/disk_image_encryption.rb', line 24

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