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