Param name | Description |
---|---|
location_id
optional |
Scope by locations Validations:
|
organization_id
optional |
Scope by organizations Validations:
|
search
optional |
filter results Validations:
|
order
optional |
Sort and order by a searchable field, e.g. '<field> DESC' Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return, 'all' to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
id | integer | |
location | string | |
location_id | integer | |
name | string | |
organization | string | |
organization_id | integer | |
type | string |
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
compute_resource
required |
Validations:
|
compute_resource[name]
required |
Validations:
|
compute_resource[provider]
optional , nil allowed |
Providers include Libvirt, Ovirt, EC2, Vmware, Openstack Validations:
|
compute_resource[url]
optional , nil allowed |
URL for Libvirt, oVirt and OpenStack Validations:
|
compute_resource[description]
optional , nil allowed |
Validations:
|
compute_resource[user]
optional , nil allowed |
Username for oVirt, EC2, VMware, OpenStack. Access Key for EC2. Validations:
|
compute_resource[password]
optional , nil allowed |
Password for oVirt, EC2, VMware, OpenStack. Secret key for EC2 Validations:
|
compute_resource[datacenter]
optional , nil allowed |
for oVirt, VMware Datacenter Validations:
|
compute_resource[ovirt_quota]
optional , nil allowed |
for oVirt only, ID or Name of quota to use Validations:
|
compute_resource[public_key]
optional , nil allowed |
for oVirt only Validations:
|
compute_resource[region]
optional , nil allowed |
for AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region Validations:
|
compute_resource[tenant]
optional , nil allowed |
for OpenStack and AzureRm only Validations:
|
compute_resource[domain]
optional , nil allowed |
for OpenStack (v3) only Validations:
|
compute_resource[project_domain_name]
optional , nil allowed |
for OpenStack (v3) only Validations:
|
compute_resource[project_domain_id]
optional , nil allowed |
for OpenStack (v3) only Validations:
|
compute_resource[server]
optional , nil allowed |
for VMware Validations:
|
compute_resource[set_console_password]
optional , nil allowed |
for Libvirt and VMware only Validations:
|
compute_resource[display_type]
optional , nil allowed |
for Libvirt and oVirt only Validations:
|
compute_resource[keyboard_layout]
optional , nil allowed |
for oVirt only Validations:
|
compute_resource[caching_enabled]
optional , nil allowed |
enable caching, for VMware only Validations:
|
compute_resource[location_ids]
optional , nil allowed |
REPLACE locations with given ids Validations:
|
compute_resource[organization_ids]
optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
compute_resource
required |
Validations:
|
compute_resource[name]
optional |
Validations:
|
compute_resource[provider]
optional , nil allowed |
Providers include Libvirt, Ovirt, EC2, Vmware, Openstack Validations:
|
compute_resource[url]
optional , nil allowed |
URL for Libvirt, oVirt and OpenStack Validations:
|
compute_resource[description]
optional , nil allowed |
Validations:
|
compute_resource[user]
optional , nil allowed |
Username for oVirt, EC2, VMware, OpenStack. Access Key for EC2. Validations:
|
compute_resource[password]
optional , nil allowed |
Password for oVirt, EC2, VMware, OpenStack. Secret key for EC2 Validations:
|
compute_resource[datacenter]
optional , nil allowed |
for oVirt, VMware Datacenter Validations:
|
compute_resource[ovirt_quota]
optional , nil allowed |
for oVirt only, ID or Name of quota to use Validations:
|
compute_resource[public_key]
optional , nil allowed |
for oVirt only Validations:
|
compute_resource[region]
optional , nil allowed |
for AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region Validations:
|
compute_resource[tenant]
optional , nil allowed |
for OpenStack and AzureRm only Validations:
|
compute_resource[domain]
optional , nil allowed |
for OpenStack (v3) only Validations:
|
compute_resource[project_domain_name]
optional , nil allowed |
for OpenStack (v3) only Validations:
|
compute_resource[project_domain_id]
optional , nil allowed |
for OpenStack (v3) only Validations:
|
compute_resource[server]
optional , nil allowed |
for VMware Validations:
|
compute_resource[set_console_password]
optional , nil allowed |
for Libvirt and VMware only Validations:
|
compute_resource[display_type]
optional , nil allowed |
for Libvirt and oVirt only Validations:
|
compute_resource[keyboard_layout]
optional , nil allowed |
for oVirt only Validations:
|
compute_resource[caching_enabled]
optional , nil allowed |
enable caching, for VMware only Validations:
|
compute_resource[location_ids]
optional , nil allowed |
REPLACE locations with given ids Validations:
|
compute_resource[organization_ids]
optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
GET /api/compute_resources/305613588-Vmware/available_clusters 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_vmware_object", "id": "my11-test35-uuid99" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
GET /api/compute_resources/928692541-amazon123/available_flavors 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_ec2_object", "id": "123" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
GET /api/compute_resources/305613588-Vmware/available_folders 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_vmware_object", "id": "my11-test35-uuid99" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
GET /api/compute_resources/928692541-amazon123/available_zones 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_ec2_object" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
GET /api/compute_resources/305613588-Vmware/available_clusters/123-456-789/available_networks 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_vmware_object", "id": "my11-test35-uuid99" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
cluster_id
optional |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
GET /api/compute_resources/305613588-Vmware/available_clusters/123-456-789/available_resource_pools 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_vmware_object", "id": "my11-test35-uuid99" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
cluster_id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
storage_domain_id
required |
Validations:
|
GET /api/compute_resources/305613588-Vmware/available_storage_domains 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_vmware_object", "id": "my11-test35-uuid99" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
cluster_id
optional |
Validations:
|
storage_domain
optional |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
storage_pod_id
required |
Validations:
|
GET /api/compute_resources/305613588-Vmware/available_storage_pods 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_vmware_object", "id": "my11-test35-uuid99" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
cluster_id
optional |
Validations:
|
storage_pod
optional |
Validations:
|
GET /api/compute_resources/928692541-amazon123/available_security_groups 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "name": "test_ec2_object", "group_id": "123" } ] }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
vm_id
optional |
Validations:
|
PUT /api/compute_resources/305613588-Vmware/refresh_cache { "compute_resource": {} } 200 { "message": "Successfully refreshed the cache." }
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
vm_id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
vm_id
required |
Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
vm_id
required |
Validations:
|