Kinetica   C#   API  Version 7.2.3.1
CreateDatasource.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica;
10 
19 {
23  public struct Options
24  {
38  public const string SKIP_VALIDATION = "skip_validation";
39 
40  public const string TRUE = "true";
41  public const string FALSE = "false";
42 
45  public const string CONNECTION_TIMEOUT = "connection_timeout";
46 
49  public const string WAIT_TIMEOUT = "wait_timeout";
50 
54  public const string CREDENTIAL = "credential";
55 
58  public const string S3_BUCKET_NAME = "s3_bucket_name";
59 
62  public const string S3_REGION = "s3_region";
63 
80  public const string S3_VERIFY_SSL = "s3_verify_ssl";
81 
99  public const string S3_USE_VIRTUAL_ADDRESSING = "s3_use_virtual_addressing";
100 
103  public const string S3_AWS_ROLE_ARN = "s3_aws_role_arn";
104 
107  public const string S3_ENCRYPTION_CUSTOMER_ALGORITHM = "s3_encryption_customer_algorithm";
108 
111  public const string S3_ENCRYPTION_CUSTOMER_KEY = "s3_encryption_customer_key";
112 
116  public const string HDFS_KERBEROS_KEYTAB = "hdfs_kerberos_keytab";
117 
119  public const string HDFS_DELEGATION_TOKEN = "hdfs_delegation_token";
120 
134  public const string HDFS_USE_KERBEROS = "hdfs_use_kerberos";
135 
138  public const string AZURE_STORAGE_ACCOUNT_NAME = "azure_storage_account_name";
139 
142  public const string AZURE_CONTAINER_NAME = "azure_container_name";
143 
145  public const string AZURE_TENANT_ID = "azure_tenant_id";
146 
149  public const string AZURE_SAS_TOKEN = "azure_sas_token";
150 
152  public const string AZURE_OAUTH_TOKEN = "azure_oauth_token";
153 
171  public const string AZURE_USE_VIRTUAL_ADDRESSING = "azure_use_virtual_addressing";
172 
175  public const string GCS_BUCKET_NAME = "gcs_bucket_name";
176 
179  public const string GCS_PROJECT_ID = "gcs_project_id";
180 
183  public const string GCS_SERVICE_ACCOUNT_KEYS = "gcs_service_account_keys";
184 
198  public const string IS_STREAM = "is_stream";
199 
202  public const string KAFKA_TOPIC_NAME = "kafka_topic_name";
203 
206  public const string JDBC_DRIVER_JAR_PATH = "jdbc_driver_jar_path";
207 
209  public const string JDBC_DRIVER_CLASS_NAME = "jdbc_driver_class_name";
210 
224  public const string ANONYMOUS = "anonymous";
225 
239  public const string USE_MANAGED_CREDENTIALS = "use_managed_credentials";
240 
254  public const string USE_HTTPS = "use_https";
255 
258  public const string SCHEMA_REGISTRY_LOCATION = "schema_registry_location";
259 
263  public const string SCHEMA_REGISTRY_CREDENTIAL = "schema_registry_credential";
264 
266  public const string SCHEMA_REGISTRY_PORT = "schema_registry_port";
267 
270  public const string SCHEMA_REGISTRY_CONNECTION_RETRIES = "schema_registry_connection_retries";
271 
274  public const string SCHEMA_REGISTRY_CONNECTION_TIMEOUT = "schema_registry_connection_timeout";
275  } // end struct Options
276 
278  public string name { get; set; }
279 
285  public string location { get; set; }
286 
289  public string user_name { get; set; }
290 
293  public string password { get; set; }
294 
642  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
643 
647 
1008  string location,
1009  string user_name,
1010  string password,
1011  IDictionary<string, string> options = null)
1012  {
1013  this.name = name ?? "";
1014  this.location = location ?? "";
1015  this.user_name = user_name ?? "";
1016  this.password = password ?? "";
1017  this.options = options ?? new Dictionary<string, string>();
1018  } // end constructor
1019 } // end class CreateDatasourceRequest
1020 
1025 {
1028  public string name { get; set; }
1029 
1031  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1032 } // end class CreateDatasourceResponse
const string AZURE_CONTAINER_NAME
Name of the Azure storage container to use as the data source.
const string SCHEMA_REGISTRY_CREDENTIAL
Confluent Schema Registry credential object name.
const string S3_AWS_ROLE_ARN
Amazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM user.
string password
Password for the remote system user; may be an empty string.
const string KAFKA_TOPIC_NAME
Name of the Kafka topic to use as the data source.
const string GCS_PROJECT_ID
Name of the Google Cloud project to use as the data source.
const string S3_ENCRYPTION_CUSTOMER_KEY
Customer encryption key to encrypt or decrypt data.
string name
Name of the data source to be created.
const string IS_STREAM
To load from Azure/GCS/S3 as a stream continuously.
const string S3_BUCKET_NAME
Name of the Amazon S3 bucket to use as the data source.
const string SCHEMA_REGISTRY_PORT
Confluent Schema Registry port (optional).
const string ANONYMOUS
Use anonymous connection to storage provider–DEPRECATED: this is now the default.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string AZURE_TENANT_ID
Active Directory tenant ID (or directory ID).
string name
Value of name.
const string SKIP_VALIDATION
Bypass validation of connection to remote source.
const string JDBC_DRIVER_CLASS_NAME
Name of the JDBC driver class.
CreateDatasourceRequest(string name, string location, string user_name, string password, IDictionary< string, string > options=null)
Constructs a CreateDatasourceRequest object with the specified parameters.
const string GCS_SERVICE_ACCOUNT_KEYS
Google Cloud service account keys to use for authenticating the data source.
const string GCS_BUCKET_NAME
Name of the Google Cloud Storage bucket to use as the data source.
const string S3_USE_VIRTUAL_ADDRESSING
Whether to use virtual addressing when referencing the Amazon S3 source.
const string S3_REGION
Name of the Amazon S3 region where the given bucket is located.
const string AZURE_SAS_TOKEN
Shared access signature token for Azure storage account to use as the data source.
CreateDatasourceRequest()
Constructs a CreateDatasourceRequest object with default parameters.
const string S3_VERIFY_SSL
Whether to verify SSL connections.
const string SCHEMA_REGISTRY_CONNECTION_TIMEOUT
Confluent Schema registry connection timeout (in secs).
A set of results returned by Kinetica.createDatasource.
const string AZURE_USE_VIRTUAL_ADDRESSING
Whether to use virtual addressing when referencing the Azure source.
A set of string constants for the parameter options.
const string S3_ENCRYPTION_CUSTOMER_ALGORITHM
Customer encryption algorithm used encrypting data.
const string SCHEMA_REGISTRY_LOCATION
Location of Confluent Schema Registry in '[storage_path[:storage_port]]' format.
const string SCHEMA_REGISTRY_CONNECTION_RETRIES
Confluent Schema registry connection timeout (in secs).
const string USE_MANAGED_CREDENTIALS
When no credentials are supplied, we use anonymous access by default.
string user_name
Name of the remote system user; may be an empty string.
const string HDFS_KERBEROS_KEYTAB
Kerberos keytab file location for the given HDFS user.
const string CREDENTIAL
Name of the credential object to be used in data source.
const string HDFS_DELEGATION_TOKEN
Delegation token for the given HDFS user.
const string JDBC_DRIVER_JAR_PATH
JDBC driver jar file location.
string location
Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format.
A set of parameters for Kinetica.createDatasource.
IDictionary< string, string > options
Optional parameters.
const string HDFS_USE_KERBEROS
Use kerberos authentication for the given HDFS cluster.
IDictionary< string, string > info
Additional information.
const string AZURE_OAUTH_TOKEN
OAuth token to access given storage container.
const string WAIT_TIMEOUT
Timeout in seconds for reading from this storage provider.
const string USE_HTTPS
Use HTTPS to connect to datasource if true, otherwise use HTTP.
const string AZURE_STORAGE_ACCOUNT_NAME
Name of the Azure storage account to use as the data source, this is valid only if tenant_id is speci...
const string CONNECTION_TIMEOUT
Timeout in seconds for connecting to this storage provider.