public static base_responses delete ( nitro_service client , lbmonitor resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { lbmonitor deleteresources [ ] = new lbmonitor [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleteresources [ i ] = new lbmonitor ( ) ; deleteresources [ i ] . monitorname = resources [ i ] . monitorname ; deleteresources [ i ] . type = resources [ i ] . type ; deleteresources [ i ] . respcode = resources [ i ] . respcode ; } result = delete_bulk_request ( client , deleteresources ) ; } return result ; }
Use this API to delete lbmonitor resources .