Schedule Agent For Upgrade Rds Server
All the listed privileges are required -
Privileges | Description |
---|---|
MACHINE_MAINTENANCE | Caller should have permission to this privilege, to perform this operation. |
Show optional properties
{
"agent_installer_package_id": "2b6eaeb8-2e91-11ed-a261-0242ac120002",
"end_time": 1652079610000,
"machine_or_rds_server_ids": [
{}
],
"start_time": 1652079610000
}
{
"agent_installer_package_id": "2b6eaeb8-2e91-11ed-a261-0242ac120002",
"batch_size": 20,
"custom_install_parameters": "ADDLOCAL=Core,USB",
"end_time": 1652079610000,
"failure_threshold": 10,
"machine_or_rds_server_ids": [
"0103796c-102b-4ed3-953f-3dfe3d23e0fe",
"7cdd624f-37d1-46c1-ab96-695a5d13956f"
],
"skip_for_logged_in_users": true,
"start_time": 1652079610000
}
ID of the agent installer package.
Indicates the size of the batch to be considered for agent upgrade, in percentage.
Indicates any parameters to be used by the agent for silent install.
Agent upgrade end time.
Indicates the threshold for tolerating failures, beyond which upgrades will be skipped, in percentage.
Machines or RDS servers on which the upgrade is to be scheduled.
Indicates whether to skip agent upgrade for logged in users.
Agent upgrade start time.
OK
"AgentUpgradeTaskResponseInfo Object"
List of BulkItemResponseInfo corresponding to each machine id in the action operation.
Unique ID representing the task.
Bad Request
User is not authenticated
Access to the resource is forbidden
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"agent_installer_package_id:"string","end_time:"integer","machine_or_rds_server_ids":["string"],"start_time:"integer"}' https://{api_host}/rest/inventory/v1/rds-servers/action/schedule-agent-upgrade