Sha256: 22c9b9776873644a6df482269740edbfc96f0412f05ae4a7721992e28423d150

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 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_06_30
  module Models
    #
    # Encryption at rest settings for disk or snapshot
    #
    class Encryption

      include MsRestAzure

      # @return [String] ResourceId of the disk encryption set to use for
      # enabling encryption at rest.
      attr_accessor :disk_encryption_set_id

      # @return [EncryptionType] Possible values include:
      # 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey',
      # 'EncryptionAtRestWithPlatformAndCustomerKeys'
      attr_accessor :type


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb
azure_mgmt_compute-0.21.1 lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb
azure_mgmt_compute-0.20.0 lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb