/** * 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 { BackupRepo } from '../models'; import type { BackupRepoList } from '../models'; import type { BackupRepoView } from '../models'; import type { FileEntryList } from '../models'; /** * BackupRepoApi - axios parameter creator * @export */ export declare const BackupRepoApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Get backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the BackupRepo * @param {string} [orgName] name of the organization * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBackupRepo: (environmentName: string, backupRepoName: string, orgName?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary List backup repos * @param {string} orgName name of the organization * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepos: (orgName: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary view backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the environment * @param {BackupRepoView} backupRepoView * @param {*} [options] Override http request option. * @throws {RequiredError} */ viewBackupRepo: (environmentName: string, backupRepoName: string, backupRepoView: BackupRepoView, options?: RawAxiosRequestConfig) => Promise; }; /** * BackupRepoApi - functional programming interface * @export */ export declare const BackupRepoApiFp: (configuration?: Configuration) => { /** * * @summary Get backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the BackupRepo * @param {string} [orgName] name of the organization * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBackupRepo(environmentName: string, backupRepoName: string, orgName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List backup repos * @param {string} orgName name of the organization * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepos(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary view backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the environment * @param {BackupRepoView} backupRepoView * @param {*} [options] Override http request option. * @throws {RequiredError} */ viewBackupRepo(environmentName: string, backupRepoName: string, backupRepoView: BackupRepoView, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * BackupRepoApi - factory interface * @export */ export declare const BackupRepoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Get backup repo * @param {BackupRepoApiGetBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBackupRepo(requestParameters: BackupRepoApiGetBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary List backup repos * @param {BackupRepoApiListBackupReposRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepos(requestParameters: BackupRepoApiListBackupReposRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary view backup repo * @param {BackupRepoApiViewBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ viewBackupRepo(requestParameters: BackupRepoApiViewBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * BackupRepoApi - interface * @export * @interface BackupRepoApi */ export interface BackupRepoApiInterface { /** * * @summary Get backup repo * @param {BackupRepoApiGetBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ getBackupRepo(requestParameters: BackupRepoApiGetBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary List backup repos * @param {BackupRepoApiListBackupReposRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ listBackupRepos(requestParameters: BackupRepoApiListBackupReposRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary view backup repo * @param {BackupRepoApiViewBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ viewBackupRepo(requestParameters: BackupRepoApiViewBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for getBackupRepo operation in BackupRepoApi. * @export * @interface BackupRepoApiGetBackupRepoRequest */ export interface BackupRepoApiGetBackupRepoRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiGetBackupRepo */ readonly environmentName: string; /** * name of the BackupRepo * @type {string} * @memberof BackupRepoApiGetBackupRepo */ readonly backupRepoName: string; /** * name of the organization * @type {string} * @memberof BackupRepoApiGetBackupRepo */ readonly orgName?: string; } /** * Request parameters for listBackupRepos operation in BackupRepoApi. * @export * @interface BackupRepoApiListBackupReposRequest */ export interface BackupRepoApiListBackupReposRequest { /** * name of the organization * @type {string} * @memberof BackupRepoApiListBackupRepos */ readonly orgName: string; } /** * Request parameters for viewBackupRepo operation in BackupRepoApi. * @export * @interface BackupRepoApiViewBackupRepoRequest */ export interface BackupRepoApiViewBackupRepoRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiViewBackupRepo */ readonly environmentName: string; /** * name of the environment * @type {string} * @memberof BackupRepoApiViewBackupRepo */ readonly backupRepoName: string; /** * * @type {BackupRepoView} * @memberof BackupRepoApiViewBackupRepo */ readonly backupRepoView: BackupRepoView; } /** * BackupRepoApi - object-oriented interface * @export * @class BackupRepoApi * @extends {BaseAPI} */ export declare class BackupRepoApi extends BaseAPI implements BackupRepoApiInterface { /** * * @summary Get backup repo * @param {BackupRepoApiGetBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ getBackupRepo(requestParameters: BackupRepoApiGetBackupRepoRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary List backup repos * @param {BackupRepoApiListBackupReposRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ listBackupRepos(requestParameters: BackupRepoApiListBackupReposRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary view backup repo * @param {BackupRepoApiViewBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ viewBackupRepo(requestParameters: BackupRepoApiViewBackupRepoRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=backup-repo-api.d.ts.map