Skip to main content

agent_pool_update_settings

Creates, updates, deletes, gets or lists an agent_pool_update_settings resource.

Overview​

Nameagent_pool_update_settings
TypeResource
Idokta.agentpools.agent_pool_update_settings

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
agentTypestringAgent types that are being monitored (AD, IWA, LDAP, MFA, OPP, RUM, Radius)
continueOnErrorbooleanContinues the update even if some agents fail to update
latestVersionstringLatest version of the agent (example: 3.20.0)
minimalSupportedVersionstringMinimal version of the agent (example: 3.19.0)
poolIdstringID of the agent pool that the settings apply to (example: 0oa3eu7ekG8tjbD9J5s6)
poolNamestringPool name (example: iwa.dc)
releaseChannelstringRelease channel for auto-update (BETA, EA, GA, TEST)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_agent_pools_update_settingsselectpoolId, subdomainRetrieves the current state of the agent pool update instance settings
update_agent_pools_update_settingsupdatepoolId, subdomain, agentTypeUpdates 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.

NameDatatypeDescription
poolIdstringID of the agent pool for which the settings apply to
subdomainstring(default: my-org)

SELECT examples​

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 poolId = '{{ poolId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

UPDATE examples​

Updates an agent pool update instance settings

UPDATE okta.agentpools.agent_pool_update_settings
SET
agentType = '{{ agentType }}',
continueOnError = {{ continueOnError }},
latestVersion = '{{ latestVersion }}',
minimalSupportedVersion = '{{ minimalSupportedVersion }}',
poolName = '{{ poolName }}',
releaseChannel = '{{ releaseChannel }}'
WHERE
poolId = '{{ poolId }}' --required
AND subdomain = '{{ subdomain }}' --required
AND agentType = '{{ agentType }}' --required
RETURNING
agentType,
continueOnError,
latestVersion,
minimalSupportedVersion,
poolId,
poolName,
releaseChannel;