public static base_response update ( nitro_service client , gslbservice resource ) throws Exception { gslbservice updateresource = new gslbservice ( ) ; updateresource . servicename = resource . servicename ; updateresource . ipaddress = resource . ipaddress ; updateresource . publicip = resource . publicip ; updateresource . publicport = resource . publicport ; updateresource . cip = resource . cip ; updateresource . cipheader = resource . cipheader ; updateresource . sitepersistence = resource . sitepersistence ; updateresource . siteprefix = resource . siteprefix ; updateresource . maxclient = resource . maxclient ; updateresource . healthmonitor = resource . healthmonitor ; updateresource . maxbandwidth = resource . maxbandwidth ; updateresource . downstateflush = resource . downstateflush ; updateresource . maxaaausers = resource . maxaaausers ; updateresource . viewname = resource . viewname ; updateresource . viewip = resource . viewip ; updateresource . monthreshold = resource . monthreshold ; updateresource . weight = resource . weight ; updateresource . monitor_name_svc = resource . monitor_name_svc ; updateresource . hashid = resource . hashid ; updateresource . comment = resource . comment ; updateresource . appflowlog = resource . appflowlog ; return updateresource . update_resource ( client ) ; }
Use this API to update gslbservice .