public OvhFrontendTcp serviceName_tcp_frontend_POST ( String serviceName , String [ ] allowedSource , String [ ] dedicatedIpfo , Long defaultFarmId , Long defaultSslId , Boolean disabled , String displayName , String port , Boolean ssl , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "allowedSource" , allowedSource ) ; addBody ( o , "dedicatedIpfo" , dedicatedIpfo ) ; addBody ( o , "defaultFarmId" , defaultFarmId ) ; addBody ( o , "defaultSslId" , defaultSslId ) ; addBody ( o , "disabled" , disabled ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "ssl" , ssl ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFrontendTcp . class ) ; }
Add a new TCP frontend on your IP Load Balancing