/* 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 { OpsParameter } from './ops-parameter'; // May contain unused imports in some cases // @ts-ignore import type { TaskSchedule } from './task-schedule'; /** * Create a custom KubeBlocks OpsRequest. Specify exactly one of compName and compNames. Switchover requires a single component. * @export * @interface OpsCustom */ export interface OpsCustom { /** * component name * @type {string} * @memberof OpsCustom */ 'compName'?: string | null; /** * Component names for a single OpsRequest. Mutually exclusive with compName. All components share the same params. * @type {Set} * @memberof OpsCustom */ 'compNames'?: Set; /** * ops definition name. * @type {string} * @memberof OpsCustom */ 'opsType': string; /** * ops definition name. * @type {Array} * @memberof OpsCustom */ 'dependentOnOps'?: Array; /** * custom ops parameters * @type {Array} * @memberof OpsCustom */ 'params'?: Array; /** * * @type {TaskSchedule} * @memberof OpsCustom */ 'schedule'?: TaskSchedule; }