@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.AgentPoolsApi")
public class AgentPoolsApi
extends java.lang.Object
Constructor and Description |
---|
AgentPoolsApi() |
AgentPoolsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
AgentPoolUpdate |
activateAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Activate an Agent Pool update
Activates scheduled Agent pool update
|
PagedList |
activateAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Activate an Agent Pool update
Activates scheduled Agent pool update
|
<T> T |
createAgentPoolsUpdate(java.lang.Class<?> T,
java.lang.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(java.lang.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.
|
PagedList |
createAgentPoolsUpdateWithPaginationInfo(java.lang.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 |
deactivateAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Deactivate an Agent Pool update
Deactivates scheduled Agent pool update
|
PagedList |
deactivateAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Deactivate an Agent Pool update
Deactivates scheduled Agent pool update
|
void |
deleteAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Delete an Agent Pool update
Deletes Agent pool update
|
AgentPoolUpdate |
getAgentPoolsUpdateInstance(java.lang.String poolId,
java.lang.String updateId)
Retrieve an Agent Pool update by id
Retrieves Agent pool update from updateId
|
PagedList |
getAgentPoolsUpdateInstanceWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Retrieve an Agent Pool update by id
Retrieves Agent pool update from updateId
|
AgentPoolUpdateSetting |
getAgentPoolsUpdateSettings(java.lang.String poolId)
Retrieve an Agent Pool update's settings
Retrieves the current state of the agent pool update instance settings
|
PagedList |
getAgentPoolsUpdateSettingsWithPaginationInfo(java.lang.String poolId)
Retrieve an Agent Pool update's settings
Retrieves the current state of the agent pool update instance settings
|
ApiClient |
getApiClient() |
java.util.List<AgentPool> |
listAgentPools(java.lang.Integer limitPerPoolType,
AgentType poolType,
java.lang.String after)
List all Agent Pools
Lists all agent pools with pagination support
|
java.util.List<AgentPoolUpdate> |
listAgentPoolsUpdates(java.lang.String poolId,
java.lang.Boolean scheduled)
List all Agent Pool updates
Lists all agent pool updates
|
PagedList |
listAgentPoolsUpdatesWithPaginationInfo(java.lang.String poolId,
java.lang.Boolean scheduled)
List all Agent Pool updates
Lists all agent pool updates
|
PagedList |
listAgentPoolsWithPaginationInfo(java.lang.Integer limitPerPoolType,
AgentType poolType,
java.lang.String after)
List all Agent Pools
Lists all agent pools with pagination support
|
AgentPoolUpdate |
pauseAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Pause an Agent Pool update
Pauses running or queued Agent pool update
|
PagedList |
pauseAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Pause an Agent Pool update
Pauses running or queued Agent pool update
|
AgentPoolUpdate |
resumeAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Resume an Agent Pool update
Resumes running or queued Agent pool update
|
PagedList |
resumeAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Resume an Agent Pool update
Resumes running or queued Agent pool update
|
AgentPoolUpdate |
retryAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Retry an Agent Pool update
Retries Agent pool update
|
PagedList |
retryAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Retry an Agent Pool update
Retries Agent pool update
|
void |
setApiClient(ApiClient apiClient) |
AgentPoolUpdate |
stopAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId)
Stop an Agent Pool update
Stops Agent pool update
|
PagedList |
stopAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId)
Stop an Agent Pool update
Stops Agent pool update
|
<T> T |
updateAgentPoolsUpdate(java.lang.Class<?> T,
java.lang.String poolId,
java.lang.String updateId,
AgentPoolUpdate agentPoolUpdate)
Update an Agent Pool update by id
Updates Agent pool update and return latest agent pool update
|
AgentPoolUpdate |
updateAgentPoolsUpdate(java.lang.String poolId,
java.lang.String updateId,
AgentPoolUpdate agentPoolUpdate)
Update an Agent Pool update by id
Updates Agent pool update and return latest agent pool update
|
<T> T |
updateAgentPoolsUpdateSettings(java.lang.Class<?> T,
java.lang.String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
AgentPoolUpdateSetting |
updateAgentPoolsUpdateSettings(java.lang.String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
PagedList |
updateAgentPoolsUpdateSettingsWithPaginationInfo(java.lang.String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
PagedList |
updateAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId,
java.lang.String updateId,
AgentPoolUpdate agentPoolUpdate)
Update an Agent Pool update by id
Updates Agent pool update and return latest agent pool update
|
public AgentPoolsApi()
@Autowired public AgentPoolsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AgentPoolUpdate activateAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Activated
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList activateAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Activated
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate createAgentPoolsUpdate(java.lang.String poolId, AgentPoolUpdate agentPoolUpdate) throws org.springframework.web.client.RestClientException
201 - Created
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T createAgentPoolsUpdate(java.lang.Class<?> T, java.lang.String poolId, AgentPoolUpdate agentPoolUpdate) throws org.springframework.web.client.RestClientException
201 - Created
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typepoolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList createAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, AgentPoolUpdate agentPoolUpdate) throws org.springframework.web.client.RestClientException
201 - Created
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate deactivateAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Deactivated
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList deactivateAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Deactivated
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deleteAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
204 - Deleted
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate getAgentPoolsUpdateInstance(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getAgentPoolsUpdateInstanceWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdateSetting getAgentPoolsUpdateSettings(java.lang.String poolId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getAgentPoolsUpdateSettingsWithPaginationInfo(java.lang.String poolId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<AgentPool> listAgentPools(java.lang.Integer limitPerPoolType, AgentType poolType, java.lang.String after) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
429 - Too Many Requests
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)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listAgentPoolsWithPaginationInfo(java.lang.Integer limitPerPoolType, AgentType poolType, java.lang.String after) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
429 - Too Many Requests
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)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<AgentPoolUpdate> listAgentPoolsUpdates(java.lang.String poolId, java.lang.Boolean scheduled) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
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)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listAgentPoolsUpdatesWithPaginationInfo(java.lang.String poolId, java.lang.Boolean scheduled) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
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)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate pauseAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Paused
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList pauseAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Paused
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate resumeAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Resumed
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList resumeAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Resumed
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate retryAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Retried
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList retryAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Retried
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate stopAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Stopped
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList stopAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId) throws org.springframework.web.client.RestClientException
201 - Stopped
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdate updateAgentPoolsUpdate(java.lang.String poolId, java.lang.String updateId, AgentPoolUpdate agentPoolUpdate) throws org.springframework.web.client.RestClientException
201 - Updated
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)agentPoolUpdate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T updateAgentPoolsUpdate(java.lang.Class<?> T, java.lang.String poolId, java.lang.String updateId, AgentPoolUpdate agentPoolUpdate) throws org.springframework.web.client.RestClientException
201 - Updated
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typepoolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)agentPoolUpdate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList updateAgentPoolsUpdateWithPaginationInfo(java.lang.String poolId, java.lang.String updateId, AgentPoolUpdate agentPoolUpdate) throws org.springframework.web.client.RestClientException
201 - Updated
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)updateId
- Id of the update (required)agentPoolUpdate
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic AgentPoolUpdateSetting updateAgentPoolsUpdateSettings(java.lang.String poolId, AgentPoolUpdateSetting agentPoolUpdateSetting) throws org.springframework.web.client.RestClientException
201 - Updated
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdateSetting
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T updateAgentPoolsUpdateSettings(java.lang.Class<?> T, java.lang.String poolId, AgentPoolUpdateSetting agentPoolUpdateSetting) throws org.springframework.web.client.RestClientException
201 - Updated
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typepoolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdateSetting
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList updateAgentPoolsUpdateSettingsWithPaginationInfo(java.lang.String poolId, AgentPoolUpdateSetting agentPoolUpdateSetting) throws org.springframework.web.client.RestClientException
201 - Updated
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
poolId
- Id of the agent pool for which the settings will apply (required)agentPoolUpdateSetting
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.