Updated on 2023-11-29 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

API V1

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.

Creating a Custom Alarm Template

Create a custom alarm template to add alarm rules for one or more metrics.

Deleting a Custom Alarm Template

Delete a custom alarm template.

Querying the Alarm History of an Alarm Rule

Query the alarm history of an alarm rule based on the alarm rule ID.

Querying Custom Alarm Templates

Query custom alarm templates.

Updating a Custom Alarm Template

Update a custom alarm template.

Modifying an Alarm Rule

Modify 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.

Querying the Host Configuration

Query the host configuration for a specified event type in a specified time range. You can specify the dimension of data to be queried.

Quotas

Querying Quotas

Query the alarm rule quota.

Resource groups

Querying Resources in a Resource Group

Query resources in a resource group.

Creating a Resource Group

Create a resource group.

Updating a Resource Group

Update a resource group.

Deleting a Resource Group

Delete a resource group.

Query Resource Groups

Query all resource groups you created.

Event monitoring

Reporting Events

Report custom events.

Querying Events

Query events, including system events and custom events.

Querying Details of an Event

Query details of an event based on the event name.

API V2

Alarm rules

Creating an Alarm Rule

Create an alarm rule.

Deleting Alarm Rules in Batches

Delete alarm rules in batches.

Enabling or Disabling Alarm Rules in Batches

Enable or disable alarm rules in batches.

Querying Alarm Rules

Query alarm rules.

Monitored resources

Batch Adding Resources to an Alarm Rule

Batch add resources to an alarm rule. (Alarm rules for resources in resource groups are excluded.)

Batch Deleting Resources from an Alarm Rule

Batch delete resources from an alarm rule. (Alarm rules for resources in resource groups are excluded.)

Querying Resources in an Alarm Rule

Query resources in an alarm rule.

Alarm policies

Modifying All Fields in an Alarm Policy

Modify all fields in an alarm rule.

Querying Alarm Policies

Query alarm policies based on the alarm rule ID.

Alarm records

Querying Alarm Records

Query alarm records.

Alarm templates

Creating a Custom Alarm Template

Create a custom template.

Deleting Custom Alarm Templates in Batches

Delete custom templates in batches.

Modifying a Custom Alarm Template

Modify a custom template.

Querying Alarm Templates

Query alarm templates.

Querying Details of an Alarm Template

Query details of an alarm template.

Alarm rules associated with an alarm template

Querying Alarm Rules Associated with an Alarm Template

Query alarm rules associated with an alarm template.

Resource groups

Creating a Resource Group

Create a resource group.

Batch Deleting Resource Groups

Batch delete resource groups.

Modifying a Resource Group

Modify a resource group.

Querying Details of a Resource Group

Query details of a resource group.

Querying Resource Groups

Query resource groups.

Resources in a resource group

Querying Resources of a Specified Dimension and a Specified Service Type in a Resource Group

Query resources of a specified dimension and a specified service type in a resource group.

One-click monitoring

Enabling One-Click Monitoring

Enable one-click monitoring.

Querying Services and Resources That Support One-Click Monitoring

Query services and resources that support one-click monitoring.

Querying Alarm Rules of One Service in One-Click Monitoring

Query alarm rules of one service in one-click monitoring.

Batch Enabling or Disabling Alarm Rules of One Service in One-Click Monitoring

Batch enable or disable alarm rules for one service in one-click monitoring.

Batch Disabling One-Click Motoring

Batch disable one-click motoring.

Batch Modifying Alarm Notifications in Alarm Rules for One Service That Has One-Click Monitoring Enabled

Batch modify alarm notifications in alarm rules for one service that has one-click monitoring enabled.

Batch Enabling or Disabling Alarm Policies in Alarm Rules for One Service That Has One-Click Monitoring Enabled

Batch enable or disable alarm policies in alarm rules for one service that has one-click monitoring enabled.

Alarm notification masking

Creating Alarm Notification Masking Rules in Batches

Create alarm notification masking rules in batches.

Modifying the Masking Time of Alarm Notification Masking Rules in Batches

Modify the masking time of alarm notification masking rules in batches.

Modifying an Alarm Notification Masking Rule

Modify an alarm notification masking rule.

Deleting Alarm Notification Masking Rules in Batches

Delete alarm notification masking rules in batches.

Querying Alarm Notification Masking Rules

Query notification masking rules of a specified type in batches.

Querying Resources for Which Alarm Notifications Have Been Masked

Query resources for which alarm notifications have been masked.

Dashboards

Creating or Copying a Dashboard

Create or copy a dashboard.

Querying Dashboards

Query dashboards.

Modifying a Dashboard

Modify a dashboard.

Deleting Dashboards in Batches

Delete dashboards in batches.

Graphs

Creating, Copying, or Batch Creating Graphs on a Dashboard

Create, copy, or batch create graphs on a dashboard.

Querying Graphs Added to a Dashboard

Query graphs added to a dashboard.

Querying Information About a Graph

Query information about a graph.

Deleting a Graph

Delete a graph.

Updating Graphs in Batches

Update graphs in batches.

Resource tags

Querying Tags of a Type of Resources in a Cloud Eye Project

Query tags of a type of resources in a Cloud Eye project.