/* 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 { DmsAuditRisk } from './dms-audit-risk'; // May contain unused imports in some cases // @ts-ignore import type { DmsAuditStatement } from './dms-audit-statement'; // May contain unused imports in some cases // @ts-ignore import type { DmsAuditStatus } from './dms-audit-status'; /** * * @export * @interface DmsAudit */ export interface DmsAudit { /** * * @type {string} * @memberof DmsAudit */ 'id': string; /** * * @type {string} * @memberof DmsAudit */ 'orgName': string; /** * * @type {string} * @memberof DmsAudit */ 'clusterId': string; /** * * @type {string} * @memberof DmsAudit */ 'clusterName': string; /** * * @type {string} * @memberof DmsAudit */ 'datasourceId'?: string; /** * Absent for migrated history with unknown actor. * @type {string} * @memberof DmsAudit */ 'userId'?: string; /** * * @type {string} * @memberof DmsAudit */ 'userName': string; /** * Database connection account captured at operation time. Empty for historical records or connections without a named account. * @type {string} * @memberof DmsAudit */ 'databaseUser'?: string; /** * * @type {string} * @memberof DmsAudit */ 'engine': string; /** * * @type {string} * @memberof DmsAudit */ 'database': string; /** * * @type {string} * @memberof DmsAudit */ 'operation': string; /** * * @type {string} * @memberof DmsAudit */ 'statement': string; /** * * @type {string} * @memberof DmsAudit */ 'clientIp'?: string; /** * Native database session ID; see individual statements when a batch uses multiple connections. * @type {string} * @memberof DmsAudit */ 'sessionId'?: string; /** * * @type {DmsAuditRisk} * @memberof DmsAudit */ 'risk'?: DmsAuditRisk; /** * * @type {Array} * @memberof DmsAudit */ 'tableNames'?: Array; /** * * @type {string} * @memberof DmsAudit */ 'errorMessage'?: string; /** * * @type {number} * @memberof DmsAudit */ 'rowsAffected'?: number; /** * * @type {Array} * @memberof DmsAudit */ 'statements'?: Array; /** * * @type {DmsAuditStatus} * @memberof DmsAudit */ 'status': DmsAuditStatus; /** * * @type {string} * @memberof DmsAudit */ 'createdAt': string; /** * * @type {string} * @memberof DmsAudit */ 'finishedAt'?: string; /** * * @type {number} * @memberof DmsAudit */ 'durationMs'?: number; }