Query
query TenantResourcesByIds($id: [ID!]!) {
tenantResourcesByIds(id: $id) {
elastic {
cloudId
id
isLocal
name
state
}
id
}
}Variables
{
"id": [
"id"
]
}Response
{
"data": {
"tenantResourcesByIds": [
{
"elastic": {
"cloudId": "string",
"id": "string",
"isLocal": true,
"name": "string",
"state": "RUNNING"
},
"id": "id"
}
]
}
}Queries
tenantResourcesByIds
Gets several tenants’ resources by global id. Fails when any id doesn’t exist. Platform administration; not needed for integrations.
QUERY
tenantResourcesByIds(id: [ID!]!): [TenantResources!]!Arguments
id
[ID!]!
required
Global ids of the tenants' resources (TenantResources.id).
Returns
[TenantResources!]!
elastic
Search deployment that holds the tenant's data.
id
ID!
Global id of the tenant's resources. The raw id is the tenant's UUID.
Query
query TenantResourcesByIds($id: [ID!]!) {
tenantResourcesByIds(id: $id) {
elastic {
cloudId
id
isLocal
name
state
}
id
}
}Variables
{
"id": [
"id"
]
}Response
{
"data": {
"tenantResourcesByIds": [
{
"elastic": {
"cloudId": "string",
"id": "string",
"isLocal": true,
"name": "string",
"state": "RUNNING"
},
"id": "id"
}
]
}
}Was this page helpful?