I run the java simple of GetVMConfig.
String[] args = { "--url", "https://10.10.57.134/sdk",
"--username", "root", "--password", "nantian123456",
"--vmname","xp001",
"--operation", "update", "--device",
"memory", "--value", "1200", "--disksize",
"40960", "--diskmode", "persistent" };