public static base_response add(nitro_service client, gslbvserver resource) throws Exception {
		gslbvserver addresource = new gslbvserver();
		addresource.name = resource.name;
		addresource.servicetype = resource.servicetype;
		addresource.iptype = resource.iptype;
		addresource.dnsrecordtype = resource.dnsrecordtype;
		addresource.lbmethod = resource.lbmethod;
		addresource.backupsessiontimeout = resource.backupsessiontimeout;
		addresource.backuplbmethod = resource.backuplbmethod;
		addresource.netmask = resource.netmask;
		addresource.v6netmasklen = resource.v6netmasklen;
		addresource.tolerance = resource.tolerance;
		addresource.persistencetype = resource.persistencetype;
		addresource.persistenceid = resource.persistenceid;
		addresource.persistmask = resource.persistmask;
		addresource.v6persistmasklen = resource.v6persistmasklen;
		addresource.timeout = resource.timeout;
		addresource.edr = resource.edr;
		addresource.mir = resource.mir;
		addresource.disableprimaryondown = resource.disableprimaryondown;
		addresource.dynamicweight = resource.dynamicweight;
		addresource.state = resource.state;
		addresource.considereffectivestate = resource.considereffectivestate;
		addresource.comment = resource.comment;
		addresource.somethod = resource.somethod;
		addresource.sopersistence = resource.sopersistence;
		addresource.sopersistencetimeout = resource.sopersistencetimeout;
		addresource.sothreshold = resource.sothreshold;
		addresource.sobackupaction = resource.sobackupaction;
		addresource.appflowlog = resource.appflowlog;
		return addresource.add_resource(client);
	}
public static base_response add ( nitro_service client , gslbvserver resource ) throws Exception { gslbvserver addresource = new gslbvserver ( ) ; addresource . name = resource . name ; addresource . servicetype = resource . servicetype ; addresource . iptype = resource . iptype ; addresource . dnsrecordtype = resource . dnsrecordtype ; addresource . lbmethod = resource . lbmethod ; addresource . backupsessiontimeout = resource . backupsessiontimeout ; addresource . backuplbmethod = resource . backuplbmethod ; addresource . netmask = resource . netmask ; addresource . v6netmasklen = resource . v6netmasklen ; addresource . tolerance = resource . tolerance ; addresource . persistencetype = resource . persistencetype ; addresource . persistenceid = resource . persistenceid ; addresource . persistmask = resource . persistmask ; addresource . v6persistmasklen = resource . v6persistmasklen ; addresource . timeout = resource . timeout ; addresource . edr = resource . edr ; addresource . mir = resource . mir ; addresource . disableprimaryondown = resource . disableprimaryondown ; addresource . dynamicweight = resource . dynamicweight ; addresource . state = resource . state ; addresource . considereffectivestate = resource . considereffectivestate ; addresource . comment = resource . comment ; addresource . somethod = resource . somethod ; addresource . sopersistence = resource . sopersistence ; addresource . sopersistencetimeout = resource . sopersistencetimeout ; addresource . sothreshold = resource . sothreshold ; addresource . sobackupaction = resource . sobackupaction ; addresource . appflowlog = resource . appflowlog ; return addresource . add_resource ( client ) ; }
Use this API to add gslbvserver.