public static base_responses disable ( nitro_service client , String ipaddress [ ] ) throws Exception { base_responses result = null ; if ( ipaddress != null && ipaddress . length > 0 ) { nsip disableresources [ ] = new nsip [ ipaddress . length ] ; for ( int i = 0 ; i < ipaddress . length ; i ++ ) { disableresources [ i ] = new nsip ( ) ; disableresources [ i ] . ipaddress = ipaddress [ i ] ; } result = perform_operation_bulk_request ( client , disableresources , "disable" ) ; } return result ; }
Use this API to disable nsip resources of given names .