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