public static base_response add ( nitro_service client , servicegroup resource ) throws Exception { servicegroup addresource = new servicegroup ( ) ; addresource . servicegroupname = resource . servicegroupname ; addresource . servicetype = resource . servicetype ; addresource . cachetype = resource . cachetype ; addresource . td = resource . td ; addresource . maxclient = resource . maxclient ; addresource . maxreq = resource . maxreq ; addresource . cacheable = resource . cacheable ; addresource . cip = resource . cip ; addresource . cipheader = resource . cipheader ; addresource . usip = resource . usip ; addresource . pathmonitor = resource . pathmonitor ; addresource . pathmonitorindv = resource . pathmonitorindv ; addresource . useproxyport = resource . useproxyport ; addresource . healthmonitor = resource . healthmonitor ; addresource . sc = resource . sc ; addresource . sp = resource . sp ; addresource . rtspsessionidremap = resource . rtspsessionidremap ; addresource . clttimeout = resource . clttimeout ; addresource . svrtimeout = resource . svrtimeout ; addresource . cka = resource . cka ; addresource . tcpb = resource . tcpb ; addresource . cmp = resource . cmp ; addresource . maxbandwidth = resource . maxbandwidth ; addresource . monthreshold = resource . monthreshold ; addresource . state = resource . state ; addresource . downstateflush = resource . downstateflush ; addresource . tcpprofilename = resource . tcpprofilename ; addresource . httpprofilename = resource . httpprofilename ; addresource . comment = resource . comment ; addresource . appflowlog = resource . appflowlog ; addresource . netprofile = resource . netprofile ; addresource . autoscale = resource . autoscale ; addresource . memberport = resource . memberport ; return addresource . add_resource ( client ) ; }
Use this API to add servicegroup .