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