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