# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2020_06_30 module Models # # disk encryption set update resource. # class DiskEncryptionSetUpdate include MsRestAzure # @return [DiskEncryptionSetType] Possible values include: # 'EncryptionAtRestWithCustomerKey', # 'EncryptionAtRestWithPlatformAndCustomerKeys' attr_accessor :encryption_type # @return [KeyVaultAndKeyReference] attr_accessor :active_key # @return [Hash{String => String}] Resource tags attr_accessor :tags # # Mapper for DiskEncryptionSetUpdate class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSetUpdate', type: { name: 'Composite', class_name: 'DiskEncryptionSetUpdate', model_properties: { encryption_type: { client_side_validation: true, required: false, serialized_name: 'properties.encryptionType', type: { name: 'String' } }, active_key: { client_side_validation: true, required: false, serialized_name: 'properties.activeKey', type: { name: 'Composite', class_name: 'KeyVaultAndKeyReference' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end