Expected Machine
Retrieve all Expected Machines
Retrieve all Expected Machines.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN or PROVIDER_VIEWER suffix.
Alternatively, Tenant Admins with TargetedInstanceCreation capability can also retrieve Expected Machines if they have an account with the Site's Infrastructure Provider (siteId query parameter is required for Tenants).
get/v2/org/{org}/nico/expected-machine
Query parameters
siteIdstring uuid
ID of the Site to filter Expected Machines by
includeRelation'Site' | 'Sku'
Related entity to expand
pageNumberinteger
Example:1
Page number for pagination query
pageSizeinteger
Example:20
Page size for pagination query
orderBy'BMC_MAC_ADDRESS_ASC' | 'BMC_MAC_ADDRESS_DESC' | 'CHASSIS_SERIAL_NUMBER_ASC' | 'CHASSIS_SERIAL_NUMBER_DESC' | 'CREATED_ASC' | 'CREATED_DESC' | 'UPDATED_ASC' | 'UPDATED_DESC'
Ordering for pagination query
Response
OK
Example response
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"siteId": "f97df110-f4de-492e-8849-4a6af68026b0",
"bmcMacAddress": "00:1A:2B:3C:4D:5E",
"bmcIpAddress": "192.168.1.100",
"chassisSerialNumber": "CHASSIS-12345",
"fallbackDPUSerialNumbers": [
"DPU-001",
"DPU-002"
],
"skuId": "lenovo.sr650v2.cpu.1",
"machineId": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"rackId": "rack-01",
"isDpfEnabled": true,
"manufacturer": "Lenovo",
"labels": {
"environment": "production",
"rack": "A1"
},
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]