# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::OperationalInsights::Mgmt::V2020_03_01_preview
  module Models
    #
    # The key vault properties.
    #
    class KeyVaultProperties

      include MsRestAzure

      # @return [String] The Key Vault uri which holds they key associated with
      # the Log Analytics cluster.
      attr_accessor :key_vault_uri

      # @return [String] The name of the key associated with the Log Analytics
      # cluster.
      attr_accessor :key_name

      # @return [String] The version of the key associated with the Log
      # Analytics cluster.
      attr_accessor :key_version


      #
      # Mapper for KeyVaultProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'keyVaultProperties',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultProperties',
            model_properties: {
              key_vault_uri: {
                client_side_validation: true,
                required: false,
                serialized_name: 'keyVaultUri',
                type: {
                  name: 'String'
                }
              },
              key_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'keyName',
                type: {
                  name: 'String'
                }
              },
              key_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'keyVersion',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
