/* 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 { ClickhouseDiskUsage } from './clickhouse-disk-usage'; /** * * @export * @interface ClickhouseTableSpace */ export interface ClickhouseTableSpace { /** * Database name. * @type {string} * @memberof ClickhouseTableSpace */ 'database'?: string; /** * Table name. * @type {string} * @memberof ClickhouseTableSpace */ 'table'?: string; /** * Table engine. * @type {string} * @memberof ClickhouseTableSpace */ 'engine'?: string; /** * Physical bytes_on_disk across all hosts and disks. * @type {number} * @memberof ClickhouseTableSpace */ 'bytesOnDisk'?: number; /** * Sum of data_compressed_bytes. * @type {number} * @memberof ClickhouseTableSpace */ 'dataCompressedBytes'?: number; /** * Sum of data_uncompressed_bytes. * @type {number} * @memberof ClickhouseTableSpace */ 'dataUncompressedBytes'?: number; /** * data_compressed_bytes / data_uncompressed_bytes. * @type {number} * @memberof ClickhouseTableSpace */ 'compressionRatio'?: number; /** * Sum of active part rows. * @type {number} * @memberof ClickhouseTableSpace */ 'rows'?: number; /** * Active part count used for the Too many parts risk check. * @type {number} * @memberof ClickhouseTableSpace */ 'activeParts'?: number; /** * Distinct partitions across disks and hosts. * @type {number} * @memberof ClickhouseTableSpace */ 'partitionCount'?: number; /** * Number of hosts that own active parts for this table. * @type {number} * @memberof ClickhouseTableSpace */ 'hosts'?: number; /** * Latest part modification time in RFC3339 UTC. * @type {string} * @memberof ClickhouseTableSpace */ 'lastModifiedAt'?: string; /** * normal, warning (parts >= parts_to_delay_insert) or critical (parts >= parts_to_throw_insert). * @type {string} * @memberof ClickhouseTableSpace */ 'risk'?: string; /** * Per-disk and per-host breakdown. * @type {Array} * @memberof ClickhouseTableSpace */ 'disks'?: Array; }