Updated on 2026-01-06 GMT+08:00

Querying Alarm Configurations

Function

This API is used to query alarm configurations.

Calling Method

For details, see Calling APIs.

URI

GET /v1/cnad/alarm-config

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

Content-Type

Yes

String

Content-Type

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

topic_urn

String

SMN topic URN

Example Requests

None

Example Responses

Status code: 200

OK

{
  "topic_urn" : "urn:smn:cn-north-7:4229e3e5b9014d978b208b971f2e0e0c:DDos_test"
}

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.