public static base_response add ( nitro_service client , vpnvserver resource ) throws Exception { vpnvserver addresource = new vpnvserver ( ) ; addresource . name = resource . name ; addresource . servicetype = resource . servicetype ; addresource . ipv46 = resource . ipv46 ; addresource . range = resource . range ; addresource . port = resource . port ; addresource . state = resource . state ; addresource . authentication = resource . authentication ; addresource . doublehop = resource . doublehop ; addresource . maxaaausers = resource . maxaaausers ; addresource . icaonly = resource . icaonly ; addresource . downstateflush = resource . downstateflush ; addresource . listenpolicy = resource . listenpolicy ; addresource . listenpriority = resource . listenpriority ; addresource . tcpprofilename = resource . tcpprofilename ; addresource . httpprofilename = resource . httpprofilename ; addresource . comment = resource . comment ; addresource . appflowlog = resource . appflowlog ; addresource . icmpvsrresponse = resource . icmpvsrresponse ; addresource . netprofile = resource . netprofile ; addresource . cginfrahomepageredirect = resource . cginfrahomepageredirect ; addresource . maxloginattempts = resource . maxloginattempts ; addresource . failedlogintimeout = resource . failedlogintimeout ; return addresource . add_resource ( client ) ; }
Use this API to add vpnvserver .