dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
12 lines (11 loc) • 667 B
TypeScript
import { IResponse, IContext } from '../../types';
import { IDefaultMetricsResponse } from '..';
export interface IGetDropletBandwidthMetricsInput {
end: string | number;
host_id: string | number;
network_interface: "private" | "public" | string;
start: string | number;
traffic_direction: "inbound" | "outbound" | string;
}
export type GetDropletBandwidthMetricsResponse = IResponse<IDefaultMetricsResponse>;
export declare const getDropletBandwidthMetrics: ({ httpClient, }: IContext) => ({ end, host_id, network_interface, start, traffic_direction, }: IGetDropletBandwidthMetricsInput) => Promise<Readonly<GetDropletBandwidthMetricsResponse>>;