diff --git a/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java b/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java index f88220305c..d1e0d421d5 100644 --- a/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java +++ b/src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java @@ -590,6 +590,18 @@ public class VirtualMachine extends PoolElement{ return client.call(DISKRESIZE, id, diskId, String.valueOf(newSize)); } + /** + * Update VM Configuration + * @param client XML-RPC Client. + * @param id The VM id of the target VM. + * @param new_conf New Configuration of the target VM + * @return If an error occurs the error message contains the reason. + */ + public static OneResponse updateconf(Client client, int id, String new_conf) + { + return client.call(UPDATECONF, id, new_conf); + } + /** * Recovers a stuck VM. *