Instance Type
Retrieve an Instance Type
Get an Instance Type by ID.
If the org has an Infrastructure Provider entity that owns the Instance Type, then the Instance Type detail is returned. User must have authorization role with PROVIDER_ADMIN suffix.
If the org has a Tenant entity and it has a Tenant Account with the Infrastructure Provider of the Instance Type, then the Instance Type detail is returned. User must have authorization role with TENANT_ADMIN suffix.
get/v2/org/{org}/nico/instance/type/{instanceTypeId}
Query parameters
includeMachineAssociationboolean
Include Machine associations for each Instance Type. Can only be requested by Provider
includeAllocationStatsboolean
Include Allocation stats. Currently can only be requested by Tenant
includeRelation'InfrastructureProvider' | 'Site'
Related entity to expand
Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "x3.large",
"description": "Part of X family, the X3 Large features increased compute power",
"infrastructureProviderId": "5f2cc306-76e9-4fca-9186-950c9ef9a74e",
"siteId": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
"labels": {
"region": "portland",
"env": "staging"
},
"machineCapabilities": [
{
"type": "CPU",
"name": "Intel(R) Xeon(R) Gold 6354 CPU @ 3.00GHz",
"frequency": "3.0GHz",
"cores": 18,
"threads": 36,
"count": 2
}
],
"machineInstanceTypes": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"machineId": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"status": "Pending",
"statusHistory": [
{
"status": "Pending",
"message": "Request received, pending processing",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}