/** * Admin API * The Admin API is used to manage the ApeCloud platform. * * 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 { DmsAuditRisk } from './dms-audit-risk'; import type { DmsAuditStatement } from './dms-audit-statement'; 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; } //# sourceMappingURL=dms-audit.d.ts.map