/** * 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 { ComponentOpsOptionBackupMethod } from './component-ops-option-backup-method'; import type { ComponentOpsOptionDependentCustomOps } from './component-ops-option-dependent-custom-ops'; import type { ComponentOpsOptionRestoreEnvInner } from './component-ops-option-restore-env-inner'; /** * * @export * @interface ComponentOpsOption */ export interface ComponentOpsOption { /** * List of modes that this component supports. if not set, support all modes. * @type {Array} * @memberof ComponentOpsOption */ 'modes'?: Array; /** * * @type {string} * @memberof ComponentOpsOption */ 'component': string; /** * * @type {boolean} * @memberof ComponentOpsOption */ 'disableHA'?: boolean; /** * parameter for rebuild instance ops * @type {boolean} * @memberof ComponentOpsOption */ 'inPlace'?: boolean; /** * indicate whether backup is required when Inplace is true * @type {boolean} * @memberof ComponentOpsOption */ 'needBackupWhenInPlace'?: boolean; /** * indicate whether backup is required for this ops * @type {boolean} * @memberof ComponentOpsOption */ 'backupRequired'?: boolean; /** * * @type {ComponentOpsOptionBackupMethod} * @memberof ComponentOpsOption */ 'backupMethod'?: ComponentOpsOptionBackupMethod; /** * * @type {Array} * @memberof ComponentOpsOption */ 'restoreEnv'?: Array | null; /** * indicate whether the component supports online instance to offlines * @type {boolean} * @memberof ComponentOpsOption */ 'disableOfflineInstance'?: boolean | null; /** * list of instance roles that are not allowed to be taken offline * @type {Array} * @memberof ComponentOpsOption */ 'disableOfflineInstanceRoles'?: Array; /** * indicate whether rollback is supported for this ops * @type {boolean} * @memberof ComponentOpsOption */ 'rollbackSupported'?: boolean; /** * * @type {ComponentOpsOptionDependentCustomOps} * @memberof ComponentOpsOption */ 'dependentCustomOps'?: ComponentOpsOptionDependentCustomOps; } //# sourceMappingURL=component-ops-option.d.ts.map