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 |
|---|---|---|---|
| APIs V1 | API versions | List all API versions supported by Cloud Eye. | |
| Query a specified API version of Cloud Eye. | |||
| Metrics | List metrics supported by Cloud Eye. | ||
| Alarm rules | List alarm rules. | ||
| Query an alarm rule based on its ID. | |||
| Enable or disable an alarm rule based on its ID. | |||
| Delete an alarm rule based on its ID. | |||
| Create an alarm rule for a metric. | |||
| Create a custom alarm template to add alarm rules for one or more metrics. | |||
| Delete a custom alarm template. | |||
| Query the alarm history based on the alarm ID. | |||
| List custom alarm templates. | |||
| Update a custom alarm template. | |||
| Modify an alarm rule. | |||
| Monitoring data | Query monitoring data of a specified metric at a specified granularity in a specified time range. | ||
| Add one or more pieces of metric data. | |||
| Query monitoring data of specified metrics at a specified granularity in a specified time range. You can query up to 10 metrics in a batch. | |||
| Query the host configuration of 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 a custom event. | ||
| List events, including system events and custom events. | |||
| Query details of an event based on its name. | |||
| APIs V2 | Alarm rules | Create an alarm rule. | |
| Batch delete alarm rules. | |||
| Batch enable or disable alarm rules. | |||
| List alarm rules. | |||
| Monitored resources | Batch add resources to an alarm rule. (Alarm rules of resources in resource groups are not supported.) | ||
| Batch delete resources in an alarm rule. (Alarm rules of resources in resource groups are not supported.) | |||
| List resources of an alarm rule based on the alarm rule ID. | |||
| Alarm policies | Modify all alarm policies in an alarm rule. | ||
| List alarm policies based on the alarm rule ID. | |||
| Alarm notifications | Modify alarm notification information in an alarm rule. | ||
| Alarm records | List alarm records. | ||
| Alarm templates | Create a custom alarm template. | ||
| Batch delete custom alarm templates. | |||
| Modify a custom alarm template. | |||
| List alarm templates. | |||
| Query details about an alarm template. | |||
| Alarm rules associated with an alarm template | List alarm rules associated with an alarm template. | ||
| Resource groups | Create a resource group. | ||
| Batch delete resource groups. | |||
| Modify a resource group. | |||
| Query details about a resource group. | |||
| List 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 associated with a resource group | Batch add resources to a resource group to which resources are manually added. | ||
| Batch remove associated resources from a resource group to which resources are manually added. | |||
| Querying Resources of a Specified Dimension and a Specified Service Type in a Resource Group | List 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 | List services and resources with one-click monitoring enabled. | ||
| List alarm rules for a service with one-click monitoring enabled. | |||
| Batch Enabling or Disabling Alarm Rules for One Service in One-Click Monitoring | Batch enable or disable alarm rules for a service with one-click monitoring enabled. | ||
| Batch disable one-click monitoring. | |||
| Batch modify alarm notifications in alarm rules for a service with one-click monitoring enabled. | |||
| Batch enable or disable alarm policies in alarm rules for a service with 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. | |||
| List alarm masking rules. | |||
| Querying Resources for Which Alarm Notifications Have Been Masked | Query resources for which alarm notifications have been masked. | ||
| Dashboards | Create or copy a dashboard. | ||
| List dashboards. | |||
| Modify a dashboard. | |||
| Batch delete dashboards. | |||
| Graphs | Create, copy, or batch create graphs on a dashboard. | ||
| List graphs added to a dashboard. | |||
| Query information about a graph. | |||
| Delete a graph. | |||
| Batch update graphs. | |||
| 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. | ||
| APIs V3 | Agent statuses | Query the Agent (including the uniagent) status. | |
| Agent tasks | List Agent tasks. | ||
| Batch create Agent tasks. |
What is your overall rating for this page?
Thank 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