Checks whether one or more alerts are generated on a specific server based on alert IDs.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CheckSecurityEventId

The operation that you want to perform.

Set the value to CheckSecurityEventId .

Uuid String Yes 96ad2473-bc60-45ba-ad1c-932e2866****

The UUID of the server.

Note You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
SecurityEventIds.N RepeatList No ["1234567","98765432"]

The ID of alert N. You can enter a maximum of 100 IDs. Separate multiple IDs with commas (,). If you do not specify this parameter, the value of the response parameter Data is false. The value false indicates that the alert is not generated on the server.

Note You can call the DescribeAlarmEventList operation to query the IDs of alerts.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
Data Boolean true

Indicates whether the alert is generated on the server. Valid values:

  • true
  • false
RequestId String 1383B0DB-D5D6-4B0C-9E6B-75939C8E67FE

The ID of the request, which is used to locate and troubleshoot issues.

Examples

Sample requests

http(s)://[Endpoint]/?Action=CheckSecurityEventId
&Uuid=96ad2473-bc60-45ba-ad1c-932e2866****
&<Common request parameters>

Sample success responses

XML format

<CheckSecurityEventIdResponse>
      <RequestId>1383B0DB-D5D6-4B0C-9E6B-75939C8E67FE</RequestId>
      <Data>true</Data>
</CheckSecurityEventIdResponse>

JSON format

{
    "RequestId": "1383B0DB-D5D6-4B0C-9E6B-75939C8E67FE",
    "Data": true
}

Error codes

For a list of error codes, visit the API Error Center.