public static base_response update ( nitro_service client , systemcmdpolicy resource ) throws Exception { systemcmdpolicy updateresource = new systemcmdpolicy ( ) ; updateresource . policyname = resource . policyname ; updateresource . action = resource . action ; updateresource . cmdspec = resource . cmdspec ; return updateresource . update_resource ( client ) ; }
Use this API to update systemcmdpolicy .