/** * 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. */ import type { InspectionCriticality } from './inspection-criticality'; import type { InspectionEvaluationMode } from './inspection-evaluation-mode'; import type { InspectionScriptCategory } from './inspection-script-category'; import type { InspectionThresholdDirection } from './inspection-threshold-direction'; import type { LocalizedDescription } from './localized-description'; /** * * @export * @interface InspectionScript */ export interface InspectionScript { /** * * @type {string} * @memberof InspectionScript */ 'id'?: string; /** * * @type {string} * @memberof InspectionScript */ 'name': string; /** * * @type {LocalizedDescription} * @memberof InspectionScript */ 'displayName'?: LocalizedDescription; /** * The engine type this script is applicable to, such as cluster, mysql, node * @type {string} * @memberof InspectionScript */ 'engine': string; /** * The type of the script, such as \"promQL\" or \"manual\" (requires evaluationMode=manual) * @type {string} * @memberof InspectionScript */ 'type': string; /** * * @type {InspectionScriptCategory} * @memberof InspectionScript */ 'category': InspectionScriptCategory; /** * * @type {LocalizedDescription} * @memberof InspectionScript */ 'description'?: LocalizedDescription; /** * Collector expression for automatic modes; complete user instructions (up to 8192 UTF-8 bytes) for manual mode. Manual placeholders are not rendered. * @type {string} * @memberof InspectionScript */ 'scriptExpr': string; /** * * @type {InspectionEvaluationMode} * @memberof InspectionScript */ 'evaluationMode'?: InspectionEvaluationMode; /** * * @type {string} * @memberof InspectionScript */ 'checkExpr'?: string; /** * * @type {InspectionCriticality} * @memberof InspectionScript */ 'criticality'?: InspectionCriticality; /** * First-version warning threshold assumption. It documents the script contract and is not a permanent product conclusion. * @type {number} * @memberof InspectionScript */ 'warnThreshold'?: number | null; /** * First-version critical threshold assumption. It documents the script contract and is not a permanent product conclusion. * @type {number} * @memberof InspectionScript */ 'critThreshold'?: number | null; /** * * @type {InspectionThresholdDirection} * @memberof InspectionScript */ 'direction'?: InspectionThresholdDirection; /** * * @type {LocalizedDescription} * @memberof InspectionScript */ 'remediation'?: LocalizedDescription; /** * * @type {string} * @memberof InspectionScript */ 'docLink'?: string; /** * scope type, such as \"system\"/\"global\"/\"org\" * @type {string} * @memberof InspectionScript */ 'scopeType': string; /** * The identifier of the scope, such as org_id * @type {string} * @memberof InspectionScript */ 'scopeID'?: string; /** * The identifier of the scope, such as org_name * @type {string} * @memberof InspectionScript */ 'scopeName'?: string; /** * * @type {boolean} * @memberof InspectionScript */ 'enabled': boolean; /** * * @type {string} * @memberof InspectionScript */ 'unit'?: string; /** * Timestamp of creation time * @type {number} * @memberof InspectionScript */ 'createdAt'?: number; /** * Timestamp of update time * @type {number} * @memberof InspectionScript */ 'updatedAt'?: number; } //# sourceMappingURL=inspection-script.d.ts.map