public static dnsaction get ( nitro_service service , String actionname ) throws Exception { dnsaction obj = new dnsaction ( ) ; obj . set_actionname ( actionname ) ; dnsaction response = ( dnsaction ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnsaction resource of given name .