code: public static base_responses add(nitro_service client, ipsecprofile resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			ipsecprofile addresources[] = new ipsecprofile[resources.length];
  			for (int i=0;i<resources.length;i++){
  				addresources[i] = new ipsecprofile();
  				addresources[i].name = resources[i].name;
  				addresources[i].ikeversion = resources[i].ikeversion;
  				addresources[i].encalgo = resources[i].encalgo;
  				addresources[i].hashalgo = resources[i].hashalgo;
  				addresources[i].lifetime = resources[i].lifetime;
  				addresources[i].psk = resources[i].psk;
  				addresources[i].publickey = resources[i].publickey;
  				addresources[i].privatekey = resources[i].privatekey;
  				addresources[i].peerpublickey = resources[i].peerpublickey;
  				addresources[i].livenesscheckinterval = resources[i].livenesscheckinterval;
  				addresources[i].replaywindowsize = resources[i].replaywindowsize;
  				addresources[i].ikeretryinterval = resources[i].ikeretryinterval;
  				addresources[i].retransmissiontime = resources[i].retransmissiontime;
  			}
  			result = add_bulk_request(client, addresources);
  		}
  		return result;
  	}
docs: Use this API to add ipsecprofile resources.