GET /api/compute_resources
List all compute resources.

Params

Param name Description
search
optional

filter results


Value: Must be String
order
optional

sort results


Value: Must be String
page
optional

paginate results


Value: Must be String
per_page
optional

number of entries per request


Value: Must be String

GET /api/compute_resources/:id
Show an compute resource.

Params

Param name Description
id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

POST /api/compute_resources
Create a compute resource.

Params

Param name Description
compute_resource
required

Value: Must be a Hash
compute_resource[name]
required

Value: Must be String
compute_resource[provider]
optional

Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE


Value: Must be String
compute_resource[url]
optional

URL for Libvirt, Ovirt, and Openstack


Value: Must be String
compute_resource[description]
optional

Value: Must be String
compute_resource[user]
optional

Username for Ovirt, EC2, VMware, Openstack. Access Key for EC2.


Value: Must be String
compute_resource[password]
optional

Password for Ovirt, EC2, VMware, Openstack. Secret key for EC2


Value: Must be String
compute_resource[uuid]
optional

for Ovirt, VMware Datacenter


Value: Must be String
compute_resource[region]
optional

for EC2 only


Value: Must be String
compute_resource[tenant]
optional

for Openstack only


Value: Must be String
compute_resource[server]
optional

for VMware


Value: Must be String
compute_resource[set_console_password]
optional

for Libvirt and VMware only


Value: Must be 'true' or 'false'

PUT /api/compute_resources/:id
Update a compute resource.

Params

Param name Description
id
required

Value: Must be String
compute_resource
required

Value: Must be a Hash
compute_resource[name]
optional

Value: Must be String
compute_resource[provider]
optional

Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE


Value: Must be String
compute_resource[url]
optional

URL for Libvirt, Ovirt, and Openstack


Value: Must be String
compute_resource[description]
optional

Value: Must be String
compute_resource[user]
optional

Username for Ovirt, EC2, VMware, Openstack. Access Key for EC2.


Value: Must be String
compute_resource[password]
optional

Password for Ovirt, EC2, VMware, Openstack. Secret key for EC2


Value: Must be String
compute_resource[uuid]
optional

for Ovirt, VMware Datacenter


Value: Must be String
compute_resource[region]
optional

for EC2 only


Value: Must be String
compute_resource[tenant]
optional

for Openstack only


Value: Must be String
compute_resource[server]
optional

for VMware


Value: Must be String

DELETE /api/compute_resources/:id
Delete a compute resource.

Params

Param name Description
id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.