Class: Azure::Compute::Mgmt::V2020_12_01::Models::DiskEncryptionSetParameters

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

Overview

Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer aka.ms/mdssewithcmkoverview for more details.

Instance Attribute Summary

Attributes inherited from SubResource

#id

Class Method Summary collapse

Class Method Details

.mapperObject

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



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

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