Kinetica   C#   API  Version 7.2.3.1
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 {
22  public struct Action
23  {
26  public const string INSTALL_PACKAGE = "install_package";
27 
29  public const string INSTALL_REQUIREMENTS = "install_requirements";
30 
32  public const string UNINSTALL_PACKAGE = "uninstall_package";
33 
35  public const string UNINSTALL_REQUIREMENTS = "uninstall_requirements";
36 
39  public const string RESET = "reset";
40 
43  public const string REBUILD = "rebuild";
44  } // end struct Action
45 
49  public struct Options
50  {
54  public const string DATASOURCE_NAME = "datasource_name";
55  } // end struct Options
56 
58  public string environment_name { get; set; }
59 
101  public string action { get; set; }
102 
118  public string _value { get; set; }
119 
131  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
132 
136 
209  string action,
210  string _value,
211  IDictionary<string, string> options = null)
212  {
213  this.environment_name = environment_name ?? "";
214  this.action = action ?? "";
215  this._value = _value ?? "";
216  this.options = options ?? new Dictionary<string, string>();
217  } // end constructor
218 } // end class AlterEnvironmentRequest
219 
224 {
228  public string environment_name { get; set; }
229 
231  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
232 } // end class AlterEnvironmentResponse
AlterEnvironmentRequest(string environment_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterEnvironmentRequest object with the specified parameters.
A set of string constants for the parameter options.
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.
IDictionary< string, string > options
Optional parameters.
A set of string constants for the parameter action.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string action
Modification operation to be applied.
const string INSTALL_REQUIREMENTS
Install packages from a requirements file.
string environment_name
Name of the environment to be altered.
const string UNINSTALL_PACKAGE
Uninstall a python package.
A set of parameters for Kinetica.alterEnvironment.
IDictionary< string, string > info
Additional information.
const string INSTALL_PACKAGE
Install a python package from PyPI, an external data source or KiFS.
const string UNINSTALL_REQUIREMENTS
Uninstall packages from a requirements file.
const string REBUILD
Recreates the environment and re-installs all packages, upgrades the packages if necessary based on d...
A set of results returned by Kinetica.alterEnvironment.
string environment_name
Value of environment_name.
const string DATASOURCE_NAME
Name of an existing external data source from which packages specified in _value can be loaded.
string _value
The value of the modification, depending on action.