Updated on 2024-04-18 GMT+08:00

API Overview

Cloud Eye APIs allow you to use all Cloud Eye functions. For example, you can query the metric list and create alarm rules.

Table 1 API description

Type

Subtype

API

Description

Cloud Eye API

API versions

Querying All API Versions

Query all API versions supported by Cloud Eye.

Querying a Specified API Version

Query a specified API version of Cloud Eye.

Metrics

Querying Metrics

Query metrics supported by Cloud Eye.

Alarm rules

Querying Alarm Rules

Query alarm rules.

Querying Details of an Alarm Rule

Query details of an alarm rule based on its ID.

Enabling or Disabling an Alarm Rule

Enable or disable an alarm rule based on the alarm rule ID.

Deleting an Alarm Rule

Delete an alarm rule based on its ID.

Creating an Alarm Rule

Create an alarm rule.

Monitoring data

Querying Monitoring Data of a Metric

Query the monitoring data of a specified metric at a specified granularity in a specified time range.

Adding Monitoring Data

Add one or more pieces of metric monitoring data.

Querying Monitoring Data of Multiple Metrics

Query the monitoring data of specified metrics within a specified time range and at a specified granularity. You can query the monitoring data of up to 10 metrics in one batch.

Quotas

Querying Quotas

Query the alarm rule quota.

Event monitoring

Reporting Events

Report custom events.