Hi,
I can update the vCPU and memory quota by editing a Quota object of a datacenter through webadmin portal, but it seems that I cannot update through REST API...
For example, I have a quota object with a global quota_cluster_limit object:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<quota_cluster_limits>
<quota_cluster_limit href="/ovirt-engine/api/datacenters/5ad4fafe-0253-0015-0215-000000000378/quotas/8a6b3336-2dfc-4e40-a58e-9bdcb45d228a/quotaclusterlimits/8a6b3336-2dfc-4e40-a58e-9bdcb45d228a" id="8a6b3336-2dfc-4e40-a58e-9bdcb45d228a">
<memory_limit>16.0</memory_limit>
<memory_usage>0.0</memory_usage>
<vcpu_limit>6</vcpu_limit>
<vcpu_usage>0</vcpu_usage>
<quota href="/ovirt-engine/api/datacenters/5ad4fafe-0253-0015-0215-000000000378/quotas/8a6b3336-2dfc-4e40-a58e-9bdcb45d228a" id="8a6b3336-2dfc-4e40-a58e-9bdcb45d228a"/>
</quota_cluster_limit>
</quota_cluster_limits>
But when I try to do
PUTĀ
with request body like:
<quota_cluster_limit>
<vcpu_limit>8</vcpu_limit>
</quota_cluster_limit>
I got 405 Method Not Allowed.
Could anyone give me some advices?