7 using System.Collections.Generic;
39 public class AdminAddRanksRequest : KineticaData
59 public const string DRY_RUN =
"dry_run";
61 public const string TRUE =
"true";
62 public const string FALSE =
"false";
78 public IList<string>
hosts {
get;
set; } =
new List<string>();
104 public IList<IDictionary<string, string>>
config_params {
get;
set; } =
new List<IDictionary<string, string>>();
126 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
194 IDictionary<string, string>
options =
null)
196 this.hosts =
hosts ??
new List<string>();
198 this.
options = options ??
new Dictionary<string, string>();
205 public class AdminAddRanksResponse : KineticaData
212 public IList<string>
added_ranks {
get;
set; } =
new List<string>();
215 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
AdminAddRanksRequest()
Constructs an AdminAddRanksRequest object with default parameters.
IList< IDictionary< string, string > > config_params
Array of maps containing configuration parameters to apply to the new ranks found in hosts.
const string DRY_RUN
If TRUE, only validation checks will be performed.
IList< string > hosts
Array of host IP addresses (matching a hostN.address from the gpudb.conf file), or host identifiers (...
IList< string > added_ranks
The number assigned to each added rank, formatted as 'rankN', in the same order as the ranks in hosts...
IDictionary< string, string > info
Additional information.
IDictionary< string, string > options
Optional parameters.
AdminAddRanksRequest(IList< string > hosts, IList< IDictionary< string, string >> config_params, IDictionary< string, string > options=null)
Constructs an AdminAddRanksRequest object with the specified parameters.