/* tslint:disable */ /* eslint-disable */ /** * 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. */ // May contain unused imports in some cases // @ts-ignore import type { BackupMethodOption } from './backup-method-option'; // May contain unused imports in some cases // @ts-ignore import type { BackupOptionOfflineBackupOption } from './backup-option-offline-backup-option'; // May contain unused imports in some cases // @ts-ignore import type { BackupOptionRestoreOption } from './backup-option-restore-option'; // May contain unused imports in some cases // @ts-ignore import type { ParametersValueValue } from './parameters-value-value'; // May contain unused imports in some cases // @ts-ignore import type { SelectiveMethodOption } from './selective-method-option'; /** * If present, it must be set defaultMethod and fullMethod * @export * @interface BackupOption */ export interface BackupOption { /** * Engine modes that support backup and restore. Omitted or null means all modes (legacy behavior); an empty array disables backup and restore for all modes. * @type {Array} * @memberof BackupOption */ 'modes'?: Array; /** * * @type {string} * @memberof BackupOption */ 'defaultMethod': string; /** * If set, the default backup method will be applied to the specified component. If not set, the default backup method will be applied to all components. * @type {string} * @memberof BackupOption */ 'defaultComponent'?: string; /** * selector for the default backup policy template. this is necessary when referencing other addon components * @type {{ [key: string]: string; }} * @memberof BackupOption */ 'defaultBPTSelector'?: { [key: string]: string; }; /** * * @type {BackupOptionRestoreOption} * @memberof BackupOption */ 'restoreOption'?: BackupOptionRestoreOption; /** * * @type {BackupOptionOfflineBackupOption} * @memberof BackupOption */ 'offlineBackupOption'?: BackupOptionOfflineBackupOption; /** * * @type {{ [key: string]: { [key: string]: ParametersValueValue; }; }} * @memberof BackupOption */ 'backupParameters'?: { [key: string]: { [key: string]: ParametersValueValue; }; }; /** * * @type {{ [key: string]: { [key: string]: ParametersValueValue; }; }} * @memberof BackupOption */ 'restoreParameters'?: { [key: string]: { [key: string]: ParametersValueValue; }; }; /** * * @type {Array} * @memberof BackupOption */ 'fullMethod': Array; /** * * @type {Array} * @memberof BackupOption */ 'incrementalMethod'?: Array; /** * * @type {Array} * @memberof BackupOption */ 'continuousMethod'?: Array; /** * Selective backup methods that support backing up specific objects * @type {Array} * @memberof BackupOption */ 'selectiveMethod'?: Array; }