--_=__=_XaM3_.1418293747.2A.954361.42.5371.52.42.007.1089332332
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A Hello all,=0A I want to rename a disk alias using python sdk, but=
I cannot find an update method for object returned from api.disks.get (l=
ike cdrom, vm, datacenter objects).=0A Simplified code is:=0A d1 =3D =
api.disks.get(id=3D"7408f728-97e5-4b10-beb7-d9a70083797e")=0A d1.get_al=
ias()=0A 'FSBOVRHEL66TMP-1412_Disk1' <-- OLD alias=0A d1.set_alias(=
'PIPPO_Disk1')=0A d1.get_alias()=0A 'PIPPO_Disk1'
<--=
NEW alias=0A but after that I cannot find a method like d1.update() to=
"commit" changes of disk object, what I miss?=0A Best regards=0A Ame=
deo Salvati=0A
--_=__=_XaM3_.1418293747.2A.954361.42.5371.52.42.007.1089332332
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A<div class=3D"xam_msg_class">=0A<font size=3D"2">Hello
all,<br /><br /=
I want to rename a disk alias using python sdk, but I cannot find an
upd=
ate method for object returned from api.disks.get (like cdrom, vm, datace=
nter objects).<br /><br />Simplified code is:<br /><br />d1 =3D
api.disks=
.get(id=3D"7408f728-97e5-4b10-beb7-d9a70083797e")<br />d1.get_a=
lias()<br />'FSBOVRHEL66TMP-1412_Disk1'=C2=A0=C2=A0 <-- OLD
alias<br /=
d1.set_alias('PIPPO_Disk1')<br />d1.get_alias()<br
/>'PIPPO_Disk1'=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 <-- NEW alias<br /><br />but after that I cannot find
=
a method like d1.update() to "commit" changes of disk object, w=
hat I miss?<br /><br />Best regards<br />Amedeo
Salvati</font>=0A</div>=0A=
--_=__=_XaM3_.1418293747.2A.954361.42.5371.52.42.007.1089332332--