Kinetica   C#   API  Version 7.2.3.1
CreateCredential.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 
17 {
21  public struct Type
22  {
23  public const string AWS_ACCESS_KEY = "aws_access_key";
24  public const string AWS_IAM_ROLE = "aws_iam_role";
25  public const string AZURE_AD = "azure_ad";
26  public const string AZURE_OAUTH = "azure_oauth";
27  public const string AZURE_SAS = "azure_sas";
28  public const string AZURE_STORAGE_KEY = "azure_storage_key";
29  public const string CONFLUENT = "confluent";
30  public const string DOCKER = "docker";
31  public const string GCS_SERVICE_ACCOUNT_ID = "gcs_service_account_id";
32  public const string GCS_SERVICE_ACCOUNT_KEYS = "gcs_service_account_keys";
33  public const string HDFS = "hdfs";
34  public const string JDBC = "jdbc";
35  public const string KAFKA = "kafka";
36  public const string NVIDIA_API_KEY = "nvidia_api_key";
37  public const string OPENAI_API_KEY = "openai_api_key";
38  public const string REST = "rest";
39  } // end struct Type
40 
45  public string credential_name { get; set; }
46 
107  public string type { get; set; }
108 
110  public string identity { get; set; }
111 
113  public string secret { get; set; }
114 
118  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
119 
123 
195  string type,
196  string identity,
197  string secret,
198  IDictionary<string, string> options = null)
199  {
200  this.credential_name = credential_name ?? "";
201  this.type = type ?? "";
202  this.identity = identity ?? "";
203  this.secret = secret ?? "";
204  this.options = options ?? new Dictionary<string, string>();
205  } // end constructor
206 } // end class CreateCredentialRequest
207 
212 {
216  public string credential_name { get; set; }
217 
219  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
220 } // end class CreateCredentialResponse
string type
Type of the credential to be created.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
CreateCredentialRequest(string credential_name, string type, string identity, string secret, IDictionary< string, string > options=null)
Constructs a CreateCredentialRequest object with the specified parameters.
A set of string constants for the parameter type.
A set of parameters for Kinetica.createCredential.
string credential_name
Name of the credential to be created.
string identity
User of the credential to be created.
A set of results returned by Kinetica.createCredential.
CreateCredentialRequest()
Constructs a CreateCredentialRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, string > info
Additional information.
string secret
Password of the credential to be created.
string credential_name
Value of credential_name.