Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 229246

Re: can´t vcac roll out vapps with vshield ?

$
0
0
var objVclLBPersistence = new VclLBPersistence();
objVclLBPersistence["method"] = "COOKIE";
objVclLBPersistence["cookieName"] = "VCOSESSIONID";
objVclLBPersistence["cookieMode"] = "INSERT";
var objVclLBVirtualServerServiceProfile = new VclLBVirtualServerServiceProfile();
objVclLBVirtualServerServiceProfile["isEnabled"] = true;
objVclLBVirtualServerServiceProfile["protocol"] = "HTTP";
objVclLBVirtualServerServiceProfile["port"] = "80";
objVclLBVirtualServerServiceProfile["persistence"] = objVclLBPersistence;
var objVclLoadBalancerVirtualServer = new VclLoadBalancerVirtualServer();
objVclLoadBalancerVirtualServer["isEnabled"] = true;
objVclLoadBalancerVirtualServer["logging"] = false;
objVclLoadBalancerVirtualServer["pool"] = strVclVAppName + "-Pool";
objVclLoadBalancerVirtualServer["name"] = strVclVAppName + "-VirtualServer";
objVclLoadBalancerVirtualServer["description"] = strLoadBalancerHostName;
objVclLoadBalancerVirtualServer["ipAddress"] = strLoadBalancerIP;
objVclLoadBalancerVirtualServer["interface"] = objVclOrgVdcNetwork.getReference();
objVclLoadBalancerVirtualServer["serviceProfile"].add(objVclLBVirtualServerServiceProfile);
var objVclLoadBalancerService;
objVclLoadBalancerService = new VclLoadBalancerService();
objVclLoadBalancerService["isEnabled"] = true;
objVclLoadBalancerService["pool"].add(objVclLoadBalancerPool);
objVclLoadBalancerService["virtualServer"].add(objVclLoadBalancerVirtualServer);

Viewing all articles
Browse latest Browse all 229246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>