# 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::Storage::Mgmt::V2020_08_01_preview
  module Models
    #
    # The key vault properties for the encryption scope. This is a required
    # field if encryption scope 'source' attribute is set to
    # 'Microsoft.KeyVault'.
    #
    class EncryptionScopeKeyVaultProperties

      include MsRestAzure

      # @return [String] The object identifier for a key vault key object. When
      # applied, the encryption scope will use the key referenced by the
      # identifier to enable customer-managed key support on this encryption
      # scope.
      attr_accessor :key_uri


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