public static gslbsite [ ] get ( nitro_service service , String sitename [ ] ) throws Exception { if ( sitename != null && sitename . length > 0 ) { gslbsite response [ ] = new gslbsite [ sitename . length ] ; gslbsite obj [ ] = new gslbsite [ sitename . length ] ; for ( int i = 0 ; i < sitename . length ; i ++ ) { obj [ i ] = new gslbsite ( ) ; obj [ i ] . set_sitename ( sitename [ i ] ) ; response [ i ] = ( gslbsite ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch gslbsite resources of given names .