Event Monitor

BCM

  • Function Release Records
  • Product Announcement
    • Site Monitor Billing Announcement
  • Product Description
    • Product Introduction
    • Core concepts
    • Product advantages
    • Product features
  • Product pricing
    • Product pricing
    • Site Monitor Pricing
  • Quick Start
  • Operation guide
    • Enter Cloud Monitor
    • Dashboard
      • Overview
      • Management Dashboard Charts
      • Management Dashboard
    • Alarm Service
      • Overview
      • Alarm strategy
      • Alarm history
      • Alarm Template
      • Alarm Notification Template
      • Alarm callback
    • Cloud product monitor
      • Instance monitor
      • Instance Group
      • View Metrics
    • Site Monitor
      • Timed Detection (Formerly Site Monitor)
        • Overview
        • Manage Timed Probe Tasks
        • Purchase Guide
        • View timed probe tasks
      • IP advanced fault diagnosis
        • Manage IP Advanced Fault Diagnosis Tasks
        • View IP Advanced Fault Diagnosis Tasks
      • Instant probe
        • Overview
        • Manage instant probe tasks
    • Event Monitor
    • Event Bus
      • Event Delivery History
      • Overview
      • Event summary
      • Event Set
      • Event Rules
        • Event Rules
        • Event content conversion
        • Event pattern
  • API Reference
    • Overview
    • Service domain
    • Error response
    • Query Monitoring Data for Partial Dimensions
    • Dashboard API
    • Common Request and Response Headers
    • Alarm Management API
    • Alarm Management Interface V2
    • Alarm history
    • Push Data API
    • Event Bus Push
    • Application Monitor
    • Dimension Value TopN and Monitoring Data Query Interface
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Instance Group Interface
    • Site Monitor
    • Query Latest Metric Data for Partial Dimensions
    • General Description
    • Query Data API
    • Event Monitor
    • Instant Probe
    • Event Alarm History
    • Notification Template
  • Java-SDK
    • Overview
    • Initialization
    • Install the SDK Package
    • BcmClient
    • Query Monitoring Data for Partial Dimensions
    • Dimension Value TopN and Monitoring Data Query Interface
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Query Latest Metric Data for Partial Dimensions
    • Query Data API
    • Alarm Strategy-related APIs
    • Batch Query Data Interface
    • Alarm History-related APIs
  • Python-SDK
    • Overview
    • Initialization
    • Install SDK
    • BcmClient
    • Query Monitoring Data for Partial Dimensions
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Query Latest Metric Data for Partial Dimensions
    • Query Data API
    • Alarm Strategy List API
    • Batch Data Query Interface
  • Go-SDK
    • Overview
    • Initialization
    • Install the SDK Package
    • BcmClient
    • Query Monitoring Data for Partial Dimensions
    • Dimension Value TopN and Monitoring Data Query Interface
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Query Latest Metric Data for Partial Dimensions
    • Query Data API
    • Alarm Strategy-related APIs
    • Alarm History-related APIs
    • Batch Data Query Interface
  • BCM-Agent
    • Functions
    • Monitoring Trend Chart
    • BCM-Agent-Frequently Asked Questions
    • Appendix
  • FAQs
    • Common Questions Overview
    • Fault-related questions
    • Configuration-related questions
    • Performance-related questions
  • Cloud Product Monitor List
    • Cloud Product Metric List (Legacy Version Hidden)
    • Cloud Product Monitor Object Type List
    • Cloud Product Event List
    • Cloud Product Metric List
      • Database
        • Cloud Database TableStorage
        • Cloud Database DocDB for MongoDB
        • Data transmission service (DTS)
        • Cloud native database GaiaDB
        • Vector Database (VectorDB)
        • Dedicated Database Cluster (DDC)
        • Cloud Database Redis
        • Cloud database RDS
        • Cloud Database HBase
      • Enterprise Application
        • Message Service for RabbitMQ
      • Network
        • Service Network Interface Card (SNIC)
        • Peering Connections
        • IPv6 gateway
        • NAT Gateway
        • Load Balancer Dedicated Cluster LBDC
        • Baidu Load Balance (BLB)
        • Network probe NP
        • Dedicated channel
        • Elastic IP EIP
        • Elastic Network Interface Card (ENIC)
        • Cloud Smart Network (CSN)
        • Dedicated gateway
        • Virtual Private Network (VPN) Gateway
        • Layer 2 Gateway LTGW
        • Physical dedicated line
      • Intelligent Big Data
        • MapReduce BMR
        • Message service for Kafka-dedicated
        • Message Service for RocketMQ
        • Baidu Stream Computing (BSC)
        • Baidu Elasticsearch
        • Log Service BLS
        • Data warehouse DORIS
      • Cloud native
        • Cloud Function Computing
        • Baidu container instance (BCI)
      • Compute
        • Baidu Cloud Compute (BCC)
        • Elastic Baremetal Compute BBC
      • Storage and CDN
        • Parallel Filesystem Service (PFS)
        • Cloud File System (CFS)
        • Content delivery network (CDN)
        • Baidu object storage (BOS)
        • Cloud Disk Server (CDS)
        • Baidu edge computing (BEC)
      • Website service
        • Baidu Cloud Virtual Host (BCH)
      • Large Model Platform
        • Qianfan Large Model Platform ModelBuilder
  • Typical Practices
    • Scenarios for Batch Creation of Alarm Strategies
    • Usage Scenarios for Different Notification Channels
  • Service Level Agreement (SLA)
    • Site Monitor Service Level Agreement SLA
  • BCM-Tool
    • Uninstallation Method
    • Installation method
    • BCM-Tool-Frequently Asked Questions
    • Functions
    • Multi-Region Service
    • Application method
All documents
menu
No results found, please re-enter

BCM

  • Function Release Records
  • Product Announcement
    • Site Monitor Billing Announcement
  • Product Description
    • Product Introduction
    • Core concepts
    • Product advantages
    • Product features
  • Product pricing
    • Product pricing
    • Site Monitor Pricing
  • Quick Start
  • Operation guide
    • Enter Cloud Monitor
    • Dashboard
      • Overview
      • Management Dashboard Charts
      • Management Dashboard
    • Alarm Service
      • Overview
      • Alarm strategy
      • Alarm history
      • Alarm Template
      • Alarm Notification Template
      • Alarm callback
    • Cloud product monitor
      • Instance monitor
      • Instance Group
      • View Metrics
    • Site Monitor
      • Timed Detection (Formerly Site Monitor)
        • Overview
        • Manage Timed Probe Tasks
        • Purchase Guide
        • View timed probe tasks
      • IP advanced fault diagnosis
        • Manage IP Advanced Fault Diagnosis Tasks
        • View IP Advanced Fault Diagnosis Tasks
      • Instant probe
        • Overview
        • Manage instant probe tasks
    • Event Monitor
    • Event Bus
      • Event Delivery History
      • Overview
      • Event summary
      • Event Set
      • Event Rules
        • Event Rules
        • Event content conversion
        • Event pattern
  • API Reference
    • Overview
    • Service domain
    • Error response
    • Query Monitoring Data for Partial Dimensions
    • Dashboard API
    • Common Request and Response Headers
    • Alarm Management API
    • Alarm Management Interface V2
    • Alarm history
    • Push Data API
    • Event Bus Push
    • Application Monitor
    • Dimension Value TopN and Monitoring Data Query Interface
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Instance Group Interface
    • Site Monitor
    • Query Latest Metric Data for Partial Dimensions
    • General Description
    • Query Data API
    • Event Monitor
    • Instant Probe
    • Event Alarm History
    • Notification Template
  • Java-SDK
    • Overview
    • Initialization
    • Install the SDK Package
    • BcmClient
    • Query Monitoring Data for Partial Dimensions
    • Dimension Value TopN and Monitoring Data Query Interface
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Query Latest Metric Data for Partial Dimensions
    • Query Data API
    • Alarm Strategy-related APIs
    • Batch Query Data Interface
    • Alarm History-related APIs
  • Python-SDK
    • Overview
    • Initialization
    • Install SDK
    • BcmClient
    • Query Monitoring Data for Partial Dimensions
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Query Latest Metric Data for Partial Dimensions
    • Query Data API
    • Alarm Strategy List API
    • Batch Data Query Interface
  • Go-SDK
    • Overview
    • Initialization
    • Install the SDK Package
    • BcmClient
    • Query Monitoring Data for Partial Dimensions
    • Dimension Value TopN and Monitoring Data Query Interface
    • Batch Query Monitoring Data Interface V2
    • Dimension Value TopN Query Interface
    • Query Latest Metric Data for Partial Dimensions
    • Query Data API
    • Alarm Strategy-related APIs
    • Alarm History-related APIs
    • Batch Data Query Interface
  • BCM-Agent
    • Functions
    • Monitoring Trend Chart
    • BCM-Agent-Frequently Asked Questions
    • Appendix
  • FAQs
    • Common Questions Overview
    • Fault-related questions
    • Configuration-related questions
    • Performance-related questions
  • Cloud Product Monitor List
    • Cloud Product Metric List (Legacy Version Hidden)
    • Cloud Product Monitor Object Type List
    • Cloud Product Event List
    • Cloud Product Metric List
      • Database
        • Cloud Database TableStorage
        • Cloud Database DocDB for MongoDB
        • Data transmission service (DTS)
        • Cloud native database GaiaDB
        • Vector Database (VectorDB)
        • Dedicated Database Cluster (DDC)
        • Cloud Database Redis
        • Cloud database RDS
        • Cloud Database HBase
      • Enterprise Application
        • Message Service for RabbitMQ
      • Network
        • Service Network Interface Card (SNIC)
        • Peering Connections
        • IPv6 gateway
        • NAT Gateway
        • Load Balancer Dedicated Cluster LBDC
        • Baidu Load Balance (BLB)
        • Network probe NP
        • Dedicated channel
        • Elastic IP EIP
        • Elastic Network Interface Card (ENIC)
        • Cloud Smart Network (CSN)
        • Dedicated gateway
        • Virtual Private Network (VPN) Gateway
        • Layer 2 Gateway LTGW
        • Physical dedicated line
      • Intelligent Big Data
        • MapReduce BMR
        • Message service for Kafka-dedicated
        • Message Service for RocketMQ
        • Baidu Stream Computing (BSC)
        • Baidu Elasticsearch
        • Log Service BLS
        • Data warehouse DORIS
      • Cloud native
        • Cloud Function Computing
        • Baidu container instance (BCI)
      • Compute
        • Baidu Cloud Compute (BCC)
        • Elastic Baremetal Compute BBC
      • Storage and CDN
        • Parallel Filesystem Service (PFS)
        • Cloud File System (CFS)
        • Content delivery network (CDN)
        • Baidu object storage (BOS)
        • Cloud Disk Server (CDS)
        • Baidu edge computing (BEC)
      • Website service
        • Baidu Cloud Virtual Host (BCH)
      • Large Model Platform
        • Qianfan Large Model Platform ModelBuilder
  • Typical Practices
    • Scenarios for Batch Creation of Alarm Strategies
    • Usage Scenarios for Different Notification Channels
  • Service Level Agreement (SLA)
    • Site Monitor Service Level Agreement SLA
  • BCM-Tool
    • Uninstallation Method
    • Installation method
    • BCM-Tool-Frequently Asked Questions
    • Functions
    • Multi-Region Service
    • Application method
  • Document center
  • arrow
  • BCM
  • arrow
  • API Reference
  • arrow
  • Event Monitor
Table of contents on this page
  • Query cloud product events
  • API description
  • Request structure
  • Request parameters
  • Response parameters
  • Request example
  • Response example
  • Query platform-related events
  • API description
  • Request structure
  • Request parameters
  • Response parameters
  • Request example
  • Response example
  • Alarm strategy
  • Create Event Alarm Strategy
  • API description
  • Request structure
  • Request headers
  • Request parameters
  • Response headers
  • Response parameters
  • Request example
  • Appendix
  • EventAlarmConfig
  • EventResourceFilter
  • EventFilter
  • EventResource
  • MonitorObjectType
  • EventLevel

Event Monitor

Updated at:2025-11-03

Query cloud product events

API description

Retrieve the Cloud Product Event List associated with users.

Permission description

The Access Key and request signature mechanism are uniformly adopted for all API security authentication. Access Key consists of an Access Key ID and a Secret Access Key, both of which are strings. For each HTTP request, use the algorithm described below to generate a authentication string. Submit the certification string in the Authorization header. The server verifies the correctness of the authentication string based on the generation algorithm. The certification string format is bce-auth-v{version}/{accessKeyId}/{timestamp}/{expirationPeriodInSeconds}/{signedHeaders}/{signature}.

  • The version is a positive integer.
  • The timestamp refers to the UTC time when the signature is created.
  • The expirationPeriodInSeconds specifies the duration during which the signature remains valid.
  • SignedHeaders includes the list of headers involved in the signature algorithm. The headers are separated by semicolons (e.g., host;x-bce-date) and arranged in lexicographical order. (This API signature involves only the host and x-bce-date headers.)
  • The signature is a 256-bit signature represented as a 64-character lowercase hexadecimal digest.

When Baidu AI Cloud receives a user's request, the system uses the same SK and certification mechanism to generate a certification string. This string is then compared with the one included in the user's request. If the two match, the system confirms the user has the required permissions and proceeds with the operation. If they differ, the system cancels the operation and returns an error code.

For detailed information on the authentication mechanism, please refer to [Authentication](Reference/Authentication mechanism/Introduction.md).

Request structure

Plain
1GET /event-api/v1/bce-event/list HTTP/1.1
2Host: bcm.bj.baidubce.com
3Authorization: authorization string

Request parameters

Parameter name Types Required or not Parameter location Description
pageNo int Yes Query Pagination page number
pageSize int Yes Query Page size
startTime String Yes Query Event occurrence time filter condition, in UTC format, e.g., 2019-01-01T00:00:00Z
endTime String Yes Query Event end time filter condition, in UTC format, e.g., 2019-01-01T00:00:00Z
accountId String Yes Query User ID
ascending bool No Query Whether sort by event occurrence time in ascending order; defaulting to desc (false)
scope String No Query Cloud service name to which the event belongs
region String No Query Event region filter condition
eventLevel String No Query Event level filter conditions: CRITICAL, MAJOR, WARNING, NOTICE
eventName String No Query Exact search by event name
eventAlias String No Query Fuzzy search by event alias
resourceType String No Query Product subtype to which the event-affected instance belongs, such as BCC subtype: Instance
resourceId String No Query Instance ID of the event instance, e.g., BCC instance: i-SyZeMxxx
eventId String No Query A unique identifier for an event, such as 999bbc21-2061-49e6-bb2a-fd3e6c5xxxxx.

Response parameters

Parameter name Types Description
pageNumber int Pagination page number
pageSize int Page size
pageElements int Count of results returned per page
last boolean Whether it is the last page
first boolean Whether it is the first page
totalPages int Total number of pages
totalElements int Total count of results
content List Response result

CloudEventData

Parameter name Types Description
accountId String Tenant ID to which the event belongs
serviceName String Cloud service name to which the event belongs
region String Region name where the event belongs, defaulting to global
resourceType String Instance type to which the event belongs, used to distinguish different types of cloud resource objects, defaulting to instance
resourceId String Instance ID to which the event belongs
eventId String The Event ID is used to uniquely identify an event.
eventType String Event type
eventLevel EventLevel Event level, [NOTICE/WARNING/MAJOR/CRITICAL]
eventAlias String Event alias
timestamp String Timestamp of event, in UTC format
content String Event content

Request example

Plain
1GET /event-api/v1/bce-event/list?pageNo=1&pageSize=1&startTime=2022-01-01T00:00:00Z&endTime=2022-07-18T00:00:00Z
2Host: bcm.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de

Response example

Plain
1{
2    "content": [
3        {
4 "accountId": "453bf9588c9e488f9ba2c9841290xxxx",  // Tenant ID to which the event belongs
5 "serviceName": "BCE_BCC", // Cloud service name to which the event belongs
6 "region": "bj", // Region to which the event belongs
7 "resourceType": "Instance", // Resource type of the instance where the event occurred
8 "resourceId": "i-SyZeMxxx", // Instance ID where the event occurred
9 "eventId": "999bbc21-2061-49e6-bb2a-fd3e6c5xxxxx", // Event ID
10 "eventType": "InstanceStateChange", // Event name
11 "eventLevel": "NOTICE", // Event level
12 "eventAlias": "BCC status change notification", // Event name in Chinese
13 "timestamp": "2022-07-15T01:01:00Z", // Event occurrence time
14 "content": "{\"info\":\"BCC instance status change\",\"advice\":\"Your BCC instance i-SyZeMxxx status has been updated to running\"}" // Additional event information
15        },
16    ],
17    "query": null,
18    "fields": [],
19    "orderBy": [],
20    "pageNumber": 1,
21    "pageSize": 1,
22    "pageElements": 1,
23    "last": false,
24    "first": true,
25    "totalPages": 34,
26    "totalElements": 34
27}

Query platform-related events

API description

Retrieve the Platform-related Event List associated with users.

Permission description

The Access Key and request signature mechanism are uniformly adopted for all API security authentication. Access Key consists of an Access Key ID and a Secret Access Key, both of which are strings. For each HTTP request, use the algorithm described below to generate a authentication string. Submit the certification string in the Authorization header. The server verifies the correctness of the authentication string based on the generation algorithm. The certification string format is bce-auth-v{version}/{accessKeyId}/{timestamp}/{expirationPeriodInSeconds}/{signedHeaders}/{signature}.

  • The version is a positive integer.
  • The timestamp refers to the UTC time when the signature is created.
  • The expirationPeriodInSeconds specifies the duration during which the signature remains valid.
  • SignedHeaders includes the list of headers involved in the signature algorithm. The headers are separated by semicolons (e.g., host;x-bce-date) and arranged in lexicographical order. (This API signature involves only the host and x-bce-date headers.)
  • The signature is a 256-bit signature represented as a 64-character lowercase hexadecimal digest.

When Baidu AI Cloud receives a user's request, the system uses the same SK and certification mechanism to generate a certification string. This string is then compared with the one included in the user's request. If the two match, the system confirms the user has the required permissions and proceeds with the operation. If they differ, the system cancels the operation and returns an error code.

For detailed information on the authentication mechanism, please refer to [Authentication](Reference/Authentication mechanism/Introduction.md).

Request structure

Plain
1GET /event-api/v1/platform-event/list HTTP/1.1
2Host: bcm.bj.baidubce.com
3Authorization: authorization string

Request parameters

Parameter name Types Required or not Parameter location Description
pageNo int Yes Query Pagination page number
pageSize int Yes Query Page size
startTime String Yes Query Event occurrence time filter condition, in UTC format, e.g., 2019-01-01T00:00:00Z
endTime String Yes Query Event end time filter condition, in UTC format, e.g., 2019-01-01T00:00:00Z
accountId String Yes Query User ID
ascending bool No Query Whether sort by event occurrence time in ascending order; defaulting to desc (false)
region String No Query Event region filter condition
eventLevel String No Query Event level filter conditions: CRITICAL, MAJOR, WARNING, NOTICE
eventName String No Query Exact search by event name
eventAlias String No Query Fuzzy search by event alias
eventId String No Query A unique identifier for an event, such as 999bbc21-2061-49e6-bb2a-fd3e6c5xxxxx.

Response parameters

Parameter name Types Description
pageNumber int Pagination page number
pageSize int Page size
pageElements int Count of results returned per page
last boolean Whether it is the last page
first boolean Whether it is the first page
totalPages int Total number of pages
totalElements int Total count of results
content List Response result

PlatformEventDataResponse

Parameter name Types Description
userId String User ID
eventSource String Event source
eventName String Event name
timestamp String Timestamp of event, in UTC format
eventId String The Event ID is used to uniquely identify an event.
region String Region name to which the event belongs
az String Availability region where the event belongs
eventLevel EventLevel Event level, [NOTICE/WARNING/MAJOR/CRITICAL]
eventAlias String Event alias
eventParentAlias String Parent type event name
content String Event content
resources List List of affected resources, optional

PlatformResource

Parameter name Types Description
service String Service name
userId String User ID
instanceId String Instance ID
shortInstanceId String Short instance ID
instanceName String Instance name

Request example

Plain
1GET /event-api/v1/platform-event/list?pageNo=1&pageSize=1&startTime=2022-05-01T00:00:00Z&endTime=2022-07-18T00:00:00Z
2Host: bcm.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de

Response example

Plain
1{
2    "content": [
3        {
4 "userId": "453bf9588c9e488f9ba2c9841290xxxx", // Tenant ID to which the event belongs. * indicates the event affects all users
5 "eventSource": "Platform", // Event source
6 "eventName": "RD_NET_ERROR", // Event Name
7 "timestamp": "2022-07-17T01:30:29Z", // Event occurrence time
8 "eventId": "999bbc21-2061-49e6-bb2a-fd3e6c5xxxxx", // Event ID
9 "region": "bj", // Event region
10 "az": "[\"zoneB\",\"zoneA\"]", // Availability region affected by the event which may be null.
11 "eventLevel": "CRITICAL", // Event level
12 "eventAlias": "RD network exception", // Event name in Chinese
13 "eventParentAlias": "", // Category to which the event belongs, e.g., "jitter". It can be null.
14 "status": "ALARM", // Event status: NULL-no status, ALARM-alarm status, OK-normal status
15 "content": "{\"info\":\"platform-0714-005\",\"advice\":\"RD network anomaly, please check\",\"raw\":\"\"}", // Additional event information
16 // Range affected by the event
17            "resources": [
18                {
19 "service": "BCE_BCC", // Affected cloud product scope
20                    "userId": "453bf9588c9e488f9ba2c9841290xxxx",
21 "instanceId": "43fs23jfsx9df220sDSf92fxxxxx", // Affected instance ID; "*" indicates inability to locate specific affected instances
22 "shortInstanceId": "i-SyZeMxxx", // Short ID of the affected instance, null indicates inability to locate specific affected instances
23 "instanceName": "i-SyZeMxxx" // Affected instance name; null indicates inability to locate specific affected instances
24                }
25            ]
26        }
27    ],
28    "query": null,
29    "fields": [],
30    "orderBy": [],
31    "pageNumber": 1,
32    "pageSize": 1,
33    "pageElements": 1,
34    "last": false,
35    "first": true,
36    "totalPages": 100,
37    "totalElements": 100
38}

Alarm strategy

Create Event Alarm Strategy

API description

Create Event Alarm Strategy

Request structure

Plain
1POST /event-api/v1/accounts/{accountId}/services/{serviceName}/alarm-policies HTTP/1.1
2Host: bcm.bj.baidubce.com
3Authorization: authorization string

Request headers

There are no special headers required beyond the common headers.

Request parameters

Parameter name Types Required or not Parameter location Description
serviceName String Yes Path Cloud product to which the event belongs
accountId String Yes Path User ID
alarmConfig EventAlarmConfig Yes Body Event strategy configuration

Response headers

There are no special headers required beyond the common headers.

Response parameters

No parameters

Request example

Plain
1{
2 "serviceName": "BCE_EDAP",  // Cloud product to which the event strategy belongs
3 "name": "test-jobgroup",  // Event strategy name
4 // Instance scope of interest for strategy, required
5    "resource": {
6        "region": "bj",
7        "type": "instance",
8        "monitorObjectType": "TAG"
9        "resources": [
10             {
11                "identifiers": [
12                    {
13                        "name": "tag-key",
14                        "value": "tag-value",
15                    }
16                ]
17            }
18        ]
19    },
20 // Instance scope of interest for user configuration, required
21    "eventFilter": {
22        "eventLevel": "*",
23        "eventTypeList": [
24            "*"
25        ]
26    },
27 // Notification template list, required
28    "incidentActions": [
29        "b22b97d6-72b4-4ac1-a86d-25d66375xxxx"
30    ],
31 "blockStatus": "NORMAL", // The notification status of the strategy, the normal status is "NORMAL", when notifications are shut down, the status is "BLOCKED"
32 "accountId": "453bf9588c9e488f9ba2c9841290xxxx" // User ID to which the strategy belongs, required
33}

Appendix

EventAlarmConfig

Name Types Description
serviceName String Cloud product to which the strategy belongs, required
accountId String User ID to which the strategy belongs, required
name String The strategy name is user-defined and must be unique for each user under the same cloud product. This field is required.
resource EventResourceFilter Instance scope of interest for strategy, required
eventFilter EventFilter Instance scope of interest for user configuration, required
incidentActions List Notification template list, required
blockStatus String The notification status of the strategy, the normal status is "NORMAL", when notifications are shut down, the status is "BLOCKED"

EventResourceFilter

Name Types Description
region String Instance region information, required
type String The sub-product type of the cloud product is required, with a default value of "Instance".
monitorObjectType MonitorObjectType Cloud product to which the strategy belongs, required
resources List<EventResource> Specific instance information of interest for strategy, ignored when monitorObjectType is ALL

EventFilter

Name Types Description
eventLevel EventLevel Event level of interest, required
eventTypeList List The event type for user configuration can include multiple options. To select all, use "*".

EventResource

Name Types Description
identifiers Map<String,String> User-configured instance or tag details. For instance: instanceId:i-vs3s24i; for tags: tag-k-1:tag-v-1.

MonitorObjectType

Value Description
ALL All instances
TAG Effective for specified tags
INSTANCE Effective for specified instances

EventLevel

Value Description
* All
NOTICE Notification
WARNING Warning
MAJOR Warning
CRITICAL Failure

Previous
Query Data API
Next
Instant Probe