var objVclLBPoolHealthCheck = new VclLBPoolHealthCheck(); | ||
objVclLBPoolHealthCheck["timeout"] = "15"; | ||
objVclLBPoolHealthCheck["uri"] = "/"; | ||
objVclLBPoolHealthCheck["mode"] = "HTTP"; | ||
objVclLBPoolHealthCheck["interval"] = "5"; | ||
objVclLBPoolHealthCheck["healthThreshold"] = "2"; | ||
objVclLBPoolHealthCheck["unhealthThreshold"] = "3"; | ||
var objVclLBPoolServicePort; | ||
objVclLBPoolServicePort = new VclLBPoolServicePort(); | ||
objVclLBPoolServicePort["isEnabled"] = true; | ||
objVclLBPoolServicePort["port"] = "80"; | ||
objVclLBPoolServicePort["protocol"] = "HTTP"; | ||
objVclLBPoolServicePort["healthCheckPort"] = "80"; | ||
objVclLBPoolServicePort["algorithm"] = "LEAST_CONN"; | ||
objVclLBPoolServicePort["healthCheck"].add(objVclLBPoolHealthCheck); | ||
var objVclLBPoolServicePortMember; | ||
objVclLBPoolServicePortMember = new VclLBPoolServicePort(); | ||
objVclLBPoolServicePortMember["port"] = "80"; | ||
objVclLBPoolServicePortMember["protocol"] = "HTTP"; | ||
objVclLBPoolServicePortMember["healthCheckPort"] = "80"; | ||
var objVclLoadBalancerPool = new VclLoadBalancerPool(); | ||
objVclLoadBalancerPool["operational"] = true; | ||
objVclLoadBalancerPool["name"] = strVclVAppName + "-Pool"; | ||
objVclLoadBalancerPool["description"] = strLoadBalancerHostName; | ||
objVclLoadBalancerPool["errorDetails"] = ""; | ||
objVclLoadBalancerPool["servicePort"].add(objVclLBPoolServicePort); |
↧
Re: can´t vcac roll out vapps with vshield ?
↧