/* 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'; /** * tpcc is the tpcc benchmark object * @export * @interface Tpcc */ export interface Tpcc { /** * * @type {BenchmarkStep} * @memberof Tpcc */ 'step'?: BenchmarkStep; /** * the cpu limit for test container * @type {string} * @memberof Tpcc */ 'limitCpu'?: string; /** * the memory limit for test container * @type {string} * @memberof Tpcc */ 'limitMemory'?: string; /** * the cpu request for test container * @type {string} * @memberof Tpcc */ 'requestCpu'?: string; /** * the memory request for test container * @type {string} * @memberof Tpcc */ 'requestMemory'?: string; /** * the name of benchmark * @type {string} * @memberof Tpcc */ 'name'?: string; /** * the cluster name * @type {string} * @memberof Tpcc */ 'cluster': string; /** * the database name * @type {string} * @memberof Tpcc */ 'database': string; /** * Username for database * @type {string} * @memberof Tpcc */ 'username': string; /** * Password for database * @type {string} * @memberof Tpcc */ 'password': string; /** * Address for database * @type {string} * @memberof Tpcc */ 'address': string; /** * Number of threads to use * @type {number} * @memberof Tpcc */ 'threads'?: number | null; /** * Number of warehouses * @type {number} * @memberof Tpcc */ 'warehouses'?: number | null; /** * the minutes of test duration * @type {number} * @memberof Tpcc */ 'duration'?: number | null; /** * limit the number of transactions per minute, 0 means no limit * @type {number} * @memberof Tpcc */ 'limitTxPerMin'?: number; /** * Percentage of new order transactions * @type {number} * @memberof Tpcc */ 'newOrderWeight'?: number | null; /** * Percentage of payment transactions * @type {number} * @memberof Tpcc */ 'paymentWeight'?: number | null; /** * Percentage of order status transactions * @type {number} * @memberof Tpcc */ 'orderStatusWeight'?: number | null; /** * Percentage of delivery transactions * @type {number} * @memberof Tpcc */ 'deliveryWeight'?: number | null; /** * Percentage of stock level transactions * @type {number} * @memberof Tpcc */ 'stockLevelWeight'?: number | null; /** * number of parallel threads used to create initial content * @type {number} * @memberof Tpcc */ 'loadWorkers'?: number; /** * number of transactions to run per thread * @type {number} * @memberof Tpcc */ 'runTxnsPerTerminal'?: number | null; /** * Extra arguments for tpcc * @type {string} * @memberof Tpcc */ 'extraArgs'?: string; }