API Overview
Cloud Eye APIs allow you to use all Cloud Eye functions. For example, you can query the metrics or create alarm rules.
| Type | Subtype | API | Description |
|---|---|---|---|
| API V1 | API versions | Query all API versions supported by Cloud Eye. | |
| Query an API version supported by Cloud Eye. | |||
| Metrics | Query metrics monitored by Cloud Eye. | ||
| Alarm rules | Query alarm rules. | ||
| Query the alarm rule information based on the alarm rule ID. | |||
| Enable or disable an alarm rule based on the alarm rule ID. | |||
| Delete an alarm rule based on the alarm rule ID. | |||
| Create an alarm rule. | |||
| Create a custom alarm template. | |||
| Delete a custom alarm template. | |||
| Query alarm history 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 metric of a specified granularity in a specified time range. | ||
| Add one or more pieces of metric data. | |||
| Query the monitoring data of specified metrics within a specified time range and a specified granularity in batches. You can query the monitoring data of up to 10 metrics in batches. | |||
| Query the host configuration for a specified event type in a specified period. 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. | |||
| Event monitoring | Report custom events. | ||
| Query all events, including system events and custom events. | |||
| Query monitoring details of an event based on the event name. | |||
| API V2 | Alarm rules | Create an alarm rule. | |
| Batch delete alarm rules. | |||
| Batch enable or disable alarm rules. | |||
| Query alarm rules. | |||
| Monitored resource | 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 resources in an alarm rule based on the alarm rule ID. | |||
| Alarm policies | Modify alarm policies in an alarm rule. | ||
| Query alarm policies based on the alarm rule ID. | |||
| Alarm notifications | Modify alarm notification information in an alarm rule. | ||
| Alarm records | Query alarm records. | ||
| Alarm templates | Create a custom alarm template. | ||
| Batch delete custom alarm templates. | |||
| Modify a custom alarm template. | |||
| Query alarm templates. | |||
| Query details of a 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. | |||
| Asynchronously Associating a Resource Group with a Custom Alarm Template | Submit an asynchronous task for batch associating custom alarm templates with a resource group. This process will create alarm rules to replace existing ones. | ||
| Resources in a resource group | Batch add resources to a resource group whose resources are manually added. | ||
| Batch delete resources from a resource group whose resources are manually added. | |||
| Querying Resources of a Specified Dimension and a Specified Service Type in a Resource Group | Query resources of a specified dimension for a specified resource 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 for One Service in One-Click Monitoring | Batch enable or disable alarm rules for one service in one-click monitoring. | ||
| Batch disable one-click monitoring. | |||
| 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 alarm 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. | ||
| Metrics | Querying Server Monitoring Metrics from Different Dimensions | Query metrics by disk, mount point, process, graphics card, or RAID controller based on the ECS or BMS ID. | |
| Querying Server Monitoring Metrics from Different Dimensions | Query metrics in batches. | ||
| API V3 | Agent statuses | Query the Agent (including the uniagent) statuses. | |
| Tasks | Query the Agent tasks. | ||
| Batch create Agent tasks. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot