kb-cloud-client-typescript 2.2.30 → 2.3.0-alpha.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/aiagent-api.d.ts +1143 -0
- package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -0
- package/dist/adminapi/apis/aiagent-api.js +1214 -0
- package/dist/adminapi/apis/aiagent-api.js.map +1 -0
- package/dist/adminapi/apis/cluster-api.d.ts +163 -2
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +170 -5
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.d.ts +1242 -131
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +882 -15
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/dms-api.d.ts +2868 -458
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +2673 -321
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/engine-api.d.ts +399 -0
- package/dist/adminapi/apis/engine-api.d.ts.map +1 -1
- package/dist/adminapi/apis/engine-api.js +442 -0
- package/dist/adminapi/apis/engine-api.js.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.d.ts +80 -0
- package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.js +83 -0
- package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +1664 -282
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1197 -64
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-conversation-list.d.ts +26 -0
- package/dist/adminapi/models/ai-agent-conversation-list.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-conversation-list.js +16 -0
- package/dist/adminapi/models/ai-agent-conversation-list.js.map +1 -0
- package/dist/adminapi/models/ai-agent-conversation-status.d.ts +25 -0
- package/dist/adminapi/models/ai-agent-conversation-status.d.ts.map +1 -0
- package/dist/adminapi/models/{inspection-supported-engines.js → ai-agent-conversation-status.js} +9 -13
- package/dist/adminapi/models/ai-agent-conversation-status.js.map +1 -0
- package/dist/adminapi/models/ai-agent-conversation.d.ts +76 -0
- package/dist/adminapi/models/ai-agent-conversation.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-conversation.js +16 -0
- package/dist/adminapi/models/ai-agent-conversation.js.map +1 -0
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts +37 -0
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-create-conversation-request.js +16 -0
- package/dist/adminapi/models/ai-agent-create-conversation-request.js.map +1 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.js +16 -0
- package/dist/adminapi/models/ai-agent-delete-conversation-response.js.map +1 -0
- package/dist/adminapi/models/ai-agent-event-type.d.ts +35 -0
- package/dist/adminapi/models/ai-agent-event-type.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-event-type.js +39 -0
- package/dist/adminapi/models/ai-agent-event-type.js.map +1 -0
- package/dist/adminapi/models/ai-agent-event.d.ts +70 -0
- package/dist/adminapi/models/ai-agent-event.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-event.js +16 -0
- package/dist/adminapi/models/ai-agent-event.js.map +1 -0
- package/dist/adminapi/models/ai-agent-message-list.d.ts +26 -0
- package/dist/adminapi/models/ai-agent-message-list.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-message-list.js +16 -0
- package/dist/adminapi/models/ai-agent-message-list.js.map +1 -0
- package/dist/adminapi/models/ai-agent-message-part-type.d.ts +24 -0
- package/dist/adminapi/models/ai-agent-message-part-type.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-message-part-type.js +28 -0
- package/dist/adminapi/models/ai-agent-message-part-type.js.map +1 -0
- package/dist/adminapi/models/ai-agent-message-part.d.ts +46 -0
- package/dist/adminapi/models/ai-agent-message-part.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-message-part.js +16 -0
- package/dist/adminapi/models/ai-agent-message-part.js.map +1 -0
- package/dist/adminapi/models/ai-agent-message-role.d.ts +23 -0
- package/dist/adminapi/models/ai-agent-message-role.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-message-role.js +27 -0
- package/dist/adminapi/models/ai-agent-message-role.js.map +1 -0
- package/dist/adminapi/models/ai-agent-message.d.ts +64 -0
- package/dist/adminapi/models/ai-agent-message.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-message.js +16 -0
- package/dist/adminapi/models/ai-agent-message.js.map +1 -0
- package/dist/adminapi/models/ai-agent-object-ref.d.ts +31 -0
- package/dist/adminapi/models/ai-agent-object-ref.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-object-ref.js +16 -0
- package/dist/adminapi/models/ai-agent-object-ref.js.map +1 -0
- package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts +25 -0
- package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-runtime-status-code.js +29 -0
- package/dist/adminapi/models/ai-agent-runtime-status-code.js.map +1 -0
- package/dist/adminapi/models/ai-agent-runtime-status.d.ts +45 -0
- package/dist/adminapi/models/ai-agent-runtime-status.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-runtime-status.js +16 -0
- package/dist/adminapi/models/ai-agent-runtime-status.js.map +1 -0
- package/dist/adminapi/models/ai-agent-scope.d.ts +44 -0
- package/dist/adminapi/models/ai-agent-scope.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-scope.js +16 -0
- package/dist/adminapi/models/ai-agent-scope.js.map +1 -0
- package/dist/adminapi/models/ai-agent-send-message-request.d.ts +32 -0
- package/dist/adminapi/models/ai-agent-send-message-request.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-send-message-request.js +16 -0
- package/dist/adminapi/models/ai-agent-send-message-request.js.map +1 -0
- package/dist/adminapi/models/ai-agent-send-message-response.d.ts +44 -0
- package/dist/adminapi/models/ai-agent-send-message-response.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-send-message-response.js +16 -0
- package/dist/adminapi/models/ai-agent-send-message-response.js.map +1 -0
- package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
- package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-stop-conversation-response.js +16 -0
- package/dist/adminapi/models/ai-agent-stop-conversation-response.js.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-status.js +28 -0
- package/dist/adminapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +26 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.js +16 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.js.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action.d.ts +106 -0
- package/dist/adminapi/models/ai-agent-turn-action.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-action.js +16 -0
- package/dist/adminapi/models/ai-agent-turn-action.js.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-status.d.ts +25 -0
- package/dist/adminapi/models/ai-agent-turn-status.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-turn-status.js +29 -0
- package/dist/adminapi/models/ai-agent-turn-status.js.map +1 -0
- package/dist/adminapi/models/bench-option.d.ts +6 -0
- package/dist/adminapi/models/bench-option.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-execution-log-item.d.ts +7 -0
- package/dist/adminapi/models/cluster-execution-log-item.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-log-hits-item.d.ts +6 -0
- package/dist/adminapi/models/cluster-log-hits-item.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
- package/dist/adminapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-database-distribution.js +16 -0
- package/dist/adminapi/models/cluster-slow-log-database-distribution.js.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-detail.d.ts +55 -0
- package/dist/adminapi/models/cluster-slow-log-detail.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-detail.js +16 -0
- package/dist/adminapi/models/cluster-slow-log-detail.js.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-explain-response.d.ts +75 -0
- package/dist/adminapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-explain-response.js +16 -0
- package/dist/adminapi/models/cluster-slow-log-explain-response.js.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-stats.d.ts +7 -0
- package/dist/adminapi/models/cluster-slow-log-stats.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-slow-log-template-list.d.ts +26 -0
- package/dist/adminapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-template-list.js +16 -0
- package/dist/adminapi/models/cluster-slow-log-template-list.js.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-template.d.ts +133 -0
- package/dist/adminapi/models/cluster-slow-log-template.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-slow-log-template.js +16 -0
- package/dist/adminapi/models/cluster-slow-log-template.js.map +1 -0
- package/dist/adminapi/models/database-option.d.ts +6 -0
- package/dist/adminapi/models/database-option.d.ts.map +1 -1
- package/dist/adminapi/models/database-parameter-item.d.ts +6 -0
- package/dist/adminapi/models/database-parameter-item.d.ts.map +1 -1
- package/dist/adminapi/models/database-parameter-list-item.d.ts +6 -0
- package/dist/adminapi/models/database-parameter-list-item.d.ts.map +1 -1
- package/dist/adminapi/models/dms-option.d.ts +0 -6
- package/dist/adminapi/models/dms-option.d.ts.map +1 -1
- package/dist/adminapi/models/dms-query-history.d.ts +10 -4
- package/dist/adminapi/models/dms-query-history.d.ts.map +1 -1
- package/dist/adminapi/models/engine-network-mode-options-inner.d.ts +38 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.d.ts.map +1 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.js +16 -0
- package/dist/adminapi/models/engine-network-mode-options-inner.js.map +1 -0
- package/dist/adminapi/models/engine-network-mode-supported.d.ts +34 -0
- package/dist/adminapi/models/engine-network-mode-supported.d.ts.map +1 -0
- package/dist/adminapi/models/engine-network-mode-supported.js +16 -0
- package/dist/adminapi/models/engine-network-mode-supported.js.map +1 -0
- package/dist/adminapi/models/engine-option.d.ts +7 -0
- package/dist/adminapi/models/engine-option.d.ts.map +1 -1
- package/dist/adminapi/models/environment-engine-option-create.d.ts +37 -0
- package/dist/adminapi/models/environment-engine-option-create.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option-create.js +16 -0
- package/dist/adminapi/models/environment-engine-option-create.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option-update.d.ts +25 -0
- package/dist/adminapi/models/environment-engine-option-update.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option-update.js +16 -0
- package/dist/adminapi/models/environment-engine-option-update.js.map +1 -0
- package/dist/adminapi/models/environment-engine-option.d.ts +67 -0
- package/dist/adminapi/models/environment-engine-option.d.ts.map +1 -0
- package/dist/adminapi/models/environment-engine-option.js +16 -0
- package/dist/adminapi/models/environment-engine-option.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +77 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +77 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +2 -3
- package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
- package/dist/adminapi/models/instance-resource-stats.d.ts +6 -0
- package/dist/adminapi/models/instance-resource-stats.d.ts.map +1 -1
- package/dist/adminapi/models/llm.d.ts +1 -1
- package/dist/adminapi/models/log-option.d.ts +6 -0
- package/dist/adminapi/models/log-option.d.ts.map +1 -1
- package/dist/adminapi/models/mongo-aggregate-request.d.ts +37 -0
- package/dist/adminapi/models/mongo-aggregate-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-aggregate-request.js +16 -0
- package/dist/adminapi/models/mongo-aggregate-request.js.map +1 -0
- package/dist/adminapi/models/mongo-collection-capabilities.d.ts +49 -0
- package/dist/adminapi/models/mongo-collection-capabilities.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-collection-capabilities.js +16 -0
- package/dist/adminapi/models/mongo-collection-capabilities.js.map +1 -0
- package/dist/adminapi/models/mongo-collection-info.d.ts +50 -0
- package/dist/adminapi/models/mongo-collection-info.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-collection-info.js +16 -0
- package/dist/adminapi/models/mongo-collection-info.js.map +1 -0
- package/dist/adminapi/models/mongo-collection-stats.d.ts +62 -0
- package/dist/adminapi/models/mongo-collection-stats.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-collection-stats.js +16 -0
- package/dist/adminapi/models/mongo-collection-stats.js.map +1 -0
- package/dist/adminapi/models/mongo-create-collection-options.d.ts +61 -0
- package/dist/adminapi/models/mongo-create-collection-options.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-create-collection-options.js +16 -0
- package/dist/adminapi/models/mongo-create-collection-options.js.map +1 -0
- package/dist/adminapi/models/mongo-create-collection-request.d.ts +26 -0
- package/dist/adminapi/models/mongo-create-collection-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-create-collection-request.js +16 -0
- package/dist/adminapi/models/mongo-create-collection-request.js.map +1 -0
- package/dist/adminapi/models/mongo-create-index-request.d.ts +32 -0
- package/dist/adminapi/models/mongo-create-index-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-create-index-request.js +16 -0
- package/dist/adminapi/models/mongo-create-index-request.js.map +1 -0
- package/dist/adminapi/models/mongo-create-view-request.d.ts +43 -0
- package/dist/adminapi/models/mongo-create-view-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-create-view-request.js +16 -0
- package/dist/adminapi/models/mongo-create-view-request.js.map +1 -0
- package/dist/adminapi/models/mongo-database-info.d.ts +49 -0
- package/dist/adminapi/models/mongo-database-info.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-database-info.js +16 -0
- package/dist/adminapi/models/mongo-database-info.js.map +1 -0
- package/dist/adminapi/models/mongo-delete-request.d.ts +31 -0
- package/dist/adminapi/models/mongo-delete-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-delete-request.js +16 -0
- package/dist/adminapi/models/mongo-delete-request.js.map +1 -0
- package/dist/adminapi/models/mongo-explain-request.d.ts +67 -0
- package/dist/adminapi/models/mongo-explain-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-explain-request.js +16 -0
- package/dist/adminapi/models/mongo-explain-request.js.map +1 -0
- package/dist/adminapi/models/mongo-explain-response.d.ts +31 -0
- package/dist/adminapi/models/mongo-explain-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-explain-response.js +16 -0
- package/dist/adminapi/models/mongo-explain-response.js.map +1 -0
- package/dist/adminapi/models/mongo-find-request.d.ts +61 -0
- package/dist/adminapi/models/mongo-find-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-find-request.js +16 -0
- package/dist/adminapi/models/mongo-find-request.js.map +1 -0
- package/dist/adminapi/models/mongo-find-response.d.ts +43 -0
- package/dist/adminapi/models/mongo-find-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-find-response.js +16 -0
- package/dist/adminapi/models/mongo-find-response.js.map +1 -0
- package/dist/adminapi/models/mongo-index-info.d.ts +67 -0
- package/dist/adminapi/models/mongo-index-info.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-index-info.js +16 -0
- package/dist/adminapi/models/mongo-index-info.js.map +1 -0
- package/dist/adminapi/models/mongo-index-options.d.ts +37 -0
- package/dist/adminapi/models/mongo-index-options.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-index-options.js +16 -0
- package/dist/adminapi/models/mongo-index-options.js.map +1 -0
- package/dist/adminapi/models/mongo-insert-request.d.ts +31 -0
- package/dist/adminapi/models/mongo-insert-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-insert-request.js +16 -0
- package/dist/adminapi/models/mongo-insert-request.js.map +1 -0
- package/dist/adminapi/models/mongo-replace-request.d.ts +37 -0
- package/dist/adminapi/models/mongo-replace-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-replace-request.js +16 -0
- package/dist/adminapi/models/mongo-replace-request.js.map +1 -0
- package/dist/adminapi/models/mongo-schema-analysis.d.ts +38 -0
- package/dist/adminapi/models/mongo-schema-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-schema-analysis.js +16 -0
- package/dist/adminapi/models/mongo-schema-analysis.js.map +1 -0
- package/dist/adminapi/models/mongo-schema-field.d.ts +37 -0
- package/dist/adminapi/models/mongo-schema-field.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-schema-field.js +16 -0
- package/dist/adminapi/models/mongo-schema-field.js.map +1 -0
- package/dist/adminapi/models/mongo-set-validation-request.d.ts +37 -0
- package/dist/adminapi/models/mongo-set-validation-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-set-validation-request.js +16 -0
- package/dist/adminapi/models/mongo-set-validation-request.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-completion-item.d.ts +25 -0
- package/dist/adminapi/models/mongo-shell-completion-item.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-completion-item.js +16 -0
- package/dist/adminapi/models/mongo-shell-completion-item.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-completions-request.d.ts +25 -0
- package/dist/adminapi/models/mongo-shell-completions-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-completions-request.js +16 -0
- package/dist/adminapi/models/mongo-shell-completions-request.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-completions-response.d.ts +26 -0
- package/dist/adminapi/models/mongo-shell-completions-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-completions-response.js +16 -0
- package/dist/adminapi/models/mongo-shell-completions-response.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-create-session-request.d.ts +25 -0
- package/dist/adminapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-create-session-request.js +16 -0
- package/dist/adminapi/models/mongo-shell-create-session-request.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-evaluate-request.d.ts +37 -0
- package/dist/adminapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-evaluate-request.js +16 -0
- package/dist/adminapi/models/mongo-shell-evaluate-request.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-evaluate-response.d.ts +44 -0
- package/dist/adminapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-evaluate-response.js +16 -0
- package/dist/adminapi/models/mongo-shell-evaluate-response.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-interrupt-response.d.ts +25 -0
- package/dist/adminapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-interrupt-response.js +16 -0
- package/dist/adminapi/models/mongo-shell-interrupt-response.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-prompt-response.d.ts +25 -0
- package/dist/adminapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-prompt-response.js +16 -0
- package/dist/adminapi/models/mongo-shell-prompt-response.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-result.d.ts +37 -0
- package/dist/adminapi/models/mongo-shell-result.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-result.js +16 -0
- package/dist/adminapi/models/mongo-shell-result.js.map +1 -0
- package/dist/adminapi/models/mongo-shell-session.d.ts +49 -0
- package/dist/adminapi/models/mongo-shell-session.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-shell-session.js +16 -0
- package/dist/adminapi/models/mongo-shell-session.js.map +1 -0
- package/dist/adminapi/models/mongo-update-request.d.ts +43 -0
- package/dist/adminapi/models/mongo-update-request.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-update-request.js +16 -0
- package/dist/adminapi/models/mongo-update-request.js.map +1 -0
- package/dist/adminapi/models/mongo-validation-info.d.ts +37 -0
- package/dist/adminapi/models/mongo-validation-info.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-validation-info.js +16 -0
- package/dist/adminapi/models/mongo-validation-info.js.map +1 -0
- package/dist/adminapi/models/mongo-write-response.d.ts +31 -0
- package/dist/adminapi/models/mongo-write-response.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-write-response.js +16 -0
- package/dist/adminapi/models/mongo-write-response.js.map +1 -0
- package/dist/adminapi/models/mongo-write-result.d.ts +55 -0
- package/dist/adminapi/models/mongo-write-result.d.ts.map +1 -0
- package/dist/adminapi/models/mongo-write-result.js +16 -0
- package/dist/adminapi/models/mongo-write-result.js.map +1 -0
- package/dist/adminapi/models/parameter-template-diff-item.d.ts +43 -0
- package/dist/adminapi/models/parameter-template-diff-item.d.ts.map +1 -0
- package/dist/adminapi/models/parameter-template-diff-item.js +16 -0
- package/dist/adminapi/models/parameter-template-diff-item.js.map +1 -0
- package/dist/adminapi/models/parameter-template-diff.d.ts +26 -0
- package/dist/adminapi/models/parameter-template-diff.d.ts.map +1 -0
- package/dist/adminapi/models/parameter-template-diff.js +16 -0
- package/dist/adminapi/models/parameter-template-diff.js.map +1 -0
- package/dist/adminapi/models/tde-option.d.ts +32 -0
- package/dist/adminapi/models/tde-option.d.ts.map +1 -0
- package/dist/adminapi/models/tde-option.js +16 -0
- package/dist/adminapi/models/tde-option.js.map +1 -0
- package/dist/adminapi/models/tde-parameter-option.d.ts +49 -0
- package/dist/adminapi/models/tde-parameter-option.d.ts.map +1 -0
- package/dist/adminapi/models/tde-parameter-option.js +16 -0
- package/dist/adminapi/models/tde-parameter-option.js.map +1 -0
- package/dist/adminapi/models/tde-request.d.ts +31 -0
- package/dist/adminapi/models/tde-request.d.ts.map +1 -0
- package/dist/adminapi/models/tde-request.js +16 -0
- package/dist/adminapi/models/tde-request.js.map +1 -0
- package/dist/adminapi/models/tde-response.d.ts +31 -0
- package/dist/adminapi/models/tde-response.d.ts.map +1 -0
- package/dist/adminapi/models/tde-response.js +16 -0
- package/dist/adminapi/models/tde-response.js.map +1 -0
- package/dist/adminapi/models/tde-status.d.ts +33 -0
- package/dist/adminapi/models/tde-status.d.ts.map +1 -0
- package/dist/adminapi/models/tde-status.js +16 -0
- package/dist/adminapi/models/tde-status.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +1143 -0
- package/dist/openapi/apis/aiagent-api.d.ts.map +1 -0
- package/dist/openapi/apis/aiagent-api.js +1214 -0
- package/dist/openapi/apis/aiagent-api.js.map +1 -0
- package/dist/openapi/apis/benchmark-api.d.ts +64 -0
- package/dist/openapi/apis/benchmark-api.d.ts.map +1 -1
- package/dist/openapi/apis/benchmark-api.js +72 -0
- package/dist/openapi/apis/benchmark-api.js.map +1 -1
- package/dist/openapi/apis/cluster-api.d.ts +163 -2
- package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.js +170 -5
- package/dist/openapi/apis/cluster-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +1146 -35
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +882 -15
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/data-replication-api.d.ts +440 -0
- package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
- package/dist/openapi/apis/data-replication-api.js +464 -0
- package/dist/openapi/apis/data-replication-api.js.map +1 -1
- package/dist/openapi/apis/dms-api.d.ts +2868 -458
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +2673 -321
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/engine-api.d.ts +72 -0
- package/dist/openapi/apis/engine-api.d.ts.map +1 -1
- package/dist/openapi/apis/engine-api.js +80 -0
- package/dist/openapi/apis/engine-api.js.map +1 -1
- package/dist/openapi/apis/parameter-template-api.d.ts +80 -0
- package/dist/openapi/apis/parameter-template-api.d.ts.map +1 -1
- package/dist/openapi/apis/parameter-template-api.js +81 -0
- package/dist/openapi/apis/parameter-template-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +1570 -188
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1195 -62
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-conversation-list.d.ts +26 -0
- package/dist/openapi/models/ai-agent-conversation-list.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-conversation-list.js +16 -0
- package/dist/openapi/models/ai-agent-conversation-list.js.map +1 -0
- package/dist/openapi/models/ai-agent-conversation-status.d.ts +25 -0
- package/dist/openapi/models/ai-agent-conversation-status.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-conversation-status.js +29 -0
- package/dist/openapi/models/ai-agent-conversation-status.js.map +1 -0
- package/dist/openapi/models/ai-agent-conversation.d.ts +76 -0
- package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-conversation.js +16 -0
- package/dist/openapi/models/ai-agent-conversation.js.map +1 -0
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +37 -0
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-create-conversation-request.js +16 -0
- package/dist/openapi/models/ai-agent-create-conversation-request.js.map +1 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.js +16 -0
- package/dist/openapi/models/ai-agent-delete-conversation-response.js.map +1 -0
- package/dist/openapi/models/ai-agent-event-type.d.ts +35 -0
- package/dist/openapi/models/ai-agent-event-type.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-event-type.js +39 -0
- package/dist/openapi/models/ai-agent-event-type.js.map +1 -0
- package/dist/openapi/models/ai-agent-event.d.ts +70 -0
- package/dist/openapi/models/ai-agent-event.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-event.js +16 -0
- package/dist/openapi/models/ai-agent-event.js.map +1 -0
- package/dist/openapi/models/ai-agent-message-list.d.ts +26 -0
- package/dist/openapi/models/ai-agent-message-list.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-message-list.js +16 -0
- package/dist/openapi/models/ai-agent-message-list.js.map +1 -0
- package/dist/openapi/models/ai-agent-message-part-type.d.ts +24 -0
- package/dist/openapi/models/ai-agent-message-part-type.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-message-part-type.js +28 -0
- package/dist/openapi/models/ai-agent-message-part-type.js.map +1 -0
- package/dist/openapi/models/ai-agent-message-part.d.ts +46 -0
- package/dist/openapi/models/ai-agent-message-part.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-message-part.js +16 -0
- package/dist/openapi/models/ai-agent-message-part.js.map +1 -0
- package/dist/openapi/models/{pgbench-step.d.ts → ai-agent-message-role.d.ts} +7 -8
- package/dist/openapi/models/ai-agent-message-role.d.ts.map +1 -0
- package/dist/openapi/models/{pgbench-step.js → ai-agent-message-role.js} +7 -8
- package/dist/openapi/models/ai-agent-message-role.js.map +1 -0
- package/dist/openapi/models/ai-agent-message.d.ts +64 -0
- package/dist/openapi/models/ai-agent-message.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-message.js +16 -0
- package/dist/openapi/models/ai-agent-message.js.map +1 -0
- package/dist/openapi/models/ai-agent-object-ref.d.ts +31 -0
- package/dist/openapi/models/ai-agent-object-ref.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-object-ref.js +16 -0
- package/dist/openapi/models/ai-agent-object-ref.js.map +1 -0
- package/dist/openapi/models/ai-agent-runtime-status-code.d.ts +25 -0
- package/dist/openapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-runtime-status-code.js +29 -0
- package/dist/openapi/models/ai-agent-runtime-status-code.js.map +1 -0
- package/dist/openapi/models/ai-agent-runtime-status.d.ts +45 -0
- package/dist/openapi/models/ai-agent-runtime-status.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-runtime-status.js +16 -0
- package/dist/openapi/models/ai-agent-runtime-status.js.map +1 -0
- package/dist/openapi/models/ai-agent-scope.d.ts +44 -0
- package/dist/openapi/models/ai-agent-scope.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-scope.js +16 -0
- package/dist/openapi/models/ai-agent-scope.js.map +1 -0
- package/dist/openapi/models/ai-agent-send-message-request.d.ts +32 -0
- package/dist/openapi/models/ai-agent-send-message-request.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-send-message-request.js +16 -0
- package/dist/openapi/models/ai-agent-send-message-request.js.map +1 -0
- package/dist/openapi/models/ai-agent-send-message-response.d.ts +44 -0
- package/dist/openapi/models/ai-agent-send-message-response.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-send-message-response.js +16 -0
- package/dist/openapi/models/ai-agent-send-message-response.js.map +1 -0
- package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
- package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-stop-conversation-response.js +16 -0
- package/dist/openapi/models/ai-agent-stop-conversation-response.js.map +1 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-status.js +28 -0
- package/dist/openapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts +26 -0
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action-list.js +16 -0
- package/dist/openapi/models/ai-agent-turn-action-list.js.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action.d.ts +106 -0
- package/dist/openapi/models/ai-agent-turn-action.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-turn-action.js +16 -0
- package/dist/openapi/models/ai-agent-turn-action.js.map +1 -0
- package/dist/openapi/models/ai-agent-turn-status.d.ts +25 -0
- package/dist/openapi/models/ai-agent-turn-status.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-turn-status.js +29 -0
- package/dist/openapi/models/ai-agent-turn-status.js.map +1 -0
- package/dist/openapi/models/bench-option.d.ts +6 -0
- package/dist/openapi/models/bench-option.d.ts.map +1 -1
- package/dist/openapi/models/{ycsb-step.d.ts → benchmark-step.d.ts} +3 -3
- package/dist/openapi/models/benchmark-step.d.ts.map +1 -0
- package/dist/openapi/models/{ycsb-step.js → benchmark-step.js} +3 -3
- package/dist/openapi/models/benchmark-step.js.map +1 -0
- package/dist/openapi/models/benchmark-type.d.ts +1 -0
- package/dist/openapi/models/benchmark-type.d.ts.map +1 -1
- package/dist/openapi/models/benchmark-type.js +2 -1
- package/dist/openapi/models/benchmark-type.js.map +1 -1
- package/dist/openapi/models/cluster-execution-log-item.d.ts +7 -0
- package/dist/openapi/models/cluster-execution-log-item.d.ts.map +1 -1
- package/dist/openapi/models/cluster-log-hits-item.d.ts +6 -0
- package/dist/openapi/models/cluster-log-hits-item.d.ts.map +1 -1
- package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
- package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
- package/dist/openapi/models/cluster-slow-log-database-distribution.js +16 -0
- package/dist/openapi/models/cluster-slow-log-database-distribution.js.map +1 -0
- package/dist/openapi/models/cluster-slow-log-detail.d.ts +55 -0
- package/dist/openapi/models/cluster-slow-log-detail.d.ts.map +1 -0
- package/dist/openapi/models/cluster-slow-log-detail.js +16 -0
- package/dist/openapi/models/cluster-slow-log-detail.js.map +1 -0
- package/dist/openapi/models/cluster-slow-log-explain-response.d.ts +75 -0
- package/dist/openapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
- package/dist/openapi/models/cluster-slow-log-explain-response.js +16 -0
- package/dist/openapi/models/cluster-slow-log-explain-response.js.map +1 -0
- package/dist/openapi/models/cluster-slow-log-stats.d.ts +7 -0
- package/dist/openapi/models/cluster-slow-log-stats.d.ts.map +1 -1
- package/dist/openapi/models/cluster-slow-log-template-list.d.ts +26 -0
- package/dist/openapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
- package/dist/openapi/models/cluster-slow-log-template-list.js +16 -0
- package/dist/openapi/models/cluster-slow-log-template-list.js.map +1 -0
- package/dist/openapi/models/cluster-slow-log-template.d.ts +133 -0
- package/dist/openapi/models/cluster-slow-log-template.d.ts.map +1 -0
- package/dist/openapi/models/cluster-slow-log-template.js +16 -0
- package/dist/openapi/models/cluster-slow-log-template.js.map +1 -0
- package/dist/openapi/models/data-check-create.d.ts +64 -0
- package/dist/openapi/models/data-check-create.d.ts.map +1 -0
- package/dist/openapi/models/data-check-create.js +16 -0
- package/dist/openapi/models/data-check-create.js.map +1 -0
- package/dist/openapi/models/data-check-detail-item.d.ts +94 -0
- package/dist/openapi/models/data-check-detail-item.d.ts.map +1 -0
- package/dist/openapi/models/data-check-detail-item.js +16 -0
- package/dist/openapi/models/data-check-detail-item.js.map +1 -0
- package/dist/openapi/models/{tpcc-step.d.ts → data-check-detail-type.d.ts} +6 -8
- package/dist/openapi/models/data-check-detail-type.d.ts.map +1 -0
- package/dist/openapi/models/{tpcc-step.js → data-check-detail-type.js} +6 -8
- package/dist/openapi/models/data-check-detail-type.js.map +1 -0
- package/dist/openapi/models/data-check-details.d.ts +33 -0
- package/dist/openapi/models/data-check-details.d.ts.map +1 -0
- package/dist/openapi/models/data-check-details.js +16 -0
- package/dist/openapi/models/data-check-details.js.map +1 -0
- package/dist/openapi/models/data-check-diff-value.d.ts +43 -0
- package/dist/openapi/models/data-check-diff-value.d.ts.map +1 -0
- package/dist/openapi/models/data-check-diff-value.js +16 -0
- package/dist/openapi/models/data-check-diff-value.js.map +1 -0
- package/dist/openapi/models/data-check-item.d.ts +101 -0
- package/dist/openapi/models/data-check-item.d.ts.map +1 -0
- package/dist/openapi/models/data-check-item.js +16 -0
- package/dist/openapi/models/data-check-item.js.map +1 -0
- package/dist/openapi/models/data-check-list-item.d.ts +101 -0
- package/dist/openapi/models/data-check-list-item.d.ts.map +1 -0
- package/dist/openapi/models/data-check-list-item.js +16 -0
- package/dist/openapi/models/data-check-list-item.js.map +1 -0
- package/dist/openapi/models/data-check-list-summary.d.ts +49 -0
- package/dist/openapi/models/data-check-list-summary.d.ts.map +1 -0
- package/dist/openapi/models/data-check-list-summary.js +16 -0
- package/dist/openapi/models/data-check-list-summary.js.map +1 -0
- package/dist/openapi/models/data-check-response.d.ts +37 -0
- package/dist/openapi/models/data-check-response.d.ts.map +1 -0
- package/dist/openapi/models/data-check-response.js +16 -0
- package/dist/openapi/models/data-check-response.js.map +1 -0
- package/dist/openapi/models/data-check-status.d.ts +23 -0
- package/dist/openapi/models/data-check-status.d.ts.map +1 -0
- package/dist/openapi/models/{sysbench-step.js → data-check-status.js} +7 -8
- package/dist/openapi/models/data-check-status.js.map +1 -0
- package/dist/openapi/models/data-check-summary.d.ts +56 -0
- package/dist/openapi/models/data-check-summary.d.ts.map +1 -0
- package/dist/openapi/models/data-check-summary.js +16 -0
- package/dist/openapi/models/data-check-summary.js.map +1 -0
- package/dist/openapi/models/data-check-table-summary.d.ts +67 -0
- package/dist/openapi/models/data-check-table-summary.d.ts.map +1 -0
- package/dist/openapi/models/data-check-table-summary.js +16 -0
- package/dist/openapi/models/data-check-table-summary.js.map +1 -0
- package/dist/openapi/models/data-check-type.d.ts +22 -0
- package/dist/openapi/models/data-check-type.d.ts.map +1 -0
- package/dist/openapi/models/data-check-type.js +26 -0
- package/dist/openapi/models/data-check-type.js.map +1 -0
- package/dist/openapi/models/database-option.d.ts +6 -0
- package/dist/openapi/models/database-option.d.ts.map +1 -1
- package/dist/openapi/models/dms-option.d.ts +0 -6
- package/dist/openapi/models/dms-option.d.ts.map +1 -1
- package/dist/openapi/models/dms-query-history.d.ts +10 -4
- package/dist/openapi/models/dms-query-history.d.ts.map +1 -1
- package/dist/openapi/models/engine-network-mode-supported.d.ts +34 -0
- package/dist/openapi/models/engine-network-mode-supported.d.ts.map +1 -0
- package/dist/openapi/models/engine-network-mode-supported.js +16 -0
- package/dist/openapi/models/engine-network-mode-supported.js.map +1 -0
- package/dist/openapi/models/engine-option.d.ts +7 -0
- package/dist/openapi/models/engine-option.d.ts.map +1 -1
- package/dist/openapi/models/{inspection-supported-engines.d.ts → esrally-data-profile.d.ts} +15 -13
- package/dist/openapi/models/esrally-data-profile.d.ts.map +1 -0
- package/dist/openapi/models/{inspection-supported-engines.js → esrally-data-profile.js} +15 -13
- package/dist/openapi/models/esrally-data-profile.js.map +1 -0
- package/dist/openapi/models/esrally-on-error.d.ts +22 -0
- package/dist/openapi/models/esrally-on-error.d.ts.map +1 -0
- package/dist/openapi/models/esrally-on-error.js +26 -0
- package/dist/openapi/models/esrally-on-error.js.map +1 -0
- package/dist/openapi/models/esrally-telemetry.d.ts +31 -0
- package/dist/openapi/models/esrally-telemetry.d.ts.map +1 -0
- package/dist/openapi/models/esrally-telemetry.js +35 -0
- package/dist/openapi/models/esrally-telemetry.js.map +1 -0
- package/dist/openapi/models/{sysbench-step.d.ts → esrally-workload.d.ts} +7 -7
- package/dist/openapi/models/esrally-workload.d.ts.map +1 -0
- package/dist/openapi/models/esrally-workload.js +28 -0
- package/dist/openapi/models/esrally-workload.js.map +1 -0
- package/dist/openapi/models/esrally.d.ts +120 -0
- package/dist/openapi/models/esrally.d.ts.map +1 -0
- package/dist/openapi/models/esrally.js +16 -0
- package/dist/openapi/models/esrally.js.map +1 -0
- package/dist/openapi/models/index.d.ts +92 -5
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +92 -5
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task.d.ts +2 -3
- package/dist/openapi/models/inspection-task.d.ts.map +1 -1
- package/dist/openapi/models/llm.d.ts +1 -1
- package/dist/openapi/models/log-option.d.ts +6 -0
- package/dist/openapi/models/log-option.d.ts.map +1 -1
- package/dist/openapi/models/mongo-aggregate-request.d.ts +37 -0
- package/dist/openapi/models/mongo-aggregate-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-aggregate-request.js +16 -0
- package/dist/openapi/models/mongo-aggregate-request.js.map +1 -0
- package/dist/openapi/models/mongo-collection-capabilities.d.ts +49 -0
- package/dist/openapi/models/mongo-collection-capabilities.d.ts.map +1 -0
- package/dist/openapi/models/mongo-collection-capabilities.js +16 -0
- package/dist/openapi/models/mongo-collection-capabilities.js.map +1 -0
- package/dist/openapi/models/mongo-collection-info.d.ts +50 -0
- package/dist/openapi/models/mongo-collection-info.d.ts.map +1 -0
- package/dist/openapi/models/mongo-collection-info.js +16 -0
- package/dist/openapi/models/mongo-collection-info.js.map +1 -0
- package/dist/openapi/models/mongo-collection-stats.d.ts +62 -0
- package/dist/openapi/models/mongo-collection-stats.d.ts.map +1 -0
- package/dist/openapi/models/mongo-collection-stats.js +16 -0
- package/dist/openapi/models/mongo-collection-stats.js.map +1 -0
- package/dist/openapi/models/mongo-create-collection-options.d.ts +61 -0
- package/dist/openapi/models/mongo-create-collection-options.d.ts.map +1 -0
- package/dist/openapi/models/mongo-create-collection-options.js +16 -0
- package/dist/openapi/models/mongo-create-collection-options.js.map +1 -0
- package/dist/openapi/models/mongo-create-collection-request.d.ts +26 -0
- package/dist/openapi/models/mongo-create-collection-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-create-collection-request.js +16 -0
- package/dist/openapi/models/mongo-create-collection-request.js.map +1 -0
- package/dist/openapi/models/mongo-create-index-request.d.ts +32 -0
- package/dist/openapi/models/mongo-create-index-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-create-index-request.js +16 -0
- package/dist/openapi/models/mongo-create-index-request.js.map +1 -0
- package/dist/openapi/models/mongo-create-view-request.d.ts +43 -0
- package/dist/openapi/models/mongo-create-view-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-create-view-request.js +16 -0
- package/dist/openapi/models/mongo-create-view-request.js.map +1 -0
- package/dist/openapi/models/mongo-database-info.d.ts +49 -0
- package/dist/openapi/models/mongo-database-info.d.ts.map +1 -0
- package/dist/openapi/models/mongo-database-info.js +16 -0
- package/dist/openapi/models/mongo-database-info.js.map +1 -0
- package/dist/openapi/models/mongo-delete-request.d.ts +31 -0
- package/dist/openapi/models/mongo-delete-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-delete-request.js +16 -0
- package/dist/openapi/models/mongo-delete-request.js.map +1 -0
- package/dist/openapi/models/mongo-explain-request.d.ts +67 -0
- package/dist/openapi/models/mongo-explain-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-explain-request.js +16 -0
- package/dist/openapi/models/mongo-explain-request.js.map +1 -0
- package/dist/openapi/models/mongo-explain-response.d.ts +31 -0
- package/dist/openapi/models/mongo-explain-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-explain-response.js +16 -0
- package/dist/openapi/models/mongo-explain-response.js.map +1 -0
- package/dist/openapi/models/mongo-find-request.d.ts +61 -0
- package/dist/openapi/models/mongo-find-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-find-request.js +16 -0
- package/dist/openapi/models/mongo-find-request.js.map +1 -0
- package/dist/openapi/models/mongo-find-response.d.ts +43 -0
- package/dist/openapi/models/mongo-find-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-find-response.js +16 -0
- package/dist/openapi/models/mongo-find-response.js.map +1 -0
- package/dist/openapi/models/mongo-index-info.d.ts +67 -0
- package/dist/openapi/models/mongo-index-info.d.ts.map +1 -0
- package/dist/openapi/models/mongo-index-info.js +16 -0
- package/dist/openapi/models/mongo-index-info.js.map +1 -0
- package/dist/openapi/models/mongo-index-options.d.ts +37 -0
- package/dist/openapi/models/mongo-index-options.d.ts.map +1 -0
- package/dist/openapi/models/mongo-index-options.js +16 -0
- package/dist/openapi/models/mongo-index-options.js.map +1 -0
- package/dist/openapi/models/mongo-insert-request.d.ts +31 -0
- package/dist/openapi/models/mongo-insert-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-insert-request.js +16 -0
- package/dist/openapi/models/mongo-insert-request.js.map +1 -0
- package/dist/openapi/models/mongo-replace-request.d.ts +37 -0
- package/dist/openapi/models/mongo-replace-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-replace-request.js +16 -0
- package/dist/openapi/models/mongo-replace-request.js.map +1 -0
- package/dist/openapi/models/mongo-schema-analysis.d.ts +38 -0
- package/dist/openapi/models/mongo-schema-analysis.d.ts.map +1 -0
- package/dist/openapi/models/mongo-schema-analysis.js +16 -0
- package/dist/openapi/models/mongo-schema-analysis.js.map +1 -0
- package/dist/openapi/models/mongo-schema-field.d.ts +37 -0
- package/dist/openapi/models/mongo-schema-field.d.ts.map +1 -0
- package/dist/openapi/models/mongo-schema-field.js +16 -0
- package/dist/openapi/models/mongo-schema-field.js.map +1 -0
- package/dist/openapi/models/mongo-set-validation-request.d.ts +37 -0
- package/dist/openapi/models/mongo-set-validation-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-set-validation-request.js +16 -0
- package/dist/openapi/models/mongo-set-validation-request.js.map +1 -0
- package/dist/openapi/models/mongo-shell-completion-item.d.ts +25 -0
- package/dist/openapi/models/mongo-shell-completion-item.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-completion-item.js +16 -0
- package/dist/openapi/models/mongo-shell-completion-item.js.map +1 -0
- package/dist/openapi/models/mongo-shell-completions-request.d.ts +25 -0
- package/dist/openapi/models/mongo-shell-completions-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-completions-request.js +16 -0
- package/dist/openapi/models/mongo-shell-completions-request.js.map +1 -0
- package/dist/openapi/models/mongo-shell-completions-response.d.ts +26 -0
- package/dist/openapi/models/mongo-shell-completions-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-completions-response.js +16 -0
- package/dist/openapi/models/mongo-shell-completions-response.js.map +1 -0
- package/dist/openapi/models/mongo-shell-create-session-request.d.ts +25 -0
- package/dist/openapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-create-session-request.js +16 -0
- package/dist/openapi/models/mongo-shell-create-session-request.js.map +1 -0
- package/dist/openapi/models/mongo-shell-evaluate-request.d.ts +37 -0
- package/dist/openapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-evaluate-request.js +16 -0
- package/dist/openapi/models/mongo-shell-evaluate-request.js.map +1 -0
- package/dist/openapi/models/mongo-shell-evaluate-response.d.ts +44 -0
- package/dist/openapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-evaluate-response.js +16 -0
- package/dist/openapi/models/mongo-shell-evaluate-response.js.map +1 -0
- package/dist/openapi/models/mongo-shell-interrupt-response.d.ts +25 -0
- package/dist/openapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-interrupt-response.js +16 -0
- package/dist/openapi/models/mongo-shell-interrupt-response.js.map +1 -0
- package/dist/openapi/models/mongo-shell-prompt-response.d.ts +25 -0
- package/dist/openapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-prompt-response.js +16 -0
- package/dist/openapi/models/mongo-shell-prompt-response.js.map +1 -0
- package/dist/openapi/models/mongo-shell-result.d.ts +37 -0
- package/dist/openapi/models/mongo-shell-result.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-result.js +16 -0
- package/dist/openapi/models/mongo-shell-result.js.map +1 -0
- package/dist/openapi/models/mongo-shell-session.d.ts +49 -0
- package/dist/openapi/models/mongo-shell-session.d.ts.map +1 -0
- package/dist/openapi/models/mongo-shell-session.js +16 -0
- package/dist/openapi/models/mongo-shell-session.js.map +1 -0
- package/dist/openapi/models/mongo-update-request.d.ts +43 -0
- package/dist/openapi/models/mongo-update-request.d.ts.map +1 -0
- package/dist/openapi/models/mongo-update-request.js +16 -0
- package/dist/openapi/models/mongo-update-request.js.map +1 -0
- package/dist/openapi/models/mongo-validation-info.d.ts +37 -0
- package/dist/openapi/models/mongo-validation-info.d.ts.map +1 -0
- package/dist/openapi/models/mongo-validation-info.js +16 -0
- package/dist/openapi/models/mongo-validation-info.js.map +1 -0
- package/dist/openapi/models/mongo-write-response.d.ts +31 -0
- package/dist/openapi/models/mongo-write-response.d.ts.map +1 -0
- package/dist/openapi/models/mongo-write-response.js +16 -0
- package/dist/openapi/models/mongo-write-response.js.map +1 -0
- package/dist/openapi/models/mongo-write-result.d.ts +55 -0
- package/dist/openapi/models/mongo-write-result.d.ts.map +1 -0
- package/dist/openapi/models/mongo-write-result.js +16 -0
- package/dist/openapi/models/mongo-write-result.js.map +1 -0
- package/dist/openapi/models/parameter-template-diff-item.d.ts +43 -0
- package/dist/openapi/models/parameter-template-diff-item.d.ts.map +1 -0
- package/dist/openapi/models/parameter-template-diff-item.js +16 -0
- package/dist/openapi/models/parameter-template-diff-item.js.map +1 -0
- package/dist/openapi/models/parameter-template-diff.d.ts +26 -0
- package/dist/openapi/models/parameter-template-diff.d.ts.map +1 -0
- package/dist/openapi/models/parameter-template-diff.js +16 -0
- package/dist/openapi/models/parameter-template-diff.js.map +1 -0
- package/dist/openapi/models/pgbench.d.ts +3 -3
- package/dist/openapi/models/pgbench.d.ts.map +1 -1
- package/dist/openapi/models/sysbench.d.ts +3 -3
- package/dist/openapi/models/sysbench.d.ts.map +1 -1
- package/dist/openapi/models/tde-option.d.ts +32 -0
- package/dist/openapi/models/tde-option.d.ts.map +1 -0
- package/dist/openapi/models/tde-option.js +16 -0
- package/dist/openapi/models/tde-option.js.map +1 -0
- package/dist/openapi/models/tde-parameter-option.d.ts +49 -0
- package/dist/openapi/models/tde-parameter-option.d.ts.map +1 -0
- package/dist/openapi/models/tde-parameter-option.js +16 -0
- package/dist/openapi/models/tde-parameter-option.js.map +1 -0
- package/dist/openapi/models/tde-request.d.ts +31 -0
- package/dist/openapi/models/tde-request.d.ts.map +1 -0
- package/dist/openapi/models/tde-request.js +16 -0
- package/dist/openapi/models/tde-request.js.map +1 -0
- package/dist/openapi/models/tde-response.d.ts +31 -0
- package/dist/openapi/models/tde-response.d.ts.map +1 -0
- package/dist/openapi/models/tde-response.js +16 -0
- package/dist/openapi/models/tde-response.js.map +1 -0
- package/dist/openapi/models/tde-status.d.ts +33 -0
- package/dist/openapi/models/tde-status.d.ts.map +1 -0
- package/dist/openapi/models/tde-status.js +16 -0
- package/dist/openapi/models/tde-status.js.map +1 -0
- package/dist/openapi/models/tpcc.d.ts +3 -3
- package/dist/openapi/models/tpcc.d.ts.map +1 -1
- package/dist/openapi/models/ycsb.d.ts +3 -3
- package/dist/openapi/models/ycsb.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +78 -1
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/aiagent-api.ts +1935 -0
- package/src/adminapi/apis/cluster-api.ts +282 -5
- package/src/adminapi/apis/cluster-log-api.ts +2062 -213
- package/src/adminapi/apis/dms-api.ts +4961 -937
- package/src/adminapi/apis/engine-api.ts +694 -0
- package/src/adminapi/apis/parameter-template-api.ts +139 -0
- package/src/adminapi/apis/shared-api.ts +3597 -1288
- package/src/adminapi/models/ai-agent-conversation-list.ts +33 -0
- package/src/adminapi/models/{inspection-supported-engines.ts → ai-agent-conversation-status.ts} +8 -12
- package/src/adminapi/models/ai-agent-conversation.ts +89 -0
- package/src/adminapi/models/ai-agent-create-conversation-request.ts +42 -0
- package/src/adminapi/models/ai-agent-delete-conversation-response.ts +36 -0
- package/src/adminapi/models/ai-agent-event-type.ts +44 -0
- package/src/adminapi/models/ai-agent-event.ts +77 -0
- package/src/adminapi/models/ai-agent-message-list.ts +33 -0
- package/src/adminapi/models/ai-agent-message-part-type.ts +33 -0
- package/src/adminapi/models/ai-agent-message-part.ts +53 -0
- package/src/adminapi/models/ai-agent-message-role.ts +32 -0
- package/src/adminapi/models/ai-agent-message.ts +77 -0
- package/src/adminapi/models/ai-agent-object-ref.ts +36 -0
- package/src/adminapi/models/ai-agent-runtime-status-code.ts +34 -0
- package/src/adminapi/models/ai-agent-runtime-status.ts +56 -0
- package/src/adminapi/models/ai-agent-scope.ts +51 -0
- package/src/adminapi/models/ai-agent-send-message-request.ts +39 -0
- package/src/adminapi/models/ai-agent-send-message-response.ts +53 -0
- package/src/adminapi/models/ai-agent-stop-conversation-response.ts +41 -0
- package/src/adminapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
- package/src/adminapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
- package/src/adminapi/models/ai-agent-tool-confirmation-status.ts +33 -0
- package/src/adminapi/models/ai-agent-turn-action-list.ts +33 -0
- package/src/adminapi/models/ai-agent-turn-action.ts +113 -0
- package/src/adminapi/models/ai-agent-turn-status.ts +34 -0
- package/src/adminapi/models/bench-option.ts +6 -0
- package/src/adminapi/models/cluster-execution-log-item.ts +9 -0
- package/src/adminapi/models/cluster-log-hits-item.ts +6 -0
- package/src/adminapi/models/cluster-slow-log-database-distribution.ts +36 -0
- package/src/adminapi/models/cluster-slow-log-detail.ts +60 -0
- package/src/adminapi/models/cluster-slow-log-explain-response.ts +84 -0
- package/src/adminapi/models/cluster-slow-log-stats.ts +9 -0
- package/src/adminapi/models/cluster-slow-log-template-list.ts +33 -0
- package/src/adminapi/models/cluster-slow-log-template.ts +138 -0
- package/src/adminapi/models/database-option.ts +6 -0
- package/src/adminapi/models/database-parameter-item.ts +6 -0
- package/src/adminapi/models/database-parameter-list-item.ts +6 -0
- package/src/adminapi/models/dms-option.ts +0 -6
- package/src/adminapi/models/dms-query-history.ts +10 -4
- package/src/adminapi/models/engine-network-mode-options-inner.ts +45 -0
- package/src/adminapi/models/engine-network-mode-supported.ts +39 -0
- package/src/adminapi/models/engine-option.ts +9 -0
- package/src/adminapi/models/environment-engine-option-create.ts +42 -0
- package/src/adminapi/models/environment-engine-option-update.ts +30 -0
- package/src/adminapi/models/environment-engine-option.ts +72 -0
- package/src/adminapi/models/index.ts +77 -1
- package/src/adminapi/models/inspection-task.ts +2 -7
- package/src/adminapi/models/instance-resource-stats.ts +6 -0
- package/src/adminapi/models/llm.ts +1 -1
- package/src/adminapi/models/log-option.ts +6 -0
- package/src/adminapi/models/mongo-aggregate-request.ts +42 -0
- package/src/adminapi/models/mongo-collection-capabilities.ts +54 -0
- package/src/adminapi/models/mongo-collection-info.ts +57 -0
- package/src/adminapi/models/mongo-collection-stats.ts +69 -0
- package/src/adminapi/models/mongo-create-collection-options.ts +66 -0
- package/src/adminapi/models/mongo-create-collection-request.ts +33 -0
- package/src/adminapi/models/mongo-create-index-request.ts +39 -0
- package/src/adminapi/models/mongo-create-view-request.ts +48 -0
- package/src/adminapi/models/mongo-database-info.ts +54 -0
- package/src/adminapi/models/mongo-delete-request.ts +36 -0
- package/src/adminapi/models/mongo-explain-request.ts +72 -0
- package/src/adminapi/models/mongo-explain-response.ts +36 -0
- package/src/adminapi/models/mongo-find-request.ts +66 -0
- package/src/adminapi/models/mongo-find-response.ts +48 -0
- package/src/adminapi/models/mongo-index-info.ts +72 -0
- package/src/adminapi/models/mongo-index-options.ts +42 -0
- package/src/adminapi/models/mongo-insert-request.ts +36 -0
- package/src/adminapi/models/mongo-replace-request.ts +42 -0
- package/src/adminapi/models/mongo-schema-analysis.ts +45 -0
- package/src/adminapi/models/mongo-schema-field.ts +42 -0
- package/src/adminapi/models/mongo-set-validation-request.ts +42 -0
- package/src/adminapi/models/mongo-shell-completion-item.ts +30 -0
- package/src/adminapi/models/mongo-shell-completions-request.ts +30 -0
- package/src/adminapi/models/mongo-shell-completions-response.ts +33 -0
- package/src/adminapi/models/mongo-shell-create-session-request.ts +30 -0
- package/src/adminapi/models/mongo-shell-evaluate-request.ts +42 -0
- package/src/adminapi/models/mongo-shell-evaluate-response.ts +51 -0
- package/src/adminapi/models/mongo-shell-interrupt-response.ts +30 -0
- package/src/adminapi/models/mongo-shell-prompt-response.ts +30 -0
- package/src/adminapi/models/mongo-shell-result.ts +42 -0
- package/src/adminapi/models/mongo-shell-session.ts +54 -0
- package/src/adminapi/models/mongo-update-request.ts +48 -0
- package/src/adminapi/models/mongo-validation-info.ts +42 -0
- package/src/adminapi/models/mongo-write-response.ts +36 -0
- package/src/adminapi/models/mongo-write-result.ts +60 -0
- package/src/adminapi/models/parameter-template-diff-item.ts +48 -0
- package/src/adminapi/models/parameter-template-diff.ts +33 -0
- package/src/adminapi/models/tde-option.ts +39 -0
- package/src/adminapi/models/tde-parameter-option.ts +54 -0
- package/src/adminapi/models/tde-request.ts +36 -0
- package/src/adminapi/models/tde-response.ts +36 -0
- package/src/adminapi/models/tde-status.ts +36 -0
- package/src/adminapi.yaml +4250 -157
- package/src/openapi/.openapi-generator/FILES +93 -5
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/aiagent-api.ts +1935 -0
- package/src/openapi/apis/benchmark-api.ts +112 -0
- package/src/openapi/apis/cluster-api.ts +282 -5
- package/src/openapi/apis/cluster-log-api.ts +2127 -278
- package/src/openapi/apis/data-replication-api.ts +756 -0
- package/src/openapi/apis/dms-api.ts +4961 -937
- package/src/openapi/apis/engine-api.ts +128 -0
- package/src/openapi/apis/parameter-template-api.ts +136 -0
- package/src/openapi/apis/shared-api.ts +2705 -396
- package/src/openapi/models/ai-agent-conversation-list.ts +33 -0
- package/src/openapi/models/ai-agent-conversation-status.ts +34 -0
- package/src/openapi/models/ai-agent-conversation.ts +89 -0
- package/src/openapi/models/ai-agent-create-conversation-request.ts +42 -0
- package/src/openapi/models/ai-agent-delete-conversation-response.ts +36 -0
- package/src/openapi/models/ai-agent-event-type.ts +44 -0
- package/src/openapi/models/ai-agent-event.ts +77 -0
- package/src/openapi/models/ai-agent-message-list.ts +33 -0
- package/src/openapi/models/ai-agent-message-part-type.ts +33 -0
- package/src/openapi/models/ai-agent-message-part.ts +53 -0
- package/src/openapi/models/{sysbench-step.ts → ai-agent-message-role.ts} +6 -7
- package/src/openapi/models/ai-agent-message.ts +77 -0
- package/src/openapi/models/ai-agent-object-ref.ts +36 -0
- package/src/openapi/models/ai-agent-runtime-status-code.ts +34 -0
- package/src/openapi/models/ai-agent-runtime-status.ts +56 -0
- package/src/openapi/models/ai-agent-scope.ts +51 -0
- package/src/openapi/models/ai-agent-send-message-request.ts +39 -0
- package/src/openapi/models/ai-agent-send-message-response.ts +53 -0
- package/src/openapi/models/ai-agent-stop-conversation-response.ts +41 -0
- package/src/openapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
- package/src/openapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
- package/src/openapi/models/ai-agent-tool-confirmation-status.ts +33 -0
- package/src/openapi/models/ai-agent-turn-action-list.ts +33 -0
- package/src/openapi/models/ai-agent-turn-action.ts +113 -0
- package/src/openapi/models/ai-agent-turn-status.ts +34 -0
- package/src/openapi/models/bench-option.ts +6 -0
- package/src/openapi/models/{ycsb-step.ts → benchmark-step.ts} +2 -2
- package/src/openapi/models/benchmark-type.ts +2 -1
- package/src/openapi/models/cluster-execution-log-item.ts +9 -0
- package/src/openapi/models/cluster-log-hits-item.ts +6 -0
- package/src/openapi/models/cluster-slow-log-database-distribution.ts +36 -0
- package/src/openapi/models/cluster-slow-log-detail.ts +60 -0
- package/src/openapi/models/cluster-slow-log-explain-response.ts +84 -0
- package/src/openapi/models/cluster-slow-log-stats.ts +9 -0
- package/src/openapi/models/cluster-slow-log-template-list.ts +33 -0
- package/src/openapi/models/cluster-slow-log-template.ts +138 -0
- package/src/openapi/models/data-check-create.ts +77 -0
- package/src/openapi/models/data-check-detail-item.ts +93 -0
- package/src/openapi/models/{tpcc-step.ts → data-check-detail-type.ts} +5 -7
- package/src/openapi/models/data-check-details.ts +42 -0
- package/src/openapi/models/data-check-diff-value.ts +48 -0
- package/src/openapi/models/data-check-item.ts +116 -0
- package/src/openapi/models/data-check-list-item.ts +116 -0
- package/src/openapi/models/data-check-list-summary.ts +54 -0
- package/src/openapi/models/data-check-response.ts +42 -0
- package/src/openapi/models/{pgbench-step.ts → data-check-status.ts} +6 -7
- package/src/openapi/models/data-check-summary.ts +63 -0
- package/src/openapi/models/data-check-table-summary.ts +72 -0
- package/src/openapi/models/data-check-type.ts +31 -0
- package/src/openapi/models/database-option.ts +6 -0
- package/src/openapi/models/dms-option.ts +0 -6
- package/src/openapi/models/dms-query-history.ts +10 -4
- package/src/openapi/models/engine-network-mode-supported.ts +39 -0
- package/src/openapi/models/engine-option.ts +9 -0
- package/src/openapi/models/{inspection-supported-engines.ts → esrally-data-profile.ts} +14 -12
- package/src/openapi/models/esrally-on-error.ts +31 -0
- package/src/openapi/models/esrally-telemetry.ts +40 -0
- package/src/openapi/models/esrally-workload.ts +33 -0
- package/src/openapi/models/esrally.ts +137 -0
- package/src/openapi/models/index.ts +92 -5
- package/src/openapi/models/inspection-task.ts +2 -7
- package/src/openapi/models/llm.ts +1 -1
- package/src/openapi/models/log-option.ts +6 -0
- package/src/openapi/models/mongo-aggregate-request.ts +42 -0
- package/src/openapi/models/mongo-collection-capabilities.ts +54 -0
- package/src/openapi/models/mongo-collection-info.ts +57 -0
- package/src/openapi/models/mongo-collection-stats.ts +69 -0
- package/src/openapi/models/mongo-create-collection-options.ts +66 -0
- package/src/openapi/models/mongo-create-collection-request.ts +33 -0
- package/src/openapi/models/mongo-create-index-request.ts +39 -0
- package/src/openapi/models/mongo-create-view-request.ts +48 -0
- package/src/openapi/models/mongo-database-info.ts +54 -0
- package/src/openapi/models/mongo-delete-request.ts +36 -0
- package/src/openapi/models/mongo-explain-request.ts +72 -0
- package/src/openapi/models/mongo-explain-response.ts +36 -0
- package/src/openapi/models/mongo-find-request.ts +66 -0
- package/src/openapi/models/mongo-find-response.ts +48 -0
- package/src/openapi/models/mongo-index-info.ts +72 -0
- package/src/openapi/models/mongo-index-options.ts +42 -0
- package/src/openapi/models/mongo-insert-request.ts +36 -0
- package/src/openapi/models/mongo-replace-request.ts +42 -0
- package/src/openapi/models/mongo-schema-analysis.ts +45 -0
- package/src/openapi/models/mongo-schema-field.ts +42 -0
- package/src/openapi/models/mongo-set-validation-request.ts +42 -0
- package/src/openapi/models/mongo-shell-completion-item.ts +30 -0
- package/src/openapi/models/mongo-shell-completions-request.ts +30 -0
- package/src/openapi/models/mongo-shell-completions-response.ts +33 -0
- package/src/openapi/models/mongo-shell-create-session-request.ts +30 -0
- package/src/openapi/models/mongo-shell-evaluate-request.ts +42 -0
- package/src/openapi/models/mongo-shell-evaluate-response.ts +51 -0
- package/src/openapi/models/mongo-shell-interrupt-response.ts +30 -0
- package/src/openapi/models/mongo-shell-prompt-response.ts +30 -0
- package/src/openapi/models/mongo-shell-result.ts +42 -0
- package/src/openapi/models/mongo-shell-session.ts +54 -0
- package/src/openapi/models/mongo-update-request.ts +48 -0
- package/src/openapi/models/mongo-validation-info.ts +42 -0
- package/src/openapi/models/mongo-write-response.ts +36 -0
- package/src/openapi/models/mongo-write-result.ts +60 -0
- package/src/openapi/models/parameter-template-diff-item.ts +48 -0
- package/src/openapi/models/parameter-template-diff.ts +33 -0
- package/src/openapi/models/pgbench.ts +3 -3
- package/src/openapi/models/sysbench.ts +3 -3
- package/src/openapi/models/tde-option.ts +39 -0
- package/src/openapi/models/tde-parameter-option.ts +54 -0
- package/src/openapi/models/tde-request.ts +36 -0
- package/src/openapi/models/tde-response.ts +36 -0
- package/src/openapi/models/tde-status.ts +36 -0
- package/src/openapi/models/tpcc.ts +3 -3
- package/src/openapi/models/ycsb.ts +4 -4
- package/src/openapi.yaml +9433 -4992
- package/dist/adminapi/models/inspection-supported-engines.d.ts +0 -29
- package/dist/adminapi/models/inspection-supported-engines.d.ts.map +0 -1
- package/dist/adminapi/models/inspection-supported-engines.js.map +0 -1
- package/dist/openapi/models/inspection-supported-engines.d.ts.map +0 -1
- package/dist/openapi/models/inspection-supported-engines.js.map +0 -1
- package/dist/openapi/models/pgbench-step.d.ts.map +0 -1
- package/dist/openapi/models/pgbench-step.js.map +0 -1
- package/dist/openapi/models/sysbench-step.d.ts.map +0 -1
- package/dist/openapi/models/sysbench-step.js.map +0 -1
- package/dist/openapi/models/tpcc-step.d.ts.map +0 -1
- package/dist/openapi/models/tpcc-step.js.map +0 -1
- package/dist/openapi/models/ycsb-step.d.ts.map +0 -1
- package/dist/openapi/models/ycsb-step.js.map +0 -1
|
@@ -32,8 +32,16 @@ import type { ClusterLogHitsResponse } from '../models';
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { ClusterRawLogResponse } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
+
import type { ClusterSlowLogExplainResponse } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
35
37
|
import type { ClusterSlowLogStats } from '../models';
|
|
36
38
|
// @ts-ignore
|
|
39
|
+
import type { ClusterSlowLogTemplate } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import type { ClusterSlowLogTemplateList } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { DmsExplainRequest } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
37
45
|
import type { SortType } from '../models';
|
|
38
46
|
/**
|
|
39
47
|
* ClusterLogApi - axios parameter creator
|
|
@@ -212,6 +220,127 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
212
220
|
|
|
213
221
|
|
|
214
222
|
|
|
223
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
224
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
226
|
+
|
|
227
|
+
return {
|
|
228
|
+
url: toPathString(localVarUrlObj),
|
|
229
|
+
options: localVarRequestOptions,
|
|
230
|
+
};
|
|
231
|
+
},
|
|
232
|
+
/**
|
|
233
|
+
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
234
|
+
* @summary Explain cluster slow log SQL
|
|
235
|
+
* @param {string} orgName
|
|
236
|
+
* @param {string} clusterName
|
|
237
|
+
* @param {DmsExplainRequest} dmsExplainRequest
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
explainSlowLog: async (orgName: string, clusterName: string, dmsExplainRequest: DmsExplainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
242
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
243
|
+
assertParamExists('explainSlowLog', 'orgName', orgName)
|
|
244
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
245
|
+
assertParamExists('explainSlowLog', 'clusterName', clusterName)
|
|
246
|
+
// verify required parameter 'dmsExplainRequest' is not null or undefined
|
|
247
|
+
assertParamExists('explainSlowLog', 'dmsExplainRequest', dmsExplainRequest)
|
|
248
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/explain`
|
|
249
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
250
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
253
|
+
let baseOptions;
|
|
254
|
+
if (configuration) {
|
|
255
|
+
baseOptions = configuration.baseOptions;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
259
|
+
const localVarHeaderParameter = {} as any;
|
|
260
|
+
const localVarQueryParameter = {} as any;
|
|
261
|
+
|
|
262
|
+
// authentication BearerToken required
|
|
263
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
268
|
+
|
|
269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
271
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
272
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dmsExplainRequest, localVarRequestOptions, configuration)
|
|
273
|
+
|
|
274
|
+
return {
|
|
275
|
+
url: toPathString(localVarUrlObj),
|
|
276
|
+
options: localVarRequestOptions,
|
|
277
|
+
};
|
|
278
|
+
},
|
|
279
|
+
/**
|
|
280
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
|
|
281
|
+
* @summary Explain cluster slow log template
|
|
282
|
+
* @param {string} orgName
|
|
283
|
+
* @param {string} clusterName
|
|
284
|
+
* @param {string} templateId
|
|
285
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
286
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
287
|
+
* @param {string} [componentName]
|
|
288
|
+
* @param {string} [instanceName]
|
|
289
|
+
* @param {string} [query]
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
explainSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
294
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
295
|
+
assertParamExists('explainSlowLogTemplate', 'orgName', orgName)
|
|
296
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
297
|
+
assertParamExists('explainSlowLogTemplate', 'clusterName', clusterName)
|
|
298
|
+
// verify required parameter 'templateId' is not null or undefined
|
|
299
|
+
assertParamExists('explainSlowLogTemplate', 'templateId', templateId)
|
|
300
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
301
|
+
assertParamExists('explainSlowLogTemplate', 'startTime', startTime)
|
|
302
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
303
|
+
assertParamExists('explainSlowLogTemplate', 'endTime', endTime)
|
|
304
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain`
|
|
305
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
306
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
307
|
+
.replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
|
|
308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
316
|
+
const localVarHeaderParameter = {} as any;
|
|
317
|
+
const localVarQueryParameter = {} as any;
|
|
318
|
+
|
|
319
|
+
// authentication BearerToken required
|
|
320
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
321
|
+
|
|
322
|
+
if (startTime !== undefined) {
|
|
323
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
if (endTime !== undefined) {
|
|
327
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
if (componentName !== undefined) {
|
|
331
|
+
localVarQueryParameter['componentName'] = componentName;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
if (instanceName !== undefined) {
|
|
335
|
+
localVarQueryParameter['instanceName'] = instanceName;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
if (query !== undefined) {
|
|
339
|
+
localVarQueryParameter['query'] = query;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
215
344
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
216
345
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
346
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -318,10 +447,30 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
318
447
|
* @param {string} endTime End time in epoch nanoseconds.
|
|
319
448
|
* @param {string} [componentName]
|
|
320
449
|
* @param {string} [instanceName]
|
|
450
|
+
* @param {string} [query]
|
|
451
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
452
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
453
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
454
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
455
|
+
* @param {number} [minRowsExamined]
|
|
456
|
+
* @param {number} [maxRowsExamined]
|
|
457
|
+
* @param {number} [minRowsSent]
|
|
458
|
+
* @param {number} [maxRowsSent]
|
|
459
|
+
* @param {string} [dbName]
|
|
460
|
+
* @param {string} [dbNameContains]
|
|
461
|
+
* @param {string} [userName]
|
|
462
|
+
* @param {string} [userNameContains]
|
|
463
|
+
* @param {string} [clientIp]
|
|
464
|
+
* @param {string} [clientIpContains]
|
|
465
|
+
* @param {string} [clientIpCIDR]
|
|
466
|
+
* @param {string} [appName]
|
|
467
|
+
* @param {string} [appNameContains]
|
|
468
|
+
* @param {string} [templateId]
|
|
469
|
+
* @param {boolean} [unclassifiedOnly]
|
|
321
470
|
* @param {*} [options] Override http request option.
|
|
322
471
|
* @throws {RequiredError}
|
|
323
472
|
*/
|
|
324
|
-
getSlowLogStats: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
473
|
+
getSlowLogStats: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
325
474
|
// verify required parameter 'orgName' is not null or undefined
|
|
326
475
|
assertParamExists('getSlowLogStats', 'orgName', orgName)
|
|
327
476
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -363,6 +512,160 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
363
512
|
localVarQueryParameter['instanceName'] = instanceName;
|
|
364
513
|
}
|
|
365
514
|
|
|
515
|
+
if (query !== undefined) {
|
|
516
|
+
localVarQueryParameter['query'] = query;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
if (minExecutionTime !== undefined) {
|
|
520
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
if (maxExecutionTime !== undefined) {
|
|
524
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
if (minLockTime !== undefined) {
|
|
528
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
if (maxLockTime !== undefined) {
|
|
532
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
if (minRowsExamined !== undefined) {
|
|
536
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
if (maxRowsExamined !== undefined) {
|
|
540
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
if (minRowsSent !== undefined) {
|
|
544
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
if (maxRowsSent !== undefined) {
|
|
548
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
if (dbName !== undefined) {
|
|
552
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
if (dbNameContains !== undefined) {
|
|
556
|
+
localVarQueryParameter['dbNameContains'] = dbNameContains;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
if (userName !== undefined) {
|
|
560
|
+
localVarQueryParameter['userName'] = userName;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
if (userNameContains !== undefined) {
|
|
564
|
+
localVarQueryParameter['userNameContains'] = userNameContains;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
if (clientIp !== undefined) {
|
|
568
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
if (clientIpContains !== undefined) {
|
|
572
|
+
localVarQueryParameter['clientIpContains'] = clientIpContains;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
if (clientIpCIDR !== undefined) {
|
|
576
|
+
localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
if (appName !== undefined) {
|
|
580
|
+
localVarQueryParameter['appName'] = appName;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
if (appNameContains !== undefined) {
|
|
584
|
+
localVarQueryParameter['appNameContains'] = appNameContains;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
if (templateId !== undefined) {
|
|
588
|
+
localVarQueryParameter['templateId'] = templateId;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
if (unclassifiedOnly !== undefined) {
|
|
592
|
+
localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
600
|
+
|
|
601
|
+
return {
|
|
602
|
+
url: toPathString(localVarUrlObj),
|
|
603
|
+
options: localVarRequestOptions,
|
|
604
|
+
};
|
|
605
|
+
},
|
|
606
|
+
/**
|
|
607
|
+
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
608
|
+
* @summary Get cluster slow log template
|
|
609
|
+
* @param {string} orgName
|
|
610
|
+
* @param {string} clusterName
|
|
611
|
+
* @param {string} templateId
|
|
612
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
613
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
614
|
+
* @param {string} [componentName]
|
|
615
|
+
* @param {string} [instanceName]
|
|
616
|
+
* @param {string} [query]
|
|
617
|
+
* @param {*} [options] Override http request option.
|
|
618
|
+
* @throws {RequiredError}
|
|
619
|
+
*/
|
|
620
|
+
getSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
621
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
622
|
+
assertParamExists('getSlowLogTemplate', 'orgName', orgName)
|
|
623
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
624
|
+
assertParamExists('getSlowLogTemplate', 'clusterName', clusterName)
|
|
625
|
+
// verify required parameter 'templateId' is not null or undefined
|
|
626
|
+
assertParamExists('getSlowLogTemplate', 'templateId', templateId)
|
|
627
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
628
|
+
assertParamExists('getSlowLogTemplate', 'startTime', startTime)
|
|
629
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
630
|
+
assertParamExists('getSlowLogTemplate', 'endTime', endTime)
|
|
631
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}`
|
|
632
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
633
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
634
|
+
.replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
|
|
635
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
636
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
637
|
+
let baseOptions;
|
|
638
|
+
if (configuration) {
|
|
639
|
+
baseOptions = configuration.baseOptions;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
643
|
+
const localVarHeaderParameter = {} as any;
|
|
644
|
+
const localVarQueryParameter = {} as any;
|
|
645
|
+
|
|
646
|
+
// authentication BearerToken required
|
|
647
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
648
|
+
|
|
649
|
+
if (startTime !== undefined) {
|
|
650
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
if (endTime !== undefined) {
|
|
654
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
if (componentName !== undefined) {
|
|
658
|
+
localVarQueryParameter['componentName'] = componentName;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
if (instanceName !== undefined) {
|
|
662
|
+
localVarQueryParameter['instanceName'] = instanceName;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
if (query !== undefined) {
|
|
666
|
+
localVarQueryParameter['query'] = query;
|
|
667
|
+
}
|
|
668
|
+
|
|
366
669
|
|
|
367
670
|
|
|
368
671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -546,10 +849,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
546
849
|
* @param {string} [componentName]
|
|
547
850
|
* @param {string} [instanceName]
|
|
548
851
|
* @param {string} [query]
|
|
852
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
853
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
854
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
855
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
856
|
+
* @param {number} [minRowsExamined]
|
|
857
|
+
* @param {number} [maxRowsExamined]
|
|
858
|
+
* @param {number} [minRowsSent]
|
|
859
|
+
* @param {number} [maxRowsSent]
|
|
860
|
+
* @param {string} [dbName]
|
|
861
|
+
* @param {string} [userName]
|
|
862
|
+
* @param {string} [clientIp]
|
|
863
|
+
* @param {string} [appName]
|
|
864
|
+
* @param {string} [templateId]
|
|
865
|
+
* @param {boolean} [unclassifiedOnly]
|
|
549
866
|
* @param {*} [options] Override http request option.
|
|
550
867
|
* @throws {RequiredError}
|
|
551
868
|
*/
|
|
552
|
-
queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
869
|
+
queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
553
870
|
// verify required parameter 'orgName' is not null or undefined
|
|
554
871
|
assertParamExists('queryLogHits', 'orgName', orgName)
|
|
555
872
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -607,6 +924,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
607
924
|
localVarQueryParameter['query'] = query;
|
|
608
925
|
}
|
|
609
926
|
|
|
927
|
+
if (minExecutionTime !== undefined) {
|
|
928
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
if (maxExecutionTime !== undefined) {
|
|
932
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
if (minLockTime !== undefined) {
|
|
936
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
if (maxLockTime !== undefined) {
|
|
940
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
if (minRowsExamined !== undefined) {
|
|
944
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
if (maxRowsExamined !== undefined) {
|
|
948
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
if (minRowsSent !== undefined) {
|
|
952
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
if (maxRowsSent !== undefined) {
|
|
956
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
if (dbName !== undefined) {
|
|
960
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
if (userName !== undefined) {
|
|
964
|
+
localVarQueryParameter['userName'] = userName;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
if (clientIp !== undefined) {
|
|
968
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
if (appName !== undefined) {
|
|
972
|
+
localVarQueryParameter['appName'] = appName;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
if (templateId !== undefined) {
|
|
976
|
+
localVarQueryParameter['templateId'] = templateId;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
if (unclassifiedOnly !== undefined) {
|
|
980
|
+
localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
|
|
981
|
+
}
|
|
982
|
+
|
|
610
983
|
|
|
611
984
|
|
|
612
985
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -784,10 +1157,11 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
784
1157
|
};
|
|
785
1158
|
},
|
|
786
1159
|
/**
|
|
787
|
-
* Query slow
|
|
788
|
-
* @summary Query cluster slow
|
|
1160
|
+
* Query slow log samples for a template
|
|
1161
|
+
* @summary Query cluster slow log template samples
|
|
789
1162
|
* @param {string} orgName
|
|
790
1163
|
* @param {string} clusterName
|
|
1164
|
+
* @param {string} templateId
|
|
791
1165
|
* @param {string} startTime Start time in epoch nanoseconds.
|
|
792
1166
|
* @param {string} endTime End time in epoch nanoseconds.
|
|
793
1167
|
* @param {string} [componentName]
|
|
@@ -798,18 +1172,21 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
798
1172
|
* @param {*} [options] Override http request option.
|
|
799
1173
|
* @throws {RequiredError}
|
|
800
1174
|
*/
|
|
801
|
-
|
|
1175
|
+
querySlowLogTemplateSamples: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
802
1176
|
// verify required parameter 'orgName' is not null or undefined
|
|
803
|
-
assertParamExists('
|
|
1177
|
+
assertParamExists('querySlowLogTemplateSamples', 'orgName', orgName)
|
|
804
1178
|
// verify required parameter 'clusterName' is not null or undefined
|
|
805
|
-
assertParamExists('
|
|
1179
|
+
assertParamExists('querySlowLogTemplateSamples', 'clusterName', clusterName)
|
|
1180
|
+
// verify required parameter 'templateId' is not null or undefined
|
|
1181
|
+
assertParamExists('querySlowLogTemplateSamples', 'templateId', templateId)
|
|
806
1182
|
// verify required parameter 'startTime' is not null or undefined
|
|
807
|
-
assertParamExists('
|
|
1183
|
+
assertParamExists('querySlowLogTemplateSamples', 'startTime', startTime)
|
|
808
1184
|
// verify required parameter 'endTime' is not null or undefined
|
|
809
|
-
assertParamExists('
|
|
810
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow`
|
|
1185
|
+
assertParamExists('querySlowLogTemplateSamples', 'endTime', endTime)
|
|
1186
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/samples`
|
|
811
1187
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
812
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1188
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1189
|
+
.replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
|
|
813
1190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
814
1191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
815
1192
|
let baseOptions;
|
|
@@ -863,19 +1240,9 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
863
1240
|
options: localVarRequestOptions,
|
|
864
1241
|
};
|
|
865
1242
|
},
|
|
866
|
-
}
|
|
867
|
-
};
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* ClusterLogApi - functional programming interface
|
|
871
|
-
* @export
|
|
872
|
-
*/
|
|
873
|
-
export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
874
|
-
const localVarAxiosParamCreator = ClusterLogApiAxiosParamCreator(configuration)
|
|
875
|
-
return {
|
|
876
1243
|
/**
|
|
877
|
-
*
|
|
878
|
-
* @summary
|
|
1244
|
+
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
1245
|
+
* @summary Query cluster slow log templates
|
|
879
1246
|
* @param {string} orgName
|
|
880
1247
|
* @param {string} clusterName
|
|
881
1248
|
* @param {string} startTime Start time in epoch nanoseconds.
|
|
@@ -883,14 +1250,369 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
883
1250
|
* @param {string} [componentName]
|
|
884
1251
|
* @param {string} [instanceName]
|
|
885
1252
|
* @param {string} [query]
|
|
886
|
-
* @param {string} [limit]
|
|
887
|
-
* @param {SortType} [sortType]
|
|
888
|
-
* @param {string} [groupBy]
|
|
889
1253
|
* @param {number} [topN]
|
|
1254
|
+
* @param {string} [sortBy] Sort templates by count or avgExecutionTime.
|
|
1255
|
+
* @param {SortType} [sortType]
|
|
1256
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1257
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1258
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1259
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1260
|
+
* @param {number} [minRowsExamined]
|
|
1261
|
+
* @param {number} [maxRowsExamined]
|
|
1262
|
+
* @param {number} [minRowsSent]
|
|
1263
|
+
* @param {number} [maxRowsSent]
|
|
1264
|
+
* @param {string} [dbName]
|
|
1265
|
+
* @param {string} [dbNameContains]
|
|
1266
|
+
* @param {string} [userName]
|
|
1267
|
+
* @param {string} [userNameContains]
|
|
1268
|
+
* @param {string} [clientIp]
|
|
1269
|
+
* @param {string} [clientIpContains]
|
|
1270
|
+
* @param {string} [clientIpCIDR]
|
|
1271
|
+
* @param {string} [appName]
|
|
1272
|
+
* @param {string} [appNameContains]
|
|
890
1273
|
* @param {*} [options] Override http request option.
|
|
891
1274
|
* @throws {RequiredError}
|
|
892
1275
|
*/
|
|
893
|
-
async
|
|
1276
|
+
querySlowLogTemplates: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1277
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1278
|
+
assertParamExists('querySlowLogTemplates', 'orgName', orgName)
|
|
1279
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1280
|
+
assertParamExists('querySlowLogTemplates', 'clusterName', clusterName)
|
|
1281
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
1282
|
+
assertParamExists('querySlowLogTemplates', 'startTime', startTime)
|
|
1283
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
1284
|
+
assertParamExists('querySlowLogTemplates', 'endTime', endTime)
|
|
1285
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates`
|
|
1286
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1287
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1289
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1290
|
+
let baseOptions;
|
|
1291
|
+
if (configuration) {
|
|
1292
|
+
baseOptions = configuration.baseOptions;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1296
|
+
const localVarHeaderParameter = {} as any;
|
|
1297
|
+
const localVarQueryParameter = {} as any;
|
|
1298
|
+
|
|
1299
|
+
// authentication BearerToken required
|
|
1300
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
1301
|
+
|
|
1302
|
+
if (startTime !== undefined) {
|
|
1303
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
if (endTime !== undefined) {
|
|
1307
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
if (componentName !== undefined) {
|
|
1311
|
+
localVarQueryParameter['componentName'] = componentName;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
if (instanceName !== undefined) {
|
|
1315
|
+
localVarQueryParameter['instanceName'] = instanceName;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
if (query !== undefined) {
|
|
1319
|
+
localVarQueryParameter['query'] = query;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
if (topN !== undefined) {
|
|
1323
|
+
localVarQueryParameter['topN'] = topN;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
if (sortBy !== undefined) {
|
|
1327
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
if (sortType !== undefined) {
|
|
1331
|
+
localVarQueryParameter['sortType'] = sortType;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
if (minExecutionTime !== undefined) {
|
|
1335
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
if (maxExecutionTime !== undefined) {
|
|
1339
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
if (minLockTime !== undefined) {
|
|
1343
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
if (maxLockTime !== undefined) {
|
|
1347
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
if (minRowsExamined !== undefined) {
|
|
1351
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
if (maxRowsExamined !== undefined) {
|
|
1355
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
if (minRowsSent !== undefined) {
|
|
1359
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
if (maxRowsSent !== undefined) {
|
|
1363
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
if (dbName !== undefined) {
|
|
1367
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
if (dbNameContains !== undefined) {
|
|
1371
|
+
localVarQueryParameter['dbNameContains'] = dbNameContains;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
if (userName !== undefined) {
|
|
1375
|
+
localVarQueryParameter['userName'] = userName;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
if (userNameContains !== undefined) {
|
|
1379
|
+
localVarQueryParameter['userNameContains'] = userNameContains;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
if (clientIp !== undefined) {
|
|
1383
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
if (clientIpContains !== undefined) {
|
|
1387
|
+
localVarQueryParameter['clientIpContains'] = clientIpContains;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
if (clientIpCIDR !== undefined) {
|
|
1391
|
+
localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
if (appName !== undefined) {
|
|
1395
|
+
localVarQueryParameter['appName'] = appName;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
if (appNameContains !== undefined) {
|
|
1399
|
+
localVarQueryParameter['appNameContains'] = appNameContains;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1405
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1406
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1407
|
+
|
|
1408
|
+
return {
|
|
1409
|
+
url: toPathString(localVarUrlObj),
|
|
1410
|
+
options: localVarRequestOptions,
|
|
1411
|
+
};
|
|
1412
|
+
},
|
|
1413
|
+
/**
|
|
1414
|
+
* Query slow logs of a cluster
|
|
1415
|
+
* @summary Query cluster slow logs
|
|
1416
|
+
* @param {string} orgName
|
|
1417
|
+
* @param {string} clusterName
|
|
1418
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
1419
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
1420
|
+
* @param {string} [componentName]
|
|
1421
|
+
* @param {string} [instanceName]
|
|
1422
|
+
* @param {string} [query]
|
|
1423
|
+
* @param {string} [limit]
|
|
1424
|
+
* @param {SortType} [sortType]
|
|
1425
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1426
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1427
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1428
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1429
|
+
* @param {number} [minRowsExamined]
|
|
1430
|
+
* @param {number} [maxRowsExamined]
|
|
1431
|
+
* @param {number} [minRowsSent]
|
|
1432
|
+
* @param {number} [maxRowsSent]
|
|
1433
|
+
* @param {string} [dbName]
|
|
1434
|
+
* @param {string} [dbNameContains]
|
|
1435
|
+
* @param {string} [userName]
|
|
1436
|
+
* @param {string} [userNameContains]
|
|
1437
|
+
* @param {string} [clientIp]
|
|
1438
|
+
* @param {string} [clientIpContains]
|
|
1439
|
+
* @param {string} [clientIpCIDR]
|
|
1440
|
+
* @param {string} [appName]
|
|
1441
|
+
* @param {string} [appNameContains]
|
|
1442
|
+
* @param {string} [templateId]
|
|
1443
|
+
* @param {boolean} [unclassifiedOnly]
|
|
1444
|
+
* @param {*} [options] Override http request option.
|
|
1445
|
+
* @throws {RequiredError}
|
|
1446
|
+
*/
|
|
1447
|
+
querySlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1448
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1449
|
+
assertParamExists('querySlowLogs', 'orgName', orgName)
|
|
1450
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1451
|
+
assertParamExists('querySlowLogs', 'clusterName', clusterName)
|
|
1452
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
1453
|
+
assertParamExists('querySlowLogs', 'startTime', startTime)
|
|
1454
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
1455
|
+
assertParamExists('querySlowLogs', 'endTime', endTime)
|
|
1456
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow`
|
|
1457
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1458
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1459
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1460
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1461
|
+
let baseOptions;
|
|
1462
|
+
if (configuration) {
|
|
1463
|
+
baseOptions = configuration.baseOptions;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1467
|
+
const localVarHeaderParameter = {} as any;
|
|
1468
|
+
const localVarQueryParameter = {} as any;
|
|
1469
|
+
|
|
1470
|
+
// authentication BearerToken required
|
|
1471
|
+
await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
|
|
1472
|
+
|
|
1473
|
+
if (startTime !== undefined) {
|
|
1474
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
if (endTime !== undefined) {
|
|
1478
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
if (componentName !== undefined) {
|
|
1482
|
+
localVarQueryParameter['componentName'] = componentName;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
if (instanceName !== undefined) {
|
|
1486
|
+
localVarQueryParameter['instanceName'] = instanceName;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
if (query !== undefined) {
|
|
1490
|
+
localVarQueryParameter['query'] = query;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
if (limit !== undefined) {
|
|
1494
|
+
localVarQueryParameter['limit'] = limit;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
if (sortType !== undefined) {
|
|
1498
|
+
localVarQueryParameter['sortType'] = sortType;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
if (minExecutionTime !== undefined) {
|
|
1502
|
+
localVarQueryParameter['minExecutionTime'] = minExecutionTime;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
if (maxExecutionTime !== undefined) {
|
|
1506
|
+
localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
if (minLockTime !== undefined) {
|
|
1510
|
+
localVarQueryParameter['minLockTime'] = minLockTime;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
if (maxLockTime !== undefined) {
|
|
1514
|
+
localVarQueryParameter['maxLockTime'] = maxLockTime;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
if (minRowsExamined !== undefined) {
|
|
1518
|
+
localVarQueryParameter['minRowsExamined'] = minRowsExamined;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
if (maxRowsExamined !== undefined) {
|
|
1522
|
+
localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
if (minRowsSent !== undefined) {
|
|
1526
|
+
localVarQueryParameter['minRowsSent'] = minRowsSent;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
if (maxRowsSent !== undefined) {
|
|
1530
|
+
localVarQueryParameter['maxRowsSent'] = maxRowsSent;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
if (dbName !== undefined) {
|
|
1534
|
+
localVarQueryParameter['dbName'] = dbName;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
if (dbNameContains !== undefined) {
|
|
1538
|
+
localVarQueryParameter['dbNameContains'] = dbNameContains;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
if (userName !== undefined) {
|
|
1542
|
+
localVarQueryParameter['userName'] = userName;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
if (userNameContains !== undefined) {
|
|
1546
|
+
localVarQueryParameter['userNameContains'] = userNameContains;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
if (clientIp !== undefined) {
|
|
1550
|
+
localVarQueryParameter['clientIp'] = clientIp;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
if (clientIpContains !== undefined) {
|
|
1554
|
+
localVarQueryParameter['clientIpContains'] = clientIpContains;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
if (clientIpCIDR !== undefined) {
|
|
1558
|
+
localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
if (appName !== undefined) {
|
|
1562
|
+
localVarQueryParameter['appName'] = appName;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
if (appNameContains !== undefined) {
|
|
1566
|
+
localVarQueryParameter['appNameContains'] = appNameContains;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
if (templateId !== undefined) {
|
|
1570
|
+
localVarQueryParameter['templateId'] = templateId;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
if (unclassifiedOnly !== undefined) {
|
|
1574
|
+
localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1580
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1581
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1582
|
+
|
|
1583
|
+
return {
|
|
1584
|
+
url: toPathString(localVarUrlObj),
|
|
1585
|
+
options: localVarRequestOptions,
|
|
1586
|
+
};
|
|
1587
|
+
},
|
|
1588
|
+
}
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* ClusterLogApi - functional programming interface
|
|
1593
|
+
* @export
|
|
1594
|
+
*/
|
|
1595
|
+
export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
1596
|
+
const localVarAxiosParamCreator = ClusterLogApiAxiosParamCreator(configuration)
|
|
1597
|
+
return {
|
|
1598
|
+
/**
|
|
1599
|
+
* Aggregate audit logs of a cluster (Victoria Logs backend only)
|
|
1600
|
+
* @summary Aggregate cluster audit logs
|
|
1601
|
+
* @param {string} orgName
|
|
1602
|
+
* @param {string} clusterName
|
|
1603
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
1604
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
1605
|
+
* @param {string} [componentName]
|
|
1606
|
+
* @param {string} [instanceName]
|
|
1607
|
+
* @param {string} [query]
|
|
1608
|
+
* @param {string} [limit]
|
|
1609
|
+
* @param {SortType} [sortType]
|
|
1610
|
+
* @param {string} [groupBy]
|
|
1611
|
+
* @param {number} [topN]
|
|
1612
|
+
* @param {*} [options] Override http request option.
|
|
1613
|
+
* @throws {RequiredError}
|
|
1614
|
+
*/
|
|
1615
|
+
async aggregateAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
|
|
894
1616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateAuditLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, groupBy, topN, options);
|
|
895
1617
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
896
1618
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.aggregateAuditLogs']?.[localVarOperationServerIndex]?.url;
|
|
@@ -920,46 +1642,121 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
920
1642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
921
1643
|
},
|
|
922
1644
|
/**
|
|
923
|
-
*
|
|
924
|
-
* @summary
|
|
1645
|
+
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
1646
|
+
* @summary Explain cluster slow log SQL
|
|
925
1647
|
* @param {string} orgName
|
|
926
1648
|
* @param {string} clusterName
|
|
927
|
-
* @param {
|
|
928
|
-
* @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
|
|
929
|
-
* @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
|
|
930
|
-
* @param {string} [format] Export format: csv, raw, jsonl
|
|
931
|
-
* @param {string} [query] Optional search query
|
|
932
|
-
* @param {string} [filename] Optional log filename filter
|
|
933
|
-
* @param {string} [componentName] Optional component name filter
|
|
934
|
-
* @param {string} [instanceName] Optional instance name filter
|
|
935
|
-
* @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
|
|
1649
|
+
* @param {DmsExplainRequest} dmsExplainRequest
|
|
936
1650
|
* @param {*} [options] Override http request option.
|
|
937
1651
|
* @throws {RequiredError}
|
|
938
1652
|
*/
|
|
939
|
-
async
|
|
940
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1653
|
+
async explainSlowLog(orgName: string, clusterName: string, dmsExplainRequest: DmsExplainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>> {
|
|
1654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLog(orgName, clusterName, dmsExplainRequest, options);
|
|
941
1655
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
942
|
-
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.
|
|
1656
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.explainSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
943
1657
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
944
1658
|
},
|
|
945
1659
|
/**
|
|
946
|
-
*
|
|
947
|
-
* @summary
|
|
1660
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
|
|
1661
|
+
* @summary Explain cluster slow log template
|
|
948
1662
|
* @param {string} orgName
|
|
949
1663
|
* @param {string} clusterName
|
|
1664
|
+
* @param {string} templateId
|
|
950
1665
|
* @param {string} startTime Start time in epoch nanoseconds.
|
|
951
1666
|
* @param {string} endTime End time in epoch nanoseconds.
|
|
952
1667
|
* @param {string} [componentName]
|
|
953
1668
|
* @param {string} [instanceName]
|
|
1669
|
+
* @param {string} [query]
|
|
1670
|
+
* @param {*} [options] Override http request option.
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
*/
|
|
1673
|
+
async explainSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>> {
|
|
1674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
|
|
1675
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1676
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.explainSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
|
|
1677
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1678
|
+
},
|
|
1679
|
+
/**
|
|
1680
|
+
* Export cluster logs and return as a file download
|
|
1681
|
+
* @summary Export cluster logs
|
|
1682
|
+
* @param {string} orgName
|
|
1683
|
+
* @param {string} clusterName
|
|
1684
|
+
* @param {string} logType Log type: runninglog, errorlog, slow, auditlog
|
|
1685
|
+
* @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
|
|
1686
|
+
* @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
|
|
1687
|
+
* @param {string} [format] Export format: csv, raw, jsonl
|
|
1688
|
+
* @param {string} [query] Optional search query
|
|
1689
|
+
* @param {string} [filename] Optional log filename filter
|
|
1690
|
+
* @param {string} [componentName] Optional component name filter
|
|
1691
|
+
* @param {string} [instanceName] Optional instance name filter
|
|
1692
|
+
* @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
|
|
1693
|
+
* @param {*} [options] Override http request option.
|
|
1694
|
+
* @throws {RequiredError}
|
|
1695
|
+
*/
|
|
1696
|
+
async exportClusterLogs(orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, maxLines?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1697
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportClusterLogs(orgName, clusterName, logType, startTime, endTime, format, query, filename, componentName, instanceName, maxLines, options);
|
|
1698
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1699
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.exportClusterLogs']?.[localVarOperationServerIndex]?.url;
|
|
1700
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1701
|
+
},
|
|
1702
|
+
/**
|
|
1703
|
+
* Get statistics summary for slow logs of a cluster
|
|
1704
|
+
* @summary Get cluster slow log statistics
|
|
1705
|
+
* @param {string} orgName
|
|
1706
|
+
* @param {string} clusterName
|
|
1707
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
1708
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
1709
|
+
* @param {string} [componentName]
|
|
1710
|
+
* @param {string} [instanceName]
|
|
1711
|
+
* @param {string} [query]
|
|
1712
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1713
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1714
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1715
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1716
|
+
* @param {number} [minRowsExamined]
|
|
1717
|
+
* @param {number} [maxRowsExamined]
|
|
1718
|
+
* @param {number} [minRowsSent]
|
|
1719
|
+
* @param {number} [maxRowsSent]
|
|
1720
|
+
* @param {string} [dbName]
|
|
1721
|
+
* @param {string} [dbNameContains]
|
|
1722
|
+
* @param {string} [userName]
|
|
1723
|
+
* @param {string} [userNameContains]
|
|
1724
|
+
* @param {string} [clientIp]
|
|
1725
|
+
* @param {string} [clientIpContains]
|
|
1726
|
+
* @param {string} [clientIpCIDR]
|
|
1727
|
+
* @param {string} [appName]
|
|
1728
|
+
* @param {string} [appNameContains]
|
|
1729
|
+
* @param {string} [templateId]
|
|
1730
|
+
* @param {boolean} [unclassifiedOnly]
|
|
954
1731
|
* @param {*} [options] Override http request option.
|
|
955
1732
|
* @throws {RequiredError}
|
|
956
1733
|
*/
|
|
957
|
-
async getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>> {
|
|
958
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogStats(orgName, clusterName, startTime, endTime, componentName, instanceName, options);
|
|
1734
|
+
async getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>> {
|
|
1735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogStats(orgName, clusterName, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, templateId, unclassifiedOnly, options);
|
|
959
1736
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
960
1737
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogStats']?.[localVarOperationServerIndex]?.url;
|
|
961
1738
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
962
1739
|
},
|
|
1740
|
+
/**
|
|
1741
|
+
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
1742
|
+
* @summary Get cluster slow log template
|
|
1743
|
+
* @param {string} orgName
|
|
1744
|
+
* @param {string} clusterName
|
|
1745
|
+
* @param {string} templateId
|
|
1746
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
1747
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
1748
|
+
* @param {string} [componentName]
|
|
1749
|
+
* @param {string} [instanceName]
|
|
1750
|
+
* @param {string} [query]
|
|
1751
|
+
* @param {*} [options] Override http request option.
|
|
1752
|
+
* @throws {RequiredError}
|
|
1753
|
+
*/
|
|
1754
|
+
async getSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplate>> {
|
|
1755
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
|
|
1756
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1757
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
|
|
1758
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1759
|
+
},
|
|
963
1760
|
/**
|
|
964
1761
|
* Query audit logs of a cluster
|
|
965
1762
|
* @summary Query cluster audit logs
|
|
@@ -1014,11 +1811,25 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1014
1811
|
* @param {string} [componentName]
|
|
1015
1812
|
* @param {string} [instanceName]
|
|
1016
1813
|
* @param {string} [query]
|
|
1814
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
1815
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
1816
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
1817
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
1818
|
+
* @param {number} [minRowsExamined]
|
|
1819
|
+
* @param {number} [maxRowsExamined]
|
|
1820
|
+
* @param {number} [minRowsSent]
|
|
1821
|
+
* @param {number} [maxRowsSent]
|
|
1822
|
+
* @param {string} [dbName]
|
|
1823
|
+
* @param {string} [userName]
|
|
1824
|
+
* @param {string} [clientIp]
|
|
1825
|
+
* @param {string} [appName]
|
|
1826
|
+
* @param {string} [templateId]
|
|
1827
|
+
* @param {boolean} [unclassifiedOnly]
|
|
1017
1828
|
* @param {*} [options] Override http request option.
|
|
1018
1829
|
* @throws {RequiredError}
|
|
1019
1830
|
*/
|
|
1020
|
-
async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
|
|
1021
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
|
|
1831
|
+
async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
|
|
1832
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, templateId, unclassifiedOnly, options);
|
|
1022
1833
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1023
1834
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
|
|
1024
1835
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1066,6 +1877,67 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1066
1877
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryRunningLogs']?.[localVarOperationServerIndex]?.url;
|
|
1067
1878
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1068
1879
|
},
|
|
1880
|
+
/**
|
|
1881
|
+
* Query slow log samples for a template
|
|
1882
|
+
* @summary Query cluster slow log template samples
|
|
1883
|
+
* @param {string} orgName
|
|
1884
|
+
* @param {string} clusterName
|
|
1885
|
+
* @param {string} templateId
|
|
1886
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
1887
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
1888
|
+
* @param {string} [componentName]
|
|
1889
|
+
* @param {string} [instanceName]
|
|
1890
|
+
* @param {string} [query]
|
|
1891
|
+
* @param {string} [limit]
|
|
1892
|
+
* @param {SortType} [sortType]
|
|
1893
|
+
* @param {*} [options] Override http request option.
|
|
1894
|
+
* @throws {RequiredError}
|
|
1895
|
+
*/
|
|
1896
|
+
async querySlowLogTemplateSamples(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
|
|
1897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogTemplateSamples(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, limit, sortType, options);
|
|
1898
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1899
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogTemplateSamples']?.[localVarOperationServerIndex]?.url;
|
|
1900
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1901
|
+
},
|
|
1902
|
+
/**
|
|
1903
|
+
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
1904
|
+
* @summary Query cluster slow log templates
|
|
1905
|
+
* @param {string} orgName
|
|
1906
|
+
* @param {string} clusterName
|
|
1907
|
+
* @param {string} startTime Start time in epoch nanoseconds.
|
|
1908
|
+
* @param {string} endTime End time in epoch nanoseconds.
|
|
1909
|
+
* @param {string} [componentName]
|
|
1910
|
+
* @param {string} [instanceName]
|
|
1911
|
+
* @param {string} [query]
|
|
1912
|
+
* @param {number} [topN]
|
|
1913
|
+
* @param {string} [sortBy] Sort templates by count or avgExecutionTime.
|
|
1914
|
+
* @param {SortType} [sortType]
|
|
1915
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1916
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1917
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1918
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1919
|
+
* @param {number} [minRowsExamined]
|
|
1920
|
+
* @param {number} [maxRowsExamined]
|
|
1921
|
+
* @param {number} [minRowsSent]
|
|
1922
|
+
* @param {number} [maxRowsSent]
|
|
1923
|
+
* @param {string} [dbName]
|
|
1924
|
+
* @param {string} [dbNameContains]
|
|
1925
|
+
* @param {string} [userName]
|
|
1926
|
+
* @param {string} [userNameContains]
|
|
1927
|
+
* @param {string} [clientIp]
|
|
1928
|
+
* @param {string} [clientIpContains]
|
|
1929
|
+
* @param {string} [clientIpCIDR]
|
|
1930
|
+
* @param {string} [appName]
|
|
1931
|
+
* @param {string} [appNameContains]
|
|
1932
|
+
* @param {*} [options] Override http request option.
|
|
1933
|
+
* @throws {RequiredError}
|
|
1934
|
+
*/
|
|
1935
|
+
async querySlowLogTemplates(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplateList>> {
|
|
1936
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogTemplates(orgName, clusterName, startTime, endTime, componentName, instanceName, query, topN, sortBy, sortType, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, options);
|
|
1937
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1938
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogTemplates']?.[localVarOperationServerIndex]?.url;
|
|
1939
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1940
|
+
},
|
|
1069
1941
|
/**
|
|
1070
1942
|
* Query slow logs of a cluster
|
|
1071
1943
|
* @summary Query cluster slow logs
|
|
@@ -1078,11 +1950,30 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1078
1950
|
* @param {string} [query]
|
|
1079
1951
|
* @param {string} [limit]
|
|
1080
1952
|
* @param {SortType} [sortType]
|
|
1953
|
+
* @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1954
|
+
* @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
1955
|
+
* @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1956
|
+
* @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
1957
|
+
* @param {number} [minRowsExamined]
|
|
1958
|
+
* @param {number} [maxRowsExamined]
|
|
1959
|
+
* @param {number} [minRowsSent]
|
|
1960
|
+
* @param {number} [maxRowsSent]
|
|
1961
|
+
* @param {string} [dbName]
|
|
1962
|
+
* @param {string} [dbNameContains]
|
|
1963
|
+
* @param {string} [userName]
|
|
1964
|
+
* @param {string} [userNameContains]
|
|
1965
|
+
* @param {string} [clientIp]
|
|
1966
|
+
* @param {string} [clientIpContains]
|
|
1967
|
+
* @param {string} [clientIpCIDR]
|
|
1968
|
+
* @param {string} [appName]
|
|
1969
|
+
* @param {string} [appNameContains]
|
|
1970
|
+
* @param {string} [templateId]
|
|
1971
|
+
* @param {boolean} [unclassifiedOnly]
|
|
1081
1972
|
* @param {*} [options] Override http request option.
|
|
1082
1973
|
* @throws {RequiredError}
|
|
1083
1974
|
*/
|
|
1084
|
-
async querySlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
|
|
1085
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, options);
|
|
1975
|
+
async querySlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
|
|
1976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, templateId, unclassifiedOnly, options);
|
|
1086
1977
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1087
1978
|
const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogs']?.[localVarOperationServerIndex]?.url;
|
|
1088
1979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1117,6 +2008,26 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1117
2008
|
aggregateSlowLogs(requestParameters: ClusterLogApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse> {
|
|
1118
2009
|
return localVarFp.aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(axios, basePath));
|
|
1119
2010
|
},
|
|
2011
|
+
/**
|
|
2012
|
+
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
2013
|
+
* @summary Explain cluster slow log SQL
|
|
2014
|
+
* @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
|
|
2015
|
+
* @param {*} [options] Override http request option.
|
|
2016
|
+
* @throws {RequiredError}
|
|
2017
|
+
*/
|
|
2018
|
+
explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
|
|
2019
|
+
return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
|
|
2020
|
+
},
|
|
2021
|
+
/**
|
|
2022
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
|
|
2023
|
+
* @summary Explain cluster slow log template
|
|
2024
|
+
* @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
2025
|
+
* @param {*} [options] Override http request option.
|
|
2026
|
+
* @throws {RequiredError}
|
|
2027
|
+
*/
|
|
2028
|
+
explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
|
|
2029
|
+
return localVarFp.explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
|
|
2030
|
+
},
|
|
1120
2031
|
/**
|
|
1121
2032
|
* Export cluster logs and return as a file download
|
|
1122
2033
|
* @summary Export cluster logs
|
|
@@ -1135,7 +2046,17 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1135
2046
|
* @throws {RequiredError}
|
|
1136
2047
|
*/
|
|
1137
2048
|
getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats> {
|
|
1138
|
-
return localVarFp.getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, options).then((request) => request(axios, basePath));
|
|
2049
|
+
return localVarFp.getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
|
|
2050
|
+
},
|
|
2051
|
+
/**
|
|
2052
|
+
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
2053
|
+
* @summary Get cluster slow log template
|
|
2054
|
+
* @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
|
|
2055
|
+
* @param {*} [options] Override http request option.
|
|
2056
|
+
* @throws {RequiredError}
|
|
2057
|
+
*/
|
|
2058
|
+
getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate> {
|
|
2059
|
+
return localVarFp.getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
|
|
1139
2060
|
},
|
|
1140
2061
|
/**
|
|
1141
2062
|
* Query audit logs of a cluster
|
|
@@ -1165,7 +2086,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1165
2086
|
* @throws {RequiredError}
|
|
1166
2087
|
*/
|
|
1167
2088
|
queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
|
|
1168
|
-
return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
|
|
2089
|
+
return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
|
|
1169
2090
|
},
|
|
1170
2091
|
/**
|
|
1171
2092
|
* Query pod logs of a cluster
|
|
@@ -1187,6 +2108,26 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1187
2108
|
queryRunningLogs(requestParameters: ClusterLogApiQueryRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse> {
|
|
1188
2109
|
return localVarFp.queryRunningLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.filename, requestParameters.limit, requestParameters.query, requestParameters.sortType, options).then((request) => request(axios, basePath));
|
|
1189
2110
|
},
|
|
2111
|
+
/**
|
|
2112
|
+
* Query slow log samples for a template
|
|
2113
|
+
* @summary Query cluster slow log template samples
|
|
2114
|
+
* @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
|
|
2115
|
+
* @param {*} [options] Override http request option.
|
|
2116
|
+
* @throws {RequiredError}
|
|
2117
|
+
*/
|
|
2118
|
+
querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog> {
|
|
2119
|
+
return localVarFp.querySlowLogTemplateSamples(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(axios, basePath));
|
|
2120
|
+
},
|
|
2121
|
+
/**
|
|
2122
|
+
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
2123
|
+
* @summary Query cluster slow log templates
|
|
2124
|
+
* @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
|
|
2125
|
+
* @param {*} [options] Override http request option.
|
|
2126
|
+
* @throws {RequiredError}
|
|
2127
|
+
*/
|
|
2128
|
+
querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplateList> {
|
|
2129
|
+
return localVarFp.querySlowLogTemplates(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.topN, requestParameters.sortBy, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, options).then((request) => request(axios, basePath));
|
|
2130
|
+
},
|
|
1190
2131
|
/**
|
|
1191
2132
|
* Query slow logs of a cluster
|
|
1192
2133
|
* @summary Query cluster slow logs
|
|
@@ -1195,7 +2136,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
1195
2136
|
* @throws {RequiredError}
|
|
1196
2137
|
*/
|
|
1197
2138
|
querySlowLogs(requestParameters: ClusterLogApiQuerySlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog> {
|
|
1198
|
-
return localVarFp.querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(axios, basePath));
|
|
2139
|
+
return localVarFp.querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
|
|
1199
2140
|
},
|
|
1200
2141
|
};
|
|
1201
2142
|
};
|
|
@@ -1226,6 +2167,26 @@ export interface ClusterLogApiInterface {
|
|
|
1226
2167
|
*/
|
|
1227
2168
|
aggregateSlowLogs(requestParameters: ClusterLogApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse>;
|
|
1228
2169
|
|
|
2170
|
+
/**
|
|
2171
|
+
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
2172
|
+
* @summary Explain cluster slow log SQL
|
|
2173
|
+
* @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
|
|
2174
|
+
* @param {*} [options] Override http request option.
|
|
2175
|
+
* @throws {RequiredError}
|
|
2176
|
+
* @memberof ClusterLogApiInterface
|
|
2177
|
+
*/
|
|
2178
|
+
explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
|
|
2182
|
+
* @summary Explain cluster slow log template
|
|
2183
|
+
* @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
2184
|
+
* @param {*} [options] Override http request option.
|
|
2185
|
+
* @throws {RequiredError}
|
|
2186
|
+
* @memberof ClusterLogApiInterface
|
|
2187
|
+
*/
|
|
2188
|
+
explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
|
|
2189
|
+
|
|
1229
2190
|
/**
|
|
1230
2191
|
* Export cluster logs and return as a file download
|
|
1231
2192
|
* @summary Export cluster logs
|
|
@@ -1246,6 +2207,16 @@ export interface ClusterLogApiInterface {
|
|
|
1246
2207
|
*/
|
|
1247
2208
|
getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
|
|
1248
2209
|
|
|
2210
|
+
/**
|
|
2211
|
+
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
2212
|
+
* @summary Get cluster slow log template
|
|
2213
|
+
* @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
|
|
2214
|
+
* @param {*} [options] Override http request option.
|
|
2215
|
+
* @throws {RequiredError}
|
|
2216
|
+
* @memberof ClusterLogApiInterface
|
|
2217
|
+
*/
|
|
2218
|
+
getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate>;
|
|
2219
|
+
|
|
1249
2220
|
/**
|
|
1250
2221
|
* Query audit logs of a cluster
|
|
1251
2222
|
* @summary Query cluster audit logs
|
|
@@ -1296,6 +2267,26 @@ export interface ClusterLogApiInterface {
|
|
|
1296
2267
|
*/
|
|
1297
2268
|
queryRunningLogs(requestParameters: ClusterLogApiQueryRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
|
|
1298
2269
|
|
|
2270
|
+
/**
|
|
2271
|
+
* Query slow log samples for a template
|
|
2272
|
+
* @summary Query cluster slow log template samples
|
|
2273
|
+
* @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
|
|
2274
|
+
* @param {*} [options] Override http request option.
|
|
2275
|
+
* @throws {RequiredError}
|
|
2276
|
+
* @memberof ClusterLogApiInterface
|
|
2277
|
+
*/
|
|
2278
|
+
querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
2282
|
+
* @summary Query cluster slow log templates
|
|
2283
|
+
* @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
|
|
2284
|
+
* @param {*} [options] Override http request option.
|
|
2285
|
+
* @throws {RequiredError}
|
|
2286
|
+
* @memberof ClusterLogApiInterface
|
|
2287
|
+
*/
|
|
2288
|
+
querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplateList>;
|
|
2289
|
+
|
|
1299
2290
|
/**
|
|
1300
2291
|
* Query slow logs of a cluster
|
|
1301
2292
|
* @summary Query cluster slow logs
|
|
@@ -1324,716 +2315,1514 @@ export interface ClusterLogApiAggregateAuditLogsRequest {
|
|
|
1324
2315
|
/**
|
|
1325
2316
|
*
|
|
1326
2317
|
* @type {string}
|
|
1327
|
-
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2318
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2319
|
+
*/
|
|
2320
|
+
readonly clusterName: string
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* Start time in epoch nanoseconds.
|
|
2324
|
+
* @type {string}
|
|
2325
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2326
|
+
*/
|
|
2327
|
+
readonly startTime: string
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* End time in epoch nanoseconds.
|
|
2331
|
+
* @type {string}
|
|
2332
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2333
|
+
*/
|
|
2334
|
+
readonly endTime: string
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
* @type {string}
|
|
2339
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2340
|
+
*/
|
|
2341
|
+
readonly componentName?: string
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
*
|
|
2345
|
+
* @type {string}
|
|
2346
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2347
|
+
*/
|
|
2348
|
+
readonly instanceName?: string
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
*
|
|
2352
|
+
* @type {string}
|
|
2353
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2354
|
+
*/
|
|
2355
|
+
readonly query?: string
|
|
2356
|
+
|
|
2357
|
+
/**
|
|
2358
|
+
*
|
|
2359
|
+
* @type {string}
|
|
2360
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2361
|
+
*/
|
|
2362
|
+
readonly limit?: string
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
*
|
|
2366
|
+
* @type {SortType}
|
|
2367
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2368
|
+
*/
|
|
2369
|
+
readonly sortType?: SortType
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
*
|
|
2373
|
+
* @type {string}
|
|
2374
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2375
|
+
*/
|
|
2376
|
+
readonly groupBy?: string
|
|
2377
|
+
|
|
2378
|
+
/**
|
|
2379
|
+
*
|
|
2380
|
+
* @type {number}
|
|
2381
|
+
* @memberof ClusterLogApiAggregateAuditLogs
|
|
2382
|
+
*/
|
|
2383
|
+
readonly topN?: number
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* Request parameters for aggregateSlowLogs operation in ClusterLogApi.
|
|
2388
|
+
* @export
|
|
2389
|
+
* @interface ClusterLogApiAggregateSlowLogsRequest
|
|
2390
|
+
*/
|
|
2391
|
+
export interface ClusterLogApiAggregateSlowLogsRequest {
|
|
2392
|
+
/**
|
|
2393
|
+
*
|
|
2394
|
+
* @type {string}
|
|
2395
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2396
|
+
*/
|
|
2397
|
+
readonly orgName: string
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
*
|
|
2401
|
+
* @type {string}
|
|
2402
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2403
|
+
*/
|
|
2404
|
+
readonly clusterName: string
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Start time in epoch nanoseconds.
|
|
2408
|
+
* @type {string}
|
|
2409
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2410
|
+
*/
|
|
2411
|
+
readonly startTime: string
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* End time in epoch nanoseconds.
|
|
2415
|
+
* @type {string}
|
|
2416
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2417
|
+
*/
|
|
2418
|
+
readonly endTime: string
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
*
|
|
2422
|
+
* @type {string}
|
|
2423
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2424
|
+
*/
|
|
2425
|
+
readonly componentName?: string
|
|
2426
|
+
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @type {string}
|
|
2430
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2431
|
+
*/
|
|
2432
|
+
readonly instanceName?: string
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
*
|
|
2436
|
+
* @type {string}
|
|
2437
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2438
|
+
*/
|
|
2439
|
+
readonly query?: string
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
*
|
|
2443
|
+
* @type {string}
|
|
2444
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2445
|
+
*/
|
|
2446
|
+
readonly limit?: string
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
*
|
|
2450
|
+
* @type {SortType}
|
|
2451
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2452
|
+
*/
|
|
2453
|
+
readonly sortType?: SortType
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @type {string}
|
|
2458
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2459
|
+
*/
|
|
2460
|
+
readonly groupBy?: string
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
*
|
|
2464
|
+
* @type {number}
|
|
2465
|
+
* @memberof ClusterLogApiAggregateSlowLogs
|
|
2466
|
+
*/
|
|
2467
|
+
readonly topN?: number
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Request parameters for explainSlowLog operation in ClusterLogApi.
|
|
2472
|
+
* @export
|
|
2473
|
+
* @interface ClusterLogApiExplainSlowLogRequest
|
|
2474
|
+
*/
|
|
2475
|
+
export interface ClusterLogApiExplainSlowLogRequest {
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @type {string}
|
|
2479
|
+
* @memberof ClusterLogApiExplainSlowLog
|
|
2480
|
+
*/
|
|
2481
|
+
readonly orgName: string
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
*
|
|
2485
|
+
* @type {string}
|
|
2486
|
+
* @memberof ClusterLogApiExplainSlowLog
|
|
2487
|
+
*/
|
|
2488
|
+
readonly clusterName: string
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
*
|
|
2492
|
+
* @type {DmsExplainRequest}
|
|
2493
|
+
* @memberof ClusterLogApiExplainSlowLog
|
|
2494
|
+
*/
|
|
2495
|
+
readonly dmsExplainRequest: DmsExplainRequest
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* Request parameters for explainSlowLogTemplate operation in ClusterLogApi.
|
|
2500
|
+
* @export
|
|
2501
|
+
* @interface ClusterLogApiExplainSlowLogTemplateRequest
|
|
2502
|
+
*/
|
|
2503
|
+
export interface ClusterLogApiExplainSlowLogTemplateRequest {
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2506
|
+
* @type {string}
|
|
2507
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2508
|
+
*/
|
|
2509
|
+
readonly orgName: string
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
*
|
|
2513
|
+
* @type {string}
|
|
2514
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2515
|
+
*/
|
|
2516
|
+
readonly clusterName: string
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2522
|
+
*/
|
|
2523
|
+
readonly templateId: string
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* Start time in epoch nanoseconds.
|
|
2527
|
+
* @type {string}
|
|
2528
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2529
|
+
*/
|
|
2530
|
+
readonly startTime: string
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* End time in epoch nanoseconds.
|
|
2534
|
+
* @type {string}
|
|
2535
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2536
|
+
*/
|
|
2537
|
+
readonly endTime: string
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
*
|
|
2541
|
+
* @type {string}
|
|
2542
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2543
|
+
*/
|
|
2544
|
+
readonly componentName?: string
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
*
|
|
2548
|
+
* @type {string}
|
|
2549
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2550
|
+
*/
|
|
2551
|
+
readonly instanceName?: string
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
*
|
|
2555
|
+
* @type {string}
|
|
2556
|
+
* @memberof ClusterLogApiExplainSlowLogTemplate
|
|
2557
|
+
*/
|
|
2558
|
+
readonly query?: string
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* Request parameters for exportClusterLogs operation in ClusterLogApi.
|
|
2563
|
+
* @export
|
|
2564
|
+
* @interface ClusterLogApiExportClusterLogsRequest
|
|
2565
|
+
*/
|
|
2566
|
+
export interface ClusterLogApiExportClusterLogsRequest {
|
|
2567
|
+
/**
|
|
2568
|
+
*
|
|
2569
|
+
* @type {string}
|
|
2570
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2571
|
+
*/
|
|
2572
|
+
readonly orgName: string
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
*
|
|
2576
|
+
* @type {string}
|
|
2577
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2578
|
+
*/
|
|
2579
|
+
readonly clusterName: string
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* Log type: runninglog, errorlog, slow, auditlog
|
|
2583
|
+
* @type {string}
|
|
2584
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2585
|
+
*/
|
|
2586
|
+
readonly logType: string
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Start time in epoch nanoseconds. If omitted, exports from the earliest available log
|
|
2590
|
+
* @type {number}
|
|
2591
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2592
|
+
*/
|
|
2593
|
+
readonly startTime?: number
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* End time in epoch nanoseconds. If omitted, exports up to the latest available log
|
|
2597
|
+
* @type {number}
|
|
2598
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2599
|
+
*/
|
|
2600
|
+
readonly endTime?: number
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Export format: csv, raw, jsonl
|
|
2604
|
+
* @type {string}
|
|
2605
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2606
|
+
*/
|
|
2607
|
+
readonly format?: string
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* Optional search query
|
|
2611
|
+
* @type {string}
|
|
2612
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2613
|
+
*/
|
|
2614
|
+
readonly query?: string
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* Optional log filename filter
|
|
2618
|
+
* @type {string}
|
|
2619
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2620
|
+
*/
|
|
2621
|
+
readonly filename?: string
|
|
2622
|
+
|
|
2623
|
+
/**
|
|
2624
|
+
* Optional component name filter
|
|
2625
|
+
* @type {string}
|
|
2626
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2627
|
+
*/
|
|
2628
|
+
readonly componentName?: string
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Optional instance name filter
|
|
2632
|
+
* @type {string}
|
|
2633
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2634
|
+
*/
|
|
2635
|
+
readonly instanceName?: string
|
|
2636
|
+
|
|
2637
|
+
/**
|
|
2638
|
+
* Maximum number of lines to export. Defaults to 100000 if omitted
|
|
2639
|
+
* @type {number}
|
|
2640
|
+
* @memberof ClusterLogApiExportClusterLogs
|
|
2641
|
+
*/
|
|
2642
|
+
readonly maxLines?: number
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Request parameters for getSlowLogStats operation in ClusterLogApi.
|
|
2647
|
+
* @export
|
|
2648
|
+
* @interface ClusterLogApiGetSlowLogStatsRequest
|
|
2649
|
+
*/
|
|
2650
|
+
export interface ClusterLogApiGetSlowLogStatsRequest {
|
|
2651
|
+
/**
|
|
2652
|
+
*
|
|
2653
|
+
* @type {string}
|
|
2654
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2655
|
+
*/
|
|
2656
|
+
readonly orgName: string
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
*
|
|
2660
|
+
* @type {string}
|
|
2661
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2662
|
+
*/
|
|
2663
|
+
readonly clusterName: string
|
|
2664
|
+
|
|
2665
|
+
/**
|
|
2666
|
+
* Start time in epoch nanoseconds.
|
|
2667
|
+
* @type {string}
|
|
2668
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2669
|
+
*/
|
|
2670
|
+
readonly startTime: string
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* End time in epoch nanoseconds.
|
|
2674
|
+
* @type {string}
|
|
2675
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2676
|
+
*/
|
|
2677
|
+
readonly endTime: string
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
*
|
|
2681
|
+
* @type {string}
|
|
2682
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2683
|
+
*/
|
|
2684
|
+
readonly componentName?: string
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
*
|
|
2688
|
+
* @type {string}
|
|
2689
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2690
|
+
*/
|
|
2691
|
+
readonly instanceName?: string
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
*
|
|
2695
|
+
* @type {string}
|
|
2696
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2697
|
+
*/
|
|
2698
|
+
readonly query?: string
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2702
|
+
* @type {number}
|
|
2703
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2704
|
+
*/
|
|
2705
|
+
readonly minExecutionTime?: number
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
2709
|
+
* @type {number}
|
|
2710
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2711
|
+
*/
|
|
2712
|
+
readonly maxExecutionTime?: number
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2716
|
+
* @type {number}
|
|
2717
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2718
|
+
*/
|
|
2719
|
+
readonly minLockTime?: number
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
2723
|
+
* @type {number}
|
|
2724
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2725
|
+
*/
|
|
2726
|
+
readonly maxLockTime?: number
|
|
2727
|
+
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @type {number}
|
|
2731
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2732
|
+
*/
|
|
2733
|
+
readonly minRowsExamined?: number
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
*
|
|
2737
|
+
* @type {number}
|
|
2738
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2739
|
+
*/
|
|
2740
|
+
readonly maxRowsExamined?: number
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
*
|
|
2744
|
+
* @type {number}
|
|
2745
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2746
|
+
*/
|
|
2747
|
+
readonly minRowsSent?: number
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
*
|
|
2751
|
+
* @type {number}
|
|
2752
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2753
|
+
*/
|
|
2754
|
+
readonly maxRowsSent?: number
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @type {string}
|
|
2759
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2760
|
+
*/
|
|
2761
|
+
readonly dbName?: string
|
|
2762
|
+
|
|
2763
|
+
/**
|
|
2764
|
+
*
|
|
2765
|
+
* @type {string}
|
|
2766
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2767
|
+
*/
|
|
2768
|
+
readonly dbNameContains?: string
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
*
|
|
2772
|
+
* @type {string}
|
|
2773
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2774
|
+
*/
|
|
2775
|
+
readonly userName?: string
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
*
|
|
2779
|
+
* @type {string}
|
|
2780
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2781
|
+
*/
|
|
2782
|
+
readonly userNameContains?: string
|
|
2783
|
+
|
|
2784
|
+
/**
|
|
2785
|
+
*
|
|
2786
|
+
* @type {string}
|
|
2787
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2788
|
+
*/
|
|
2789
|
+
readonly clientIp?: string
|
|
2790
|
+
|
|
2791
|
+
/**
|
|
2792
|
+
*
|
|
2793
|
+
* @type {string}
|
|
2794
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2795
|
+
*/
|
|
2796
|
+
readonly clientIpContains?: string
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
*
|
|
2800
|
+
* @type {string}
|
|
2801
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2802
|
+
*/
|
|
2803
|
+
readonly clientIpCIDR?: string
|
|
2804
|
+
|
|
2805
|
+
/**
|
|
2806
|
+
*
|
|
2807
|
+
* @type {string}
|
|
2808
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2809
|
+
*/
|
|
2810
|
+
readonly appName?: string
|
|
2811
|
+
|
|
2812
|
+
/**
|
|
2813
|
+
*
|
|
2814
|
+
* @type {string}
|
|
2815
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2816
|
+
*/
|
|
2817
|
+
readonly appNameContains?: string
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
*
|
|
2821
|
+
* @type {string}
|
|
2822
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2823
|
+
*/
|
|
2824
|
+
readonly templateId?: string
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
*
|
|
2828
|
+
* @type {boolean}
|
|
2829
|
+
* @memberof ClusterLogApiGetSlowLogStats
|
|
2830
|
+
*/
|
|
2831
|
+
readonly unclassifiedOnly?: boolean
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* Request parameters for getSlowLogTemplate operation in ClusterLogApi.
|
|
2836
|
+
* @export
|
|
2837
|
+
* @interface ClusterLogApiGetSlowLogTemplateRequest
|
|
2838
|
+
*/
|
|
2839
|
+
export interface ClusterLogApiGetSlowLogTemplateRequest {
|
|
2840
|
+
/**
|
|
2841
|
+
*
|
|
2842
|
+
* @type {string}
|
|
2843
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2844
|
+
*/
|
|
2845
|
+
readonly orgName: string
|
|
2846
|
+
|
|
2847
|
+
/**
|
|
2848
|
+
*
|
|
2849
|
+
* @type {string}
|
|
2850
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2851
|
+
*/
|
|
2852
|
+
readonly clusterName: string
|
|
2853
|
+
|
|
2854
|
+
/**
|
|
2855
|
+
*
|
|
2856
|
+
* @type {string}
|
|
2857
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2858
|
+
*/
|
|
2859
|
+
readonly templateId: string
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* Start time in epoch nanoseconds.
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2865
|
+
*/
|
|
2866
|
+
readonly startTime: string
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* End time in epoch nanoseconds.
|
|
2870
|
+
* @type {string}
|
|
2871
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2872
|
+
*/
|
|
2873
|
+
readonly endTime: string
|
|
2874
|
+
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @type {string}
|
|
2878
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2879
|
+
*/
|
|
2880
|
+
readonly componentName?: string
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
*
|
|
2884
|
+
* @type {string}
|
|
2885
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2886
|
+
*/
|
|
2887
|
+
readonly instanceName?: string
|
|
2888
|
+
|
|
2889
|
+
/**
|
|
2890
|
+
*
|
|
2891
|
+
* @type {string}
|
|
2892
|
+
* @memberof ClusterLogApiGetSlowLogTemplate
|
|
2893
|
+
*/
|
|
2894
|
+
readonly query?: string
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* Request parameters for queryAuditLogs operation in ClusterLogApi.
|
|
2899
|
+
* @export
|
|
2900
|
+
* @interface ClusterLogApiQueryAuditLogsRequest
|
|
2901
|
+
*/
|
|
2902
|
+
export interface ClusterLogApiQueryAuditLogsRequest {
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @type {string}
|
|
2906
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2907
|
+
*/
|
|
2908
|
+
readonly orgName: string
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
*
|
|
2912
|
+
* @type {string}
|
|
2913
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2914
|
+
*/
|
|
2915
|
+
readonly clusterName: string
|
|
2916
|
+
|
|
2917
|
+
/**
|
|
2918
|
+
* Start time in epoch nanoseconds.
|
|
2919
|
+
* @type {string}
|
|
2920
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2921
|
+
*/
|
|
2922
|
+
readonly startTime: string
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
* End time in epoch nanoseconds.
|
|
2926
|
+
* @type {string}
|
|
2927
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2928
|
+
*/
|
|
2929
|
+
readonly endTime: string
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
*
|
|
2933
|
+
* @type {string}
|
|
2934
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2935
|
+
*/
|
|
2936
|
+
readonly limit?: string
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
*
|
|
2940
|
+
* @type {string}
|
|
2941
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2942
|
+
*/
|
|
2943
|
+
readonly componentName?: string
|
|
2944
|
+
|
|
2945
|
+
/**
|
|
2946
|
+
*
|
|
2947
|
+
* @type {string}
|
|
2948
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2949
|
+
*/
|
|
2950
|
+
readonly instanceName?: string
|
|
2951
|
+
|
|
2952
|
+
/**
|
|
2953
|
+
*
|
|
2954
|
+
* @type {SortType}
|
|
2955
|
+
* @memberof ClusterLogApiQueryAuditLogs
|
|
2956
|
+
*/
|
|
2957
|
+
readonly sortType?: SortType
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* Request parameters for queryErrorLogs operation in ClusterLogApi.
|
|
2962
|
+
* @export
|
|
2963
|
+
* @interface ClusterLogApiQueryErrorLogsRequest
|
|
2964
|
+
*/
|
|
2965
|
+
export interface ClusterLogApiQueryErrorLogsRequest {
|
|
2966
|
+
/**
|
|
2967
|
+
*
|
|
2968
|
+
* @type {string}
|
|
2969
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
2970
|
+
*/
|
|
2971
|
+
readonly orgName: string
|
|
2972
|
+
|
|
2973
|
+
/**
|
|
2974
|
+
*
|
|
2975
|
+
* @type {string}
|
|
2976
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1328
2977
|
*/
|
|
1329
2978
|
readonly clusterName: string
|
|
1330
2979
|
|
|
1331
2980
|
/**
|
|
1332
2981
|
* Start time in epoch nanoseconds.
|
|
1333
2982
|
* @type {string}
|
|
1334
|
-
* @memberof
|
|
2983
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1335
2984
|
*/
|
|
1336
2985
|
readonly startTime: string
|
|
1337
2986
|
|
|
1338
2987
|
/**
|
|
1339
2988
|
* End time in epoch nanoseconds.
|
|
1340
2989
|
* @type {string}
|
|
1341
|
-
* @memberof
|
|
2990
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1342
2991
|
*/
|
|
1343
2992
|
readonly endTime: string
|
|
1344
2993
|
|
|
1345
2994
|
/**
|
|
1346
2995
|
*
|
|
1347
2996
|
* @type {string}
|
|
1348
|
-
* @memberof
|
|
2997
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1349
2998
|
*/
|
|
1350
2999
|
readonly componentName?: string
|
|
1351
3000
|
|
|
1352
3001
|
/**
|
|
1353
3002
|
*
|
|
1354
3003
|
* @type {string}
|
|
1355
|
-
* @memberof
|
|
3004
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1356
3005
|
*/
|
|
1357
3006
|
readonly instanceName?: string
|
|
1358
3007
|
|
|
1359
3008
|
/**
|
|
1360
3009
|
*
|
|
1361
3010
|
* @type {string}
|
|
1362
|
-
* @memberof
|
|
3011
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1363
3012
|
*/
|
|
1364
|
-
readonly
|
|
3013
|
+
readonly filename?: string
|
|
1365
3014
|
|
|
1366
3015
|
/**
|
|
1367
3016
|
*
|
|
1368
3017
|
* @type {string}
|
|
1369
|
-
* @memberof
|
|
1370
|
-
*/
|
|
1371
|
-
readonly limit?: string
|
|
1372
|
-
|
|
1373
|
-
/**
|
|
1374
|
-
*
|
|
1375
|
-
* @type {SortType}
|
|
1376
|
-
* @memberof ClusterLogApiAggregateAuditLogs
|
|
3018
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1377
3019
|
*/
|
|
1378
|
-
readonly
|
|
3020
|
+
readonly query?: string
|
|
1379
3021
|
|
|
1380
3022
|
/**
|
|
1381
3023
|
*
|
|
1382
3024
|
* @type {string}
|
|
1383
|
-
* @memberof
|
|
3025
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1384
3026
|
*/
|
|
1385
|
-
readonly
|
|
3027
|
+
readonly limit?: string
|
|
1386
3028
|
|
|
1387
3029
|
/**
|
|
1388
3030
|
*
|
|
1389
|
-
* @type {
|
|
1390
|
-
* @memberof
|
|
3031
|
+
* @type {SortType}
|
|
3032
|
+
* @memberof ClusterLogApiQueryErrorLogs
|
|
1391
3033
|
*/
|
|
1392
|
-
readonly
|
|
3034
|
+
readonly sortType?: SortType
|
|
1393
3035
|
}
|
|
1394
3036
|
|
|
1395
3037
|
/**
|
|
1396
|
-
* Request parameters for
|
|
3038
|
+
* Request parameters for queryLogHits operation in ClusterLogApi.
|
|
1397
3039
|
* @export
|
|
1398
|
-
* @interface
|
|
3040
|
+
* @interface ClusterLogApiQueryLogHitsRequest
|
|
1399
3041
|
*/
|
|
1400
|
-
export interface
|
|
3042
|
+
export interface ClusterLogApiQueryLogHitsRequest {
|
|
1401
3043
|
/**
|
|
1402
3044
|
*
|
|
1403
3045
|
* @type {string}
|
|
1404
|
-
* @memberof
|
|
3046
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1405
3047
|
*/
|
|
1406
3048
|
readonly orgName: string
|
|
1407
3049
|
|
|
1408
3050
|
/**
|
|
1409
3051
|
*
|
|
1410
3052
|
* @type {string}
|
|
1411
|
-
* @memberof
|
|
3053
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1412
3054
|
*/
|
|
1413
3055
|
readonly clusterName: string
|
|
1414
3056
|
|
|
1415
3057
|
/**
|
|
1416
3058
|
* Start time in epoch nanoseconds.
|
|
1417
3059
|
* @type {string}
|
|
1418
|
-
* @memberof
|
|
3060
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1419
3061
|
*/
|
|
1420
3062
|
readonly startTime: string
|
|
1421
3063
|
|
|
1422
3064
|
/**
|
|
1423
3065
|
* End time in epoch nanoseconds.
|
|
1424
3066
|
* @type {string}
|
|
1425
|
-
* @memberof
|
|
3067
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1426
3068
|
*/
|
|
1427
3069
|
readonly endTime: string
|
|
1428
3070
|
|
|
3071
|
+
/**
|
|
3072
|
+
* Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
|
|
3073
|
+
* @type {string}
|
|
3074
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3075
|
+
*/
|
|
3076
|
+
readonly step: string
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* Log type: runninglog, errorlog, slow, auditlog
|
|
3080
|
+
* @type {string}
|
|
3081
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3082
|
+
*/
|
|
3083
|
+
readonly logType: string
|
|
3084
|
+
|
|
1429
3085
|
/**
|
|
1430
3086
|
*
|
|
1431
3087
|
* @type {string}
|
|
1432
|
-
* @memberof
|
|
3088
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1433
3089
|
*/
|
|
1434
3090
|
readonly componentName?: string
|
|
1435
3091
|
|
|
1436
3092
|
/**
|
|
1437
3093
|
*
|
|
1438
3094
|
* @type {string}
|
|
1439
|
-
* @memberof
|
|
3095
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1440
3096
|
*/
|
|
1441
3097
|
readonly instanceName?: string
|
|
1442
3098
|
|
|
1443
3099
|
/**
|
|
1444
3100
|
*
|
|
1445
3101
|
* @type {string}
|
|
1446
|
-
* @memberof
|
|
3102
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1447
3103
|
*/
|
|
1448
3104
|
readonly query?: string
|
|
1449
3105
|
|
|
3106
|
+
/**
|
|
3107
|
+
* Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
3108
|
+
* @type {number}
|
|
3109
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3110
|
+
*/
|
|
3111
|
+
readonly minExecutionTime?: number
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
3115
|
+
* @type {number}
|
|
3116
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3117
|
+
*/
|
|
3118
|
+
readonly maxExecutionTime?: number
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
3122
|
+
* @type {number}
|
|
3123
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3124
|
+
*/
|
|
3125
|
+
readonly minLockTime?: number
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
3129
|
+
* @type {number}
|
|
3130
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3131
|
+
*/
|
|
3132
|
+
readonly maxLockTime?: number
|
|
3133
|
+
|
|
1450
3134
|
/**
|
|
1451
3135
|
*
|
|
1452
|
-
* @type {
|
|
1453
|
-
* @memberof
|
|
3136
|
+
* @type {number}
|
|
3137
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1454
3138
|
*/
|
|
1455
|
-
readonly
|
|
3139
|
+
readonly minRowsExamined?: number
|
|
1456
3140
|
|
|
1457
3141
|
/**
|
|
1458
3142
|
*
|
|
1459
|
-
* @type {
|
|
1460
|
-
* @memberof
|
|
3143
|
+
* @type {number}
|
|
3144
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1461
3145
|
*/
|
|
1462
|
-
readonly
|
|
3146
|
+
readonly maxRowsExamined?: number
|
|
1463
3147
|
|
|
1464
3148
|
/**
|
|
1465
3149
|
*
|
|
1466
|
-
* @type {
|
|
1467
|
-
* @memberof
|
|
3150
|
+
* @type {number}
|
|
3151
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1468
3152
|
*/
|
|
1469
|
-
readonly
|
|
3153
|
+
readonly minRowsSent?: number
|
|
1470
3154
|
|
|
1471
3155
|
/**
|
|
1472
3156
|
*
|
|
1473
3157
|
* @type {number}
|
|
1474
|
-
* @memberof
|
|
3158
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1475
3159
|
*/
|
|
1476
|
-
readonly
|
|
1477
|
-
}
|
|
3160
|
+
readonly maxRowsSent?: number
|
|
1478
3161
|
|
|
1479
|
-
/**
|
|
1480
|
-
* Request parameters for exportClusterLogs operation in ClusterLogApi.
|
|
1481
|
-
* @export
|
|
1482
|
-
* @interface ClusterLogApiExportClusterLogsRequest
|
|
1483
|
-
*/
|
|
1484
|
-
export interface ClusterLogApiExportClusterLogsRequest {
|
|
1485
3162
|
/**
|
|
1486
3163
|
*
|
|
1487
3164
|
* @type {string}
|
|
1488
|
-
* @memberof
|
|
3165
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1489
3166
|
*/
|
|
1490
|
-
readonly
|
|
3167
|
+
readonly dbName?: string
|
|
1491
3168
|
|
|
1492
3169
|
/**
|
|
1493
3170
|
*
|
|
1494
3171
|
* @type {string}
|
|
1495
|
-
* @memberof
|
|
3172
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1496
3173
|
*/
|
|
1497
|
-
readonly
|
|
3174
|
+
readonly userName?: string
|
|
1498
3175
|
|
|
1499
3176
|
/**
|
|
1500
|
-
*
|
|
3177
|
+
*
|
|
1501
3178
|
* @type {string}
|
|
1502
|
-
* @memberof
|
|
3179
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1503
3180
|
*/
|
|
1504
|
-
readonly
|
|
3181
|
+
readonly clientIp?: string
|
|
1505
3182
|
|
|
1506
3183
|
/**
|
|
1507
|
-
*
|
|
1508
|
-
* @type {
|
|
1509
|
-
* @memberof
|
|
3184
|
+
*
|
|
3185
|
+
* @type {string}
|
|
3186
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1510
3187
|
*/
|
|
1511
|
-
readonly
|
|
3188
|
+
readonly appName?: string
|
|
1512
3189
|
|
|
1513
3190
|
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @type {
|
|
1516
|
-
* @memberof
|
|
3191
|
+
*
|
|
3192
|
+
* @type {string}
|
|
3193
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
1517
3194
|
*/
|
|
1518
|
-
readonly
|
|
3195
|
+
readonly templateId?: string
|
|
1519
3196
|
|
|
1520
3197
|
/**
|
|
1521
|
-
*
|
|
3198
|
+
*
|
|
3199
|
+
* @type {boolean}
|
|
3200
|
+
* @memberof ClusterLogApiQueryLogHits
|
|
3201
|
+
*/
|
|
3202
|
+
readonly unclassifiedOnly?: boolean
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Request parameters for queryPodLogs operation in ClusterLogApi.
|
|
3207
|
+
* @export
|
|
3208
|
+
* @interface ClusterLogApiQueryPodLogsRequest
|
|
3209
|
+
*/
|
|
3210
|
+
export interface ClusterLogApiQueryPodLogsRequest {
|
|
3211
|
+
/**
|
|
3212
|
+
*
|
|
1522
3213
|
* @type {string}
|
|
1523
|
-
* @memberof
|
|
3214
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
1524
3215
|
*/
|
|
1525
|
-
readonly
|
|
3216
|
+
readonly orgName: string
|
|
1526
3217
|
|
|
1527
3218
|
/**
|
|
1528
|
-
*
|
|
3219
|
+
*
|
|
1529
3220
|
* @type {string}
|
|
1530
|
-
* @memberof
|
|
3221
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
1531
3222
|
*/
|
|
1532
|
-
readonly
|
|
3223
|
+
readonly clusterName: string
|
|
1533
3224
|
|
|
1534
3225
|
/**
|
|
1535
|
-
*
|
|
3226
|
+
* Start time in epoch nanoseconds.
|
|
1536
3227
|
* @type {string}
|
|
1537
|
-
* @memberof
|
|
3228
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
1538
3229
|
*/
|
|
1539
|
-
readonly
|
|
3230
|
+
readonly startTime: string
|
|
1540
3231
|
|
|
1541
3232
|
/**
|
|
1542
|
-
*
|
|
3233
|
+
* End time in epoch nanoseconds.
|
|
1543
3234
|
* @type {string}
|
|
1544
|
-
* @memberof
|
|
3235
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
3236
|
+
*/
|
|
3237
|
+
readonly endTime: string
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
*
|
|
3241
|
+
* @type {string}
|
|
3242
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
1545
3243
|
*/
|
|
1546
3244
|
readonly componentName?: string
|
|
1547
3245
|
|
|
1548
3246
|
/**
|
|
1549
|
-
*
|
|
3247
|
+
*
|
|
1550
3248
|
* @type {string}
|
|
1551
|
-
* @memberof
|
|
3249
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
1552
3250
|
*/
|
|
1553
3251
|
readonly instanceName?: string
|
|
1554
3252
|
|
|
1555
3253
|
/**
|
|
1556
|
-
*
|
|
1557
|
-
* @type {
|
|
1558
|
-
* @memberof
|
|
3254
|
+
*
|
|
3255
|
+
* @type {string}
|
|
3256
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
1559
3257
|
*/
|
|
1560
|
-
readonly
|
|
3258
|
+
readonly filename?: string
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
*
|
|
3262
|
+
* @type {string}
|
|
3263
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
3264
|
+
*/
|
|
3265
|
+
readonly limit?: string
|
|
3266
|
+
|
|
3267
|
+
/**
|
|
3268
|
+
*
|
|
3269
|
+
* @type {SortType}
|
|
3270
|
+
* @memberof ClusterLogApiQueryPodLogs
|
|
3271
|
+
*/
|
|
3272
|
+
readonly sortType?: SortType
|
|
1561
3273
|
}
|
|
1562
3274
|
|
|
1563
3275
|
/**
|
|
1564
|
-
* Request parameters for
|
|
3276
|
+
* Request parameters for queryRunningLogs operation in ClusterLogApi.
|
|
1565
3277
|
* @export
|
|
1566
|
-
* @interface
|
|
3278
|
+
* @interface ClusterLogApiQueryRunningLogsRequest
|
|
1567
3279
|
*/
|
|
1568
|
-
export interface
|
|
3280
|
+
export interface ClusterLogApiQueryRunningLogsRequest {
|
|
1569
3281
|
/**
|
|
1570
3282
|
*
|
|
1571
3283
|
* @type {string}
|
|
1572
|
-
* @memberof
|
|
3284
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
1573
3285
|
*/
|
|
1574
3286
|
readonly orgName: string
|
|
1575
3287
|
|
|
1576
3288
|
/**
|
|
1577
3289
|
*
|
|
1578
3290
|
* @type {string}
|
|
1579
|
-
* @memberof
|
|
3291
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
1580
3292
|
*/
|
|
1581
3293
|
readonly clusterName: string
|
|
1582
3294
|
|
|
1583
3295
|
/**
|
|
1584
3296
|
* Start time in epoch nanoseconds.
|
|
1585
3297
|
* @type {string}
|
|
1586
|
-
* @memberof
|
|
3298
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
1587
3299
|
*/
|
|
1588
3300
|
readonly startTime: string
|
|
1589
3301
|
|
|
1590
3302
|
/**
|
|
1591
3303
|
* End time in epoch nanoseconds.
|
|
1592
3304
|
* @type {string}
|
|
1593
|
-
* @memberof
|
|
3305
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
1594
3306
|
*/
|
|
1595
3307
|
readonly endTime: string
|
|
1596
3308
|
|
|
1597
3309
|
/**
|
|
1598
3310
|
*
|
|
1599
3311
|
* @type {string}
|
|
1600
|
-
* @memberof
|
|
3312
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
1601
3313
|
*/
|
|
1602
3314
|
readonly componentName?: string
|
|
1603
3315
|
|
|
1604
3316
|
/**
|
|
1605
3317
|
*
|
|
1606
3318
|
* @type {string}
|
|
1607
|
-
* @memberof
|
|
3319
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
1608
3320
|
*/
|
|
1609
3321
|
readonly instanceName?: string
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
*
|
|
3325
|
+
* @type {string}
|
|
3326
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
3327
|
+
*/
|
|
3328
|
+
readonly filename?: string
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
*
|
|
3332
|
+
* @type {string}
|
|
3333
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
3334
|
+
*/
|
|
3335
|
+
readonly limit?: string
|
|
3336
|
+
|
|
3337
|
+
/**
|
|
3338
|
+
*
|
|
3339
|
+
* @type {string}
|
|
3340
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
3341
|
+
*/
|
|
3342
|
+
readonly query?: string
|
|
3343
|
+
|
|
3344
|
+
/**
|
|
3345
|
+
*
|
|
3346
|
+
* @type {SortType}
|
|
3347
|
+
* @memberof ClusterLogApiQueryRunningLogs
|
|
3348
|
+
*/
|
|
3349
|
+
readonly sortType?: SortType
|
|
1610
3350
|
}
|
|
1611
3351
|
|
|
1612
3352
|
/**
|
|
1613
|
-
* Request parameters for
|
|
3353
|
+
* Request parameters for querySlowLogTemplateSamples operation in ClusterLogApi.
|
|
1614
3354
|
* @export
|
|
1615
|
-
* @interface
|
|
3355
|
+
* @interface ClusterLogApiQuerySlowLogTemplateSamplesRequest
|
|
1616
3356
|
*/
|
|
1617
|
-
export interface
|
|
3357
|
+
export interface ClusterLogApiQuerySlowLogTemplateSamplesRequest {
|
|
1618
3358
|
/**
|
|
1619
3359
|
*
|
|
1620
3360
|
* @type {string}
|
|
1621
|
-
* @memberof
|
|
3361
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1622
3362
|
*/
|
|
1623
3363
|
readonly orgName: string
|
|
1624
3364
|
|
|
1625
3365
|
/**
|
|
1626
3366
|
*
|
|
1627
3367
|
* @type {string}
|
|
1628
|
-
* @memberof
|
|
3368
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1629
3369
|
*/
|
|
1630
3370
|
readonly clusterName: string
|
|
1631
3371
|
|
|
3372
|
+
/**
|
|
3373
|
+
*
|
|
3374
|
+
* @type {string}
|
|
3375
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
3376
|
+
*/
|
|
3377
|
+
readonly templateId: string
|
|
3378
|
+
|
|
1632
3379
|
/**
|
|
1633
3380
|
* Start time in epoch nanoseconds.
|
|
1634
3381
|
* @type {string}
|
|
1635
|
-
* @memberof
|
|
3382
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1636
3383
|
*/
|
|
1637
3384
|
readonly startTime: string
|
|
1638
3385
|
|
|
1639
3386
|
/**
|
|
1640
3387
|
* End time in epoch nanoseconds.
|
|
1641
3388
|
* @type {string}
|
|
1642
|
-
* @memberof
|
|
3389
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1643
3390
|
*/
|
|
1644
3391
|
readonly endTime: string
|
|
1645
3392
|
|
|
1646
3393
|
/**
|
|
1647
3394
|
*
|
|
1648
3395
|
* @type {string}
|
|
1649
|
-
* @memberof
|
|
3396
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1650
3397
|
*/
|
|
1651
|
-
readonly
|
|
3398
|
+
readonly componentName?: string
|
|
1652
3399
|
|
|
1653
3400
|
/**
|
|
1654
3401
|
*
|
|
1655
3402
|
* @type {string}
|
|
1656
|
-
* @memberof
|
|
3403
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1657
3404
|
*/
|
|
1658
|
-
readonly
|
|
3405
|
+
readonly instanceName?: string
|
|
1659
3406
|
|
|
1660
3407
|
/**
|
|
1661
3408
|
*
|
|
1662
3409
|
* @type {string}
|
|
1663
|
-
* @memberof
|
|
3410
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1664
3411
|
*/
|
|
1665
|
-
readonly
|
|
3412
|
+
readonly query?: string
|
|
3413
|
+
|
|
3414
|
+
/**
|
|
3415
|
+
*
|
|
3416
|
+
* @type {string}
|
|
3417
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
3418
|
+
*/
|
|
3419
|
+
readonly limit?: string
|
|
1666
3420
|
|
|
1667
3421
|
/**
|
|
1668
3422
|
*
|
|
1669
3423
|
* @type {SortType}
|
|
1670
|
-
* @memberof
|
|
3424
|
+
* @memberof ClusterLogApiQuerySlowLogTemplateSamples
|
|
1671
3425
|
*/
|
|
1672
3426
|
readonly sortType?: SortType
|
|
1673
3427
|
}
|
|
1674
3428
|
|
|
1675
3429
|
/**
|
|
1676
|
-
* Request parameters for
|
|
3430
|
+
* Request parameters for querySlowLogTemplates operation in ClusterLogApi.
|
|
1677
3431
|
* @export
|
|
1678
|
-
* @interface
|
|
3432
|
+
* @interface ClusterLogApiQuerySlowLogTemplatesRequest
|
|
1679
3433
|
*/
|
|
1680
|
-
export interface
|
|
3434
|
+
export interface ClusterLogApiQuerySlowLogTemplatesRequest {
|
|
1681
3435
|
/**
|
|
1682
3436
|
*
|
|
1683
3437
|
* @type {string}
|
|
1684
|
-
* @memberof
|
|
3438
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1685
3439
|
*/
|
|
1686
3440
|
readonly orgName: string
|
|
1687
3441
|
|
|
1688
3442
|
/**
|
|
1689
3443
|
*
|
|
1690
3444
|
* @type {string}
|
|
1691
|
-
* @memberof
|
|
3445
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1692
3446
|
*/
|
|
1693
3447
|
readonly clusterName: string
|
|
1694
3448
|
|
|
1695
3449
|
/**
|
|
1696
3450
|
* Start time in epoch nanoseconds.
|
|
1697
3451
|
* @type {string}
|
|
1698
|
-
* @memberof
|
|
3452
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1699
3453
|
*/
|
|
1700
3454
|
readonly startTime: string
|
|
1701
3455
|
|
|
1702
3456
|
/**
|
|
1703
3457
|
* End time in epoch nanoseconds.
|
|
1704
3458
|
* @type {string}
|
|
1705
|
-
* @memberof
|
|
3459
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1706
3460
|
*/
|
|
1707
3461
|
readonly endTime: string
|
|
1708
3462
|
|
|
1709
3463
|
/**
|
|
1710
3464
|
*
|
|
1711
3465
|
* @type {string}
|
|
1712
|
-
* @memberof
|
|
3466
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1713
3467
|
*/
|
|
1714
3468
|
readonly componentName?: string
|
|
1715
3469
|
|
|
1716
3470
|
/**
|
|
1717
3471
|
*
|
|
1718
3472
|
* @type {string}
|
|
1719
|
-
* @memberof
|
|
3473
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1720
3474
|
*/
|
|
1721
3475
|
readonly instanceName?: string
|
|
1722
3476
|
|
|
1723
3477
|
/**
|
|
1724
3478
|
*
|
|
1725
3479
|
* @type {string}
|
|
1726
|
-
* @memberof
|
|
3480
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1727
3481
|
*/
|
|
1728
|
-
readonly
|
|
3482
|
+
readonly query?: string
|
|
1729
3483
|
|
|
1730
3484
|
/**
|
|
1731
3485
|
*
|
|
1732
|
-
* @type {
|
|
1733
|
-
* @memberof
|
|
3486
|
+
* @type {number}
|
|
3487
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1734
3488
|
*/
|
|
1735
|
-
readonly
|
|
3489
|
+
readonly topN?: number
|
|
1736
3490
|
|
|
1737
3491
|
/**
|
|
1738
|
-
*
|
|
3492
|
+
* Sort templates by count or avgExecutionTime.
|
|
1739
3493
|
* @type {string}
|
|
1740
|
-
* @memberof
|
|
3494
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1741
3495
|
*/
|
|
1742
|
-
readonly
|
|
3496
|
+
readonly sortBy?: string
|
|
1743
3497
|
|
|
1744
3498
|
/**
|
|
1745
3499
|
*
|
|
1746
3500
|
* @type {SortType}
|
|
1747
|
-
* @memberof
|
|
3501
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1748
3502
|
*/
|
|
1749
3503
|
readonly sortType?: SortType
|
|
1750
|
-
}
|
|
1751
3504
|
|
|
1752
|
-
/**
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
3505
|
+
/**
|
|
3506
|
+
* Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3507
|
+
* @type {number}
|
|
3508
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3509
|
+
*/
|
|
3510
|
+
readonly minExecutionTime?: number
|
|
3511
|
+
|
|
3512
|
+
/**
|
|
3513
|
+
* Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3514
|
+
* @type {number}
|
|
3515
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3516
|
+
*/
|
|
3517
|
+
readonly maxExecutionTime?: number
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3521
|
+
* @type {number}
|
|
3522
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3523
|
+
*/
|
|
3524
|
+
readonly minLockTime?: number
|
|
3525
|
+
|
|
3526
|
+
/**
|
|
3527
|
+
* Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3528
|
+
* @type {number}
|
|
3529
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3530
|
+
*/
|
|
3531
|
+
readonly maxLockTime?: number
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
*
|
|
3535
|
+
* @type {number}
|
|
3536
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3537
|
+
*/
|
|
3538
|
+
readonly minRowsExamined?: number
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
*
|
|
3542
|
+
* @type {number}
|
|
3543
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3544
|
+
*/
|
|
3545
|
+
readonly maxRowsExamined?: number
|
|
3546
|
+
|
|
3547
|
+
/**
|
|
3548
|
+
*
|
|
3549
|
+
* @type {number}
|
|
3550
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3551
|
+
*/
|
|
3552
|
+
readonly minRowsSent?: number
|
|
3553
|
+
|
|
3554
|
+
/**
|
|
3555
|
+
*
|
|
3556
|
+
* @type {number}
|
|
3557
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
3558
|
+
*/
|
|
3559
|
+
readonly maxRowsSent?: number
|
|
3560
|
+
|
|
1758
3561
|
/**
|
|
1759
3562
|
*
|
|
1760
3563
|
* @type {string}
|
|
1761
|
-
* @memberof
|
|
3564
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1762
3565
|
*/
|
|
1763
|
-
readonly
|
|
3566
|
+
readonly dbName?: string
|
|
1764
3567
|
|
|
1765
3568
|
/**
|
|
1766
3569
|
*
|
|
1767
3570
|
* @type {string}
|
|
1768
|
-
* @memberof
|
|
3571
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1769
3572
|
*/
|
|
1770
|
-
readonly
|
|
3573
|
+
readonly dbNameContains?: string
|
|
1771
3574
|
|
|
1772
3575
|
/**
|
|
1773
|
-
*
|
|
3576
|
+
*
|
|
1774
3577
|
* @type {string}
|
|
1775
|
-
* @memberof
|
|
3578
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1776
3579
|
*/
|
|
1777
|
-
readonly
|
|
3580
|
+
readonly userName?: string
|
|
1778
3581
|
|
|
1779
3582
|
/**
|
|
1780
|
-
*
|
|
3583
|
+
*
|
|
1781
3584
|
* @type {string}
|
|
1782
|
-
* @memberof
|
|
3585
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1783
3586
|
*/
|
|
1784
|
-
readonly
|
|
3587
|
+
readonly userNameContains?: string
|
|
1785
3588
|
|
|
1786
3589
|
/**
|
|
1787
|
-
*
|
|
3590
|
+
*
|
|
1788
3591
|
* @type {string}
|
|
1789
|
-
* @memberof
|
|
3592
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1790
3593
|
*/
|
|
1791
|
-
readonly
|
|
3594
|
+
readonly clientIp?: string
|
|
1792
3595
|
|
|
1793
3596
|
/**
|
|
1794
|
-
*
|
|
3597
|
+
*
|
|
1795
3598
|
* @type {string}
|
|
1796
|
-
* @memberof
|
|
3599
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1797
3600
|
*/
|
|
1798
|
-
readonly
|
|
3601
|
+
readonly clientIpContains?: string
|
|
1799
3602
|
|
|
1800
3603
|
/**
|
|
1801
3604
|
*
|
|
1802
3605
|
* @type {string}
|
|
1803
|
-
* @memberof
|
|
3606
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1804
3607
|
*/
|
|
1805
|
-
readonly
|
|
3608
|
+
readonly clientIpCIDR?: string
|
|
1806
3609
|
|
|
1807
3610
|
/**
|
|
1808
3611
|
*
|
|
1809
3612
|
* @type {string}
|
|
1810
|
-
* @memberof
|
|
3613
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1811
3614
|
*/
|
|
1812
|
-
readonly
|
|
3615
|
+
readonly appName?: string
|
|
1813
3616
|
|
|
1814
3617
|
/**
|
|
1815
3618
|
*
|
|
1816
3619
|
* @type {string}
|
|
1817
|
-
* @memberof
|
|
3620
|
+
* @memberof ClusterLogApiQuerySlowLogTemplates
|
|
1818
3621
|
*/
|
|
1819
|
-
readonly
|
|
3622
|
+
readonly appNameContains?: string
|
|
1820
3623
|
}
|
|
1821
3624
|
|
|
1822
3625
|
/**
|
|
1823
|
-
* Request parameters for
|
|
3626
|
+
* Request parameters for querySlowLogs operation in ClusterLogApi.
|
|
1824
3627
|
* @export
|
|
1825
|
-
* @interface
|
|
3628
|
+
* @interface ClusterLogApiQuerySlowLogsRequest
|
|
1826
3629
|
*/
|
|
1827
|
-
export interface
|
|
3630
|
+
export interface ClusterLogApiQuerySlowLogsRequest {
|
|
1828
3631
|
/**
|
|
1829
3632
|
*
|
|
1830
3633
|
* @type {string}
|
|
1831
|
-
* @memberof
|
|
3634
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1832
3635
|
*/
|
|
1833
3636
|
readonly orgName: string
|
|
1834
3637
|
|
|
1835
3638
|
/**
|
|
1836
3639
|
*
|
|
1837
3640
|
* @type {string}
|
|
1838
|
-
* @memberof
|
|
3641
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1839
3642
|
*/
|
|
1840
3643
|
readonly clusterName: string
|
|
1841
3644
|
|
|
1842
3645
|
/**
|
|
1843
3646
|
* Start time in epoch nanoseconds.
|
|
1844
3647
|
* @type {string}
|
|
1845
|
-
* @memberof
|
|
3648
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1846
3649
|
*/
|
|
1847
3650
|
readonly startTime: string
|
|
1848
3651
|
|
|
1849
3652
|
/**
|
|
1850
3653
|
* End time in epoch nanoseconds.
|
|
1851
3654
|
* @type {string}
|
|
1852
|
-
* @memberof
|
|
3655
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1853
3656
|
*/
|
|
1854
3657
|
readonly endTime: string
|
|
1855
3658
|
|
|
1856
3659
|
/**
|
|
1857
3660
|
*
|
|
1858
3661
|
* @type {string}
|
|
1859
|
-
* @memberof
|
|
3662
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1860
3663
|
*/
|
|
1861
3664
|
readonly componentName?: string
|
|
1862
3665
|
|
|
1863
3666
|
/**
|
|
1864
3667
|
*
|
|
1865
3668
|
* @type {string}
|
|
1866
|
-
* @memberof
|
|
3669
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1867
3670
|
*/
|
|
1868
3671
|
readonly instanceName?: string
|
|
1869
3672
|
|
|
1870
3673
|
/**
|
|
1871
3674
|
*
|
|
1872
3675
|
* @type {string}
|
|
1873
|
-
* @memberof
|
|
3676
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1874
3677
|
*/
|
|
1875
|
-
readonly
|
|
3678
|
+
readonly query?: string
|
|
1876
3679
|
|
|
1877
3680
|
/**
|
|
1878
3681
|
*
|
|
1879
3682
|
* @type {string}
|
|
1880
|
-
* @memberof
|
|
3683
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1881
3684
|
*/
|
|
1882
3685
|
readonly limit?: string
|
|
1883
3686
|
|
|
1884
3687
|
/**
|
|
1885
3688
|
*
|
|
1886
3689
|
* @type {SortType}
|
|
1887
|
-
* @memberof
|
|
3690
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1888
3691
|
*/
|
|
1889
3692
|
readonly sortType?: SortType
|
|
1890
|
-
}
|
|
1891
3693
|
|
|
1892
|
-
/**
|
|
1893
|
-
* Request parameters for queryRunningLogs operation in ClusterLogApi.
|
|
1894
|
-
* @export
|
|
1895
|
-
* @interface ClusterLogApiQueryRunningLogsRequest
|
|
1896
|
-
*/
|
|
1897
|
-
export interface ClusterLogApiQueryRunningLogsRequest {
|
|
1898
3694
|
/**
|
|
1899
|
-
*
|
|
1900
|
-
* @type {
|
|
1901
|
-
* @memberof
|
|
3695
|
+
* Minimum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3696
|
+
* @type {number}
|
|
3697
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1902
3698
|
*/
|
|
1903
|
-
readonly
|
|
3699
|
+
readonly minExecutionTime?: number
|
|
1904
3700
|
|
|
1905
3701
|
/**
|
|
1906
|
-
*
|
|
1907
|
-
* @type {
|
|
1908
|
-
* @memberof
|
|
3702
|
+
* Maximum execution time in seconds. Decimal values are supported, for example 0.5.
|
|
3703
|
+
* @type {number}
|
|
3704
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1909
3705
|
*/
|
|
1910
|
-
readonly
|
|
3706
|
+
readonly maxExecutionTime?: number
|
|
1911
3707
|
|
|
1912
3708
|
/**
|
|
1913
|
-
*
|
|
1914
|
-
* @type {
|
|
1915
|
-
* @memberof
|
|
3709
|
+
* Minimum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3710
|
+
* @type {number}
|
|
3711
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1916
3712
|
*/
|
|
1917
|
-
readonly
|
|
3713
|
+
readonly minLockTime?: number
|
|
1918
3714
|
|
|
1919
3715
|
/**
|
|
1920
|
-
*
|
|
1921
|
-
* @type {
|
|
1922
|
-
* @memberof
|
|
3716
|
+
* Maximum lock time in seconds. Decimal values are supported, for example 0.001.
|
|
3717
|
+
* @type {number}
|
|
3718
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1923
3719
|
*/
|
|
1924
|
-
readonly
|
|
3720
|
+
readonly maxLockTime?: number
|
|
1925
3721
|
|
|
1926
3722
|
/**
|
|
1927
3723
|
*
|
|
1928
|
-
* @type {
|
|
1929
|
-
* @memberof
|
|
3724
|
+
* @type {number}
|
|
3725
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1930
3726
|
*/
|
|
1931
|
-
readonly
|
|
3727
|
+
readonly minRowsExamined?: number
|
|
1932
3728
|
|
|
1933
3729
|
/**
|
|
1934
3730
|
*
|
|
1935
|
-
* @type {
|
|
1936
|
-
* @memberof
|
|
3731
|
+
* @type {number}
|
|
3732
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1937
3733
|
*/
|
|
1938
|
-
readonly
|
|
3734
|
+
readonly maxRowsExamined?: number
|
|
1939
3735
|
|
|
1940
3736
|
/**
|
|
1941
3737
|
*
|
|
1942
|
-
* @type {
|
|
1943
|
-
* @memberof
|
|
3738
|
+
* @type {number}
|
|
3739
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1944
3740
|
*/
|
|
1945
|
-
readonly
|
|
3741
|
+
readonly minRowsSent?: number
|
|
1946
3742
|
|
|
1947
3743
|
/**
|
|
1948
3744
|
*
|
|
1949
|
-
* @type {
|
|
1950
|
-
* @memberof
|
|
3745
|
+
* @type {number}
|
|
3746
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1951
3747
|
*/
|
|
1952
|
-
readonly
|
|
3748
|
+
readonly maxRowsSent?: number
|
|
1953
3749
|
|
|
1954
3750
|
/**
|
|
1955
3751
|
*
|
|
1956
3752
|
* @type {string}
|
|
1957
|
-
* @memberof
|
|
3753
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1958
3754
|
*/
|
|
1959
|
-
readonly
|
|
3755
|
+
readonly dbName?: string
|
|
1960
3756
|
|
|
1961
3757
|
/**
|
|
1962
3758
|
*
|
|
1963
|
-
* @type {
|
|
1964
|
-
* @memberof
|
|
3759
|
+
* @type {string}
|
|
3760
|
+
* @memberof ClusterLogApiQuerySlowLogs
|
|
1965
3761
|
*/
|
|
1966
|
-
readonly
|
|
1967
|
-
}
|
|
3762
|
+
readonly dbNameContains?: string
|
|
1968
3763
|
|
|
1969
|
-
/**
|
|
1970
|
-
* Request parameters for querySlowLogs operation in ClusterLogApi.
|
|
1971
|
-
* @export
|
|
1972
|
-
* @interface ClusterLogApiQuerySlowLogsRequest
|
|
1973
|
-
*/
|
|
1974
|
-
export interface ClusterLogApiQuerySlowLogsRequest {
|
|
1975
3764
|
/**
|
|
1976
3765
|
*
|
|
1977
3766
|
* @type {string}
|
|
1978
3767
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
1979
3768
|
*/
|
|
1980
|
-
readonly
|
|
3769
|
+
readonly userName?: string
|
|
1981
3770
|
|
|
1982
3771
|
/**
|
|
1983
3772
|
*
|
|
1984
3773
|
* @type {string}
|
|
1985
3774
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
1986
3775
|
*/
|
|
1987
|
-
readonly
|
|
3776
|
+
readonly userNameContains?: string
|
|
1988
3777
|
|
|
1989
3778
|
/**
|
|
1990
|
-
*
|
|
3779
|
+
*
|
|
1991
3780
|
* @type {string}
|
|
1992
3781
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
1993
3782
|
*/
|
|
1994
|
-
readonly
|
|
3783
|
+
readonly clientIp?: string
|
|
1995
3784
|
|
|
1996
3785
|
/**
|
|
1997
|
-
*
|
|
3786
|
+
*
|
|
1998
3787
|
* @type {string}
|
|
1999
3788
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2000
3789
|
*/
|
|
2001
|
-
readonly
|
|
3790
|
+
readonly clientIpContains?: string
|
|
2002
3791
|
|
|
2003
3792
|
/**
|
|
2004
3793
|
*
|
|
2005
3794
|
* @type {string}
|
|
2006
3795
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2007
3796
|
*/
|
|
2008
|
-
readonly
|
|
3797
|
+
readonly clientIpCIDR?: string
|
|
2009
3798
|
|
|
2010
3799
|
/**
|
|
2011
3800
|
*
|
|
2012
3801
|
* @type {string}
|
|
2013
3802
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2014
3803
|
*/
|
|
2015
|
-
readonly
|
|
3804
|
+
readonly appName?: string
|
|
2016
3805
|
|
|
2017
3806
|
/**
|
|
2018
3807
|
*
|
|
2019
3808
|
* @type {string}
|
|
2020
3809
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2021
3810
|
*/
|
|
2022
|
-
readonly
|
|
3811
|
+
readonly appNameContains?: string
|
|
2023
3812
|
|
|
2024
3813
|
/**
|
|
2025
3814
|
*
|
|
2026
3815
|
* @type {string}
|
|
2027
3816
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2028
3817
|
*/
|
|
2029
|
-
readonly
|
|
3818
|
+
readonly templateId?: string
|
|
2030
3819
|
|
|
2031
3820
|
/**
|
|
2032
3821
|
*
|
|
2033
|
-
* @type {
|
|
3822
|
+
* @type {boolean}
|
|
2034
3823
|
* @memberof ClusterLogApiQuerySlowLogs
|
|
2035
3824
|
*/
|
|
2036
|
-
readonly
|
|
3825
|
+
readonly unclassifiedOnly?: boolean
|
|
2037
3826
|
}
|
|
2038
3827
|
|
|
2039
3828
|
/**
|
|
@@ -2067,6 +3856,30 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
2067
3856
|
return ClusterLogApiFp(this.configuration).aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(this.axios, this.basePath));
|
|
2068
3857
|
}
|
|
2069
3858
|
|
|
3859
|
+
/**
|
|
3860
|
+
* Explain a concrete SQL from a slow log using the cluster default datasource.
|
|
3861
|
+
* @summary Explain cluster slow log SQL
|
|
3862
|
+
* @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
|
|
3863
|
+
* @param {*} [options] Override http request option.
|
|
3864
|
+
* @throws {RequiredError}
|
|
3865
|
+
* @memberof ClusterLogApi
|
|
3866
|
+
*/
|
|
3867
|
+
public explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
3868
|
+
return ClusterLogApiFp(this.configuration).explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
/**
|
|
3872
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
|
|
3873
|
+
* @summary Explain cluster slow log template
|
|
3874
|
+
* @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
3875
|
+
* @param {*} [options] Override http request option.
|
|
3876
|
+
* @throws {RequiredError}
|
|
3877
|
+
* @memberof ClusterLogApi
|
|
3878
|
+
*/
|
|
3879
|
+
public explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
|
|
3880
|
+
return ClusterLogApiFp(this.configuration).explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
|
|
3881
|
+
}
|
|
3882
|
+
|
|
2070
3883
|
/**
|
|
2071
3884
|
* Export cluster logs and return as a file download
|
|
2072
3885
|
* @summary Export cluster logs
|
|
@@ -2088,7 +3901,19 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
2088
3901
|
* @memberof ClusterLogApi
|
|
2089
3902
|
*/
|
|
2090
3903
|
public getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig) {
|
|
2091
|
-
return ClusterLogApiFp(this.configuration).getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, options).then((request) => request(this.axios, this.basePath));
|
|
3904
|
+
return ClusterLogApiFp(this.configuration).getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* Get a slow log template of a cluster (VictoriaLogs backend only)
|
|
3909
|
+
* @summary Get cluster slow log template
|
|
3910
|
+
* @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
|
|
3911
|
+
* @param {*} [options] Override http request option.
|
|
3912
|
+
* @throws {RequiredError}
|
|
3913
|
+
* @memberof ClusterLogApi
|
|
3914
|
+
*/
|
|
3915
|
+
public getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
|
|
3916
|
+
return ClusterLogApiFp(this.configuration).getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
|
|
2092
3917
|
}
|
|
2093
3918
|
|
|
2094
3919
|
/**
|
|
@@ -2124,7 +3949,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
2124
3949
|
* @memberof ClusterLogApi
|
|
2125
3950
|
*/
|
|
2126
3951
|
public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
|
|
2127
|
-
return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
|
|
3952
|
+
return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
|
|
2128
3953
|
}
|
|
2129
3954
|
|
|
2130
3955
|
/**
|
|
@@ -2151,6 +3976,30 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
2151
3976
|
return ClusterLogApiFp(this.configuration).queryRunningLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.filename, requestParameters.limit, requestParameters.query, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
|
|
2152
3977
|
}
|
|
2153
3978
|
|
|
3979
|
+
/**
|
|
3980
|
+
* Query slow log samples for a template
|
|
3981
|
+
* @summary Query cluster slow log template samples
|
|
3982
|
+
* @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
|
|
3983
|
+
* @param {*} [options] Override http request option.
|
|
3984
|
+
* @throws {RequiredError}
|
|
3985
|
+
* @memberof ClusterLogApi
|
|
3986
|
+
*/
|
|
3987
|
+
public querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig) {
|
|
3988
|
+
return ClusterLogApiFp(this.configuration).querySlowLogTemplateSamples(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
/**
|
|
3992
|
+
* Query slow log templates of a cluster (VictoriaLogs backend only)
|
|
3993
|
+
* @summary Query cluster slow log templates
|
|
3994
|
+
* @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
|
|
3995
|
+
* @param {*} [options] Override http request option.
|
|
3996
|
+
* @throws {RequiredError}
|
|
3997
|
+
* @memberof ClusterLogApi
|
|
3998
|
+
*/
|
|
3999
|
+
public querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig) {
|
|
4000
|
+
return ClusterLogApiFp(this.configuration).querySlowLogTemplates(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.topN, requestParameters.sortBy, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, options).then((request) => request(this.axios, this.basePath));
|
|
4001
|
+
}
|
|
4002
|
+
|
|
2154
4003
|
/**
|
|
2155
4004
|
* Query slow logs of a cluster
|
|
2156
4005
|
* @summary Query cluster slow logs
|
|
@@ -2160,7 +4009,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
2160
4009
|
* @memberof ClusterLogApi
|
|
2161
4010
|
*/
|
|
2162
4011
|
public querySlowLogs(requestParameters: ClusterLogApiQuerySlowLogsRequest, options?: RawAxiosRequestConfig) {
|
|
2163
|
-
return ClusterLogApiFp(this.configuration).querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
|
|
4012
|
+
return ClusterLogApiFp(this.configuration).querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
|
|
2164
4013
|
}
|
|
2165
4014
|
}
|
|
2166
4015
|
|