/** * 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 { BackupRepo } from '../models'; import type { BackupRepoCheck } from '../models'; import type { BackupRepoCreate } from '../models'; import type { BackupRepoList } from '../models'; import type { BackupRepoStatsList } from '../models'; import type { BackupRepoUpdate } from '../models'; import type { BackupRepoView } from '../models'; import type { FileEntryList } from '../models'; /** * BackupRepoApi - axios parameter creator * @export */ export declare const BackupRepoApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary check 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} */ checkBackupRepo: (environmentName: string, backupRepoName: string, orgName?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Create backup repo * @param {string} environmentName name of the environment * @param {BackupRepoCreate} body * @param {boolean} [envInstall] Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBackupRepo: (environmentName: string, body: BackupRepoCreate, envInstall?: boolean, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Delete backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the BackupRepo * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBackupRepo: (environmentName: string, backupRepoName: string, options?: RawAxiosRequestConfig) => Promise; /** * * @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 repo stats * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the environment * @param {string} [start] the start time * @param {string} [end] the end time * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepoStats: (environmentName: string, backupRepoName: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary List backup repos * @param {string} environmentName name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepos: (environmentName: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Update backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the BackupRepo * @param {BackupRepoUpdate} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateBackupRepo: (environmentName: string, backupRepoName: string, body: BackupRepoUpdate, 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 check 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} */ checkBackupRepo(environmentName: string, backupRepoName: string, orgName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Create backup repo * @param {string} environmentName name of the environment * @param {BackupRepoCreate} body * @param {boolean} [envInstall] Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBackupRepo(environmentName: string, body: BackupRepoCreate, envInstall?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Delete backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the BackupRepo * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBackupRepo(environmentName: string, backupRepoName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @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 repo stats * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the environment * @param {string} [start] the start time * @param {string} [end] the end time * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepoStats(environmentName: string, backupRepoName: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary List backup repos * @param {string} environmentName name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepos(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update backup repo * @param {string} environmentName name of the environment * @param {string} backupRepoName name of the BackupRepo * @param {BackupRepoUpdate} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateBackupRepo(environmentName: string, backupRepoName: string, body: BackupRepoUpdate, 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 check backup repo * @param {BackupRepoApiCheckBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkBackupRepo(requestParameters: BackupRepoApiCheckBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Create backup repo * @param {BackupRepoApiCreateBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBackupRepo(requestParameters: BackupRepoApiCreateBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Delete backup repo * @param {BackupRepoApiDeleteBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBackupRepo(requestParameters: BackupRepoApiDeleteBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @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 repo stats * @param {BackupRepoApiListBackupRepoStatsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBackupRepoStats(requestParameters: BackupRepoApiListBackupRepoStatsRequest, 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 Update backup repo * @param {BackupRepoApiUpdateBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateBackupRepo(requestParameters: BackupRepoApiUpdateBackupRepoRequest, 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 check backup repo * @param {BackupRepoApiCheckBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ checkBackupRepo(requestParameters: BackupRepoApiCheckBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Create backup repo * @param {BackupRepoApiCreateBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ createBackupRepo(requestParameters: BackupRepoApiCreateBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Delete backup repo * @param {BackupRepoApiDeleteBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ deleteBackupRepo(requestParameters: BackupRepoApiDeleteBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @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 repo stats * @param {BackupRepoApiListBackupRepoStatsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ listBackupRepoStats(requestParameters: BackupRepoApiListBackupRepoStatsRequest, 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 Update backup repo * @param {BackupRepoApiUpdateBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApiInterface */ updateBackupRepo(requestParameters: BackupRepoApiUpdateBackupRepoRequest, 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 checkBackupRepo operation in BackupRepoApi. * @export * @interface BackupRepoApiCheckBackupRepoRequest */ export interface BackupRepoApiCheckBackupRepoRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiCheckBackupRepo */ readonly environmentName: string; /** * name of the BackupRepo * @type {string} * @memberof BackupRepoApiCheckBackupRepo */ readonly backupRepoName: string; /** * name of the organization * @type {string} * @memberof BackupRepoApiCheckBackupRepo */ readonly orgName?: string; } /** * Request parameters for createBackupRepo operation in BackupRepoApi. * @export * @interface BackupRepoApiCreateBackupRepoRequest */ export interface BackupRepoApiCreateBackupRepoRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiCreateBackupRepo */ readonly environmentName: string; /** * * @type {BackupRepoCreate} * @memberof BackupRepoApiCreateBackupRepo */ readonly body: BackupRepoCreate; /** * Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation. * @type {boolean} * @memberof BackupRepoApiCreateBackupRepo */ readonly envInstall?: boolean; } /** * Request parameters for deleteBackupRepo operation in BackupRepoApi. * @export * @interface BackupRepoApiDeleteBackupRepoRequest */ export interface BackupRepoApiDeleteBackupRepoRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiDeleteBackupRepo */ readonly environmentName: string; /** * name of the BackupRepo * @type {string} * @memberof BackupRepoApiDeleteBackupRepo */ readonly backupRepoName: string; } /** * 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 listBackupRepoStats operation in BackupRepoApi. * @export * @interface BackupRepoApiListBackupRepoStatsRequest */ export interface BackupRepoApiListBackupRepoStatsRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiListBackupRepoStats */ readonly environmentName: string; /** * name of the environment * @type {string} * @memberof BackupRepoApiListBackupRepoStats */ readonly backupRepoName: string; /** * the start time * @type {string} * @memberof BackupRepoApiListBackupRepoStats */ readonly start?: string; /** * the end time * @type {string} * @memberof BackupRepoApiListBackupRepoStats */ readonly end?: string; } /** * Request parameters for listBackupRepos operation in BackupRepoApi. * @export * @interface BackupRepoApiListBackupReposRequest */ export interface BackupRepoApiListBackupReposRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiListBackupRepos */ readonly environmentName: string; } /** * Request parameters for updateBackupRepo operation in BackupRepoApi. * @export * @interface BackupRepoApiUpdateBackupRepoRequest */ export interface BackupRepoApiUpdateBackupRepoRequest { /** * name of the environment * @type {string} * @memberof BackupRepoApiUpdateBackupRepo */ readonly environmentName: string; /** * name of the BackupRepo * @type {string} * @memberof BackupRepoApiUpdateBackupRepo */ readonly backupRepoName: string; /** * * @type {BackupRepoUpdate} * @memberof BackupRepoApiUpdateBackupRepo */ readonly body: BackupRepoUpdate; } /** * 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 check backup repo * @param {BackupRepoApiCheckBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ checkBackupRepo(requestParameters: BackupRepoApiCheckBackupRepoRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Create backup repo * @param {BackupRepoApiCreateBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ createBackupRepo(requestParameters: BackupRepoApiCreateBackupRepoRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Delete backup repo * @param {BackupRepoApiDeleteBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ deleteBackupRepo(requestParameters: BackupRepoApiDeleteBackupRepoRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @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 repo stats * @param {BackupRepoApiListBackupRepoStatsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ listBackupRepoStats(requestParameters: BackupRepoApiListBackupRepoStatsRequest, 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 Update backup repo * @param {BackupRepoApiUpdateBackupRepoRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BackupRepoApi */ updateBackupRepo(requestParameters: BackupRepoApiUpdateBackupRepoRequest, 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