Help Center > > Developer Guide> Mapping Between API and SDK> Java> Cloud Eye

Cloud Eye

Updated at: Dec 05, 2019 GMT+08:00

The SDK interfaces based on the Cloud Eye v1.0 API are as follows. For details about the invoking methods, see the sample codes.

Interface

Method

API

MetricService

List<? extends Metric> getList(MetricFilterOptions options);

GET /V1.0/{project_id}/metrics

AlarmService

List<? extends Alarm> list(AlarmFilterOptions options);

GET /V1.0/{project_id}/alarms

List<? extends Alarm> get(String alarmId);

GET /V1.0/{project_id}/alarms/{alarm_id}

ActionResponse startAlarm(String alarmId)

PUT /V1.0/{project_id}/alarms/{alarm_id}/action

ActionResponse stopAlarm(String alarmId)

PUT /V1.0/{project_id}/alarms/{alarm_id}/action

ActionResponse deleteAlarm(String alarmId);

DELETE /V1.0/{project_id}/alarms/{alarm_id}

MetricDataService

MetricAggregation get(String namespace, String metric_name, Date from, Date to, Period period, Filter filter, String[] dimValues);

GET /V1.0/{project_id}/metric-data

ActionResponse add(List<? extends MetricData> metrics);

POST /V1.0/{project_id}/metric-data

QuotaService

CloudEyeQuota get();

GET /V1.0/{project_id}/quotas

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel