Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
AlterEnvironment.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 
22  {
23 
66  public struct Action
67  {
68 
71  public const string INSTALL_PACKAGE = "install_package";
72 
74  public const string INSTALL_REQUIREMENTS = "install_requirements";
75 
77  public const string UNINSTALL_PACKAGE = "uninstall_package";
78 
80  public const string UNINSTALL_REQUIREMENTS = "uninstall_requirements";
81 
84  public const string RESET = "reset";
85 
89  public const string REBUILD = "rebuild";
90  } // end struct Action
91 
92 
107  public struct Options
108  {
109 
113  public const string DATASOURCE_NAME = "datasource_name";
114  } // end struct Options
115 
116 
118  public string environment_name { get; set; }
119 
160  public string action { get; set; }
161 
176  public string _value { get; set; }
177 
190  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
191 
192 
196 
268  string action,
269  string _value,
270  IDictionary<string, string> options = null)
271  {
272  this.environment_name = environment_name ?? "";
273  this.action = action ?? "";
274  this._value = _value ?? "";
275  this.options = options ?? new Dictionary<string, string>();
276  } // end constructor
277 
278  } // end class AlterEnvironmentRequest
279 
280 
281 
286  {
287 
290  public string environment_name { get; set; }
291 
293  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
294 
295  } // end class AlterEnvironmentResponse
296 
297 
298 
299 
300 } // end namespace kinetica
AlterEnvironmentRequest(string environment_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterEnvironmentRequest object with the specified parameters.
const string UNINSTALL_REQUIREMENTS
Uninstall packages from a requirements file
const string INSTALL_REQUIREMENTS
Install packages from a requirements file
const string DATASOURCE_NAME
Name of an existing external data source from which packages specified in _value can be loaded...
const string UNINSTALL_PACKAGE
Uninstall a python package.
string _value
The value of the modification, depending on .
string environment_name
Name of the environment to be altered.
const string INSTALL_PACKAGE
Install a python package from PyPI, an external data source or KiFS
A set of results returned by Kinetica.alterEnvironment(string,string,string,IDictionary{string, string}).
Modification operation to be applied Supported values: INSTALL_PACKAGE: Install a python package from...
string action
Modification operation to be applied Supported values: INSTALL_PACKAGE: Install a python package from...
const string RESET
Uninstalls all packages in the environment and resets it to the original state at time of creation...
AlterEnvironmentRequest()
Constructs an AlterEnvironmentRequest object with default parameters.
const string REBUILD
Recreates the environment and re-installs all packages, upgrades the packages if necessary based on d...
A set of parameters for Kinetica.alterEnvironment(string,string,string,IDictionary{string, string}).
IDictionary< string, string > info
Additional information.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > options
Optional parameters.