Create Resource Pool
To create a resource pool, use the following request:
| |
XML Request Example
| |
JSON Request Example
| |
Where:
label - specify a name for the resource pool
user_group_id - specify the ID of a user group to which this resource pool will be assigned
provider_vdc_id - indicate the provider resource pool ID
network_pool_identifier - fill in the ID of the default network pool for the resource pool
allocation_model - choose the type of resource pool (AllocationVApp, AllocationPool, ReservationPool). Depending on the type selected, the compute resource parameters will differ:
AllocationVApp (Pay-As-You-Go):
guaranteed_cpu - specify the amount of guaranteed CPU allocation (%)
guaranteed_memory - specify the amount of guaranteed memory allocation (%)
vm_quota - specify the number of VSs that can be created after the resource pool is deployed
network_quota - specify the number of org networks that can be created after the resource pool is deployed
cpu_limit - specify the maximum amount of CPU (in GHz) that can be requested
memory_limit - specify the maximum amount of memory (in GB) which can be used
vcpu_speed - specify the vCPU speed that can be consumed after the resource pool is created (in MHz)
AllocationPool:
cpu_allocated - specify the amount of CPU resources (GHz) that will be allocated after the resource pool is created
memory_allocated - specify the amount of memory (in GB) allocated to this resource pool
guaranteed_cpu - specify the amount of guaranteed CPU allocation (%)
guaranteed_memory - specify the amount of guaranteed memory allocation (%)
vm_quota - specify the number of VSs that can be created after the resource pool is deployed
network_quota - specify the number of org networks that can be created after the resource pool is deployed
ReservationPool:
cpu_allocated - specify the amount of CPU resources (GHz) that will be allocated after the resource pool is created
memory_allocated - specify the amount of memory (in GB) allocated to this resource pool
vm_quota - specify the number of VSs that can be created after the resource pool is deployed
network_quota - specify the number of org networks that can be created after the resource pool is deployed
Data Stores Attributes:
thin_provisioning - true if thin provisioning is enabled for this resource pool; otherwise, false
fast_provisioning - true if fast provisioning is enabled for this resource pool; otherwise, false
data_store_group_id - indicate the data store group ID
data_store_size - specify the size of the data store. For Pay-As-You-Go resource pools, you can set 0 to create a data store with unlimited capacity.
data_store_type - specify the type of the data store (vcloud)
Page History
v 6.0
- Added the network_quota parameter.
v 5.0
- Added the network_pool_identifier parameter.