public void NodeBalancer_Config_Update(
int ConfigID,
string Algorithm = null,
string check = null,
string check_attempts = null,
string check_body = null,
int? check_interval = null,
bool? check_passive = null,
string check_path = null,
string check_timeout = null,
string cipher_suite = null,
int? Port = null,
string Protocol = null,
string ssl_cert = null,
string ssl_key = null,
string Stickiness = null)
{
var myParams = new Dictionary<string, string>();
myParams.Add("ConfigID", ConfigID.ToString(CultureInfo.InvariantCulture));
if (Algorithm != null)
myParams.Add("Algorithm", Algorithm);
if (check != null)
myParams.Add("check", check);
if (check_attempts != null)
myParams.Add("check_attempts", check_attempts);
if (check_body != null)
myParams.Add("check_body", check_body);
if (check_interval != null)
myParams.Add("check_interval", check_interval.Value.ToString(CultureInfo.InvariantCulture));
if (check_passive != null)
myParams.Add("check_passive", check_passive.Value ? "true" : "false");
if (check_path != null)
myParams.Add("check_path", check_path);
if (check_timeout != null)
myParams.Add("check_timeout", check_timeout);
if (cipher_suite != null)
myParams.Add("cipher_suite", cipher_suite);
if (Port != null)
myParams.Add("Port", Port.Value.ToString(CultureInfo.InvariantCulture));
if (Protocol != null)
myParams.Add("Protocol", Protocol);
if (ssl_cert != null)
myParams.Add("ssl_cert", ssl_cert);
if (ssl_key != null)
myParams.Add("ssl_key", ssl_key);
if (Stickiness != null)
myParams.Add("Stickiness", Stickiness);
GetResponse<object>("nodebalancer.config.update", myParams);
}