/** * 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. */ /** * * @export * @interface ClickhouseClusterNode */ export interface ClickhouseClusterNode { /** * Cluster name. * @type {string} * @memberof ClickhouseClusterNode */ 'cluster'?: string; /** * Shard number. * @type {number} * @memberof ClickhouseClusterNode */ 'shardNum'?: number; /** * Shard weight. * @type {number} * @memberof ClickhouseClusterNode */ 'shardWeight'?: number; /** * Replica number inside the shard. * @type {number} * @memberof ClickhouseClusterNode */ 'replicaNum'?: number; /** * Configured host name. * @type {string} * @memberof ClickhouseClusterNode */ 'hostName'?: string; /** * Configured host address. * @type {string} * @memberof ClickhouseClusterNode */ 'hostAddress'?: string; /** * Configured TCP port. * @type {number} * @memberof ClickhouseClusterNode */ 'port'?: number; /** * Whether this node is the connected node. * @type {boolean} * @memberof ClickhouseClusterNode */ 'isLocal'?: boolean; /** * Configured user. * @type {string} * @memberof ClickhouseClusterNode */ 'user'?: string; /** * Configured default database. * @type {string} * @memberof ClickhouseClusterNode */ 'defaultDatabase'?: string; /** * Connection errors observed for this node. * @type {number} * @memberof ClickhouseClusterNode */ 'errorsCount'?: number; /** * Slowdown events observed for this node. * @type {number} * @memberof ClickhouseClusterNode */ 'slowdownsCount'?: number; /** * Estimated recovery time in seconds, zero when the node is healthy. * @type {number} * @memberof ClickhouseClusterNode */ 'estimatedRecoveryTime'?: number; /** * normal or warning. * @type {string} * @memberof ClickhouseClusterNode */ 'risk'?: string; /** * Detected issue codes such as connection_errors, slowdowns or estimated_recovery_time. * @type {Array} * @memberof ClickhouseClusterNode */ 'issues'?: Array; } //# sourceMappingURL=clickhouse-cluster-node.d.ts.map