Queries the results of automatically connecting applications on Elastic Compute Service (ECS) instances to the application protection feature after the Runtime Application Self-Protection (RASP) agent is installed on the ECS instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ApplicationId | string | Yes | The application group ID. | 64b8b994563c306b4fed**** |
EcsUUIDList | array | No | The UUIDs of ECS instances to be queried. | |
string | No | The UUID of the ECS instance to be queried. Note
You can call the DescribeCloudCenterInstances operation to query the UUIDs of ECS instances.
| cd405430-c027-4937-8398-10152dac**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9F4E6157-9600-5588-86B9-38F09067****",
"AccessList": [
{
"EcsUUID": "cd405430-c027-4937-8398-10152dac****",
"AttachSwitch": "ON",
"AttachState": 0,
"InstallState": 0,
"InstallMsg": "success"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.