/** * 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 { BackupRetentionPolicy } from './backup-retention-policy'; import type { EncryptionConfig } from './encryption-config'; /** * BackupPolicy is the payload for KubeBlocks cluster backup policy * @export * @interface BackupPolicy */ export interface BackupPolicy { /** * specify whether to use auto backup * @type {boolean} * @memberof BackupPolicy */ 'autoBackup'?: boolean; /** * the auto full backup method * @type {string} * @memberof BackupPolicy */ 'autoBackupMethod'?: string; /** * specify whether to enable point-in-time recovery * @type {boolean} * @memberof BackupPolicy */ 'pitrEnabled'?: boolean; /** * continuous backup method for pitr * @type {string} * @memberof BackupPolicy */ 'continuousBackupMethod'?: string; /** * the crop expression for schedule * @type {string} * @memberof BackupPolicy */ 'cronExpression'?: string; /** * specify whether to enable incremental backup * @type {boolean} * @memberof BackupPolicy */ 'incrementalBackupEnabled'?: boolean; /** * the crop expression for incremental backup schedule * @type {string} * @memberof BackupPolicy */ 'incrementalCronExpression'?: string; /** * specify the retention period * @type {string} * @memberof BackupPolicy */ 'retentionPeriod'?: string; /** * the backup repo name, which is used to store backup data * @type {string} * @memberof BackupPolicy */ 'backupRepo'?: string; /** * * @type {BackupRetentionPolicy} * @memberof BackupPolicy */ 'retentionPolicy'?: BackupRetentionPolicy; /** * the time to do next backup * @type {string} * @memberof BackupPolicy */ 'nextBackupTime'?: string | null; /** * * @type {EncryptionConfig} * @memberof BackupPolicy */ 'encryptionConfig'?: EncryptionConfig; /** * * @type {{ [key: string]: { [key: string]: string; }; }} * @memberof BackupPolicy */ 'backupParameters'?: { [key: string]: { [key: string]: string; }; }; } //# sourceMappingURL=backup-policy.d.ts.map