Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
AdminAddRanks.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 
45  {
46 
72  public struct Options
73  {
74 
90  public const string DRY_RUN = "dry_run";
91  public const string TRUE = "true";
92  public const string FALSE = "false";
93  } // end struct Options
94 
95 
100  public IList<string> hosts { get; set; } = new List<string>();
101 
111  public IList<IDictionary<string, string>> config_params { get; set; } = new List<IDictionary<string, string>>();
112 
136  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
137 
138 
141  public AdminAddRanksRequest() { }
142 
185  public AdminAddRanksRequest( IList<string> hosts,
186  IList<IDictionary<string, string>> config_params,
187  IDictionary<string, string> options = null)
188  {
189  this.hosts = hosts ?? new List<string>();
190  this.config_params = config_params ?? new List<IDictionary<string, string>>();
191  this.options = options ?? new Dictionary<string, string>();
192  } // end constructor
193 
194  } // end class AdminAddRanksRequest
195 
196 
197 
202  {
203 
208  public IList<int> added_ranks { get; set; } = new List<int>();
209 
214  public IList<string> results { get; set; } = new List<string>();
215 
217  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
218 
219  } // end class AdminAddRanksResponse
220 
221 
222 
223 
224 } // end namespace kinetica
IList< IDictionary< string, string > > config_params
Configuration parameters to apply to the new ranks, e.g., which GPU to use.
A set of results returned by Kinetica.adminAddRanks(IList{string},IList{IDictionary{string, string}},IDictionary{string, string}).
AdminAddRanksRequest()
Constructs an AdminAddRanksRequest object with default parameters.
IList< string > results
Text description of the result of each rank being added.
const string DRY_RUN
If true, only validation checks will be performed.
IDictionary< string, string > options
Optional parameters.
IList< int > added_ranks
The number assigned to each newly added rank, in the same order as the ranks in the ...
A set of parameters for Kinetica.adminAddRanks(IList{string},IList{IDictionary{string, string}},IDictionary{string, string}).
IList< string > hosts
The IP address of each rank being added to the cluster.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
AdminAddRanksRequest(IList< string > hosts, IList< IDictionary< string, string >> config_params, IDictionary< string, string > options=null)
Constructs an AdminAddRanksRequest object with the specified parameters.
IDictionary< string, string > info
Additional information.