You can call this operation to import application alert rules.


Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes ImportAppAlertRules

The operation that you want to perform. Set this value to ImportAppAlertRules.

ContactGroupIds String Yes 1234

The ID of the alert contact group.

Pids String Yes xxxxxxxxx

The PIDs.

RegionId String Yes cn-hangzhou

The ID of the region.

TemplateAlertId String Yes 324324234

The ID of the alert template.

IsAutoStart Boolean No true

Specifies whether the rule automatically starts to apply.

Response parameters

Parameter Type Example Description
Data String 399363 399364

The data returned.

RequestId String A5EC8221-08F2-4C95-9AF1-49FD998C647A

The ID of the request.


Sample request

Sample success response

XML format

       <Data>399363 399364</Data>

JSON format

	"data":"399363 399364"

Error codes

The operation returns only common errors. For more information about errors that are common to all operations, see API Error Center.