public OvhTask serviceName_virtualMac_macAddress_virtualAddress_POST ( String serviceName , String macAddress , String ipAddress , String virtualMachineName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress" ; StringBuilder sb = path ( qPath , serviceName , macAddress ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipAddress" , ipAddress ) ; addBody ( o , "virtualMachineName" , virtualMachineName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add an IP to this Virtual MAC