GET /api/compute_resources/980190962-bigcompute 200 { "description": "MyString", "url": "qemu://stam/system", "created_at": "2018-11-16 10:02:08 UTC", "updated_at": "2018-11-16 10:02:08 UTC", "id": 980190962, "name": "bigcompute", "provider": "Libvirt", "provider_friendly_name": "Libvirt", "display_type": "vnc", "set_console_password": true, "images": [ { "id": 298486374, "name": "centos-2" }, { "id": 980190962, "name": "centos-1" } ], "compute_attributes": [ { "id": 281110143, "name": null, "compute_resource_id": 980190962, "compute_resource_name": "bigcompute", "provider_friendly_name": "Libvirt", "compute_profile_id": 298486374, "compute_profile_name": "2-Medium", "vm_attrs": { "cpus": 4, "memory": 4294967296 }, "attributes": { "cpus": 4, "memory": 4294967296, "image_id": null, "image_name": null, "volumes_attributes": {}, "interfaces_attributes": {} } }, { "id": 298486374, "name": null, "compute_resource_id": 980190962, "compute_resource_name": "bigcompute", "provider_friendly_name": "Libvirt", "compute_profile_id": 980190962, "compute_profile_name": "1-Small", "vm_attrs": { "cpus": 2, "memory": 536870912 }, "attributes": { "cpus": 2, "memory": 536870912, "image_id": null, "image_name": null, "volumes_attributes": {}, "interfaces_attributes": {} } }, { "id": 394428105, "name": null, "compute_resource_id": 980190962, "compute_resource_name": "bigcompute", "provider_friendly_name": "Libvirt", "compute_profile_id": 281110143, "compute_profile_name": "4-Networking", "vm_attrs": { "nics_attributes": { "1": { "attr": 1 }, "2": { "attr": 2 } } }, "attributes": { "cpus": null, "memory": null, "image_id": null, "image_name": null, "volumes_attributes": {}, "interfaces_attributes": { "1": { "type": null, "model": null, "bridge": null }, "2": { "type": null, "model": null, "bridge": null } } } } ], "locations": [ { "id": 255093256, "name": "Location 1", "title": "Location 1", "description": null } ], "organizations": [ { "id": 447626438, "name": "Organization 1", "title": "Organization 1", "description": null } ] }
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:
|