> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createDatasource

<div className="kinetica-doxygen">
  <div id="aee7f93ffe53262e30f66a08cf99847e5" />

  <h2 className="memtitle"><span className="permalink"><a href="#aee7f93ffe53262e30f66a08cf99847e5">◆ </a></span>createDatasource() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">CreateDatasourceResponse</a> gpudb::GPUdb::createDatasource </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest">CreateDatasourceRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a <a href="/content/concepts/data_sources/" target="_top">data source</a>, which contains the location and connection information for a data store that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a7bf5abea868db0f44e0ab9d6298da7aa" />

  <h2 className="memtitle"><span className="permalink"><a href="#a7bf5abea868db0f44e0ab9d6298da7aa">◆ </a></span>createDatasource() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">CreateDatasourceResponse</a> & gpudb::GPUdb::createDatasource </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest">CreateDatasourceRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">CreateDatasourceResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a <a href="/content/concepts/data_sources/" target="_top">data source</a>, which contains the location and connection information for a data store that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="abd907f6e877fc1e5bab4c9a913e54261" />

  <h2 className="memtitle"><span className="permalink"><a href="#abd907f6e877fc1e5bab4c9a913e54261">◆ </a></span>createDatasource() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">CreateDatasourceResponse</a> gpudb::GPUdb::createDatasource </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">location</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">userName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">password</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a <a href="/content/concepts/data_sources/" target="_top">data source</a>, which contains the location and connection information for a data store that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">name</td>
              <td>Name of the data source to be created. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">location</td>
              <td>Location of the remote storage in 'storage\_provider\_type://\[storage\_path\[:storage\_port]]' format. Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">userName</td>
              <td>Name of the remote system user; may be an empty string. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">password</td>
              <td>Password for the remote system user; may be an empty string. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a5991b0fece39effa8b141ed3a821628f">create\_datasource\_skip\_validation</a>: Bypass validation of connection to remote source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aadfcd734567c64e73633088645f50621">create\_datasource\_connection\_timeout</a>: Timeout in seconds for connecting to this storage provider. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab852fedea0ece7c198df90fcfea46b66">create\_datasource\_wait\_timeout</a>: Timeout in seconds for reading from this storage provider. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9ea410c698a08a705156b4cd47cb76d9">create\_datasource\_credential</a>: Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1a5d015a7f877b82adf782b02f8d7fee">create\_datasource\_s3\_bucket\_name</a>: Name of the Amazon S3 bucket to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#af0cde712894694fbd6a12b3799a51c28">create\_datasource\_s3\_region</a>: Name of the Amazon S3 region where the given bucket is located. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a94df071390de176cfef884ba960a8482">create\_datasource\_s3\_verify\_ssl</a>: Whether to verify SSL connections. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>: Connect with SSL verification. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>: Connect without verifying the SSL connection; for testing purposes, bypassing TLS errors, self-signed certificates, etc. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac1bbbea1d9c3147898c64a8ecde08b4f">create\_datasource\_s3\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Amazon S3 source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>: Use path-style URI for requests. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa2379b58609720d71db6d6964606b28d">create\_datasource\_s3\_aws\_role\_arn</a>: Amazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM user. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac8030ceb95177a49c58b37ace69e7a82">create\_datasource\_s3\_encryption\_customer\_algorithm</a>: Customer encryption algorithm used encrypting data. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a74460b4336ab62b616f3a01631cfaee5">create\_datasource\_s3\_encryption\_customer\_key</a>: Customer encryption key to encrypt or decrypt data. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a26033cc9892c82509f3cf485080a3bcc">create\_datasource\_hdfs\_kerberos\_keytab</a>: Kerberos keytab file location for the given HDFS user. This may be a KIFS file. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a14fed5e858e21050390e0d129fa1bad2">create\_datasource\_hdfs\_delegation\_token</a>: Delegation token for the given HDFS user. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a62a4ae0bcebc960fcd016c89a0ca63aa">create\_datasource\_hdfs\_use\_kerberos</a>: Use kerberos authentication for the given HDFS cluster. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a85abdcfe7f765ec8cdd695a2d966a577">create\_datasource\_azure\_storage\_account\_name</a>: Name of the Azure storage account to use as the data source, this is valid only if tenant\_id is specified. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a70e6a2bc5b1cfbf422caf2591374c309">create\_datasource\_azure\_container\_name</a>: Name of the Azure storage container to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a975630a875456275bed3c3a0fd9d13bb">create\_datasource\_azure\_tenant\_id</a>: Active Directory tenant ID (or directory ID). </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7de08e1cb32b4de4babedaeea2bff726">create\_datasource\_azure\_sas\_token</a>: Shared access signature token for Azure storage account to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aacedcb0ba462cabf37274fd7fd582c74">create\_datasource\_azure\_oauth\_token</a>: OAuth token to access given storage container. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a966d303b4e318704a70721083cba8ba1">create\_datasource\_azure\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Azure source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>: Use path-style URI for requests. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#af6211e8680d4647d78a030d66a5dabca">create\_datasource\_gcs\_bucket\_name</a>: Name of the Google Cloud Storage bucket to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0cd7527cec67822c43ccfbdb8a700580">create\_datasource\_gcs\_project\_id</a>: Name of the Google Cloud project to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aacf478c08c08174b8d0a172e79db8f3f">create\_datasource\_gcs\_service\_account\_keys</a>: Google Cloud service account keys to use for authenticating the data source. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#abd44e08ce5741bb3bd25b4e6f8175d0c">create\_datasource\_is\_stream</a>: To load from Azure/GCS/S3 as a stream continuously. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0a4fc81f1da618be2e39fedb229b4309">create\_datasource\_kafka\_topic\_name</a>: Name of the Kafka topic to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa426a60be465769d477fcab28e929a44">create\_datasource\_jdbc\_driver\_jar\_path</a>: JDBC driver jar file location. This may be a KIFS file. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa03e82751b2c556e6a0f56443b8e1c2f">create\_datasource\_jdbc\_driver\_class\_name</a>: Name of the JDBC driver class. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a74a7c81c89b1f4dc971d0435853098ad">create\_datasource\_anonymous</a>: Use anonymous connection to storage provider–DEPRECATED: this is now the default. Specify use\_managed\_credentials for non-anonymous connection. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a10b29be54353b475cba809aef2f641fb">create\_datasource\_use\_managed\_credentials</a>: When no credentials are supplied, we use anonymous access by default. If this is set, we will use cloud provider user settings. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#adf55cc0301f39c595d80b1f218b60da3">create\_datasource\_use\_https</a>: Use HTTPS to connect to datasource if true, otherwise use HTTP. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a306376988b6d97b63ebf31e3ed169a50">create\_datasource\_schema\_registry\_location</a>: Location of Confluent Schema Registry in '\[storage\_path\[:storage\_port]]' format. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a79b74df8c283e93076bcebefc7b0479d">create\_datasource\_schema\_registry\_credential</a>: Confluent Schema Registry <a href="/content/concepts/credentials" target="_top">credential</a> object name. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1750c097dca129b111bc8b028d8aad33">create\_datasource\_schema\_registry\_port</a>: Confluent Schema Registry port (optional). </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a72b7b434fe10dec6e96c52c72c63c12f">create\_datasource\_schema\_registry\_connection\_retries</a>: Confluent Schema registry connection timeout (in secs). </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a05155247cfecd122cef6c4430f47a091">create\_datasource\_schema\_registry\_connection\_timeout</a>: Confluent Schema registry connection timeout (in secs). </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a2be406bc91fb042fccb89e77fd4f1c29" />

  <h2 className="memtitle"><span className="permalink"><a href="#a2be406bc91fb042fccb89e77fd4f1c29">◆ </a></span>createDatasource() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">CreateDatasourceResponse</a> & gpudb::GPUdb::createDatasource </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">location</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">userName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">password</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">CreateDatasourceResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Creates a <a href="/content/concepts/data_sources/" target="_top">data source</a>, which contains the location and connection information for a data store that is external to the database. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">name</td>
              <td>Name of the data source to be created. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">location</td>
              <td>Location of the remote storage in 'storage\_provider\_type://\[storage\_path\[:storage\_port]]' format. Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">userName</td>
              <td>Name of the remote system user; may be an empty string. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">password</td>
              <td>Password for the remote system user; may be an empty string. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a5991b0fece39effa8b141ed3a821628f">create\_datasource\_skip\_validation</a>: Bypass validation of connection to remote source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aadfcd734567c64e73633088645f50621">create\_datasource\_connection\_timeout</a>: Timeout in seconds for connecting to this storage provider. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab852fedea0ece7c198df90fcfea46b66">create\_datasource\_wait\_timeout</a>: Timeout in seconds for reading from this storage provider. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9ea410c698a08a705156b4cd47cb76d9">create\_datasource\_credential</a>: Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1a5d015a7f877b82adf782b02f8d7fee">create\_datasource\_s3\_bucket\_name</a>: Name of the Amazon S3 bucket to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#af0cde712894694fbd6a12b3799a51c28">create\_datasource\_s3\_region</a>: Name of the Amazon S3 region where the given bucket is located. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a94df071390de176cfef884ba960a8482">create\_datasource\_s3\_verify\_ssl</a>: Whether to verify SSL connections. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>: Connect with SSL verification. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>: Connect without verifying the SSL connection; for testing purposes, bypassing TLS errors, self-signed certificates, etc. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#ac1bbbea1d9c3147898c64a8ecde08b4f">create\_datasource\_s3\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Amazon S3 source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>: Use path-style URI for requests. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa2379b58609720d71db6d6964606b28d">create\_datasource\_s3\_aws\_role\_arn</a>: Amazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM user. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac8030ceb95177a49c58b37ace69e7a82">create\_datasource\_s3\_encryption\_customer\_algorithm</a>: Customer encryption algorithm used encrypting data. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a74460b4336ab62b616f3a01631cfaee5">create\_datasource\_s3\_encryption\_customer\_key</a>: Customer encryption key to encrypt or decrypt data. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a26033cc9892c82509f3cf485080a3bcc">create\_datasource\_hdfs\_kerberos\_keytab</a>: Kerberos keytab file location for the given HDFS user. This may be a KIFS file. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a14fed5e858e21050390e0d129fa1bad2">create\_datasource\_hdfs\_delegation\_token</a>: Delegation token for the given HDFS user. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a62a4ae0bcebc960fcd016c89a0ca63aa">create\_datasource\_hdfs\_use\_kerberos</a>: Use kerberos authentication for the given HDFS cluster. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a85abdcfe7f765ec8cdd695a2d966a577">create\_datasource\_azure\_storage\_account\_name</a>: Name of the Azure storage account to use as the data source, this is valid only if tenant\_id is specified. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a70e6a2bc5b1cfbf422caf2591374c309">create\_datasource\_azure\_container\_name</a>: Name of the Azure storage container to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a975630a875456275bed3c3a0fd9d13bb">create\_datasource\_azure\_tenant\_id</a>: Active Directory tenant ID (or directory ID). </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7de08e1cb32b4de4babedaeea2bff726">create\_datasource\_azure\_sas\_token</a>: Shared access signature token for Azure storage account to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aacedcb0ba462cabf37274fd7fd582c74">create\_datasource\_azure\_oauth\_token</a>: OAuth token to access given storage container. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a966d303b4e318704a70721083cba8ba1">create\_datasource\_azure\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Azure source. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>: Use path-style URI for requests. </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#af6211e8680d4647d78a030d66a5dabca">create\_datasource\_gcs\_bucket\_name</a>: Name of the Google Cloud Storage bucket to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0cd7527cec67822c43ccfbdb8a700580">create\_datasource\_gcs\_project\_id</a>: Name of the Google Cloud project to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aacf478c08c08174b8d0a172e79db8f3f">create\_datasource\_gcs\_service\_account\_keys</a>: Google Cloud service account keys to use for authenticating the data source. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#abd44e08ce5741bb3bd25b4e6f8175d0c">create\_datasource\_is\_stream</a>: To load from Azure/GCS/S3 as a stream continuously. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0a4fc81f1da618be2e39fedb229b4309">create\_datasource\_kafka\_topic\_name</a>: Name of the Kafka topic to use as the data source. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa426a60be465769d477fcab28e929a44">create\_datasource\_jdbc\_driver\_jar\_path</a>: JDBC driver jar file location. This may be a KIFS file. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa03e82751b2c556e6a0f56443b8e1c2f">create\_datasource\_jdbc\_driver\_class\_name</a>: Name of the JDBC driver class. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a74a7c81c89b1f4dc971d0435853098ad">create\_datasource\_anonymous</a>: Use anonymous connection to storage provider–DEPRECATED: this is now the default. Specify use\_managed\_credentials for non-anonymous connection. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a10b29be54353b475cba809aef2f641fb">create\_datasource\_use\_managed\_credentials</a>: When no credentials are supplied, we use anonymous access by default. If this is set, we will use cloud provider user settings. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a>.
                  </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#adf55cc0301f39c595d80b1f218b60da3">create\_datasource\_use\_https</a>: Use HTTPS to connect to datasource if true, otherwise use HTTP. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a32775115614181dac5d0312c649b22f8">create\_datasource\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a8c356b0263bfd052812ac7ca811e7270">create\_datasource\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a306376988b6d97b63ebf31e3ed169a50">create\_datasource\_schema\_registry\_location</a>: Location of Confluent Schema Registry in '\[storage\_path\[:storage\_port]]' format. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a79b74df8c283e93076bcebefc7b0479d">create\_datasource\_schema\_registry\_credential</a>: Confluent Schema Registry <a href="/content/concepts/credentials" target="_top">credential</a> object name. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1750c097dca129b111bc8b028d8aad33">create\_datasource\_schema\_registry\_port</a>: Confluent Schema Registry port (optional). </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a72b7b434fe10dec6e96c52c72c63c12f">create\_datasource\_schema\_registry\_connection\_retries</a>: Confluent Schema registry connection timeout (in secs). </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a05155247cfecd122cef6c4430f47a091">create\_datasource\_schema\_registry\_connection\_timeout</a>: Confluent Schema registry connection timeout (in secs). </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
