/** * Admin API * The Admin API is used to manage the ApeCloud platform. * * 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 { PlatformComponent } from '../models'; import type { PlatformComponentDetails } from '../models'; import type { PlatformComponentOverview } from '../models'; /** * PlatformComponentApi - axios parameter creator * @export */ export declare const PlatformComponentApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get platform component detail by name, including monitoring and log query metadata * @summary Get platform component detail * @param {string} componentName Platform component name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlatformComponent: (componentName: string, options?: RawAxiosRequestConfig) => Promise; /** * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1. * @summary Get platform component nodes and resource statistics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlatformComponentOverview: (options?: RawAxiosRequestConfig) => Promise; /** * List platform components with monitoring and log query metadata * @summary List platform components * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPlatformComponents: (options?: RawAxiosRequestConfig) => Promise; }; /** * PlatformComponentApi - functional programming interface * @export */ export declare const PlatformComponentApiFp: (configuration?: Configuration) => { /** * Get platform component detail by name, including monitoring and log query metadata * @summary Get platform component detail * @param {string} componentName Platform component name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlatformComponent(componentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1. * @summary Get platform component nodes and resource statistics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlatformComponentOverview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List platform components with monitoring and log query metadata * @summary List platform components * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPlatformComponents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * PlatformComponentApi - factory interface * @export */ export declare const PlatformComponentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get platform component detail by name, including monitoring and log query metadata * @summary Get platform component detail * @param {PlatformComponentApiGetPlatformComponentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1. * @summary Get platform component nodes and resource statistics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlatformComponentOverview(options?: RawAxiosRequestConfig): AxiosPromise; /** * List platform components with monitoring and log query metadata * @summary List platform components * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPlatformComponents(options?: RawAxiosRequestConfig): AxiosPromise>; }; /** * PlatformComponentApi - interface * @export * @interface PlatformComponentApi */ export interface PlatformComponentApiInterface { /** * Get platform component detail by name, including monitoring and log query metadata * @summary Get platform component detail * @param {PlatformComponentApiGetPlatformComponentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PlatformComponentApiInterface */ getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1. * @summary Get platform component nodes and resource statistics * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PlatformComponentApiInterface */ getPlatformComponentOverview(options?: RawAxiosRequestConfig): AxiosPromise; /** * List platform components with monitoring and log query metadata * @summary List platform components * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PlatformComponentApiInterface */ listPlatformComponents(options?: RawAxiosRequestConfig): AxiosPromise>; } /** * Request parameters for getPlatformComponent operation in PlatformComponentApi. * @export * @interface PlatformComponentApiGetPlatformComponentRequest */ export interface PlatformComponentApiGetPlatformComponentRequest { /** * Platform component name * @type {string} * @memberof PlatformComponentApiGetPlatformComponent */ readonly componentName: string; } /** * PlatformComponentApi - object-oriented interface * @export * @class PlatformComponentApi * @extends {BaseAPI} */ export declare class PlatformComponentApi extends BaseAPI implements PlatformComponentApiInterface { /** * Get platform component detail by name, including monitoring and log query metadata * @summary Get platform component detail * @param {PlatformComponentApiGetPlatformComponentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PlatformComponentApi */ getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): Promise>; /** * Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1. * @summary Get platform component nodes and resource statistics * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PlatformComponentApi */ getPlatformComponentOverview(options?: RawAxiosRequestConfig): Promise>; /** * List platform components with monitoring and log query metadata * @summary List platform components * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PlatformComponentApi */ listPlatformComponents(options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=platform-component-api.d.ts.map