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