7 using System.Collections.Generic;
17 public class AlterEnvironmentRequest : KineticaData
40 public const string RESET =
"reset";
45 public const string REBUILD =
"rebuild";
104 public string action {
get;
set; }
121 public string _value {
get;
set; }
135 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
218 IDictionary<string, string>
options =
null)
221 this.action =
action ??
"";
222 this._value =
_value ??
"";
230 public class AlterEnvironmentResponse : KineticaData
238 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
AlterEnvironmentRequest(string environment_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterEnvironmentRequest object with the specified parameters.
string environment_name
Name of the environment to be altered.
string _value
The value of the modification, depending on action.
const string INSTALL_REQUIREMENTS
Install packages from a requirements file
string environment_name
Value of environment_name.
const string UNINSTALL_PACKAGE
Uninstall a python package.
const string DATASOURCE_NAME
Name of an existing external data source from which packages specified in _value can be loaded
const string RESET
Uninstalls all packages in the environment and resets it to the original state at time of creation
IDictionary< string, string > info
Additional information.
const string INSTALL_PACKAGE
Install a python package from PyPI, an external data source or KiFS
string action
Modification operation to be applied.
IDictionary< string, string > options
Optional parameters.
const string UNINSTALL_REQUIREMENTS
Uninstall packages from a requirements file
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...