public static base_response add ( nitro_service client , gslbservice resource ) throws Exception { gslbservice addresource = new gslbservice ( ) ; addresource . servicename = resource . servicename ; addresource . cnameentry = resource . cnameentry ; addresource . ip = resource . ip ; addresource . servername = resource . servername ; addresource . servicetype = resource . servicetype ; addresource . port = resource . port ; addresource . publicip = resource . publicip ; addresource . publicport = resource . publicport ; addresource . maxclient = resource . maxclient ; addresource . healthmonitor = resource . healthmonitor ; addresource . sitename = resource . sitename ; addresource . state = resource . state ; addresource . cip = resource . cip ; addresource . cipheader = resource . cipheader ; addresource . sitepersistence = resource . sitepersistence ; addresource . cookietimeout = resource . cookietimeout ; addresource . siteprefix = resource . siteprefix ; addresource . clttimeout = resource . clttimeout ; addresource . svrtimeout = resource . svrtimeout ; addresource . maxbandwidth = resource . maxbandwidth ; addresource . downstateflush = resource . downstateflush ; addresource . maxaaausers = resource . maxaaausers ; addresource . monthreshold = resource . monthreshold ; addresource . hashid = resource . hashid ; addresource . comment = resource . comment ; addresource . appflowlog = resource . appflowlog ; return addresource . add_resource ( client ) ; }
Use this API to add gslbservice .