/agents/inventory/cluster/store
POST
Stores Cluster Agents
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
controllerId |
required, string | Controller ID | myController | |
clusterAgents |
required, array[object] | Collection of Agents each Cluster Agent has the following fields |
||
agentId |
required, integer | The agentId is the (technical) name that is used in the Controller to identify an Agent. This value is set once and cannot be overwritten |
||
agentName |
required, string | The agentName is the (logical) name that is used for the configuration of a Job to identify an Agent |
||
agentNameAliases |
optional, array[string] | Aliases of the agentName |
||
title |
optional, string | |||
subagents |
required, array[object] | Collection of Subagents each Subagent has the following fields where one of them has to be a primary director and another optionally a standby director |
||
subagentId |
required, string | The subagentId is the name that is used in the Controller to identify a Subagent. This value is set once and cannot be overwritten |
||
url |
required, string | URL of the Subagent | ||
title |
optional, string | |||
isDirector |
optional, string | Possible values are
|
NO_DIRECTOR | |
ordering |
optional, integer | |||
withGenerateSubagentCluster |
optional, boolean | if true then a subagent cluster with only the subagent as member is created. The subagent cluster ID is equal the subagend ID. | false | |
auditLog |
optional, object | Object that contains comment , timeSpent and ticketLink . |
{ "comment": "Operational requirement!", "timeSpent": 2 } |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, integer | Field in auditLog to enter the time spent in minutes. |
||
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request