Installs the Security Center agent on one or more servers.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:OperateAgentClientInstall |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
string |
No |
The IDs of the servers on which to install the Security Center agent. Separate multiple IDs with commas (,). Note
You must specify at least one of InstanceIds and Uuids. If you specify InstanceIds, you must also specify Region and Os. |
i-uf6j8vq9l4r5ntht**** |
| Uuids |
string |
No |
The UUIDs of the servers on which to install the Security Center agent. Separate multiple UUIDs with commas (,). Note
You must specify at least one of InstanceIds and Uuids. |
1587bedb-fdb4-48c4-9330-************ |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
en |
| Region |
string |
No |
The region of the servers. Valid values include the following regions:
|
cn-hangzhou |
| Os |
string |
No |
The operating system of the servers. Valid values:
|
linux |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
AE79B457-877C-51C6-AD72-0D34A025D*** |
| AegisCelintInstallResposeList |
array<object> |
The installation results. |
|
|
object |
The details of each installation result. |
||
| Uuid |
string |
The UUID of the server. |
1587bedb-fdb4-48c4-9330-**** |
| InstanceId |
string |
The ID of the server. |
i-uf6j8vq9l4r5ntht**** |
| RecordId |
integer |
The ID of the installation task. |
2856 |
Examples
Success response
JSON format
{
"RequestId": "AE79B457-877C-51C6-AD72-0D34A025D***",
"AegisCelintInstallResposeList": [
{
"Uuid": "1587bedb-fdb4-48c4-9330-****",
"InstanceId": "i-uf6j8vq9l4r5ntht****",
"RecordId": 2856
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InstallNotGranted | The installation permission is not granted. | Insufficient permissions, please log on to the RAM console to grant AliyunServiceRoleForSas permissions. |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.