/** * 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 { OrgResourceQuota } from '../models'; import type { OrgResourceQuotaAndUsage } from '../models'; /** * OrganizationResourceQuotaApi - axios parameter creator * @export */ export declare const OrganizationResourceQuotaApiAxiosParamCreator: (configuration?: Configuration) => { /** * Update the resource quota of an organization * @summary Update the resource quota of an organization * @param {string} orgName The name of the organization * @param {OrgResourceQuota} orgResourceQuota * @param {*} [options] Override http request option. * @throws {RequiredError} */ resourceQuota: (orgName: string, orgResourceQuota: OrgResourceQuota, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Get the resource quota and usage of an organization * @param {string} orgName The name of the organization * @param {*} [options] Override http request option. * @throws {RequiredError} */ resourceQuotaAndUsage: (orgName: string, options?: RawAxiosRequestConfig) => Promise; }; /** * OrganizationResourceQuotaApi - functional programming interface * @export */ export declare const OrganizationResourceQuotaApiFp: (configuration?: Configuration) => { /** * Update the resource quota of an organization * @summary Update the resource quota of an organization * @param {string} orgName The name of the organization * @param {OrgResourceQuota} orgResourceQuota * @param {*} [options] Override http request option. * @throws {RequiredError} */ resourceQuota(orgName: string, orgResourceQuota: OrgResourceQuota, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Get the resource quota and usage of an organization * @param {string} orgName The name of the organization * @param {*} [options] Override http request option. * @throws {RequiredError} */ resourceQuotaAndUsage(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * OrganizationResourceQuotaApi - factory interface * @export */ export declare const OrganizationResourceQuotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Update the resource quota of an organization * @summary Update the resource quota of an organization * @param {OrganizationResourceQuotaApiResourceQuotaRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ resourceQuota(requestParameters: OrganizationResourceQuotaApiResourceQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Get the resource quota and usage of an organization * @param {OrganizationResourceQuotaApiResourceQuotaAndUsageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ resourceQuotaAndUsage(requestParameters: OrganizationResourceQuotaApiResourceQuotaAndUsageRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * OrganizationResourceQuotaApi - interface * @export * @interface OrganizationResourceQuotaApi */ export interface OrganizationResourceQuotaApiInterface { /** * Update the resource quota of an organization * @summary Update the resource quota of an organization * @param {OrganizationResourceQuotaApiResourceQuotaRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OrganizationResourceQuotaApiInterface */ resourceQuota(requestParameters: OrganizationResourceQuotaApiResourceQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Get the resource quota and usage of an organization * @param {OrganizationResourceQuotaApiResourceQuotaAndUsageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OrganizationResourceQuotaApiInterface */ resourceQuotaAndUsage(requestParameters: OrganizationResourceQuotaApiResourceQuotaAndUsageRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for resourceQuota operation in OrganizationResourceQuotaApi. * @export * @interface OrganizationResourceQuotaApiResourceQuotaRequest */ export interface OrganizationResourceQuotaApiResourceQuotaRequest { /** * The name of the organization * @type {string} * @memberof OrganizationResourceQuotaApiResourceQuota */ readonly orgName: string; /** * * @type {OrgResourceQuota} * @memberof OrganizationResourceQuotaApiResourceQuota */ readonly orgResourceQuota: OrgResourceQuota; } /** * Request parameters for resourceQuotaAndUsage operation in OrganizationResourceQuotaApi. * @export * @interface OrganizationResourceQuotaApiResourceQuotaAndUsageRequest */ export interface OrganizationResourceQuotaApiResourceQuotaAndUsageRequest { /** * The name of the organization * @type {string} * @memberof OrganizationResourceQuotaApiResourceQuotaAndUsage */ readonly orgName: string; } /** * OrganizationResourceQuotaApi - object-oriented interface * @export * @class OrganizationResourceQuotaApi * @extends {BaseAPI} */ export declare class OrganizationResourceQuotaApi extends BaseAPI implements OrganizationResourceQuotaApiInterface { /** * Update the resource quota of an organization * @summary Update the resource quota of an organization * @param {OrganizationResourceQuotaApiResourceQuotaRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OrganizationResourceQuotaApi */ resourceQuota(requestParameters: OrganizationResourceQuotaApiResourceQuotaRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Get the resource quota and usage of an organization * @param {OrganizationResourceQuotaApiResourceQuotaAndUsageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OrganizationResourceQuotaApi */ resourceQuotaAndUsage(requestParameters: OrganizationResourceQuotaApiResourceQuotaAndUsageRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=organization-resource-quota-api.d.ts.map