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

module Azure::ContainerService::Mgmt::V2017_07_01
  module Models
    #
    # Reference to a secret stored in Azure Key Vault.
    #
    class KeyVaultSecretRef

      include MsRestAzure

      # @return [String] Key vault identifier.
      attr_accessor :vault_id

      # @return [String] The secret name.
      attr_accessor :secret_name

      # @return [String] The secret version.
      attr_accessor :version


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