/** * 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 { Tenant } from '../models'; /** * OceanbaseApi - axios parameter creator * @export */ export declare const OceanbaseApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary get tenants detail information of the oceanbase cluster * @param {string} orgName name of the Org * @param {string} clusterName name of the cluster * @param {string} tenantId id of the tenant * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTenant: (orgName: string, clusterName: string, tenantId: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary list all tenants for the oceanbase cluster * @param {string} orgName name of the Org * @param {string} clusterName name of the cluster * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTenants: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise; }; /** * OceanbaseApi - functional programming interface * @export */ export declare const OceanbaseApiFp: (configuration?: Configuration) => { /** * * @summary get tenants detail information of the oceanbase cluster * @param {string} orgName name of the Org * @param {string} clusterName name of the cluster * @param {string} tenantId id of the tenant * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTenant(orgName: string, clusterName: string, tenantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary list all tenants for the oceanbase cluster * @param {string} orgName name of the Org * @param {string} clusterName name of the cluster * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTenants(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * OceanbaseApi - factory interface * @export */ export declare const OceanbaseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary get tenants detail information of the oceanbase cluster * @param {OceanbaseApiGetTenantRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTenant(requestParameters: OceanbaseApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary list all tenants for the oceanbase cluster * @param {OceanbaseApiListTenantsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listTenants(requestParameters: OceanbaseApiListTenantsRequest, options?: RawAxiosRequestConfig): AxiosPromise>; }; /** * OceanbaseApi - interface * @export * @interface OceanbaseApi */ export interface OceanbaseApiInterface { /** * * @summary get tenants detail information of the oceanbase cluster * @param {OceanbaseApiGetTenantRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OceanbaseApiInterface */ getTenant(requestParameters: OceanbaseApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary list all tenants for the oceanbase cluster * @param {OceanbaseApiListTenantsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OceanbaseApiInterface */ listTenants(requestParameters: OceanbaseApiListTenantsRequest, options?: RawAxiosRequestConfig): AxiosPromise>; } /** * Request parameters for getTenant operation in OceanbaseApi. * @export * @interface OceanbaseApiGetTenantRequest */ export interface OceanbaseApiGetTenantRequest { /** * name of the Org * @type {string} * @memberof OceanbaseApiGetTenant */ readonly orgName: string; /** * name of the cluster * @type {string} * @memberof OceanbaseApiGetTenant */ readonly clusterName: string; /** * id of the tenant * @type {string} * @memberof OceanbaseApiGetTenant */ readonly tenantId: string; } /** * Request parameters for listTenants operation in OceanbaseApi. * @export * @interface OceanbaseApiListTenantsRequest */ export interface OceanbaseApiListTenantsRequest { /** * name of the Org * @type {string} * @memberof OceanbaseApiListTenants */ readonly orgName: string; /** * name of the cluster * @type {string} * @memberof OceanbaseApiListTenants */ readonly clusterName: string; } /** * OceanbaseApi - object-oriented interface * @export * @class OceanbaseApi * @extends {BaseAPI} */ export declare class OceanbaseApi extends BaseAPI implements OceanbaseApiInterface { /** * * @summary get tenants detail information of the oceanbase cluster * @param {OceanbaseApiGetTenantRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OceanbaseApi */ getTenant(requestParameters: OceanbaseApiGetTenantRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary list all tenants for the oceanbase cluster * @param {OceanbaseApiListTenantsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OceanbaseApi */ listTenants(requestParameters: OceanbaseApiListTenantsRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=oceanbase-api.d.ts.map