/** * KubeBlocks Cloud API * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { MeteringTrackList } from '../models'; /** * MeteringApi - axios parameter creator * @export */ export declare const MeteringApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary List metering tracks in the organization * @param {string} orgName Name of organization * @param {number} start The start of the time range for the query, unit is seconds. * @param {number} end The end of the time range for the query, unit is seconds. * @param {string} [clusterID] The ID of the cluster * @param {string} [projectName] name of the project * @param {string} [environmentName] The name of the environment * @param {number} [pageNumber] the pageNumber of the query * @param {number} [pageSize] the pageSize of the query * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOrgMeteringTracks: (orgName: string, start: number, end: number, clusterID?: string, projectName?: string, environmentName?: string, pageNumber?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise; }; /** * MeteringApi - functional programming interface * @export */ export declare const MeteringApiFp: (configuration?: Configuration) => { /** * * @summary List metering tracks in the organization * @param {string} orgName Name of organization * @param {number} start The start of the time range for the query, unit is seconds. * @param {number} end The end of the time range for the query, unit is seconds. * @param {string} [clusterID] The ID of the cluster * @param {string} [projectName] name of the project * @param {string} [environmentName] The name of the environment * @param {number} [pageNumber] the pageNumber of the query * @param {number} [pageSize] the pageSize of the query * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOrgMeteringTracks(orgName: string, start: number, end: number, clusterID?: string, projectName?: string, environmentName?: string, pageNumber?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * MeteringApi - factory interface * @export */ export declare const MeteringApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary List metering tracks in the organization * @param {MeteringApiListOrgMeteringTracksRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listOrgMeteringTracks(requestParameters: MeteringApiListOrgMeteringTracksRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * MeteringApi - interface * @export * @interface MeteringApi */ export interface MeteringApiInterface { /** * * @summary List metering tracks in the organization * @param {MeteringApiListOrgMeteringTracksRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MeteringApiInterface */ listOrgMeteringTracks(requestParameters: MeteringApiListOrgMeteringTracksRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for listOrgMeteringTracks operation in MeteringApi. * @export * @interface MeteringApiListOrgMeteringTracksRequest */ export interface MeteringApiListOrgMeteringTracksRequest { /** * Name of organization * @type {string} * @memberof MeteringApiListOrgMeteringTracks */ readonly orgName: string; /** * The start of the time range for the query, unit is seconds. * @type {number} * @memberof MeteringApiListOrgMeteringTracks */ readonly start: number; /** * The end of the time range for the query, unit is seconds. * @type {number} * @memberof MeteringApiListOrgMeteringTracks */ readonly end: number; /** * The ID of the cluster * @type {string} * @memberof MeteringApiListOrgMeteringTracks */ readonly clusterID?: string; /** * name of the project * @type {string} * @memberof MeteringApiListOrgMeteringTracks */ readonly projectName?: string; /** * The name of the environment * @type {string} * @memberof MeteringApiListOrgMeteringTracks */ readonly environmentName?: string; /** * the pageNumber of the query * @type {number} * @memberof MeteringApiListOrgMeteringTracks */ readonly pageNumber?: number; /** * the pageSize of the query * @type {number} * @memberof MeteringApiListOrgMeteringTracks */ readonly pageSize?: number; } /** * MeteringApi - object-oriented interface * @export * @class MeteringApi * @extends {BaseAPI} */ export declare class MeteringApi extends BaseAPI implements MeteringApiInterface { /** * * @summary List metering tracks in the organization * @param {MeteringApiListOrgMeteringTracksRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MeteringApi */ listOrgMeteringTracks(requestParameters: MeteringApiListOrgMeteringTracksRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=metering-api.d.ts.map