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