Kinetica   C#   API  Version 7.2.3.0
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 namespace kinetica
10 {
18  {
23  public struct Action
24  {
27  public const string INSTALL_PACKAGE = "install_package";
28 
30  public const string INSTALL_REQUIREMENTS = "install_requirements";
31 
33  public const string UNINSTALL_PACKAGE = "uninstall_package";
34 
36  public const string UNINSTALL_REQUIREMENTS = "uninstall_requirements";
37 
40  public const string RESET = "reset";
41 
45  public const string REBUILD = "rebuild";
46  } // end struct Action
47 
51  public struct Options
52  {
56  public const string DATASOURCE_NAME = "datasource_name";
57  } // end struct Options
58 
60  public string environment_name { get; set; }
61 
104  public string action { get; set; }
105 
121  public string _value { get; set; }
122 
135  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
136 
140 
216  string action,
217  string _value,
218  IDictionary<string, string> options = null)
219  {
220  this.environment_name = environment_name ?? "";
221  this.action = action ?? "";
222  this._value = _value ?? "";
223  this.options = options ?? new Dictionary<string, string>();
224  } // end constructor
225  } // end class AlterEnvironmentRequest
226 
231  {
235  public string environment_name { get; set; }
236 
238  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
239  } // end class AlterEnvironmentResponse
240 } // 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 action.
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.
A set of string constants for the parameter options.
A set of string constants for the parameter action.
string action
Modification operation to be applied.
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.
IDictionary< string, string > info
Additional information.
string environment_name
Value of environment_name.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > options
Optional parameters.