public OvhTask serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_configureVpn_POST ( String serviceName , Long datacenterId , String preSharedKey , String remoteEndpointInternalIp , String remoteEndpointPublicIp , String remoteVraNetwork , String remoteZvmInternalIp ) throws IOException { String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zertoSingle/configureVpn" ; StringBuilder sb = path ( qPath , serviceName , datacenterId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "preSharedKey" , preSharedKey ) ; addBody ( o , "remoteEndpointInternalIp" , remoteEndpointInternalIp ) ; addBody ( o , "remoteEndpointPublicIp" , remoteEndpointPublicIp ) ; addBody ( o , "remoteVraNetwork" , remoteVraNetwork ) ; addBody ( o , "remoteZvmInternalIp" , remoteZvmInternalIp ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Configure vpn between your OVH Private Cloud and your onsite infrastructure