/**
 * 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 { ClusterBackupMethod } from '../models';
/**
 * BackupMethodApi - axios parameter creator
 * @export
 */
export declare const BackupMethodApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary get backup method
     * @param {string} orgName name of the org
     * @param {string} engineName engine name
     * @param {string} [clusterID] clusterID is required when you want to get the backup method of a existing cluster
     * @param {boolean} [enablePITR] define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
     * @param {boolean} [withRebuildInstance] defined whether to search for rebuilding instance.
     * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
     * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
     * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
     * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * BackupMethodApi - functional programming interface
 * @export
 */
export declare const BackupMethodApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary get backup method
     * @param {string} orgName name of the org
     * @param {string} engineName engine name
     * @param {string} [clusterID] clusterID is required when you want to get the backup method of a existing cluster
     * @param {boolean} [enablePITR] define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
     * @param {boolean} [withRebuildInstance] defined whether to search for rebuilding instance.
     * @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
     * @param {boolean} [withHScale] defined whether to search for rebuilding instance.
     * @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
     * @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>>;
};
/**
 * BackupMethodApi - factory interface
 * @export
 */
export declare const BackupMethodApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary get backup method
     * @param {BackupMethodApiGetBackupMethodRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod>;
};
/**
 * BackupMethodApi - interface
 * @export
 * @interface BackupMethodApi
 */
export interface BackupMethodApiInterface {
    /**
     *
     * @summary get backup method
     * @param {BackupMethodApiGetBackupMethodRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof BackupMethodApiInterface
     */
    getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod>;
}
/**
 * Request parameters for getBackupMethod operation in BackupMethodApi.
 * @export
 * @interface BackupMethodApiGetBackupMethodRequest
 */
export interface BackupMethodApiGetBackupMethodRequest {
    /**
     * name of the org
     * @type {string}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly orgName: string;
    /**
     * engine name
     * @type {string}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly engineName: string;
    /**
     * clusterID is required when you want to get the backup method of a existing cluster
     * @type {string}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly clusterID?: string;
    /**
     * define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
     * @type {boolean}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly enablePITR?: boolean;
    /**
     * defined whether to search for rebuilding instance.
     * @type {boolean}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly withRebuildInstance?: boolean;
    /**
     * defined whether to search for restoring cluster.
     * @type {boolean}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly withRestoreCluster?: boolean;
    /**
     * defined whether to search for rebuilding instance.
     * @type {boolean}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly withHScale?: boolean;
    /**
     * The component type is required when withRebuildInstance/withHScale is true.
     * @type {string}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly component?: string;
    /**
     * The cluster mode, used to filter out unsupported backup methods.
     * @type {string}
     * @memberof BackupMethodApiGetBackupMethod
     */
    readonly mode?: string;
}
/**
 * BackupMethodApi - object-oriented interface
 * @export
 * @class BackupMethodApi
 * @extends {BaseAPI}
 */
export declare class BackupMethodApi extends BaseAPI implements BackupMethodApiInterface {
    /**
     *
     * @summary get backup method
     * @param {BackupMethodApiGetBackupMethodRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof BackupMethodApi
     */
    getBackupMethod(requestParameters: BackupMethodApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterBackupMethod, any, {}>>;
}
//# sourceMappingURL=backup-method-api.d.ts.map