/* 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. */ /** * * @export * @interface DmsSession */ export interface DmsSession { /** * numeric session ID, when the database exposes one that fits in int64 * @type {number} * @memberof DmsSession */ 'id'?: number | null; /** * native session ID used by the terminate API; for Redis this is the numeric CLIENT LIST client id * @type {string} * @memberof DmsSession */ 'sessionId'?: string | null; /** * user name * @type {string} * @memberof DmsSession */ 'user': string; /** * tenant name * @type {string} * @memberof DmsSession */ 'tenant'?: string | null; /** * client host information * @type {string} * @memberof DmsSession */ 'host': string; /** * database name * @type {string} * @memberof DmsSession */ 'db'?: string | null; /** * current command * @type {string} * @memberof DmsSession */ 'command'?: string | null; /** * session duration time * @type {number} * @memberof DmsSession */ 'time'?: number | null; /** * session state * @type {string} * @memberof DmsSession */ 'state'?: string | null; /** * additional session information; for Redis this is a JSON object with the full CLIENT LIST entry * @type {string} * @memberof DmsSession */ 'info'?: string | null; /** * server ip * @type {string} * @memberof DmsSession */ 'ip'?: string | null; /** * server port * @type {number} * @memberof DmsSession */ 'port'?: number | null; /** * whether the session is protected and don\'t allow to be killed * @type {boolean} * @memberof DmsSession */ 'protected'?: boolean; }