public static base_response update ( nitro_service client , cacheparameter resource ) throws Exception { cacheparameter updateresource = new cacheparameter ( ) ; updateresource . memlimit = resource . memlimit ; updateresource . via = resource . via ; updateresource . verifyusing = resource . verifyusing ; updateresource . maxpostlen = resource . maxpostlen ; updateresource . prefetchmaxpending = resource . prefetchmaxpending ; updateresource . enablebypass = resource . enablebypass ; updateresource . undefaction = resource . undefaction ; updateresource . enablediskcache = resource . enablediskcache ; return updateresource . update_resource ( client ) ; }
Use this API to update cacheparameter .