/* 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 { BenchmarkStep } from './benchmark-step'; // May contain unused imports in some cases // @ts-ignore import type { SysbenchTestType } from './sysbench-test-type'; /** * sysbench is the sysbench benchmark object * @export * @interface Sysbench */ export interface Sysbench { /** * * @type {BenchmarkStep} * @memberof Sysbench */ 'step'?: BenchmarkStep; /** * the cpu limit for test container * @type {string} * @memberof Sysbench */ 'limitCpu'?: string; /** * the memory limit for test container * @type {string} * @memberof Sysbench */ 'limitMemory'?: string; /** * the cpu request for test container * @type {string} * @memberof Sysbench */ 'requestCpu'?: string; /** * the memory request for test container * @type {string} * @memberof Sysbench */ 'requestMemory'?: string; /** * the name of benchmark * @type {string} * @memberof Sysbench */ 'name'?: string; /** * the cluster name * @type {string} * @memberof Sysbench */ 'cluster': string; /** * the database name * @type {string} * @memberof Sysbench */ 'database': string; /** * Number of threads to use * @type {number} * @memberof Sysbench */ 'threads'?: number | null; /** * the seconds of test duration * @type {number} * @memberof Sysbench */ 'duration'?: number | null; /** * Number of rows per table * @type {number} * @memberof Sysbench */ 'tableSize'?: number | null; /** * Number of tables * @type {number} * @memberof Sysbench */ 'tableNum'?: number | null; /** * * @type {SysbenchTestType} * @memberof Sysbench */ 'testType'?: SysbenchTestType; /** * Percentage of reads, only used for oltp_read_write_pct * @type {number} * @memberof Sysbench */ 'readPercent'?: number | null; /** * Percentage of writes, only used for oltp_read_write_pct * @type {number} * @memberof Sysbench */ 'writePercent'?: number | null; /** * Username for database * @type {string} * @memberof Sysbench */ 'username': string; /** * Password for database * @type {string} * @memberof Sysbench */ 'password': string; /** * Address for database * @type {string} * @memberof Sysbench */ 'address': string; /** * Extra arguments for sysbench * @type {string} * @memberof Sysbench */ 'extraArgs'?: string; }