@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class AgentPoolsApi extends Object
Constructor and Description |
---|
AgentPoolsApi() |
AgentPoolsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
AgentPoolUpdate |
activateAgentPoolsUpdate(String poolId,
String updateId)
Activate an Agent Pool update
Activates scheduled Agent pool update
|
AgentPoolUpdate |
activateAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Activate an Agent Pool update
Activates scheduled Agent pool update
|
AgentPoolUpdate |
createAgentPoolsUpdate(String poolId,
AgentPoolUpdate agentPoolUpdate)
Create an Agent Pool update
Creates an Agent pool update \\n For user flow 2 manual update, starts the update immediately.
|
AgentPoolUpdate |
createAgentPoolsUpdate(String poolId,
AgentPoolUpdate agentPoolUpdate,
Map<String,String> additionalHeaders)
Create an Agent Pool update
Creates an Agent pool update \\n For user flow 2 manual update, starts the update immediately.
|
AgentPoolUpdate |
deactivateAgentPoolsUpdate(String poolId,
String updateId)
Deactivate an Agent Pool update
Deactivates scheduled Agent pool update
|
AgentPoolUpdate |
deactivateAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Deactivate an Agent Pool update
Deactivates scheduled Agent pool update
|
void |
deleteAgentPoolsUpdate(String poolId,
String updateId)
Delete an Agent Pool update
Deletes Agent pool update
|
void |
deleteAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Delete an Agent Pool update
Deletes Agent pool update
|
AgentPoolUpdate |
getAgentPoolsUpdateInstance(String poolId,
String updateId)
Retrieve an Agent Pool update by id
Retrieves Agent pool update from updateId
|
AgentPoolUpdate |
getAgentPoolsUpdateInstance(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Retrieve an Agent Pool update by id
Retrieves Agent pool update from updateId
|
AgentPoolUpdateSetting |
getAgentPoolsUpdateSettings(String poolId)
Retrieve an Agent Pool update's settings
Retrieves the current state of the agent pool update instance settings
|
AgentPoolUpdateSetting |
getAgentPoolsUpdateSettings(String poolId,
Map<String,String> additionalHeaders)
Retrieve an Agent Pool update's settings
Retrieves the current state of the agent pool update instance settings
|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<AgentPool> |
listAgentPools(Integer limitPerPoolType,
AgentType poolType,
String after)
List all Agent Pools
Lists all agent pools with pagination support
|
List<AgentPool> |
listAgentPools(Integer limitPerPoolType,
AgentType poolType,
String after,
Map<String,String> additionalHeaders)
List all Agent Pools
Lists all agent pools with pagination support
|
List<AgentPoolUpdate> |
listAgentPoolsUpdates(String poolId,
Boolean scheduled)
List all Agent Pool updates
Lists all agent pool updates
|
List<AgentPoolUpdate> |
listAgentPoolsUpdates(String poolId,
Boolean scheduled,
Map<String,String> additionalHeaders)
List all Agent Pool updates
Lists all agent pool updates
|
AgentPoolUpdate |
pauseAgentPoolsUpdate(String poolId,
String updateId)
Pause an Agent Pool update
Pauses running or queued Agent pool update
|
AgentPoolUpdate |
pauseAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Pause an Agent Pool update
Pauses running or queued Agent pool update
|
AgentPoolUpdate |
resumeAgentPoolsUpdate(String poolId,
String updateId)
Resume an Agent Pool update
Resumes running or queued Agent pool update
|
AgentPoolUpdate |
resumeAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Resume an Agent Pool update
Resumes running or queued Agent pool update
|
AgentPoolUpdate |
retryAgentPoolsUpdate(String poolId,
String updateId)
Retry an Agent Pool update
Retries Agent pool update
|
AgentPoolUpdate |
retryAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Retry an Agent Pool update
Retries Agent pool update
|
void |
setApiClient(ApiClient apiClient) |
AgentPoolUpdate |
stopAgentPoolsUpdate(String poolId,
String updateId)
Stop an Agent Pool update
Stops Agent pool update
|
AgentPoolUpdate |
stopAgentPoolsUpdate(String poolId,
String updateId,
Map<String,String> additionalHeaders)
Stop an Agent Pool update
Stops Agent pool update
|
AgentPoolUpdate |
updateAgentPoolsUpdate(String poolId,
String updateId,
AgentPoolUpdate agentPoolUpdate)
Update an Agent Pool update by id
Updates Agent pool update and return latest agent pool update
|
AgentPoolUpdate |
updateAgentPoolsUpdate(String poolId,
String updateId,
AgentPoolUpdate agentPoolUpdate,
Map<String,String> additionalHeaders)
Update an Agent Pool update by id
Updates Agent pool update and return latest agent pool update
|
AgentPoolUpdateSetting |
updateAgentPoolsUpdateSettings(String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
AgentPoolUpdateSetting |
updateAgentPoolsUpdateSettings(String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting,
Map<String,String> additionalHeaders)
Update an Agent Pool update settings
Updates an agent pool update settings
|
public AgentPoolsApi()
public AgentPoolsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AgentPoolUpdate activateAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate activateAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate createAgentPoolsUpdate(String poolId, AgentPoolUpdate agentPoolUpdate) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdate
- (required)ApiException
- if fails to make API callpublic AgentPoolUpdate createAgentPoolsUpdate(String poolId, AgentPoolUpdate agentPoolUpdate, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdate
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate deactivateAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate deactivateAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic void deleteAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate getAgentPoolsUpdateInstance(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate getAgentPoolsUpdateInstance(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdateSetting getAgentPoolsUpdateSettings(String poolId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)ApiException
- if fails to make API callpublic AgentPoolUpdateSetting getAgentPoolsUpdateSettings(String poolId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AgentPool> listAgentPools(Integer limitPerPoolType, AgentType poolType, String after) throws ApiException
limitPerPoolType
- Maximum number of AgentPools being returned (optional, default to 5)poolType
- Agent type to search for (optional)after
- 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](/#pagination) for more information. (optional)ApiException
- if fails to make API callpublic List<AgentPool> listAgentPools(Integer limitPerPoolType, AgentType poolType, String after, Map<String,String> additionalHeaders) throws ApiException
limitPerPoolType
- Maximum number of AgentPools being returned (optional, default to 5)poolType
- Agent type to search for (optional)after
- 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](/#pagination) for more information. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AgentPoolUpdate> listAgentPoolsUpdates(String poolId, Boolean scheduled) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)scheduled
- Scope the list only to scheduled or ad-hoc updates. If the parameter is not provided we will return the whole list of updates. (optional)ApiException
- if fails to make API callpublic List<AgentPoolUpdate> listAgentPoolsUpdates(String poolId, Boolean scheduled, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)scheduled
- Scope the list only to scheduled or ad-hoc updates. If the parameter is not provided we will return the whole list of updates. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate pauseAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate pauseAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate resumeAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate resumeAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate retryAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate retryAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate stopAgentPoolsUpdate(String poolId, String updateId) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)ApiException
- if fails to make API callpublic AgentPoolUpdate stopAgentPoolsUpdate(String poolId, String updateId, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdate updateAgentPoolsUpdate(String poolId, String updateId, AgentPoolUpdate agentPoolUpdate) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)agentPoolUpdate
- (required)ApiException
- if fails to make API callpublic AgentPoolUpdate updateAgentPoolsUpdate(String poolId, String updateId, AgentPoolUpdate agentPoolUpdate, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)agentPoolUpdate
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AgentPoolUpdateSetting updateAgentPoolsUpdateSettings(String poolId, AgentPoolUpdateSetting agentPoolUpdateSetting) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdateSetting
- (required)ApiException
- if fails to make API callpublic AgentPoolUpdateSetting updateAgentPoolsUpdateSettings(String poolId, AgentPoolUpdateSetting agentPoolUpdateSetting, Map<String,String> additionalHeaders) throws ApiException
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdateSetting
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.