agent_pools
Creates, updates, deletes, gets or lists an agent_pools
resource.
Overview
Name | agent_pools |
Type | Resource |
Id | okta.agentpools.agent_pools |
Fields
The following fields are returned by SELECT
queries:
- list_agent_pools
Name | Datatype | Description |
---|---|---|
id | string | Agent pool ID |
name | string | Agent pool name |
_links | object | Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations. |
agents | array | |
disruptedAgents | integer | Number of agents in the pool that are in a disrupted state |
inactiveAgents | integer | Number of agents in the pool that are in an inactive state |
operationalStatus | string | Operational status of a given agent |
type | string | Agent types that are being monitored |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_agent_pools | select | subdomain | limitPerPoolType , poolType , after | Lists all agent pools with pagination support |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
subdomain | string | The domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org) |
after | string | The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination. |
limitPerPoolType | integer | Maximum number of agent pools returned |
poolType | string | Agent type to search for |
SELECT
examples
- list_agent_pools
Lists all agent pools with pagination support
SELECT
id,
name,
_links,
agents,
disruptedAgents,
inactiveAgents,
operationalStatus,
type
FROM okta.agentpools.agent_pools
WHERE subdomain = '{{ subdomain }}' -- required
AND limitPerPoolType = '{{ limitPerPoolType }}'
AND poolType = '{{ poolType }}'
AND after = '{{ after }}';