agent_pool_update_settings
Creates, updates, deletes, gets or lists an agent_pool_update_settings resource.
Overview
| Name | agent_pool_update_settings |
| Type | Resource |
| Id | okta.agentpools.agent_pool_update_settings |
Fields
The following fields are returned by SELECT queries:
- get_agent_pools_update_settings
| Name | Datatype | Description |
|---|---|---|
agentType | string | Agent types that are being monitored |
continueOnError | boolean | Continues the update even if some agents fail to update |
latestVersion | string | Latest version of the agent (example: 3.20.0) |
minimalSupportedVersion | string | Minimal version of the agent (example: 3.19.0) |
poolId | string | ID of the agent pool that the settings apply to (example: 0oa3eu7ekG8tjbD9J5s6) |
poolName | string | Pool name (example: iwa.dc) |
releaseChannel | string | Release channel for auto-update |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_agent_pools_update_settings | select | subdomain | Retrieves the current state of the agent pool update instance settings | |
update_agent_pools_update_settings | update | subdomain | Updates an agent pool update instance settings |
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) |
SELECT examples
- get_agent_pools_update_settings
Retrieves the current state of the agent pool update instance settings
SELECT
agentType,
continueOnError,
latestVersion,
minimalSupportedVersion,
poolId,
poolName,
releaseChannel
FROM okta.agentpools.agent_pool_update_settings
WHERE subdomain = '{{ subdomain }}' -- required
;
UPDATE examples
- update_agent_pools_update_settings
Updates an agent pool update instance settings
UPDATE okta.agentpools.agent_pool_update_settings
SET
data__agentType = '{{ agentType }}',
data__continueOnError = {{ continueOnError }},
data__latestVersion = '{{ latestVersion }}',
data__minimalSupportedVersion = '{{ minimalSupportedVersion }}',
data__poolName = '{{ poolName }}',
data__releaseChannel = '{{ releaseChannel }}'
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
agentType,
continueOnError,
latestVersion,
minimalSupportedVersion,
poolId,
poolName,
releaseChannel
;