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
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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_agent_pools_update_settingsselectsubdomainRetrieves the current state of the agent pool update instance settings
update_agent_pools_update_settingsupdatesubdomainUpdates 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
subdomainstringThe 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

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

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
;