• CLI

sdk
  1. Help Center
  2. CLI
  3. Developer Guide
  4. Mapping Between API and SDK
  5. Java
  6. CES

CES

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