Get Resource Pool Details

To view the details of a resource pool, use the following request:

1
2
GET /vdcs/:id.xml
GET /vdcs/:id.json

XML Request Example

1
curl -i -X GET -u user:userpass --url http://onapp.test/vdcs/6.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

1
curl -i -X GET -u user:userpass --url http://onapp.test/vdcs/6.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<vdc>
    <allocation_model>AllocationPool</allocation_model>
    <guaranteed_memory>0.2</guaranteed_memory>
    <cpu_allocated>6000</cpu_allocated>
    <updated_at>2016-02-02T23:00:35+00:00</updated_at>
    <cpu_limit>6000</cpu_limit>
    <cpu_used>2000</cpu_used>
    <guaranteed_cpu>0.11</guaranteed_cpu>
    <id>6</id>
    <vcpu_speed>1000</vcpu_speed>
    <label>onapp vDC 1 allocation pool</label>
    <thin_provisioning>true</thin_provisioning>
    <memory_used>1536</memory_used>
    <memory_limit>8192</memory_limit>
    <vm_quota>0</vm_quota>
    <memory_reserved>1638</memory_reserved>
    <fast_provisioning>true</fast_provisioning>
    <network_quota>1000</network_quota>
    <provider_vdc_id>51</provider_vdc_id>
    <created_at>2016-02-01T11:43:43+00:00</created_at>
    <enabled>true</enabled>
    <cpu_reserved>660</cpu_reserved>
    <memory_allocated>8192</memory_allocated>
    <user_group_id>11</user_group_id>
    <identifier>9d740561-7960-4fdc-b795-c33142a6d125</identifier>
</vdc>

Where:

allocation_model - the type resource pool

guaranteed_memory - the amount of memory (%) guaranteed to this resource pool

cpu_allocated - the amount of CPU (MHz) allocated to this resource pool

updated_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format

cpu_limit - the maximum amount of CPU resources which can be used

cpu_used -the amount of used CPU resources

guaranteed_cpu - the amount of CPU resources (%) guaranteed to this resource pool

id - the ID of the resource pool

vcpu_speed - the speed of vCPU ( in MHz)

label - the name of the resource pool

thin_provisioning - true if the thin provisioning is enabled for this resource pool; otherwise, false

memory_used - the amount of used memory (MB)

memory_limit - the maximum amount of memory which can be used

vm_quota - the number of virtual servers that can be created within this resource pool

memory_reserved - the amount of reserved memory (MB)

fast_provisioning - true if the fast provisioning is enabled for this resource pool; otherwise, false

network_quota - the number of networks that can be created within this resource pool

provider_vdc_id - the provider resource pool ID

created_at - the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format

enabled - true if the resource pool is enabled; otherwise, false

cpu_reserved - the amount of reserved CPU resources

memory_allocated - the amount of memory (MB) allocated to this resource pool

user_group_id - the ID of the organization, to which the resource pool is assigned

identifier - the identifier of the resource pool

Page History

v. 5.6

  • Added the provider_vdc_id parameter