Existing Systems
Existing Systems
#340330
Description
You can sort any collection using the hidden size element.
The sort logic is calculated based on the following priority order:
- memory
- total_physical_cpus
- cores_per_cpu
For example, if two hosts have the same total memory, the one with the higher count of total physical CPUs is considered the larger host.
Systems with any "_Unknown_" values are sorted at the end of the collection independent of the specified sort order.
Resource
/existing-systems
Supported Operations
Table: Existing Systems Supported Operations
Operation |
HTTP Method |
Input |
Output |
Description |
Get Collection |
GET /existing-systems |
None |
Array of Existing Systems: Resource Elements |
Common Operations and Sort By are not supported. Example: Getting a Collection of Hosts with Name "*274*", Example: Getting a Collection of Existing Systems with Platform VMware |
Get Individual |
GET /existing-systems/<id> |
None |
Retrieve the elements of the Existing Systems specified by id. Example: Getting an Individual Existing Host System, Example: Getting an Individual Existing Guest System |
Table: Existing Systems Resource Elements
Element |
Type |
Mod |
Filter |
Description |
id, name, href |
strings |
|
F by id, name, name_like |
See ID, Name and Self Reference (id, name, href). To filter systems with names that contain a given input string, use ?name_like="<substring>" in your collection request. This filter is case insensitive. The '%' character can be used to match zero or more characters. |
children |
string |
|
Children, from the System Summary DSE page. For a host system (i.e. "type": "HOST"), this is the number of VMs the host system has (e.g. "children": "10"). For a VM (i.e. "type": "GUEST"), this does not apply (i.e. "children": "N/A"). |
|
control_environment |
[id, name, platform_category, href, icon] |
|
F by control_environment, platform, platform_category |
The associated Control Environment where the system belongs. See Control Environments. Note that when filtering on Control Environments, you must use the element control_environment with a name specified, platform with a platform specified, or platform_category with a platform category specified. |
cores_per_cpu |
string |
|
Cores per CPU, from the System Summary DSE page. |
|
cpu_benchmarks |
[name, score_type, value] |
|
|
The default CPU benchmark.
|
cpu_model |
string |
|
|
CPU Architecture, from the System Summary DSE page. |
cpu_speed |
string |
|
|
Normalized CPU Speed (MHz), from the System Summary DSE page. |
entity_role_name |
string |
|
|
Entity Role Name, from the System Summary DSE page. |
entity_type |
string |
|
|
Type, from the System Summary DSE page. |
hostId |
string |
|
|
Host Id, from the System Details DSE Config page. |
I/O_benchmarks |
[name, score_type, value] |
|
The list of all available I/O benchmarks.
|
|
infrastructure_group |
{id, name, href} |
|
F by infrastructure_group |
The associated Infrastructure Group where the system belongs. See Infrastructure Groups. Note that when filtering on Infrastructure Groups, you must use the element infrastructure_group with a name specified. |
ip_address |
string |
|
|
Primary IP address, from the System Summary DSE page. |
mac_address |
string |
|
|
MAC Address, from the System Details DSE Config page. |
manufacturer |
string |
|
Manufacturer, from the System Summary DSE page. |
|
memory |
string |
|
Normalized Total Memory (MB), from the System Summary DSE page. |
|
os |
string |
|
|
Operating System Name, from the System Summary DSE page. |
os_patch_level |
string |
|
|
Operating Patch Level, from the System Summary DSE page. |
os_version |
string |
|
|
Operating Version, from the System Summary DSE page. |
parent |
string |
|
Parent, from the System Summary DSE page. For a host system (i.e. "type": "HOST"), this does not apply (i.e. "parent": "N/A"). For a VM (i.e. "type": "GUEST"), this is the name of the parent host system (e.g. "parent": "esx-host-221"). |
|
serial_number |
string |
|
|
Serial number, from the System Details DSE page. |
size |
hidden element |
|
This element is used to sort a collection by size. See Sorting By Size for details. |
|
total_logical_cpus |
string |
|
Total Logical CPUs, from the System Summary DSE page. |
|
total_physical_cpus |
string |
|
Total Physical CPUs, from the System Summary DSE page. |
|
threads_per_core |
string |
|
Threads Per Core, from the System Summary DSE page. |
|
type |
string |
|
F |
The type of system.
|
Examples
Example: Getting a Collection of Hosts with Name "*274*"
The following example shows you how to retrieve a collection of hosts with a name containing "274".

Request:
GET /existing-systems/?type=host&name_like=274
Response:
[
{
"id": "0a098816-7120-4c67-a897-c227f8c2d750",
"name": "esx-host-274",
"href": /existing-systems/0a098816-7120-4c67-a897-c227f8c2d750,
"type": "HOST",
"platform_model": "ProLiant DL585 G6",
"total_physical_cpus": "2",
"cores_per_cpu": "6",
"memory": "98304",
"infrastructure_group": {
"id": "94edf69b-08ca-41e6-ba2c-3d6be186ca60",
"name": "Prod_BIPS-01",
"href": "/infrastructure-groups/94edf69b-08ca-41e6-ba2c-3d6be186ca60"
},
"control_environment": {
"id": "26092815-9d17-4e6a-abbd-f5b05a853bff",
"name": "Boston",
"platform_category": "Internal Virtual",
"href": "/control-environments/26092815-9d17-4e6a-abbd-f5b05a853bff",
"icon": "/control-environments/26092815-9d17-4e6a-abbd-f5b05a853bff/icon"
}
}
]
Example: Getting a Collection of Existing Systems with Platform VMware
This example shows you how to retrieve a collection of systems with platform "VMware" (defined by the control environment).

Request:
GET /existing-systems/?platform=vmware
Example: Getting an Individual Existing Host System
This example shows you how to retrieve an individual host system by ID.

Request:
GET /existing-systems/0a098816-7120-4c67-a897-c227f8c2d750
Response:
{
"id": "0a098816-7120-4c67-a897-c227f8c2d750",
"name": "esx-host-274",
"href": /existing-systems/0a098816-7120-4c67-a897-c227f8c2d750,
"type": "HOST",
"os": "VMware",
"os_version": "ESX Server 4.0.0"",
"os_patch_level": "N/A",
"manufacturer": "HP",
"platform_model": "ProLiant DL585 G6",
"serial_number": "N/A",
"hostId": "N/A",
"entity_type": "VMWare ESX Host",
"parent": "N/A",
"children": "13",
"entity_role_name": "VMWARE_HOST",
"cpu_model": "AMD Opteron 8435",
"total_logical_cpus": "12",
"total_physical_cpus": "2",
"cores_per_cpu": "6",
"threads_per_core": "1",
"cpu_speed": "2600",
"memory": "98304",
"ip_address": "192.163.117.108",
"mac_address": "BC:20:65:17:39:89",
"cpu_benchmarks": [
{
"name": "CINT2006 Rate",
"score_type": "cint2006rate",
"value": 160
}
],
"I/O_benchmarks": [
{
"name": "Maximum Disk Throughput (bytes/s)",
"score_type": "disk",
"value": 250000000
},
{
"name": "Maximum Network Throughput (bytes/s)",
"score_type": "net",
"value": 150000000
},
],
"infrastructure_group": {
"id": "94edf69b-08ca-41e6-ba2c-3d6be186ca60",
"name": "Prod_BIPS-01",
"href": "/infrastructure-groups/94edf69b-08ca-41e6-ba2c-3d6be186ca60"
},
"control_environment": {
"id": "26092815-9d17-4e6a-abbd-f5b05a853bff",
"name": "Boston",
"platform_category": "Internal Virtual",
"href": "/control-environments/26092815-9d17-4e6a-abbd-f5b05a853bff",
"icon": "/control-environments/26092815-9d17-4e6a-abbd-f5b05a853bff/icon"
}
}
Example: Getting an Individual Existing Guest System
This example shows you how to retrieve an individual guest system by name.

Request:
GET /existing-systems/?name=win-vm-2319&details=true
Response:
{
"id": "002922ea-48dc-4c74-9bd1-a718d6afbe05",
"name": "win-vm-2319",
"href": /existing-systems/002922ea-48dc-4c74-9bd1-a718d6afbe05,
"type": "GUEST",
"os": "Windows",
"os_version": "Server 2012",
"os_patch_level": "N/A",
"manufacturer": "VMware",
"platform_model": "N/A",
"serial_number": "4221413de2b2b78da3c678ad5d1a46c5",
"hostId": "N/A",
"entity_type": "VMWare ESX Guest",
"parent": "esx-host-221",
"children": "N/A",
"entity_role_name": "VMWARE_VM",
"cpu_model": "N/A",
"total_logical_cpus": "1",
"total_physical_cpus": "1",
"cores_per_cpu": "1",
"threads_per_core": "1",
"cpu_speed": "2666",
"memory": "98304",
"ip_address": "192.163.116.37",
"mac_address": "BC:20:D4:8A:0C:97",
"cpu_benchmarks": [
{
"name": "CINT2006 Rate",
"score_type": "cint2006rate",
"value": 27.1933
}
],
"I/O_benchmarks": [
{
"name": "Maximum Disk Throughput (bytes/s)",
"score_type": "disk",
"value": -1
},
{
"name": "Maximum Network Throughput (bytes/s)",
"score_type": "net",
"value": -1
},
],
"infrastructure_group": {
"id": "8a0c1b4e-85bd-422b-ac83-dfdf360619b4",
"name": "Production Apps1",
"href": "/infrastructure-groups/8a0c1b4e-85bd-422b-ac83-dfdf360619b4"
},
"control_environment": {
"id": "0a32351d-7a82-43c6-959a-abbc8700ad15",
"name": "New York",
"platform_category": "Internal Virtual",
"href": "/control-environments/0a32351d-7a82-43c6-959a-abbc8700ad15",
"icon": "/control-environments/0a32351d-7a82-43c6-959a-abbc8700ad15/icon"
}
}