/** * 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 { BenchmarkStep } from './benchmark-step'; import type { YcsbRedisMode } from './ycsb-redis-mode'; /** * ycsb is the ycsb benchmark object * @export * @interface Ycsb */ export interface Ycsb { /** * * @type {BenchmarkStep} * @memberof Ycsb */ 'step'?: BenchmarkStep; /** * the cpu limit for test container * @type {string} * @memberof Ycsb */ 'limitCpu'?: string; /** * the memory limit for test container * @type {string} * @memberof Ycsb */ 'limitMemory'?: string; /** * the cpu request for test container * @type {string} * @memberof Ycsb */ 'requestCpu'?: string; /** * the memory request for test container * @type {string} * @memberof Ycsb */ 'requestMemory'?: string; /** * the name of benchmark * @type {string} * @memberof Ycsb */ 'name'?: string; /** * the database name * @type {string} * @memberof Ycsb */ 'database'?: string; /** * the cluster name * @type {string} * @memberof Ycsb */ 'cluster': string; /** * Username for database * @type {string} * @memberof Ycsb */ 'username': string; /** * Password for database * @type {string} * @memberof Ycsb */ 'password'?: string; /** * Address for database * @type {string} * @memberof Ycsb */ 'address': string; /** * Number of records to load into database * @type {number} * @memberof Ycsb */ 'recordCount'?: number | null; /** * Number of operations to perform * @type {number} * @memberof Ycsb */ 'operationCount'?: number | null; /** * Percentage of read operations * @type {number} * @memberof Ycsb */ 'readProportion'?: number | null; /** * Percentage of update operations * @type {number} * @memberof Ycsb */ 'updateProportion'?: number | null; /** * Percentage of insert operations * @type {number} * @memberof Ycsb */ 'insertProportion'?: number; /** * Percentage of read-modify-write operations * @type {number} * @memberof Ycsb */ 'readModifyWriteProportion'?: number; /** * Percentage of scan operations * @type {number} * @memberof Ycsb */ 'scanProportion'?: number; /** * Number of client threads to run * @type {number} * @memberof Ycsb */ 'threads'?: number | null; /** * Extra arguments for ycsb * @type {string} * @memberof Ycsb */ 'extraArgs'?: string; /** * * @type {YcsbRedisMode} * @memberof Ycsb */ 'redisMode'?: YcsbRedisMode; /** * Redis sentinel master * @type {string} * @memberof Ycsb */ 'redisSentinelMaster'?: string; /** * Redis sentinel username * @type {string} * @memberof Ycsb */ 'redisSentinelUsername'?: string; /** * Redis sentinel password * @type {string} * @memberof Ycsb */ 'redisSentinelPassword'?: string; } //# sourceMappingURL=ycsb.d.ts.map