Installs the Security Center agent on servers.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | OperateAgentClientInstall |
The operation that you want to perform. Set the value to OperateAgentClientInstall. |
InstanceIds | String | No | i-uf6j8vq9l4r5ntht**** |
The IDs of the servers on which you want to install the Security Center agent. Separate multiple IDs with commas (,). Note You must specify at least one of the InstanceIds and Uuids parameters before you can call this operation.
|
Uuids | String | No | 1587bedb-fdb4-48c4-9330-************ |
The UUIDs of the servers on which you want to install the Security Center agent. Separate multiple UUIDs with commas (,). Note You must specify at least one of the InstanceIds and Uuids parameters before you can call this operation.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | AE79B457-877C-51C6-AD72-0D34A025D*** |
The ID of the request, which is used to locate and troubleshoot issues. |
AegisCelintInstallResposeList | Array of AegisCelintInstallRespose |
The results that are returned. |
|
Uuid | String | 1587bedb-fdb4-48c4-9330-**** |
The UUID of the server. |
InstanceId | String | i-uf6j8vq9l4r5ntht**** |
The instance ID of the server. |
RecordId | Long | 2856 |
The ID of the installation task. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=OperateAgentClientInstall
&InstanceIds=i-uf6j8vq9l4r5ntht****
&Uuids=1587bedb-fdb4-48c4-9330-************
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<OperateAgentClientInstallResponse>
<RequestId>AE79B457-877C-51C6-AD72-0D34A025D***</RequestId>
<AegisCelintInstallResposeList>
<Uuid>1587bedb-fdb4-48c4-9330-****</Uuid>
<InstanceId>i-uf6j8vq9l4r5ntht****</InstanceId>
<RecordId>2856</RecordId>
</AegisCelintInstallResposeList>
</OperateAgentClientInstallResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"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 |
---|---|---|---|
500 | ServerError | ServerError | The error message returned because a server error occurred. |
For a list of error codes, visit the API Error Center.