Retrieve all Allocations
Retrieve all Allocations for the org.
The Infrastructure Provider and Tenant are inferred from the org's membership. User must have authorization role with PROVIDER_ADMIN or TENANT_ADMIN suffix.
Results are returned from both Provider and Tenant perspectives when the org has both roles.
Query parameters
Filter Allocations by Infrastructure Provider ID.
Filter Allocations by Tenant ID.
Filter Allocations by Site ID. Can be specified multiple times to filter on more than one Site ID.
Filter Allocations by ID. Can be specified multiple times to filter on more than one ID.
Filter Allocations by Constraint Resource Type. Can be specified multiple times to filter on more than one Constraint Resource Type.
Filter Allocations by Status. Can be specified multiple times to filter on more than one Status.
Filter Allocations by Constraint Resource Type ID. Can be specified multiple times to filter on more than one Constraint Resource Type ID.
Filter Allocations by Constraint Type. Can be specified multiple times to filter on more than one Constraint Type.
Filter Allocations by Constraint Value. Can be specified multiple times to filter on more than one Constraint Value.
Search for matches across all Allocations. Input will be matched against name, description, and status fields
Related entity to expand
Page number for pagination query
Page size for pagination query
Ordering for pagination query
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"
}
]
}
]