public OvhTask serviceName_features_ipmi_access_POST ( String serviceName , String ipToAllow , String sshKey , OvhCacheTTLEnum ttl , OvhIpmiAccessTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/ipmi/access" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipToAllow" , ipToAllow ) ; addBody ( o , "sshKey" , sshKey ) ; addBody ( o , "ttl" , ttl ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Request an acces on KVM IPMI interface