<div class="xam_msg_class">
<font size="2">Hello all,<br /><br />I want to rename a disk alias using python sdk, but I cannot find an update method for object returned from api.disks.get (like cdrom, vm, datacenter objects).<br /><br />Simplified code is:<br /><br />d1 = api.disks.get(id="7408f728-97e5-4b10-beb7-d9a70083797e")<br />d1.get_alias()<br />'FSBOVRHEL66TMP-1412_Disk1' <-- OLD alias<br />d1.set_alias('PIPPO_Disk1')<br />d1.get_alias()<br />'PIPPO_Disk1' <-- NEW alias<br /><br />but after that I cannot find a method like d1.update() to "commit" changes of disk object, what I miss?<br /><br />Best regards<br />Amedeo Salvati</font>
</div>