@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.AgentPoolsApi") 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
|
PagedList |
activateAgentPoolsUpdateWithPaginationInfo(String poolId,
String updateId)
Activate an Agent Pool update
Activates scheduled Agent pool update
|
<T> T |
createAgentPoolsUpdate(Class<?> T,
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)
Create an Agent Pool update
Creates an Agent pool update \\n For user flow 2 manual update, starts the update immediately.
|
PagedList |
createAgentPoolsUpdateWithPaginationInfo(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(String poolId,
String updateId)
Deactivate an Agent Pool update
Deactivates scheduled Agent pool update
|
PagedList |
deactivateAgentPoolsUpdateWithPaginationInfo(String poolId,
String updateId)
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
|
AgentPoolUpdate |
getAgentPoolsUpdateInstance(String poolId,
String updateId)
Retrieve an Agent Pool update by id
Retrieves Agent pool update from updateId
|
PagedList |
getAgentPoolsUpdateInstanceWithPaginationInfo(String poolId,
String updateId)
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
|
PagedList |
getAgentPoolsUpdateSettingsWithPaginationInfo(String poolId)
Retrieve an Agent Pool update's settings
Retrieves the current state of the agent pool update instance settings
|
ApiClient |
getApiClient() |
List<AgentPool> |
listAgentPools(Integer limitPerPoolType,
AgentType poolType,
String after)
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
|
PagedList |
listAgentPoolsUpdatesWithPaginationInfo(String poolId,
Boolean scheduled)
List all Agent Pool updates
Lists all agent pool updates
|
PagedList |
listAgentPoolsWithPaginationInfo(Integer limitPerPoolType,
AgentType poolType,
String after)
List all Agent Pools
Lists all agent pools with pagination support
|
AgentPoolUpdate |
pauseAgentPoolsUpdate(String poolId,
String updateId)
Pause an Agent Pool update
Pauses running or queued Agent pool update
|
PagedList |
pauseAgentPoolsUpdateWithPaginationInfo(String poolId,
String updateId)
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
|
PagedList |
resumeAgentPoolsUpdateWithPaginationInfo(String poolId,
String updateId)
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
|
PagedList |
retryAgentPoolsUpdateWithPaginationInfo(String poolId,
String updateId)
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
|
PagedList |
stopAgentPoolsUpdateWithPaginationInfo(String poolId,
String updateId)
Stop an Agent Pool update
Stops Agent pool update
|
<T> T |
updateAgentPoolsUpdate(Class<?> T,
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)
Update an Agent Pool update by id
Updates Agent pool update and return latest agent pool update
|
<T> T |
updateAgentPoolsUpdateSettings(Class<?> T,
String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
AgentPoolUpdateSetting |
updateAgentPoolsUpdateSettings(String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
PagedList |
updateAgentPoolsUpdateSettingsWithPaginationInfo(String poolId,
AgentPoolUpdateSetting agentPoolUpdateSetting)
Update an Agent Pool update settings
Updates an agent pool update settings
|
PagedList |
updateAgentPoolsUpdateWithPaginationInfo(String poolId,
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(String poolId, 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(String poolId, 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(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(Class<?> T, 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(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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(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(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 List<AgentPool> listAgentPools(Integer limitPerPoolType, AgentType poolType, 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(Integer limitPerPoolType, AgentType poolType, 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 List<AgentPoolUpdate> listAgentPoolsUpdates(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(String poolId, 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(Class<?> T, String poolId, 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(String poolId, 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(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(Class<?> T, 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(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–2023 Okta. All rights reserved.