public static base_responses update(nitro_service client, lbvserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			lbvserver updateresources[] = new lbvserver[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new lbvserver();
				updateresources[i].name = resources[i].name;
				updateresources[i].ipv46 = resources[i].ipv46;
				updateresources[i].ippattern = resources[i].ippattern;
				updateresources[i].ipmask = resources[i].ipmask;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].servicename = resources[i].servicename;
				updateresources[i].persistencetype = resources[i].persistencetype;
				updateresources[i].timeout = resources[i].timeout;
				updateresources[i].persistencebackup = resources[i].persistencebackup;
				updateresources[i].backuppersistencetimeout = resources[i].backuppersistencetimeout;
				updateresources[i].lbmethod = resources[i].lbmethod;
				updateresources[i].hashlength = resources[i].hashlength;
				updateresources[i].netmask = resources[i].netmask;
				updateresources[i].v6netmasklen = resources[i].v6netmasklen;
				updateresources[i].rule = resources[i].rule;
				updateresources[i].cookiename = resources[i].cookiename;
				updateresources[i].resrule = resources[i].resrule;
				updateresources[i].persistmask = resources[i].persistmask;
				updateresources[i].v6persistmasklen = resources[i].v6persistmasklen;
				updateresources[i].pq = resources[i].pq;
				updateresources[i].sc = resources[i].sc;
				updateresources[i].rtspnat = resources[i].rtspnat;
				updateresources[i].m = resources[i].m;
				updateresources[i].tosid = resources[i].tosid;
				updateresources[i].datalength = resources[i].datalength;
				updateresources[i].dataoffset = resources[i].dataoffset;
				updateresources[i].sessionless = resources[i].sessionless;
				updateresources[i].connfailover = resources[i].connfailover;
				updateresources[i].backupvserver = resources[i].backupvserver;
				updateresources[i].redirurl = resources[i].redirurl;
				updateresources[i].cacheable = resources[i].cacheable;
				updateresources[i].clttimeout = resources[i].clttimeout;
				updateresources[i].somethod = resources[i].somethod;
				updateresources[i].sothreshold = resources[i].sothreshold;
				updateresources[i].sopersistence = resources[i].sopersistence;
				updateresources[i].sopersistencetimeout = resources[i].sopersistencetimeout;
				updateresources[i].healththreshold = resources[i].healththreshold;
				updateresources[i].sobackupaction = resources[i].sobackupaction;
				updateresources[i].redirectportrewrite = resources[i].redirectportrewrite;
				updateresources[i].downstateflush = resources[i].downstateflush;
				updateresources[i].insertvserveripport = resources[i].insertvserveripport;
				updateresources[i].vipheader = resources[i].vipheader;
				updateresources[i].disableprimaryondown = resources[i].disableprimaryondown;
				updateresources[i].authenticationhost = resources[i].authenticationhost;
				updateresources[i].authentication = resources[i].authentication;
				updateresources[i].authn401 = resources[i].authn401;
				updateresources[i].authnvsname = resources[i].authnvsname;
				updateresources[i].push = resources[i].push;
				updateresources[i].pushvserver = resources[i].pushvserver;
				updateresources[i].pushlabel = resources[i].pushlabel;
				updateresources[i].pushmulticlients = resources[i].pushmulticlients;
				updateresources[i].listenpolicy = resources[i].listenpolicy;
				updateresources[i].listenpriority = resources[i].listenpriority;
				updateresources[i].tcpprofilename = resources[i].tcpprofilename;
				updateresources[i].httpprofilename = resources[i].httpprofilename;
				updateresources[i].dbprofilename = resources[i].dbprofilename;
				updateresources[i].comment = resources[i].comment;
				updateresources[i].l2conn = resources[i].l2conn;
				updateresources[i].mssqlserverversion = resources[i].mssqlserverversion;
				updateresources[i].mysqlprotocolversion = resources[i].mysqlprotocolversion;
				updateresources[i].mysqlserverversion = resources[i].mysqlserverversion;
				updateresources[i].mysqlcharacterset = resources[i].mysqlcharacterset;
				updateresources[i].mysqlservercapabilities = resources[i].mysqlservercapabilities;
				updateresources[i].appflowlog = resources[i].appflowlog;
				updateresources[i].netprofile = resources[i].netprofile;
				updateresources[i].icmpvsrresponse = resources[i].icmpvsrresponse;
				updateresources[i].newservicerequest = resources[i].newservicerequest;
				updateresources[i].newservicerequestunit = resources[i].newservicerequestunit;
				updateresources[i].newservicerequestincrementinterval = resources[i].newservicerequestincrementinterval;
				updateresources[i].minautoscalemembers = resources[i].minautoscalemembers;
				updateresources[i].maxautoscalemembers = resources[i].maxautoscalemembers;
				updateresources[i].persistavpno = resources[i].persistavpno;
				updateresources[i].skippersistency = resources[i].skippersistency;
				updateresources[i].authnprofile = resources[i].authnprofile;
				updateresources[i].macmoderetainvlan = resources[i].macmoderetainvlan;
				updateresources[i].dbslb = resources[i].dbslb;
				updateresources[i].dns64 = resources[i].dns64;
				updateresources[i].bypassaaaa = resources[i].bypassaaaa;
				updateresources[i].recursionavailable = resources[i].recursionavailable;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
public static base_responses update ( nitro_service client , lbvserver resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { lbvserver updateresources [ ] = new lbvserver [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new lbvserver ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . ipv46 = resources [ i ] . ipv46 ; updateresources [ i ] . ippattern = resources [ i ] . ippattern ; updateresources [ i ] . ipmask = resources [ i ] . ipmask ; updateresources [ i ] . weight = resources [ i ] . weight ; updateresources [ i ] . servicename = resources [ i ] . servicename ; updateresources [ i ] . persistencetype = resources [ i ] . persistencetype ; updateresources [ i ] . timeout = resources [ i ] . timeout ; updateresources [ i ] . persistencebackup = resources [ i ] . persistencebackup ; updateresources [ i ] . backuppersistencetimeout = resources [ i ] . backuppersistencetimeout ; updateresources [ i ] . lbmethod = resources [ i ] . lbmethod ; updateresources [ i ] . hashlength = resources [ i ] . hashlength ; updateresources [ i ] . netmask = resources [ i ] . netmask ; updateresources [ i ] . v6netmasklen = resources [ i ] . v6netmasklen ; updateresources [ i ] . rule = resources [ i ] . rule ; updateresources [ i ] . cookiename = resources [ i ] . cookiename ; updateresources [ i ] . resrule = resources [ i ] . resrule ; updateresources [ i ] . persistmask = resources [ i ] . persistmask ; updateresources [ i ] . v6persistmasklen = resources [ i ] . v6persistmasklen ; updateresources [ i ] . pq = resources [ i ] . pq ; updateresources [ i ] . sc = resources [ i ] . sc ; updateresources [ i ] . rtspnat = resources [ i ] . rtspnat ; updateresources [ i ] . m = resources [ i ] . m ; updateresources [ i ] . tosid = resources [ i ] . tosid ; updateresources [ i ] . datalength = resources [ i ] . datalength ; updateresources [ i ] . dataoffset = resources [ i ] . dataoffset ; updateresources [ i ] . sessionless = resources [ i ] . sessionless ; updateresources [ i ] . connfailover = resources [ i ] . connfailover ; updateresources [ i ] . backupvserver = resources [ i ] . backupvserver ; updateresources [ i ] . redirurl = resources [ i ] . redirurl ; updateresources [ i ] . cacheable = resources [ i ] . cacheable ; updateresources [ i ] . clttimeout = resources [ i ] . clttimeout ; updateresources [ i ] . somethod = resources [ i ] . somethod ; updateresources [ i ] . sothreshold = resources [ i ] . sothreshold ; updateresources [ i ] . sopersistence = resources [ i ] . sopersistence ; updateresources [ i ] . sopersistencetimeout = resources [ i ] . sopersistencetimeout ; updateresources [ i ] . healththreshold = resources [ i ] . healththreshold ; updateresources [ i ] . sobackupaction = resources [ i ] . sobackupaction ; updateresources [ i ] . redirectportrewrite = resources [ i ] . redirectportrewrite ; updateresources [ i ] . downstateflush = resources [ i ] . downstateflush ; updateresources [ i ] . insertvserveripport = resources [ i ] . insertvserveripport ; updateresources [ i ] . vipheader = resources [ i ] . vipheader ; updateresources [ i ] . disableprimaryondown = resources [ i ] . disableprimaryondown ; updateresources [ i ] . authenticationhost = resources [ i ] . authenticationhost ; updateresources [ i ] . authentication = resources [ i ] . authentication ; updateresources [ i ] . authn401 = resources [ i ] . authn401 ; updateresources [ i ] . authnvsname = resources [ i ] . authnvsname ; updateresources [ i ] . push = resources [ i ] . push ; updateresources [ i ] . pushvserver = resources [ i ] . pushvserver ; updateresources [ i ] . pushlabel = resources [ i ] . pushlabel ; updateresources [ i ] . pushmulticlients = resources [ i ] . pushmulticlients ; updateresources [ i ] . listenpolicy = resources [ i ] . listenpolicy ; updateresources [ i ] . listenpriority = resources [ i ] . listenpriority ; updateresources [ i ] . tcpprofilename = resources [ i ] . tcpprofilename ; updateresources [ i ] . httpprofilename = resources [ i ] . httpprofilename ; updateresources [ i ] . dbprofilename = resources [ i ] . dbprofilename ; updateresources [ i ] . comment = resources [ i ] . comment ; updateresources [ i ] . l2conn = resources [ i ] . l2conn ; updateresources [ i ] . mssqlserverversion = resources [ i ] . mssqlserverversion ; updateresources [ i ] . mysqlprotocolversion = resources [ i ] . mysqlprotocolversion ; updateresources [ i ] . mysqlserverversion = resources [ i ] . mysqlserverversion ; updateresources [ i ] . mysqlcharacterset = resources [ i ] . mysqlcharacterset ; updateresources [ i ] . mysqlservercapabilities = resources [ i ] . mysqlservercapabilities ; updateresources [ i ] . appflowlog = resources [ i ] . appflowlog ; updateresources [ i ] . netprofile = resources [ i ] . netprofile ; updateresources [ i ] . icmpvsrresponse = resources [ i ] . icmpvsrresponse ; updateresources [ i ] . newservicerequest = resources [ i ] . newservicerequest ; updateresources [ i ] . newservicerequestunit = resources [ i ] . newservicerequestunit ; updateresources [ i ] . newservicerequestincrementinterval = resources [ i ] . newservicerequestincrementinterval ; updateresources [ i ] . minautoscalemembers = resources [ i ] . minautoscalemembers ; updateresources [ i ] . maxautoscalemembers = resources [ i ] . maxautoscalemembers ; updateresources [ i ] . persistavpno = resources [ i ] . persistavpno ; updateresources [ i ] . skippersistency = resources [ i ] . skippersistency ; updateresources [ i ] . authnprofile = resources [ i ] . authnprofile ; updateresources [ i ] . macmoderetainvlan = resources [ i ] . macmoderetainvlan ; updateresources [ i ] . dbslb = resources [ i ] . dbslb ; updateresources [ i ] . dns64 = resources [ i ] . dns64 ; updateresources [ i ] . bypassaaaa = resources [ i ] . bypassaaaa ; updateresources [ i ] . recursionavailable = resources [ i ] . recursionavailable ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update lbvserver resources.