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