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