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