/* 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 { ComponentOpsOptionDependentCustomOpsParamsInner } from './component-ops-option-dependent-custom-ops-params-inner'; /** * * @export * @interface ComponentOpsOptionDependentCustomOps */ export interface ComponentOpsOptionDependentCustomOps { /** * opsDefinition name * @type {string} * @memberof ComponentOpsOptionDependentCustomOps */ 'opsDefName'?: string; /** * component type name * @type {string} * @memberof ComponentOpsOptionDependentCustomOps */ 'component'?: string; /** * go template conditional judgment expression, such as $.root.inPlace == true available built-in objects that can be referenced in the expression include: - cluster: cluster record - ops: opsrequest object - component: current component - root: current object In rebuildinstance ops, only `ops` object is available. * @type {string} * @memberof ComponentOpsOptionDependentCustomOps */ 'when'?: string; /** * custom ops parameters * @type {Array} * @memberof ComponentOpsOptionDependentCustomOps */ 'params'?: Array; }