/* tslint:disable */ /* eslint-disable */ /** * 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. */ // 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; }