The Agent Pools API provides operation to manage the update settings of the agents for your organization.
Lists all agent pools with pagination support
OK
Forbidden
Too Many Requests
[- {
- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- null
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "id": "string",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "type": "AD"
}
]
Lists all agent pool updates
OK
Forbidden
Not Found
Too Many Requests
[- {
- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- null
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
]
Creates an Agent pool update \n For user flow 2 manual update, starts the update immediately. \n For user flow 3, schedules the update based on the configured update window and delay.
Created
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string"
}
], - "agentType": "AD",
- "enabled": true,
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string"
}
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Retrieves the current state of the agent pool update instance settings
OK
Forbidden
Not Found
Too Many Requests
{- "agentType": "AD",
- "continueOnError": true,
- "latestVersion": "string",
- "minimalSupportedVersion": "string",
- "poolId": "string",
- "poolName": "string",
- "releaseChannel": "BETA"
}
Updates an agent pool update settings
agentType | string (AgentType) Agent types that are being monitored |
continueOnError | boolean |
latestVersion | string |
minimalSupportedVersion | string |
poolName | string |
releaseChannel | string (ReleaseChannel) Release channel for auto-update |
Updated
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agentType": "AD",
- "continueOnError": true,
- "latestVersion": "string",
- "minimalSupportedVersion": "string",
- "poolName": "string",
- "releaseChannel": "BETA"
}
{- "agentType": "AD",
- "continueOnError": true,
- "latestVersion": "string",
- "minimalSupportedVersion": "string",
- "poolId": "string",
- "poolName": "string",
- "releaseChannel": "BETA"
}
Retrieves Agent pool update from updateId
OK
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Updates Agent pool update and return latest agent pool update
Array of objects (Agent) | |||||||||||||||||||||
Array
| |||||||||||||||||||||
agentType | string (AgentType) Agent types that are being monitored | ||||||||||||||||||||
enabled | boolean | ||||||||||||||||||||
name | string | ||||||||||||||||||||
notifyAdmin | boolean | ||||||||||||||||||||
reason | string | ||||||||||||||||||||
object (AutoUpdateSchedule) The schedule of auto-update configured by admin. | |||||||||||||||||||||
sortOrder | integer | ||||||||||||||||||||
status | string (AgentUpdateJobStatus) Overall state for the auto-update job from admin perspective | ||||||||||||||||||||
targetVersion | string |
Updated
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string"
}
], - "agentType": "AD",
- "enabled": true,
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string"
}
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Deletes Agent pool update
Deleted
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
Activates scheduled Agent pool update
Activated
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Deactivates scheduled Agent pool update
Deactivated
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Pauses running or queued Agent pool update
Paused
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Resumes running or queued Agent pool update
Resumed
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Retries Agent pool update
Retried
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
Stops Agent pool update
Stopped
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}