Sha256: 4a28356fd9e37b620adf23d0d4e2f07487e70dee995b91dabbe1fb0a25c44323

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

# 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_09_30_preview
  module Models
    #
    # Contains encryption settings for a data disk image.
    #
    class DataDiskImageEncryption < DiskImageEncryption

      include MsRestAzure

      # @return [Integer] This property specifies the logical unit number of
      # the data disk. This value is used to identify data disks within the
      # Virtual Machine and therefore must be unique for each data disk
      # attached to the Virtual Machine.
      attr_accessor :lun


      #
      # Mapper for DataDiskImageEncryption class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DataDiskImageEncryption',
          type: {
            name: 'Composite',
            class_name: 'DataDiskImageEncryption',
            model_properties: {
              disk_encryption_set_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'diskEncryptionSetId',
                type: {
                  name: 'String'
                }
              },
              lun: {
                client_side_validation: true,
                required: true,
                serialized_name: 'lun',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb
azure_mgmt_compute-0.21.1 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb