How to set Disk profile via REST API?

Hi, I have ovirt version: 4.3.4.3-1.el7 I can't find in the documentation how to set up a server disk profile during creation via the REST API. If it didn't work during creation, then it doesn't matter later after creation. How to please set up a disk profile server via REST API? Thank you.

I mean <vm> <name>$hostname</name> <description>$description</description> <cluster> <name>$cluster</name> </cluster> <template> <name>$template</name> <disk_profile>$disk_profile</disk_profile> <---------------------------- How please? :-D </template> <cpu> <topology> <cores>1</cores> <sockets>$cpu</sockets> <threads>1</threads> </topology> </cpu> <memory>$ramMB</memory> <memory_policy> <ballooning>true</ballooning> <guaranteed>$ramMBguaranteed</guaranteed> <max>$ramMBmax</max> </memory_policy> </vm>

As showed on the example: <disk_profile id="123" /> *Regards,* *Shani Leviim* On Thu, Dec 2, 2021 at 7:14 PM <ovirt.org@nevim.eu> wrote:
I mean <vm> <name>$hostname</name> <description>$description</description> <cluster> <name>$cluster</name> </cluster> <template> <name>$template</name>
<disk_profile>$disk_profile</disk_profile> <---------------------------- How please? :-D </template> <cpu> <topology> <cores>1</cores> <sockets>$cpu</sockets> <threads>1</threads> </topology> </cpu> <memory>$ramMB</memory> <memory_policy> <ballooning>true</ballooning> <guaranteed>$ramMBguaranteed</guaranteed> <max>$ramMBmax</max> </memory_policy> </vm> _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PP3WBLW22NQJRS...
participants (2)
-
ovirt.org@nevim.eu
-
Shani Leviim