public OvhFrontendHttp serviceName_http_frontend_POST ( String serviceName , String [ ] allowedSource , String [ ] dedicatedIpfo , Long defaultFarmId , Long defaultSslId , Boolean disabled , String displayName , Boolean hsts , String [ ] httpHeader , String port , String redirectLocation , Boolean ssl , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/http/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 , "hsts" , hsts ) ; addBody ( o , "httpHeader" , httpHeader ) ; addBody ( o , "port" , port ) ; addBody ( o , "redirectLocation" , redirectLocation ) ; addBody ( o , "ssl" , ssl ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFrontendHttp . class ) ; }
Add a new http frontend on your IP Load Balancing