Kinetica   C#   API  Version 7.2.3.0
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 
81  public const string S3_VERIFY_SSL = "s3_verify_ssl";
82 
101  public const string S3_USE_VIRTUAL_ADDRESSING = "s3_use_virtual_addressing";
102 
105  public const string S3_AWS_ROLE_ARN = "s3_aws_role_arn";
106 
109  public const string S3_ENCRYPTION_CUSTOMER_ALGORITHM = "s3_encryption_customer_algorithm";
110 
113  public const string S3_ENCRYPTION_CUSTOMER_KEY = "s3_encryption_customer_key";
114 
118  public const string HDFS_KERBEROS_KEYTAB = "hdfs_kerberos_keytab";
119 
121  public const string HDFS_DELEGATION_TOKEN = "hdfs_delegation_token";
122 
136  public const string HDFS_USE_KERBEROS = "hdfs_use_kerberos";
137 
140  public const string AZURE_STORAGE_ACCOUNT_NAME = "azure_storage_account_name";
141 
144  public const string AZURE_CONTAINER_NAME = "azure_container_name";
145 
147  public const string AZURE_TENANT_ID = "azure_tenant_id";
148 
151  public const string AZURE_SAS_TOKEN = "azure_sas_token";
152 
155  public const string AZURE_OAUTH_TOKEN = "azure_oauth_token";
156 
159  public const string GCS_BUCKET_NAME = "gcs_bucket_name";
160 
163  public const string GCS_PROJECT_ID = "gcs_project_id";
164 
167  public const string GCS_SERVICE_ACCOUNT_KEYS = "gcs_service_account_keys";
168 
182  public const string IS_STREAM = "is_stream";
183 
186  public const string KAFKA_TOPIC_NAME = "kafka_topic_name";
187 
190  public const string JDBC_DRIVER_JAR_PATH = "jdbc_driver_jar_path";
191 
193  public const string JDBC_DRIVER_CLASS_NAME = "jdbc_driver_class_name";
194 
208  public const string ANONYMOUS = "anonymous";
209 
223  public const string USE_MANAGED_CREDENTIALS = "use_managed_credentials";
224 
238  public const string USE_HTTPS = "use_https";
239 
242  public const string SCHEMA_REGISTRY_LOCATION = "schema_registry_location";
243 
247  public const string SCHEMA_REGISTRY_CREDENTIAL = "schema_registry_credential";
248 
250  public const string SCHEMA_REGISTRY_PORT = "schema_registry_port";
251  } // end struct Options
252 
254  public string name { get; set; }
255 
262  public string location { get; set; }
263 
266  public string user_name { get; set; }
267 
270  public string password { get; set; }
271 
592  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
593 
597 
931  string location,
932  string user_name,
933  string password,
934  IDictionary<string, string> options = null)
935  {
936  this.name = name ?? "";
937  this.location = location ?? "";
938  this.user_name = user_name ?? "";
939  this.password = password ?? "";
940  this.options = options ?? new Dictionary<string, string>();
941  } // end constructor
942  } // end class CreateDatasourceRequest
943 
948  {
951  public string name { get; set; }
952 
954  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
955  } // end class CreateDatasourceResponse
956 } // end namespace kinetica
const string AZURE_CONTAINER_NAME
Name of the Azure storage container to use as the data source
const string AZURE_SAS_TOKEN
Shared access signature token for Azure storage account to use as the data source
const string JDBC_DRIVER_CLASS_NAME
Name of the JDBC driver class
const string ANONYMOUS
Use anonymous connection to storage provider–DEPRECATED: this is now the default.
A set of string constants for the parameter options.
string name
Name of the data source to be created.
string user_name
Name of the remote system user; may be an empty string
IDictionary< string, string > info
Additional information.
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 location
Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format.
A set of results returned by Kinetica.createDatasource.
const string S3_USE_VIRTUAL_ADDRESSING
Whether to use virtual addressing when referencing the Amazon S3 source.
A set of parameters for Kinetica.createDatasource.
string password
Password for the remote system user; may be an empty string
const string S3_VERIFY_SSL
Whether to verify SSL connections.
const string AZURE_TENANT_ID
Active Directory tenant ID (or directory ID)
CreateDatasourceRequest()
Constructs a CreateDatasourceRequest object with default parameters.
const string CREDENTIAL
Name of the credential object to be used in data source
const string SCHEMA_REGISTRY_CREDENTIAL
Confluent Schema Registry credential object name.
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 HDFS_KERBEROS_KEYTAB
Kerberos keytab file location for the given HDFS user.
const string AZURE_OAUTH_TOKEN
OAuth token to access given storage container
const string GCS_PROJECT_ID
Name of the Google Cloud project to use as the data source
const string HDFS_DELEGATION_TOKEN
Delegation token for the given HDFS user
const string USE_HTTPS
Use https to connect to datasource if true, otherwise use http.
const string SCHEMA_REGISTRY_LOCATION
Location of Confluent Schema Registry in '[storage_path[:storage_port]]' format.
const string S3_BUCKET_NAME
Name of the Amazon S3 bucket to use as the data source
const string S3_ENCRYPTION_CUSTOMER_ALGORITHM
Customer encryption algorithm used encrypting data
const string KAFKA_TOPIC_NAME
Name of the Kafka topic to use as the data source
const string WAIT_TIMEOUT
Timeout in seconds for reading from this storage provider
const string SCHEMA_REGISTRY_PORT
Confluent Schema Registry port (optional).
const string GCS_SERVICE_ACCOUNT_KEYS
Google Cloud service account keys to use for authenticating the data source
const string CONNECTION_TIMEOUT
Timeout in seconds for connecting to this storage provider
const string GCS_BUCKET_NAME
Name of the Google Cloud Storage bucket to use as the data source
const string S3_ENCRYPTION_CUSTOMER_KEY
Customer encryption key to encrypt or decrypt data
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 S3_REGION
Name of the Amazon S3 region where the given bucket is located
const string SKIP_VALIDATION
Bypass validation of connection to remote source.
const string HDFS_USE_KERBEROS
Use kerberos authentication for the given HDFS cluster.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string USE_MANAGED_CREDENTIALS
When no credentials are supplied, we use anonymous access by default.
const string IS_STREAM
To load from Azure/GCS/S3 as a stream continuously.
const string JDBC_DRIVER_JAR_PATH
JDBC driver jar file location.
IDictionary< string, string > options
Optional parameters.