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