Resources

Entity

Base Resources

Base Resources resource:

Field Explanation
id resource identifier
resource_type resource type
group_id if it’s a group resource, identifies which one
limit limit of the group (meaning depends on type)
limit_rate if it’s a NetworkGroup, interface throughput limit

Base_resources_list:

[base_resources resource 1, base_resources resource 2, …]

Note

Each base resource is unique to each user

Clasification of base resources
Name Type Meaning of limit
autobackup_policy Group Has Autobackup Policy and which one
network_group Group Max number of ips in group
data_store_group Group Max space in datastore group
template_group Group Max number of templates in group
hypervisor_group Group Can create hypervisor in group
backup Simple Max number of backups
cpu Simple Max number of Cpus
cpu_share Simple Max cpu share
disk_size Simple Max disk size in GB
ip_addresses Simple Max number of ips
memory Simple Max memory in MB
img_disk_size Simple Max disk size used for templates and Backups
templates Simple Max number of templates
virtual_machines Simple Max number of virtual machines owned
bandwidth Simple Max badwidth

Operations

Get Base Resources

Method:GET
Url:/account/<account_id>/base_resources
Success Code:200
Returned Data:Base Resource list
Has Token:No

Get user resources with it’s limits. See table to understand the meaning of limit on each resource.

Filters:

  • resource_type
  • resource_limit
  • limit_rate

Get used Base Resources

Method:GET
Url:/account/<account_id>/used_resources
Success Code:200
Returned Data:Base Resource list
Has Token:No

List of resources used by the virtual machines.

Table Of Contents

Previous topic

Server

Next topic

Datastore