Allocation
Retrieve Allocation
Retrieve Allocation by ID
The Infrastructure Provider and Tenant are inferred from the org's membership. Allocation must belong to the Provider or Tenant associated with the org.
User must have authorization role with PROVIDER_ADMIN or TENANT_ADMIN suffix.
get/v2/org/{org}/nico/allocation/{allocationId}
Query parameters
infrastructureProviderIdstring uuid
Filter Allocations by Infrastructure Provider ID.
tenantIdstring uuid
Filter Allocations by Tenant ID.
includeRelation'InfrastructureProvider' | 'Tenant' | 'Site'
Related entity to expand
Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Echo Studios Allocations",
"description": "Echo Studios resource allocation in SJC4",
"infrastructureProviderId": "e94bcfda-f6cb-42e4-80ec-516811e5abbf",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"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",
"allocationConstraints": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"allocationId": "9ec871ce-3363-4de2-8f79-062881067628",
"resourceType": "InstanceType",
"resourceTypeId": "a59ee688-b5e5-4606-9891-f4a605edacd3",
"constraintType": "Reserved",
"constraintValue": 10,
"derivedResourceId": null,
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
]
}