/** * 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 { RbmqVHost } from '../models'; /** * VhostApi - axios parameter creator * @export */ export declare const VhostApiAxiosParamCreator: (configuration?: Configuration) => { /** * List RabbitMQ vhosts * @summary List RabbitMQ vhosts * @param {string} orgName name of the Org * @param {string} clusterName name of the Cluster * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRabbitVHosts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise; }; /** * VhostApi - functional programming interface * @export */ export declare const VhostApiFp: (configuration?: Configuration) => { /** * List RabbitMQ vhosts * @summary List RabbitMQ vhosts * @param {string} orgName name of the Org * @param {string} clusterName name of the Cluster * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRabbitVHosts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * VhostApi - factory interface * @export */ export declare const VhostApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * List RabbitMQ vhosts * @summary List RabbitMQ vhosts * @param {VhostApiListRabbitVHostsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRabbitVHosts(requestParameters: VhostApiListRabbitVHostsRequest, options?: RawAxiosRequestConfig): AxiosPromise>; }; /** * VhostApi - interface * @export * @interface VhostApi */ export interface VhostApiInterface { /** * List RabbitMQ vhosts * @summary List RabbitMQ vhosts * @param {VhostApiListRabbitVHostsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VhostApiInterface */ listRabbitVHosts(requestParameters: VhostApiListRabbitVHostsRequest, options?: RawAxiosRequestConfig): AxiosPromise>; } /** * Request parameters for listRabbitVHosts operation in VhostApi. * @export * @interface VhostApiListRabbitVHostsRequest */ export interface VhostApiListRabbitVHostsRequest { /** * name of the Org * @type {string} * @memberof VhostApiListRabbitVHosts */ readonly orgName: string; /** * name of the Cluster * @type {string} * @memberof VhostApiListRabbitVHosts */ readonly clusterName: string; } /** * VhostApi - object-oriented interface * @export * @class VhostApi * @extends {BaseAPI} */ export declare class VhostApi extends BaseAPI implements VhostApiInterface { /** * List RabbitMQ vhosts * @summary List RabbitMQ vhosts * @param {VhostApiListRabbitVHostsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof VhostApi */ listRabbitVHosts(requestParameters: VhostApiListRabbitVHostsRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=vhost-api.d.ts.map