> ## 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.

# gpudb::CreateDatasourceRequest

> gpudb::CreateDatasourceRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#aee7f93ffe53262e30f66a08cf99847e5">GPUdb::createDatasource</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/create__datasource_8h_source">gpudb/protocol/create\_datasource.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a37f51a422e434f4da21c73d62195c43f" id="r_a37f51a422e434f4da21c73d62195c43f">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a37f51a422e434f4da21c73d62195c43f">CreateDatasourceRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a37f51a422e434f4da21c73d62195c43f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest" title="A set of parameters for GPUdb::createDatasource.">CreateDatasourceRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a37f51a422e434f4da21c73d62195c43f">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a2674b04f336390931455e53b75507bc7" id="r_a2674b04f336390931455e53b75507bc7">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a2674b04f336390931455e53b75507bc7">CreateDatasourceRequest</a> (const std::string \&name\_, const std::string \&location\_, const std::string \&userName\_, const std::string \&password\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a2674b04f336390931455e53b75507bc7">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest" title="A set of parameters for GPUdb::createDatasource.">CreateDatasourceRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a2674b04f336390931455e53b75507bc7">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a0b24b6a1c01a3474e955c25540921369" id="r_a0b24b6a1c01a3474e955c25540921369">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a0b24b6a1c01a3474e955c25540921369">name</a></td>
      </tr>

      <tr className="memdesc:a0b24b6a1c01a3474e955c25540921369">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the data source to be created. <br /></td>
      </tr>

      <tr className="separator:a0b24b6a1c01a3474e955c25540921369">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a2d19ae0f95da36c0d70ba54f6d6caf8d" id="r_a2d19ae0f95da36c0d70ba54f6d6caf8d">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a2d19ae0f95da36c0d70ba54f6d6caf8d">location</a></td>
      </tr>

      <tr className="memdesc:a2d19ae0f95da36c0d70ba54f6d6caf8d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Location of the remote storage in 'storage\_provider\_type://\[storage\_path\[:storage\_port]]' format. <br /></td>
      </tr>

      <tr className="separator:a2d19ae0f95da36c0d70ba54f6d6caf8d">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a00bae855bbf026854413e9fdaa66b5fb" id="r_a00bae855bbf026854413e9fdaa66b5fb">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a00bae855bbf026854413e9fdaa66b5fb">userName</a></td>
      </tr>

      <tr className="memdesc:a00bae855bbf026854413e9fdaa66b5fb">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the remote system user; may be an empty string. <br /></td>
      </tr>

      <tr className="separator:a00bae855bbf026854413e9fdaa66b5fb">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a74fc9ebff2c4ba866e49a9ced953ff4c" id="r_a74fc9ebff2c4ba866e49a9ced953ff4c">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a74fc9ebff2c4ba866e49a9ced953ff4c">password</a></td>
      </tr>

      <tr className="memdesc:a74fc9ebff2c4ba866e49a9ced953ff4c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Password for the remote system user; may be an empty string. <br /></td>
      </tr>

      <tr className="separator:a74fc9ebff2c4ba866e49a9ced953ff4c">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a742fe70e30fe110c232530543f0372bd" id="r_a742fe70e30fe110c232530543f0372bd">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a742fe70e30fe110c232530543f0372bd">options</a></td>
      </tr>

      <tr className="memdesc:a742fe70e30fe110c232530543f0372bd">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a742fe70e30fe110c232530543f0372bd">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#aee7f93ffe53262e30f66a08cf99847e5">GPUdb::createDatasource</a>. </p>
      <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>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00020">20</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a37f51a422e434f4da21c73d62195c43f">◆ </a></span>CreateDatasourceRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::CreateDatasourceRequest::CreateDatasourceRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest" title="A set of parameters for GPUdb::createDatasource.">CreateDatasourceRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00025">25</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::CreateDatasourceRequest::CreateDatasourceRequest </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>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1CreateDatasourceRequest" title="A set of parameters for GPUdb::createDatasource.">CreateDatasourceRequest</a> object with the specified parameters. </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>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00361">361</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a2d19ae0f95da36c0d70ba54f6d6caf8d">◆ </a></span>location</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::CreateDatasourceRequest::location</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Location of the remote storage in 'storage\_provider\_type://\[storage\_path\[:storage\_port]]' format. </p>
        <p>Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00382">382</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a0b24b6a1c01a3474e955c25540921369">◆ </a></span>name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::CreateDatasourceRequest::name</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the data source to be created. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00373">373</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a742fe70e30fe110c232530543f0372bd">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::CreateDatasourceRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <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>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00611">611</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a74fc9ebff2c4ba866e49a9ced953ff4c">◆ </a></span>password</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::CreateDatasourceRequest::password</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Password for the remote system user; may be an empty string. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00392">392</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a00bae855bbf026854413e9fdaa66b5fb">◆ </a></span>userName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::CreateDatasourceRequest::userName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the remote system user; may be an empty string. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/create__datasource_8h_source#l00387">387</a> of file <a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/create__datasource_8h_source">create\_datasource.h</a></li>
    </ul>
  </div>
</div>
