7 using System.Collections.Generic;
17 public class AlterCredentialRequest : KineticaData
23 public struct CredentialUpdatesMap
81 public const string TYPE =
"type";
85 public const string AZURE_AD =
"azure_ad";
87 public const string AZURE_SAS =
"azure_sas";
89 public const string DOCKER =
"docker";
92 public const string HDFS =
"hdfs";
93 public const string KAFKA =
"kafka";
96 public const string IDENTITY =
"identity";
99 public const string SECRET =
"secret";
202 public IDictionary<string, string>
credential_updates_map {
get;
set; } =
new Dictionary<string, string>();
205 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
306 IDictionary<string, string>
options)
310 this.options =
options ??
new Dictionary<string, string>();
317 public class AlterCredentialResponse : KineticaData
325 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
string credential_name
Name of the credential to be altered.
IDictionary< string, string > info
Additional information.
const string SCHEMA_NAME
Updates the schema name.
const string IDENTITY
New user for the credential
const string TYPE
New type for the credential.
const string GCS_SERVICE_ACCOUNT_ID
string credential_name
Value of credential_name.
AlterCredentialRequest()
Constructs an AlterCredentialRequest object with default parameters.
const string AZURE_STORAGE_KEY
IDictionary< string, string > credential_updates_map
Map containing the properties of the credential to be updated.
const string AWS_ACCESS_KEY
const string SECRET
New password for the credential
IDictionary< string, string > options
Optional parameters.
const string GCS_SERVICE_ACCOUNT_KEYS
const string AWS_IAM_ROLE
AlterCredentialRequest(string credential_name, IDictionary< string, string > credential_updates_map, IDictionary< string, string > options)
Constructs an AlterCredentialRequest object with the specified parameters.