Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
21  {
22 
81  public struct Type
82  {
83  public const string AWS_ACCESS_KEY = "aws_access_key";
84  public const string AWS_IAM_ROLE = "aws_iam_role";
85  public const string AZURE_AD = "azure_ad";
86  public const string AZURE_OAUTH = "azure_oauth";
87  public const string AZURE_SAS = "azure_sas";
88  public const string AZURE_STORAGE_KEY = "azure_storage_key";
89  public const string DOCKER = "docker";
90  public const string GCS_SERVICE_ACCOUNT_ID = "gcs_service_account_id";
91  public const string GCS_SERVICE_ACCOUNT_KEYS = "gcs_service_account_keys";
92  public const string HDFS = "hdfs";
93  public const string JDBC = "jdbc";
94  public const string KAFKA = "kafka";
95  public const string CONFLUENT = "confluent";
96  } // end struct Type
97 
98 
102  public string credential_name { get; set; }
103 
160  public string type { get; set; }
161 
163  public string identity { get; set; }
164 
166  public string secret { get; set; }
167 
170  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
171 
172 
176 
248  string type,
249  string identity,
250  string secret,
251  IDictionary<string, string> options = null)
252  {
253  this.credential_name = credential_name ?? "";
254  this.type = type ?? "";
255  this.identity = identity ?? "";
256  this.secret = secret ?? "";
257  this.options = options ?? new Dictionary<string, string>();
258  } // end constructor
259 
260  } // end class CreateCredentialRequest
261 
262 
263 
268  {
269 
272  public string credential_name { get; set; }
273 
275  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
276 
277  } // end class CreateCredentialResponse
278 
279 
280 
281 
282 } // end namespace kinetica
string secret
Password of the credential to be created.
Type of the credential to be created.
string identity
User of the credential to be created.
A set of results returned by Kinetica.createCredential(string,string,string,string,IDictionary{string, string}).
IDictionary< string, string > options
Optional parameters.
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 parameters for Kinetica.createCredential(string,string,string,string,IDictionary{string, string}).
CreateCredentialRequest()
Constructs a CreateCredentialRequest object with default parameters.
string credential_name
Name of the credential to be created.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string type
Type of the credential to be created.
IDictionary< string, string > info
Additional information.