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.
| Type | Subtype | API | Description |
|---|---|---|---|
| API V1 | API versions | Query all API versions supported by Cloud Eye. | |
| Query a specified API version of Cloud Eye. | |||
| Metrics | Query metrics supported by Cloud Eye. | ||
| Alarm rules | Query alarm rules. | ||
| Query details of an alarm rule based on its ID. | |||
| Enable or disable an alarm rule based on the alarm rule ID. | |||
| Delete an alarm rule based on its ID. | |||
| Create an alarm rule. | |||
| Create a custom alarm template to add alarm rules for one or more metrics. | |||
| Delete a custom alarm template. | |||
| Query the alarm history of an alarm rule based on the alarm rule ID. | |||
| Query custom alarm templates. | |||
| Update a custom alarm template. | |||
| Modify an alarm rule. | |||
| Monitoring data | Query the monitoring data of a specified metric at a specified granularity in a specified time range. | ||
| Add one or more pieces of metric monitoring data. | |||
| 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. | |||
| 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 | Query the alarm rule quota. | ||
| Resource groups | Query resources in a resource group. | ||
| Create a resource group. | |||
| Update a resource group. | |||
| Delete a resource group. | |||
| Query all resource groups you created. | |||
| Event monitoring | Report custom events. | ||
| Query events, including system events and custom events. | |||
| Query details of an event based on the event name. | |||
| API V2 | Alarm rules | Create an alarm rule. | |
| Delete alarm rules in batches. | |||
| Enable or disable alarm rules in batches. | |||
| Query alarm rules. | |||
| Monitored resources | Batch add resources to an alarm rule. (Alarm rules for resources in resource groups are excluded.) | ||
| Batch delete resources from an alarm rule. (Alarm rules for resources in resource groups are excluded.) | |||
| Query alarm rules based on the alarm rule IDs. | |||
| Alarm policies | Modify all fields in an alarm rule. | ||
| Query alarm policies based on the alarm rule ID. | |||
| Alarm records | Query alarm records. | ||
| Alarm templates | Create a custom template. | ||
| Delete custom templates in batches. | |||
| Modify a custom template. | |||
| Query alarm templates. | |||
| Query details of an alarm template. | |||
| Alarm rules associated with an alarm template | Query alarm rules associated with an alarm template. | ||
| Resource groups | Create a resource group. | ||
| Batch delete resource groups. | |||
| Modify a resource group. | |||
| Query details of a resource group. | |||
| 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 | Enable one-click monitoring. | ||
| Querying Services and Resources That Support One-Click Monitoring | Query services and resources that support 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 disable one-click motoring. | |||
| Batch modify alarm notifications 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 | 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. | ||
| Modify an alarm notification masking rule. | |||
| Delete alarm notification masking rules in batches. | |||
| 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 | Create or copy a dashboard. | ||
| Query dashboards. | |||
| Modify a dashboard. | |||
| Delete dashboards in batches. | |||
| Graphs | Create, copy, or batch create graphs on a dashboard. | ||
| Query graphs added to a dashboard. | |||
| Query information about a graph. | |||
| Delete a graph. | |||
| Update graphs in batches. | |||
| Resource tags | Query tags of a type of resources in a Cloud Eye project. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.