UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

14 lines 493 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDropletCpuMetrics = void 0; const getDropletCpuMetrics = ({ httpClient, }) => ({ end, host_id, start, }) => { const url = '/monitoring/metrics/droplet/cpu'; const query_params = { end, host_id, start, }; return httpClient.get(url, { params: query_params }); }; exports.getDropletCpuMetrics = getDropletCpuMetrics; //# sourceMappingURL=get-droplet-cpu-metrics.js.map