Retrieve all Machines
Get all Machines visible to the caller.
Infrastructure Provider callers receive Machines owned by their Provider. Tenant Admin callers receive Machines only from Sites where TargetedInstanceCreation is effective. The siteId query parameter is optional and further restricts either result set.
Query parameters
Filter Machines by Site ID
Filter Machines by ID. Can be specified multiple times to filter on more than one ID.
Filter Machines that have been assigned an Instance Type.
Filter Machines by Instance Type ID. Can be specified multiple times to filter on more than one Instance Type ID.
Filter Machines by ID of tenant of assigned instance. Can be specified multiple times to filter on more than one Tenant ID.
Filter Machines that are assigned to an Instance. siteId must be specified when using this param.
Filter Machines that are missing on Site.
Include Machine metadata e.g. BMC, DPU, GPU and Interface data. Can only be requested by Provider.
Filter Machines by Status. Can be specified multiple times to filter on more than one Status.
Filter Machines by Capability Type
Filter Machines by Capability Name. Can be specified multiple times to filter on more than one Capability Name.
Filter Machines by hardware SKU Device Type. Example values: "gpu", "cpu", "storage", "cache"
Provide query to search for matches. Input will be matched against Machine ID, vendor, product name, hostname and status
Related entity to expand
Page number for pagination query
Page size for pagination query
Ordering for pagination query
Response
OK
Example response
[
{
"id": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"infrastructureProviderId": "e94bcfda-f6cb-42e4-80ec-516811e5abbf",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
"instanceTypeId": "2e016c02-2c67-48aa-b289-5d3ca6320c52",
"instanceId": "59bdaaff-3998-4fd9-a140-8749beeb605e",
"tenantId": "99819e6e-4017-4021-9edd-ea1bdf4dbd59",
"controllerMachineId": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"controllerMachineType": "x86_64",
"hwSkuDeviceType": "cpu",
"vendor": "Lenovo",
"productName": "ThinkSystem SR670 V2",
"serialNumber": "J1060ACR.D3KS2CS001G",
"machineCapabilities": [
{
"type": "CPU",
"name": "Intel(R) Xeon(R) Gold 6354 CPU @ 3.00GHz",
"frequency": "3.0GHz",
"cores": 18,
"threads": 36,
"count": 2
},
{
"type": "Memory",
"name": "Corsair Vengeance LPX",
"capacity": "32GB",
"count": 4
}
],
"machineInterfaces": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"machineId": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"controllerInterfaceId": "ad3dac49-741d-4c1f-815c-c020127c532f",
"controllerSegmentId": "f2207a3c-1847-42e5-bf2c-cd015f87a2bc",
"subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a",
"hostname": "example.com",
"isPrimary": true,
"macAddress": "00:00:5e:00:53:af",
"ipAddresses": [
"192.156.7.23",
"202.88.37.112"
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"maintenanceMessage": null,
"scoutVersion": "2.6.1",
"health": {
"source": "aggregate-host-health",
"observedAt": null,
"successes": [
{
"id": "BgpDaemonEnabled",
"target": null
},
{
"id": "BgpStats",
"target": null
},
{
"id": "DhcpServer",
"target": null
},
{
"id": "DpuDiskUtilizationCheck",
"target": null
},
{
"id": "FanSpeed",
"target": "System Board Fan1A"
},
{
"id": "PowerSupply",
"target": "PS1 Status"
},
{
"id": "Temperature",
"target": "CPU1 Temp"
},
{
"id": "Temperature",
"target": "System Board Exhaust Temp"
},
{
"id": "Voltage",
"target": "CPU1 1P8 PG"
}
],
"alerts": [
{
"id": "FailedValidationTest",
"target": "DcgmFullShort",
"inAlertSince": null,
"message": "Failed validation test:\nName:DcgmFullShort\nCommand:dcgmi\nArgs:diag -r 2",
"tenantMessage": null,
"classifications": [
"PreventAllocations"
]
}
]
},
"labels": {
"RackIdentifier": "GVX11F01C02",
"ServerName": "SITE1-C03-Server-02"
},
"status": "Ready",
"isUsableByTenant": true,
"statusHistory": [
{
"status": "Ready",
"message": "Machine is online and ready",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]