kb-cloud-client-typescript 2.2.28 → 2.3.0-alpha.100
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/storage-create.d.ts +0 -6
- package/dist/adminapi/models/storage-create.d.ts.map +1 -1
- package/dist/adminapi/models/storage-update.d.ts +0 -6
- package/dist/adminapi/models/storage-update.d.ts.map +1 -1
- package/dist/adminapi/models/storage.d.ts +0 -6
- package/dist/adminapi/models/storage.d.ts.map +1 -1
- 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/internalapi/models/storage-create.d.ts +0 -6
- package/dist/internalapi/models/storage-create.d.ts.map +1 -1
- package/dist/internalapi/models/storage.d.ts +0 -6
- package/dist/internalapi/models/storage.d.ts.map +1 -1
- 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/storage.d.ts +0 -6
- package/dist/openapi/models/storage.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/storage-create.ts +0 -6
- package/src/adminapi/models/storage-update.ts +0 -6
- package/src/adminapi/models/storage.ts +0 -6
- 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 -169
- package/src/internalapi/models/storage-create.ts +0 -6
- package/src/internalapi/models/storage.ts +0 -6
- package/src/internalapi.yaml +0 -8
- 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/storage.ts +0 -6
- 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 +9547 -5110
- 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
|
@@ -321,6 +321,53 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
options: localVarRequestOptions,
|
|
322
322
|
};
|
|
323
323
|
},
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @summary drop a MongoDB collection or view
|
|
327
|
+
* @param {string} orgName name of the Org
|
|
328
|
+
* @param {string} clusterName name of the cluster
|
|
329
|
+
* @param {string} id id of the datasource
|
|
330
|
+
* @param {string} db database name
|
|
331
|
+
* @param {string} col collection or view name
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
dropMongoCollection: async (orgName, clusterName, id, db, col, options = {}) => {
|
|
336
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
337
|
+
(0, common_1.assertParamExists)('dropMongoCollection', 'orgName', orgName);
|
|
338
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
339
|
+
(0, common_1.assertParamExists)('dropMongoCollection', 'clusterName', clusterName);
|
|
340
|
+
// verify required parameter 'id' is not null or undefined
|
|
341
|
+
(0, common_1.assertParamExists)('dropMongoCollection', 'id', id);
|
|
342
|
+
// verify required parameter 'db' is not null or undefined
|
|
343
|
+
(0, common_1.assertParamExists)('dropMongoCollection', 'db', db);
|
|
344
|
+
// verify required parameter 'col' is not null or undefined
|
|
345
|
+
(0, common_1.assertParamExists)('dropMongoCollection', 'col', col);
|
|
346
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}`
|
|
347
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
348
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
349
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
350
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
351
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
354
|
+
let baseOptions;
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
}
|
|
358
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
359
|
+
const localVarHeaderParameter = {};
|
|
360
|
+
const localVarQueryParameter = {};
|
|
361
|
+
// authentication BearerToken required
|
|
362
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
363
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
364
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
365
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
366
|
+
return {
|
|
367
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
368
|
+
options: localVarRequestOptions,
|
|
369
|
+
};
|
|
370
|
+
},
|
|
324
371
|
/**
|
|
325
372
|
* enable console
|
|
326
373
|
* @summary enable console
|
|
@@ -483,6 +530,53 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
483
530
|
options: localVarRequestOptions,
|
|
484
531
|
};
|
|
485
532
|
},
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @summary get MongoDB collection stats
|
|
536
|
+
* @param {string} orgName name of the Org
|
|
537
|
+
* @param {string} clusterName name of the cluster
|
|
538
|
+
* @param {string} id id of the datasource
|
|
539
|
+
* @param {string} db database name
|
|
540
|
+
* @param {string} col collection name
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
getMongoCollection: async (orgName, clusterName, id, db, col, options = {}) => {
|
|
545
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
546
|
+
(0, common_1.assertParamExists)('getMongoCollection', 'orgName', orgName);
|
|
547
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
548
|
+
(0, common_1.assertParamExists)('getMongoCollection', 'clusterName', clusterName);
|
|
549
|
+
// verify required parameter 'id' is not null or undefined
|
|
550
|
+
(0, common_1.assertParamExists)('getMongoCollection', 'id', id);
|
|
551
|
+
// verify required parameter 'db' is not null or undefined
|
|
552
|
+
(0, common_1.assertParamExists)('getMongoCollection', 'db', db);
|
|
553
|
+
// verify required parameter 'col' is not null or undefined
|
|
554
|
+
(0, common_1.assertParamExists)('getMongoCollection', 'col', col);
|
|
555
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}`
|
|
556
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
557
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
558
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
559
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
560
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
561
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
562
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
563
|
+
let baseOptions;
|
|
564
|
+
if (configuration) {
|
|
565
|
+
baseOptions = configuration.baseOptions;
|
|
566
|
+
}
|
|
567
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
568
|
+
const localVarHeaderParameter = {};
|
|
569
|
+
const localVarQueryParameter = {};
|
|
570
|
+
// authentication BearerToken required
|
|
571
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
572
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
574
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
575
|
+
return {
|
|
576
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
577
|
+
options: localVarRequestOptions,
|
|
578
|
+
};
|
|
579
|
+
},
|
|
486
580
|
/**
|
|
487
581
|
*
|
|
488
582
|
* @summary get the detail object info
|
|
@@ -492,10 +586,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
492
586
|
* @param {string} schema schema or database name
|
|
493
587
|
* @param {string} type object type
|
|
494
588
|
* @param {string} objectName object name
|
|
589
|
+
* @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
|
|
495
590
|
* @param {*} [options] Override http request option.
|
|
496
591
|
* @throws {RequiredError}
|
|
497
592
|
*/
|
|
498
|
-
getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, options = {}) => {
|
|
593
|
+
getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, database, options = {}) => {
|
|
499
594
|
// verify required parameter 'orgName' is not null or undefined
|
|
500
595
|
(0, common_1.assertParamExists)('getObjectInfo', 'orgName', orgName);
|
|
501
596
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -526,6 +621,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
526
621
|
const localVarQueryParameter = {};
|
|
527
622
|
// authentication BearerToken required
|
|
528
623
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
624
|
+
if (database !== undefined) {
|
|
625
|
+
localVarQueryParameter['database'] = database;
|
|
626
|
+
}
|
|
529
627
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
530
628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
531
629
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -540,10 +638,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
540
638
|
* @param {string} orgName name of the Org
|
|
541
639
|
* @param {string} clusterName name of the cluster
|
|
542
640
|
* @param {string} id id of the datasource
|
|
641
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
543
642
|
* @param {*} [options] Override http request option.
|
|
544
643
|
* @throws {RequiredError}
|
|
545
644
|
*/
|
|
546
|
-
getSchemaList: async (orgName, clusterName, id, options = {}) => {
|
|
645
|
+
getSchemaList: async (orgName, clusterName, id, database, options = {}) => {
|
|
547
646
|
// verify required parameter 'orgName' is not null or undefined
|
|
548
647
|
(0, common_1.assertParamExists)('getSchemaList', 'orgName', orgName);
|
|
549
648
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -565,6 +664,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
565
664
|
const localVarQueryParameter = {};
|
|
566
665
|
// authentication BearerToken required
|
|
567
666
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
667
|
+
if (database !== undefined) {
|
|
668
|
+
localVarQueryParameter['database'] = database;
|
|
669
|
+
}
|
|
568
670
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
569
671
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
570
672
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -694,32 +796,24 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
694
796
|
},
|
|
695
797
|
/**
|
|
696
798
|
*
|
|
697
|
-
* @summary list
|
|
799
|
+
* @summary list all databases of the datasource
|
|
698
800
|
* @param {string} orgName name of the Org
|
|
699
801
|
* @param {string} clusterName name of the cluster
|
|
700
802
|
* @param {string} id id of the datasource
|
|
701
|
-
* @param {string} schema schema or database name
|
|
702
|
-
* @param {string} type object type
|
|
703
803
|
* @param {*} [options] Override http request option.
|
|
704
804
|
* @throws {RequiredError}
|
|
705
805
|
*/
|
|
706
|
-
|
|
806
|
+
listDmsDatabases: async (orgName, clusterName, id, options = {}) => {
|
|
707
807
|
// verify required parameter 'orgName' is not null or undefined
|
|
708
|
-
(0, common_1.assertParamExists)('
|
|
808
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'orgName', orgName);
|
|
709
809
|
// verify required parameter 'clusterName' is not null or undefined
|
|
710
|
-
(0, common_1.assertParamExists)('
|
|
810
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'clusterName', clusterName);
|
|
711
811
|
// verify required parameter 'id' is not null or undefined
|
|
712
|
-
(0, common_1.assertParamExists)('
|
|
713
|
-
|
|
714
|
-
(0, common_1.assertParamExists)('listObjectNamesByType', 'schema', schema);
|
|
715
|
-
// verify required parameter 'type' is not null or undefined
|
|
716
|
-
(0, common_1.assertParamExists)('listObjectNamesByType', 'type', type);
|
|
717
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}/{type}`
|
|
812
|
+
(0, common_1.assertParamExists)('listDmsDatabases', 'id', id);
|
|
813
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
|
|
718
814
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
719
815
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
720
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
721
|
-
.replace(`{${"schema"}}`, encodeURIComponent(String(schema)))
|
|
722
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)));
|
|
816
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
723
817
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
724
818
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
725
819
|
let baseOptions;
|
|
@@ -741,28 +835,28 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
741
835
|
},
|
|
742
836
|
/**
|
|
743
837
|
*
|
|
744
|
-
* @summary list
|
|
838
|
+
* @summary list collections in a MongoDB database
|
|
745
839
|
* @param {string} orgName name of the Org
|
|
746
840
|
* @param {string} clusterName name of the cluster
|
|
747
841
|
* @param {string} id id of the datasource
|
|
748
|
-
* @param {string}
|
|
842
|
+
* @param {string} db database name
|
|
749
843
|
* @param {*} [options] Override http request option.
|
|
750
844
|
* @throws {RequiredError}
|
|
751
845
|
*/
|
|
752
|
-
|
|
846
|
+
listMongoCollections: async (orgName, clusterName, id, db, options = {}) => {
|
|
753
847
|
// verify required parameter 'orgName' is not null or undefined
|
|
754
|
-
(0, common_1.assertParamExists)('
|
|
848
|
+
(0, common_1.assertParamExists)('listMongoCollections', 'orgName', orgName);
|
|
755
849
|
// verify required parameter 'clusterName' is not null or undefined
|
|
756
|
-
(0, common_1.assertParamExists)('
|
|
850
|
+
(0, common_1.assertParamExists)('listMongoCollections', 'clusterName', clusterName);
|
|
757
851
|
// verify required parameter 'id' is not null or undefined
|
|
758
|
-
(0, common_1.assertParamExists)('
|
|
759
|
-
// verify required parameter '
|
|
760
|
-
(0, common_1.assertParamExists)('
|
|
761
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{
|
|
852
|
+
(0, common_1.assertParamExists)('listMongoCollections', 'id', id);
|
|
853
|
+
// verify required parameter 'db' is not null or undefined
|
|
854
|
+
(0, common_1.assertParamExists)('listMongoCollections', 'db', db);
|
|
855
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections`
|
|
762
856
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
763
857
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
764
858
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
765
|
-
.replace(`{${"
|
|
859
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)));
|
|
766
860
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
767
861
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
768
862
|
let baseOptions;
|
|
@@ -784,27 +878,24 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
784
878
|
},
|
|
785
879
|
/**
|
|
786
880
|
*
|
|
787
|
-
* @summary list
|
|
881
|
+
* @summary list MongoDB database metadata
|
|
788
882
|
* @param {string} orgName name of the Org
|
|
789
883
|
* @param {string} clusterName name of the cluster
|
|
790
|
-
* @param {string}
|
|
791
|
-
* @param {string} mode
|
|
884
|
+
* @param {string} id id of the datasource
|
|
792
885
|
* @param {*} [options] Override http request option.
|
|
793
886
|
* @throws {RequiredError}
|
|
794
887
|
*/
|
|
795
|
-
|
|
888
|
+
listMongoDatabaseMetadata: async (orgName, clusterName, id, options = {}) => {
|
|
796
889
|
// verify required parameter 'orgName' is not null or undefined
|
|
797
|
-
(0, common_1.assertParamExists)('
|
|
890
|
+
(0, common_1.assertParamExists)('listMongoDatabaseMetadata', 'orgName', orgName);
|
|
798
891
|
// verify required parameter 'clusterName' is not null or undefined
|
|
799
|
-
(0, common_1.assertParamExists)('
|
|
800
|
-
// verify required parameter '
|
|
801
|
-
(0, common_1.assertParamExists)('
|
|
802
|
-
|
|
803
|
-
(0, common_1.assertParamExists)('listParameters', 'mode', mode);
|
|
804
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameters`
|
|
892
|
+
(0, common_1.assertParamExists)('listMongoDatabaseMetadata', 'clusterName', clusterName);
|
|
893
|
+
// verify required parameter 'id' is not null or undefined
|
|
894
|
+
(0, common_1.assertParamExists)('listMongoDatabaseMetadata', 'id', id);
|
|
895
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/metadata`
|
|
805
896
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
806
897
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
807
|
-
.replace(`{${"
|
|
898
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
808
899
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
809
900
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
810
901
|
let baseOptions;
|
|
@@ -816,9 +907,6 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
816
907
|
const localVarQueryParameter = {};
|
|
817
908
|
// authentication BearerToken required
|
|
818
909
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
819
|
-
if (mode !== undefined) {
|
|
820
|
-
localVarQueryParameter['mode'] = mode;
|
|
821
|
-
}
|
|
822
910
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
823
911
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
824
912
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -829,21 +917,21 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
829
917
|
},
|
|
830
918
|
/**
|
|
831
919
|
*
|
|
832
|
-
* @summary list
|
|
920
|
+
* @summary list MongoDB databases
|
|
833
921
|
* @param {string} orgName name of the Org
|
|
834
922
|
* @param {string} clusterName name of the cluster
|
|
835
923
|
* @param {string} id id of the datasource
|
|
836
924
|
* @param {*} [options] Override http request option.
|
|
837
925
|
* @throws {RequiredError}
|
|
838
926
|
*/
|
|
839
|
-
|
|
927
|
+
listMongoDatabases: async (orgName, clusterName, id, options = {}) => {
|
|
840
928
|
// verify required parameter 'orgName' is not null or undefined
|
|
841
|
-
(0, common_1.assertParamExists)('
|
|
929
|
+
(0, common_1.assertParamExists)('listMongoDatabases', 'orgName', orgName);
|
|
842
930
|
// verify required parameter 'clusterName' is not null or undefined
|
|
843
|
-
(0, common_1.assertParamExists)('
|
|
931
|
+
(0, common_1.assertParamExists)('listMongoDatabases', 'clusterName', clusterName);
|
|
844
932
|
// verify required parameter 'id' is not null or undefined
|
|
845
|
-
(0, common_1.assertParamExists)('
|
|
846
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/
|
|
933
|
+
(0, common_1.assertParamExists)('listMongoDatabases', 'id', id);
|
|
934
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases`
|
|
847
935
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
848
936
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
849
937
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -868,22 +956,33 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
868
956
|
},
|
|
869
957
|
/**
|
|
870
958
|
*
|
|
871
|
-
* @summary list all
|
|
959
|
+
* @summary list the all name for the specified object type
|
|
872
960
|
* @param {string} orgName name of the Org
|
|
873
961
|
* @param {string} clusterName name of the cluster
|
|
874
|
-
* @param {string}
|
|
962
|
+
* @param {string} id id of the datasource
|
|
963
|
+
* @param {string} schema schema or database name
|
|
964
|
+
* @param {string} type object type
|
|
965
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
|
|
875
966
|
* @param {*} [options] Override http request option.
|
|
876
|
-
* @deprecated
|
|
877
967
|
* @throws {RequiredError}
|
|
878
968
|
*/
|
|
879
|
-
|
|
969
|
+
listObjectNamesByType: async (orgName, clusterName, id, schema, type, database, options = {}) => {
|
|
880
970
|
// verify required parameter 'orgName' is not null or undefined
|
|
881
|
-
(0, common_1.assertParamExists)('
|
|
971
|
+
(0, common_1.assertParamExists)('listObjectNamesByType', 'orgName', orgName);
|
|
882
972
|
// verify required parameter 'clusterName' is not null or undefined
|
|
883
|
-
(0, common_1.assertParamExists)('
|
|
884
|
-
|
|
973
|
+
(0, common_1.assertParamExists)('listObjectNamesByType', 'clusterName', clusterName);
|
|
974
|
+
// verify required parameter 'id' is not null or undefined
|
|
975
|
+
(0, common_1.assertParamExists)('listObjectNamesByType', 'id', id);
|
|
976
|
+
// verify required parameter 'schema' is not null or undefined
|
|
977
|
+
(0, common_1.assertParamExists)('listObjectNamesByType', 'schema', schema);
|
|
978
|
+
// verify required parameter 'type' is not null or undefined
|
|
979
|
+
(0, common_1.assertParamExists)('listObjectNamesByType', 'type', type);
|
|
980
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}/{type}`
|
|
885
981
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
886
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
982
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
983
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
984
|
+
.replace(`{${"schema"}}`, encodeURIComponent(String(schema)))
|
|
985
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)));
|
|
887
986
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
888
987
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
889
988
|
let baseOptions;
|
|
@@ -895,8 +994,8 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
895
994
|
const localVarQueryParameter = {};
|
|
896
995
|
// authentication BearerToken required
|
|
897
996
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
898
|
-
if (
|
|
899
|
-
localVarQueryParameter['
|
|
997
|
+
if (database !== undefined) {
|
|
998
|
+
localVarQueryParameter['database'] = database;
|
|
900
999
|
}
|
|
901
1000
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
902
1001
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -908,43 +1007,46 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
908
1007
|
},
|
|
909
1008
|
/**
|
|
910
1009
|
*
|
|
911
|
-
* @summary
|
|
1010
|
+
* @summary list the type and number of database objects in the specified database or schema
|
|
912
1011
|
* @param {string} orgName name of the Org
|
|
913
1012
|
* @param {string} clusterName name of the cluster
|
|
914
1013
|
* @param {string} id id of the datasource
|
|
915
|
-
* @param {
|
|
1014
|
+
* @param {string} schema schema or database name
|
|
1015
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
|
|
916
1016
|
* @param {*} [options] Override http request option.
|
|
917
1017
|
* @throws {RequiredError}
|
|
918
1018
|
*/
|
|
919
|
-
|
|
1019
|
+
listObjectTypesInSchema: async (orgName, clusterName, id, schema, database, options = {}) => {
|
|
920
1020
|
// verify required parameter 'orgName' is not null or undefined
|
|
921
|
-
(0, common_1.assertParamExists)('
|
|
1021
|
+
(0, common_1.assertParamExists)('listObjectTypesInSchema', 'orgName', orgName);
|
|
922
1022
|
// verify required parameter 'clusterName' is not null or undefined
|
|
923
|
-
(0, common_1.assertParamExists)('
|
|
1023
|
+
(0, common_1.assertParamExists)('listObjectTypesInSchema', 'clusterName', clusterName);
|
|
924
1024
|
// verify required parameter 'id' is not null or undefined
|
|
925
|
-
(0, common_1.assertParamExists)('
|
|
926
|
-
// verify required parameter '
|
|
927
|
-
(0, common_1.assertParamExists)('
|
|
928
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/
|
|
1025
|
+
(0, common_1.assertParamExists)('listObjectTypesInSchema', 'id', id);
|
|
1026
|
+
// verify required parameter 'schema' is not null or undefined
|
|
1027
|
+
(0, common_1.assertParamExists)('listObjectTypesInSchema', 'schema', schema);
|
|
1028
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}`
|
|
929
1029
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
930
1030
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
931
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1031
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1032
|
+
.replace(`{${"schema"}}`, encodeURIComponent(String(schema)));
|
|
932
1033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
933
1034
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
934
1035
|
let baseOptions;
|
|
935
1036
|
if (configuration) {
|
|
936
1037
|
baseOptions = configuration.baseOptions;
|
|
937
1038
|
}
|
|
938
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1039
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
939
1040
|
const localVarHeaderParameter = {};
|
|
940
1041
|
const localVarQueryParameter = {};
|
|
941
1042
|
// authentication BearerToken required
|
|
942
1043
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
943
|
-
|
|
1044
|
+
if (database !== undefined) {
|
|
1045
|
+
localVarQueryParameter['database'] = database;
|
|
1046
|
+
}
|
|
944
1047
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
945
1048
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
946
1049
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
947
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsQueryRequest, localVarRequestOptions, configuration);
|
|
948
1050
|
return {
|
|
949
1051
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
950
1052
|
options: localVarRequestOptions,
|
|
@@ -952,43 +1054,44 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
952
1054
|
},
|
|
953
1055
|
/**
|
|
954
1056
|
*
|
|
955
|
-
* @summary
|
|
1057
|
+
* @summary list cluster parameters
|
|
956
1058
|
* @param {string} orgName name of the Org
|
|
957
1059
|
* @param {string} clusterName name of the cluster
|
|
958
|
-
* @param {string}
|
|
959
|
-
* @param {
|
|
1060
|
+
* @param {string} tenantId
|
|
1061
|
+
* @param {string} mode
|
|
960
1062
|
* @param {*} [options] Override http request option.
|
|
961
1063
|
* @throws {RequiredError}
|
|
962
1064
|
*/
|
|
963
|
-
|
|
1065
|
+
listParameters: async (orgName, clusterName, tenantId, mode, options = {}) => {
|
|
964
1066
|
// verify required parameter 'orgName' is not null or undefined
|
|
965
|
-
(0, common_1.assertParamExists)('
|
|
1067
|
+
(0, common_1.assertParamExists)('listParameters', 'orgName', orgName);
|
|
966
1068
|
// verify required parameter 'clusterName' is not null or undefined
|
|
967
|
-
(0, common_1.assertParamExists)('
|
|
968
|
-
// verify required parameter '
|
|
969
|
-
(0, common_1.assertParamExists)('
|
|
970
|
-
// verify required parameter '
|
|
971
|
-
(0, common_1.assertParamExists)('
|
|
972
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
1069
|
+
(0, common_1.assertParamExists)('listParameters', 'clusterName', clusterName);
|
|
1070
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
1071
|
+
(0, common_1.assertParamExists)('listParameters', 'tenantId', tenantId);
|
|
1072
|
+
// verify required parameter 'mode' is not null or undefined
|
|
1073
|
+
(0, common_1.assertParamExists)('listParameters', 'mode', mode);
|
|
1074
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameters`
|
|
973
1075
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
974
1076
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
975
|
-
.replace(`{${"
|
|
1077
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
976
1078
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
977
1079
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
978
1080
|
let baseOptions;
|
|
979
1081
|
if (configuration) {
|
|
980
1082
|
baseOptions = configuration.baseOptions;
|
|
981
1083
|
}
|
|
982
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1084
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
983
1085
|
const localVarHeaderParameter = {};
|
|
984
1086
|
const localVarQueryParameter = {};
|
|
985
1087
|
// authentication BearerToken required
|
|
986
1088
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
987
|
-
|
|
1089
|
+
if (mode !== undefined) {
|
|
1090
|
+
localVarQueryParameter['mode'] = mode;
|
|
1091
|
+
}
|
|
988
1092
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
989
1093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
990
1094
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
991
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(showDataRequest, localVarRequestOptions, configuration);
|
|
992
1095
|
return {
|
|
993
1096
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
994
1097
|
options: localVarRequestOptions,
|
|
@@ -996,24 +1099,22 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
996
1099
|
},
|
|
997
1100
|
/**
|
|
998
1101
|
*
|
|
999
|
-
* @summary
|
|
1102
|
+
* @summary list the query History
|
|
1000
1103
|
* @param {string} orgName name of the Org
|
|
1001
1104
|
* @param {string} clusterName name of the cluster
|
|
1002
1105
|
* @param {string} id id of the datasource
|
|
1003
|
-
* @param {
|
|
1106
|
+
* @param {number} [limit] maximum history records to return, default and max 100
|
|
1004
1107
|
* @param {*} [options] Override http request option.
|
|
1005
1108
|
* @throws {RequiredError}
|
|
1006
1109
|
*/
|
|
1007
|
-
|
|
1110
|
+
listQueryHistory: async (orgName, clusterName, id, limit, options = {}) => {
|
|
1008
1111
|
// verify required parameter 'orgName' is not null or undefined
|
|
1009
|
-
(0, common_1.assertParamExists)('
|
|
1112
|
+
(0, common_1.assertParamExists)('listQueryHistory', 'orgName', orgName);
|
|
1010
1113
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1011
|
-
(0, common_1.assertParamExists)('
|
|
1114
|
+
(0, common_1.assertParamExists)('listQueryHistory', 'clusterName', clusterName);
|
|
1012
1115
|
// verify required parameter 'id' is not null or undefined
|
|
1013
|
-
(0, common_1.assertParamExists)('
|
|
1014
|
-
|
|
1015
|
-
(0, common_1.assertParamExists)('sqlExplain', 'dmsExplainRequest', dmsExplainRequest);
|
|
1016
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/sqlExplain`
|
|
1116
|
+
(0, common_1.assertParamExists)('listQueryHistory', 'id', id);
|
|
1117
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/history`
|
|
1017
1118
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1018
1119
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1019
1120
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -1023,16 +1124,17 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1023
1124
|
if (configuration) {
|
|
1024
1125
|
baseOptions = configuration.baseOptions;
|
|
1025
1126
|
}
|
|
1026
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1127
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1027
1128
|
const localVarHeaderParameter = {};
|
|
1028
1129
|
const localVarQueryParameter = {};
|
|
1029
1130
|
// authentication BearerToken required
|
|
1030
1131
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1031
|
-
|
|
1132
|
+
if (limit !== undefined) {
|
|
1133
|
+
localVarQueryParameter['limit'] = limit;
|
|
1134
|
+
}
|
|
1032
1135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1033
1136
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1034
1137
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1035
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsExplainRequest, localVarRequestOptions, configuration);
|
|
1036
1138
|
return {
|
|
1037
1139
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1038
1140
|
options: localVarRequestOptions,
|
|
@@ -1040,25 +1142,22 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1040
1142
|
},
|
|
1041
1143
|
/**
|
|
1042
1144
|
*
|
|
1043
|
-
* @summary
|
|
1145
|
+
* @summary list all session for the cluster
|
|
1044
1146
|
* @param {string} orgName name of the Org
|
|
1045
1147
|
* @param {string} clusterName name of the cluster
|
|
1046
|
-
* @param {string}
|
|
1047
|
-
* @param {string} [parameterName] name of the parameter
|
|
1148
|
+
* @param {string} [all] whether list all session includes sleep
|
|
1048
1149
|
* @param {*} [options] Override http request option.
|
|
1150
|
+
* @deprecated
|
|
1049
1151
|
* @throws {RequiredError}
|
|
1050
1152
|
*/
|
|
1051
|
-
|
|
1153
|
+
listSessionsOld: async (orgName, clusterName, all, options = {}) => {
|
|
1052
1154
|
// verify required parameter 'orgName' is not null or undefined
|
|
1053
|
-
(0, common_1.assertParamExists)('
|
|
1155
|
+
(0, common_1.assertParamExists)('listSessionsOld', 'orgName', orgName);
|
|
1054
1156
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1055
|
-
(0, common_1.assertParamExists)('
|
|
1056
|
-
|
|
1057
|
-
(0, common_1.assertParamExists)('tenantParameterHistory', 'tenantId', tenantId);
|
|
1058
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameterHistory`
|
|
1157
|
+
(0, common_1.assertParamExists)('listSessionsOld', 'clusterName', clusterName);
|
|
1158
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/sessions`
|
|
1059
1159
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1060
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1061
|
-
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
1160
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1062
1161
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1063
1162
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1064
1163
|
let baseOptions;
|
|
@@ -1070,8 +1169,8 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1070
1169
|
const localVarQueryParameter = {};
|
|
1071
1170
|
// authentication BearerToken required
|
|
1072
1171
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1073
|
-
if (
|
|
1074
|
-
localVarQueryParameter['
|
|
1172
|
+
if (all !== undefined) {
|
|
1173
|
+
localVarQueryParameter['all'] = all;
|
|
1075
1174
|
}
|
|
1076
1175
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1077
1176
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1083,23 +1182,35 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1083
1182
|
},
|
|
1084
1183
|
/**
|
|
1085
1184
|
*
|
|
1086
|
-
* @summary
|
|
1087
|
-
* @param {string} orgName
|
|
1088
|
-
* @param {string} clusterName
|
|
1089
|
-
* @param {
|
|
1185
|
+
* @summary run MongoDB aggregation pipeline preview
|
|
1186
|
+
* @param {string} orgName
|
|
1187
|
+
* @param {string} clusterName
|
|
1188
|
+
* @param {string} id
|
|
1189
|
+
* @param {string} db
|
|
1190
|
+
* @param {string} col
|
|
1191
|
+
* @param {MongoAggregateRequest} mongoAggregateRequest
|
|
1090
1192
|
* @param {*} [options] Override http request option.
|
|
1091
1193
|
* @throws {RequiredError}
|
|
1092
1194
|
*/
|
|
1093
|
-
|
|
1195
|
+
mongoAggregate: async (orgName, clusterName, id, db, col, mongoAggregateRequest, options = {}) => {
|
|
1094
1196
|
// verify required parameter 'orgName' is not null or undefined
|
|
1095
|
-
(0, common_1.assertParamExists)('
|
|
1197
|
+
(0, common_1.assertParamExists)('mongoAggregate', 'orgName', orgName);
|
|
1096
1198
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1097
|
-
(0, common_1.assertParamExists)('
|
|
1098
|
-
// verify required parameter '
|
|
1099
|
-
(0, common_1.assertParamExists)('
|
|
1100
|
-
|
|
1199
|
+
(0, common_1.assertParamExists)('mongoAggregate', 'clusterName', clusterName);
|
|
1200
|
+
// verify required parameter 'id' is not null or undefined
|
|
1201
|
+
(0, common_1.assertParamExists)('mongoAggregate', 'id', id);
|
|
1202
|
+
// verify required parameter 'db' is not null or undefined
|
|
1203
|
+
(0, common_1.assertParamExists)('mongoAggregate', 'db', db);
|
|
1204
|
+
// verify required parameter 'col' is not null or undefined
|
|
1205
|
+
(0, common_1.assertParamExists)('mongoAggregate', 'col', col);
|
|
1206
|
+
// verify required parameter 'mongoAggregateRequest' is not null or undefined
|
|
1207
|
+
(0, common_1.assertParamExists)('mongoAggregate', 'mongoAggregateRequest', mongoAggregateRequest);
|
|
1208
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/aggregate`
|
|
1101
1209
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1102
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1210
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1211
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1212
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1213
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1103
1214
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1104
1215
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1105
1216
|
let baseOptions;
|
|
@@ -1115,7 +1226,7 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1115
1226
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1116
1227
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1117
1228
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1118
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
1229
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoAggregateRequest, localVarRequestOptions, configuration);
|
|
1119
1230
|
return {
|
|
1120
1231
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1121
1232
|
options: localVarRequestOptions,
|
|
@@ -1123,7 +1234,1191 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1123
1234
|
},
|
|
1124
1235
|
/**
|
|
1125
1236
|
*
|
|
1126
|
-
* @summary
|
|
1237
|
+
* @summary analyze MongoDB collection schema from sample documents
|
|
1238
|
+
* @param {string} orgName
|
|
1239
|
+
* @param {string} clusterName
|
|
1240
|
+
* @param {string} id
|
|
1241
|
+
* @param {string} db
|
|
1242
|
+
* @param {string} col
|
|
1243
|
+
* @param {number} [sample]
|
|
1244
|
+
* @param {*} [options] Override http request option.
|
|
1245
|
+
* @throws {RequiredError}
|
|
1246
|
+
*/
|
|
1247
|
+
mongoAnalyzeSchema: async (orgName, clusterName, id, db, col, sample, options = {}) => {
|
|
1248
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1249
|
+
(0, common_1.assertParamExists)('mongoAnalyzeSchema', 'orgName', orgName);
|
|
1250
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1251
|
+
(0, common_1.assertParamExists)('mongoAnalyzeSchema', 'clusterName', clusterName);
|
|
1252
|
+
// verify required parameter 'id' is not null or undefined
|
|
1253
|
+
(0, common_1.assertParamExists)('mongoAnalyzeSchema', 'id', id);
|
|
1254
|
+
// verify required parameter 'db' is not null or undefined
|
|
1255
|
+
(0, common_1.assertParamExists)('mongoAnalyzeSchema', 'db', db);
|
|
1256
|
+
// verify required parameter 'col' is not null or undefined
|
|
1257
|
+
(0, common_1.assertParamExists)('mongoAnalyzeSchema', 'col', col);
|
|
1258
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/schema`
|
|
1259
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1260
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1261
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1262
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1263
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1264
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1265
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1266
|
+
let baseOptions;
|
|
1267
|
+
if (configuration) {
|
|
1268
|
+
baseOptions = configuration.baseOptions;
|
|
1269
|
+
}
|
|
1270
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1271
|
+
const localVarHeaderParameter = {};
|
|
1272
|
+
const localVarQueryParameter = {};
|
|
1273
|
+
// authentication BearerToken required
|
|
1274
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1275
|
+
if (sample !== undefined) {
|
|
1276
|
+
localVarQueryParameter['sample'] = sample;
|
|
1277
|
+
}
|
|
1278
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1280
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1281
|
+
return {
|
|
1282
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1283
|
+
options: localVarRequestOptions,
|
|
1284
|
+
};
|
|
1285
|
+
},
|
|
1286
|
+
/**
|
|
1287
|
+
*
|
|
1288
|
+
* @summary close MongoDB mongosh runtime session
|
|
1289
|
+
* @param {string} orgName
|
|
1290
|
+
* @param {string} clusterName
|
|
1291
|
+
* @param {string} id
|
|
1292
|
+
* @param {string} sessionID
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
*/
|
|
1296
|
+
mongoCloseShellSession: async (orgName, clusterName, id, sessionID, options = {}) => {
|
|
1297
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1298
|
+
(0, common_1.assertParamExists)('mongoCloseShellSession', 'orgName', orgName);
|
|
1299
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1300
|
+
(0, common_1.assertParamExists)('mongoCloseShellSession', 'clusterName', clusterName);
|
|
1301
|
+
// verify required parameter 'id' is not null or undefined
|
|
1302
|
+
(0, common_1.assertParamExists)('mongoCloseShellSession', 'id', id);
|
|
1303
|
+
// verify required parameter 'sessionID' is not null or undefined
|
|
1304
|
+
(0, common_1.assertParamExists)('mongoCloseShellSession', 'sessionID', sessionID);
|
|
1305
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}`
|
|
1306
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1307
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1308
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1309
|
+
.replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
|
|
1310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1311
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1312
|
+
let baseOptions;
|
|
1313
|
+
if (configuration) {
|
|
1314
|
+
baseOptions = configuration.baseOptions;
|
|
1315
|
+
}
|
|
1316
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1317
|
+
const localVarHeaderParameter = {};
|
|
1318
|
+
const localVarQueryParameter = {};
|
|
1319
|
+
// authentication BearerToken required
|
|
1320
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1321
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1322
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1323
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1324
|
+
return {
|
|
1325
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1326
|
+
options: localVarRequestOptions,
|
|
1327
|
+
};
|
|
1328
|
+
},
|
|
1329
|
+
/**
|
|
1330
|
+
*
|
|
1331
|
+
* @summary get completions for a MongoDB mongosh session
|
|
1332
|
+
* @param {string} orgName
|
|
1333
|
+
* @param {string} clusterName
|
|
1334
|
+
* @param {string} id
|
|
1335
|
+
* @param {string} sessionID
|
|
1336
|
+
* @param {MongoShellCompletionsRequest} mongoShellCompletionsRequest
|
|
1337
|
+
* @param {*} [options] Override http request option.
|
|
1338
|
+
* @throws {RequiredError}
|
|
1339
|
+
*/
|
|
1340
|
+
mongoCompleteShell: async (orgName, clusterName, id, sessionID, mongoShellCompletionsRequest, options = {}) => {
|
|
1341
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1342
|
+
(0, common_1.assertParamExists)('mongoCompleteShell', 'orgName', orgName);
|
|
1343
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1344
|
+
(0, common_1.assertParamExists)('mongoCompleteShell', 'clusterName', clusterName);
|
|
1345
|
+
// verify required parameter 'id' is not null or undefined
|
|
1346
|
+
(0, common_1.assertParamExists)('mongoCompleteShell', 'id', id);
|
|
1347
|
+
// verify required parameter 'sessionID' is not null or undefined
|
|
1348
|
+
(0, common_1.assertParamExists)('mongoCompleteShell', 'sessionID', sessionID);
|
|
1349
|
+
// verify required parameter 'mongoShellCompletionsRequest' is not null or undefined
|
|
1350
|
+
(0, common_1.assertParamExists)('mongoCompleteShell', 'mongoShellCompletionsRequest', mongoShellCompletionsRequest);
|
|
1351
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/completions`
|
|
1352
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1353
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1354
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1355
|
+
.replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
|
|
1356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1357
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1358
|
+
let baseOptions;
|
|
1359
|
+
if (configuration) {
|
|
1360
|
+
baseOptions = configuration.baseOptions;
|
|
1361
|
+
}
|
|
1362
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1363
|
+
const localVarHeaderParameter = {};
|
|
1364
|
+
const localVarQueryParameter = {};
|
|
1365
|
+
// authentication BearerToken required
|
|
1366
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1367
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1368
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1370
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1371
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoShellCompletionsRequest, localVarRequestOptions, configuration);
|
|
1372
|
+
return {
|
|
1373
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1374
|
+
options: localVarRequestOptions,
|
|
1375
|
+
};
|
|
1376
|
+
},
|
|
1377
|
+
/**
|
|
1378
|
+
* Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
|
|
1379
|
+
* @summary create MongoDB collection
|
|
1380
|
+
* @param {string} orgName name of the Org
|
|
1381
|
+
* @param {string} clusterName name of the cluster
|
|
1382
|
+
* @param {string} id id of the datasource
|
|
1383
|
+
* @param {string} db database name
|
|
1384
|
+
* @param {string} col initial collection name
|
|
1385
|
+
* @param {MongoCreateCollectionRequest} [mongoCreateCollectionRequest]
|
|
1386
|
+
* @param {*} [options] Override http request option.
|
|
1387
|
+
* @throws {RequiredError}
|
|
1388
|
+
*/
|
|
1389
|
+
mongoCreateCollection: async (orgName, clusterName, id, db, col, mongoCreateCollectionRequest, options = {}) => {
|
|
1390
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1391
|
+
(0, common_1.assertParamExists)('mongoCreateCollection', 'orgName', orgName);
|
|
1392
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1393
|
+
(0, common_1.assertParamExists)('mongoCreateCollection', 'clusterName', clusterName);
|
|
1394
|
+
// verify required parameter 'id' is not null or undefined
|
|
1395
|
+
(0, common_1.assertParamExists)('mongoCreateCollection', 'id', id);
|
|
1396
|
+
// verify required parameter 'db' is not null or undefined
|
|
1397
|
+
(0, common_1.assertParamExists)('mongoCreateCollection', 'db', db);
|
|
1398
|
+
// verify required parameter 'col' is not null or undefined
|
|
1399
|
+
(0, common_1.assertParamExists)('mongoCreateCollection', 'col', col);
|
|
1400
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}`
|
|
1401
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1402
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1403
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1404
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1405
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1407
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1408
|
+
let baseOptions;
|
|
1409
|
+
if (configuration) {
|
|
1410
|
+
baseOptions = configuration.baseOptions;
|
|
1411
|
+
}
|
|
1412
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1413
|
+
const localVarHeaderParameter = {};
|
|
1414
|
+
const localVarQueryParameter = {};
|
|
1415
|
+
// authentication BearerToken required
|
|
1416
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1417
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1418
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1419
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1420
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1421
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoCreateCollectionRequest, localVarRequestOptions, configuration);
|
|
1422
|
+
return {
|
|
1423
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1424
|
+
options: localVarRequestOptions,
|
|
1425
|
+
};
|
|
1426
|
+
},
|
|
1427
|
+
/**
|
|
1428
|
+
*
|
|
1429
|
+
* @summary create MongoDB collection index
|
|
1430
|
+
* @param {string} orgName
|
|
1431
|
+
* @param {string} clusterName
|
|
1432
|
+
* @param {string} id
|
|
1433
|
+
* @param {string} db
|
|
1434
|
+
* @param {string} col
|
|
1435
|
+
* @param {MongoCreateIndexRequest} mongoCreateIndexRequest
|
|
1436
|
+
* @param {*} [options] Override http request option.
|
|
1437
|
+
* @throws {RequiredError}
|
|
1438
|
+
*/
|
|
1439
|
+
mongoCreateIndex: async (orgName, clusterName, id, db, col, mongoCreateIndexRequest, options = {}) => {
|
|
1440
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1441
|
+
(0, common_1.assertParamExists)('mongoCreateIndex', 'orgName', orgName);
|
|
1442
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1443
|
+
(0, common_1.assertParamExists)('mongoCreateIndex', 'clusterName', clusterName);
|
|
1444
|
+
// verify required parameter 'id' is not null or undefined
|
|
1445
|
+
(0, common_1.assertParamExists)('mongoCreateIndex', 'id', id);
|
|
1446
|
+
// verify required parameter 'db' is not null or undefined
|
|
1447
|
+
(0, common_1.assertParamExists)('mongoCreateIndex', 'db', db);
|
|
1448
|
+
// verify required parameter 'col' is not null or undefined
|
|
1449
|
+
(0, common_1.assertParamExists)('mongoCreateIndex', 'col', col);
|
|
1450
|
+
// verify required parameter 'mongoCreateIndexRequest' is not null or undefined
|
|
1451
|
+
(0, common_1.assertParamExists)('mongoCreateIndex', 'mongoCreateIndexRequest', mongoCreateIndexRequest);
|
|
1452
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/indexes`
|
|
1453
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1454
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1455
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1456
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1457
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1458
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1459
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1460
|
+
let baseOptions;
|
|
1461
|
+
if (configuration) {
|
|
1462
|
+
baseOptions = configuration.baseOptions;
|
|
1463
|
+
}
|
|
1464
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1465
|
+
const localVarHeaderParameter = {};
|
|
1466
|
+
const localVarQueryParameter = {};
|
|
1467
|
+
// authentication BearerToken required
|
|
1468
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1469
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1470
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1471
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1472
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1473
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoCreateIndexRequest, localVarRequestOptions, configuration);
|
|
1474
|
+
return {
|
|
1475
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1476
|
+
options: localVarRequestOptions,
|
|
1477
|
+
};
|
|
1478
|
+
},
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @summary create MongoDB mongosh runtime session
|
|
1482
|
+
* @param {string} orgName name of the Org
|
|
1483
|
+
* @param {string} clusterName name of the cluster
|
|
1484
|
+
* @param {string} id id of the datasource
|
|
1485
|
+
* @param {MongoShellCreateSessionRequest} [mongoShellCreateSessionRequest]
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
*/
|
|
1489
|
+
mongoCreateShellSession: async (orgName, clusterName, id, mongoShellCreateSessionRequest, options = {}) => {
|
|
1490
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1491
|
+
(0, common_1.assertParamExists)('mongoCreateShellSession', 'orgName', orgName);
|
|
1492
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1493
|
+
(0, common_1.assertParamExists)('mongoCreateShellSession', 'clusterName', clusterName);
|
|
1494
|
+
// verify required parameter 'id' is not null or undefined
|
|
1495
|
+
(0, common_1.assertParamExists)('mongoCreateShellSession', 'id', id);
|
|
1496
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions`
|
|
1497
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1498
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1499
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1500
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1501
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1502
|
+
let baseOptions;
|
|
1503
|
+
if (configuration) {
|
|
1504
|
+
baseOptions = configuration.baseOptions;
|
|
1505
|
+
}
|
|
1506
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1507
|
+
const localVarHeaderParameter = {};
|
|
1508
|
+
const localVarQueryParameter = {};
|
|
1509
|
+
// authentication BearerToken required
|
|
1510
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1511
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1512
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1514
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1515
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoShellCreateSessionRequest, localVarRequestOptions, configuration);
|
|
1516
|
+
return {
|
|
1517
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1518
|
+
options: localVarRequestOptions,
|
|
1519
|
+
};
|
|
1520
|
+
},
|
|
1521
|
+
/**
|
|
1522
|
+
*
|
|
1523
|
+
* @summary create MongoDB view from a read-only aggregation pipeline
|
|
1524
|
+
* @param {string} orgName
|
|
1525
|
+
* @param {string} clusterName
|
|
1526
|
+
* @param {string} id
|
|
1527
|
+
* @param {string} db
|
|
1528
|
+
* @param {MongoCreateViewRequest} mongoCreateViewRequest
|
|
1529
|
+
* @param {*} [options] Override http request option.
|
|
1530
|
+
* @throws {RequiredError}
|
|
1531
|
+
*/
|
|
1532
|
+
mongoCreateView: async (orgName, clusterName, id, db, mongoCreateViewRequest, options = {}) => {
|
|
1533
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1534
|
+
(0, common_1.assertParamExists)('mongoCreateView', 'orgName', orgName);
|
|
1535
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1536
|
+
(0, common_1.assertParamExists)('mongoCreateView', 'clusterName', clusterName);
|
|
1537
|
+
// verify required parameter 'id' is not null or undefined
|
|
1538
|
+
(0, common_1.assertParamExists)('mongoCreateView', 'id', id);
|
|
1539
|
+
// verify required parameter 'db' is not null or undefined
|
|
1540
|
+
(0, common_1.assertParamExists)('mongoCreateView', 'db', db);
|
|
1541
|
+
// verify required parameter 'mongoCreateViewRequest' is not null or undefined
|
|
1542
|
+
(0, common_1.assertParamExists)('mongoCreateView', 'mongoCreateViewRequest', mongoCreateViewRequest);
|
|
1543
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/views`
|
|
1544
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1545
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1546
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1547
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)));
|
|
1548
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1549
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1550
|
+
let baseOptions;
|
|
1551
|
+
if (configuration) {
|
|
1552
|
+
baseOptions = configuration.baseOptions;
|
|
1553
|
+
}
|
|
1554
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1555
|
+
const localVarHeaderParameter = {};
|
|
1556
|
+
const localVarQueryParameter = {};
|
|
1557
|
+
// authentication BearerToken required
|
|
1558
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1559
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1560
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1561
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1562
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1563
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoCreateViewRequest, localVarRequestOptions, configuration);
|
|
1564
|
+
return {
|
|
1565
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1566
|
+
options: localVarRequestOptions,
|
|
1567
|
+
};
|
|
1568
|
+
},
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @summary delete a single MongoDB document
|
|
1572
|
+
* @param {string} orgName
|
|
1573
|
+
* @param {string} clusterName
|
|
1574
|
+
* @param {string} id
|
|
1575
|
+
* @param {string} db
|
|
1576
|
+
* @param {string} col
|
|
1577
|
+
* @param {MongoDeleteRequest} mongoDeleteRequest
|
|
1578
|
+
* @param {*} [options] Override http request option.
|
|
1579
|
+
* @throws {RequiredError}
|
|
1580
|
+
*/
|
|
1581
|
+
mongoDelete: async (orgName, clusterName, id, db, col, mongoDeleteRequest, options = {}) => {
|
|
1582
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1583
|
+
(0, common_1.assertParamExists)('mongoDelete', 'orgName', orgName);
|
|
1584
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1585
|
+
(0, common_1.assertParamExists)('mongoDelete', 'clusterName', clusterName);
|
|
1586
|
+
// verify required parameter 'id' is not null or undefined
|
|
1587
|
+
(0, common_1.assertParamExists)('mongoDelete', 'id', id);
|
|
1588
|
+
// verify required parameter 'db' is not null or undefined
|
|
1589
|
+
(0, common_1.assertParamExists)('mongoDelete', 'db', db);
|
|
1590
|
+
// verify required parameter 'col' is not null or undefined
|
|
1591
|
+
(0, common_1.assertParamExists)('mongoDelete', 'col', col);
|
|
1592
|
+
// verify required parameter 'mongoDeleteRequest' is not null or undefined
|
|
1593
|
+
(0, common_1.assertParamExists)('mongoDelete', 'mongoDeleteRequest', mongoDeleteRequest);
|
|
1594
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/delete`
|
|
1595
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1596
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1597
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1598
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1599
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1600
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1601
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1602
|
+
let baseOptions;
|
|
1603
|
+
if (configuration) {
|
|
1604
|
+
baseOptions = configuration.baseOptions;
|
|
1605
|
+
}
|
|
1606
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1607
|
+
const localVarHeaderParameter = {};
|
|
1608
|
+
const localVarQueryParameter = {};
|
|
1609
|
+
// authentication BearerToken required
|
|
1610
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1611
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1612
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1613
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1614
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1615
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoDeleteRequest, localVarRequestOptions, configuration);
|
|
1616
|
+
return {
|
|
1617
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1618
|
+
options: localVarRequestOptions,
|
|
1619
|
+
};
|
|
1620
|
+
},
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @summary drop MongoDB collection index
|
|
1624
|
+
* @param {string} orgName
|
|
1625
|
+
* @param {string} clusterName
|
|
1626
|
+
* @param {string} id
|
|
1627
|
+
* @param {string} db
|
|
1628
|
+
* @param {string} col
|
|
1629
|
+
* @param {string} indexName
|
|
1630
|
+
* @param {*} [options] Override http request option.
|
|
1631
|
+
* @throws {RequiredError}
|
|
1632
|
+
*/
|
|
1633
|
+
mongoDropIndex: async (orgName, clusterName, id, db, col, indexName, options = {}) => {
|
|
1634
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1635
|
+
(0, common_1.assertParamExists)('mongoDropIndex', 'orgName', orgName);
|
|
1636
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1637
|
+
(0, common_1.assertParamExists)('mongoDropIndex', 'clusterName', clusterName);
|
|
1638
|
+
// verify required parameter 'id' is not null or undefined
|
|
1639
|
+
(0, common_1.assertParamExists)('mongoDropIndex', 'id', id);
|
|
1640
|
+
// verify required parameter 'db' is not null or undefined
|
|
1641
|
+
(0, common_1.assertParamExists)('mongoDropIndex', 'db', db);
|
|
1642
|
+
// verify required parameter 'col' is not null or undefined
|
|
1643
|
+
(0, common_1.assertParamExists)('mongoDropIndex', 'col', col);
|
|
1644
|
+
// verify required parameter 'indexName' is not null or undefined
|
|
1645
|
+
(0, common_1.assertParamExists)('mongoDropIndex', 'indexName', indexName);
|
|
1646
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/indexes/{indexName}`
|
|
1647
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1648
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1649
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1650
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1651
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)))
|
|
1652
|
+
.replace(`{${"indexName"}}`, encodeURIComponent(String(indexName)));
|
|
1653
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1654
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1655
|
+
let baseOptions;
|
|
1656
|
+
if (configuration) {
|
|
1657
|
+
baseOptions = configuration.baseOptions;
|
|
1658
|
+
}
|
|
1659
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1660
|
+
const localVarHeaderParameter = {};
|
|
1661
|
+
const localVarQueryParameter = {};
|
|
1662
|
+
// authentication BearerToken required
|
|
1663
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1664
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1665
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1666
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1667
|
+
return {
|
|
1668
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1669
|
+
options: localVarRequestOptions,
|
|
1670
|
+
};
|
|
1671
|
+
},
|
|
1672
|
+
/**
|
|
1673
|
+
*
|
|
1674
|
+
* @summary evaluate input in a MongoDB mongosh session
|
|
1675
|
+
* @param {string} orgName
|
|
1676
|
+
* @param {string} clusterName
|
|
1677
|
+
* @param {string} id
|
|
1678
|
+
* @param {string} sessionID
|
|
1679
|
+
* @param {MongoShellEvaluateRequest} mongoShellEvaluateRequest
|
|
1680
|
+
* @param {*} [options] Override http request option.
|
|
1681
|
+
* @throws {RequiredError}
|
|
1682
|
+
*/
|
|
1683
|
+
mongoEvaluateShell: async (orgName, clusterName, id, sessionID, mongoShellEvaluateRequest, options = {}) => {
|
|
1684
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1685
|
+
(0, common_1.assertParamExists)('mongoEvaluateShell', 'orgName', orgName);
|
|
1686
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1687
|
+
(0, common_1.assertParamExists)('mongoEvaluateShell', 'clusterName', clusterName);
|
|
1688
|
+
// verify required parameter 'id' is not null or undefined
|
|
1689
|
+
(0, common_1.assertParamExists)('mongoEvaluateShell', 'id', id);
|
|
1690
|
+
// verify required parameter 'sessionID' is not null or undefined
|
|
1691
|
+
(0, common_1.assertParamExists)('mongoEvaluateShell', 'sessionID', sessionID);
|
|
1692
|
+
// verify required parameter 'mongoShellEvaluateRequest' is not null or undefined
|
|
1693
|
+
(0, common_1.assertParamExists)('mongoEvaluateShell', 'mongoShellEvaluateRequest', mongoShellEvaluateRequest);
|
|
1694
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/evaluate`
|
|
1695
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1696
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1697
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1698
|
+
.replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
|
|
1699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1700
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1701
|
+
let baseOptions;
|
|
1702
|
+
if (configuration) {
|
|
1703
|
+
baseOptions = configuration.baseOptions;
|
|
1704
|
+
}
|
|
1705
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1706
|
+
const localVarHeaderParameter = {};
|
|
1707
|
+
const localVarQueryParameter = {};
|
|
1708
|
+
// authentication BearerToken required
|
|
1709
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1710
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1711
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1713
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1714
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoShellEvaluateRequest, localVarRequestOptions, configuration);
|
|
1715
|
+
return {
|
|
1716
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1717
|
+
options: localVarRequestOptions,
|
|
1718
|
+
};
|
|
1719
|
+
},
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @summary explain a MongoDB query
|
|
1723
|
+
* @param {string} orgName name of the Org
|
|
1724
|
+
* @param {string} clusterName name of the cluster
|
|
1725
|
+
* @param {string} id id of the datasource
|
|
1726
|
+
* @param {MongoExplainRequest} mongoExplainRequest
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
*/
|
|
1730
|
+
mongoExplain: async (orgName, clusterName, id, mongoExplainRequest, options = {}) => {
|
|
1731
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1732
|
+
(0, common_1.assertParamExists)('mongoExplain', 'orgName', orgName);
|
|
1733
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1734
|
+
(0, common_1.assertParamExists)('mongoExplain', 'clusterName', clusterName);
|
|
1735
|
+
// verify required parameter 'id' is not null or undefined
|
|
1736
|
+
(0, common_1.assertParamExists)('mongoExplain', 'id', id);
|
|
1737
|
+
// verify required parameter 'mongoExplainRequest' is not null or undefined
|
|
1738
|
+
(0, common_1.assertParamExists)('mongoExplain', 'mongoExplainRequest', mongoExplainRequest);
|
|
1739
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/explain`
|
|
1740
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1741
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1742
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1744
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1745
|
+
let baseOptions;
|
|
1746
|
+
if (configuration) {
|
|
1747
|
+
baseOptions = configuration.baseOptions;
|
|
1748
|
+
}
|
|
1749
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1750
|
+
const localVarHeaderParameter = {};
|
|
1751
|
+
const localVarQueryParameter = {};
|
|
1752
|
+
// authentication BearerToken required
|
|
1753
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1754
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1755
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1757
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1758
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoExplainRequest, localVarRequestOptions, configuration);
|
|
1759
|
+
return {
|
|
1760
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1761
|
+
options: localVarRequestOptions,
|
|
1762
|
+
};
|
|
1763
|
+
},
|
|
1764
|
+
/**
|
|
1765
|
+
*
|
|
1766
|
+
* @summary find documents in a MongoDB collection
|
|
1767
|
+
* @param {string} orgName name of the Org
|
|
1768
|
+
* @param {string} clusterName name of the cluster
|
|
1769
|
+
* @param {string} id id of the datasource
|
|
1770
|
+
* @param {string} db database name
|
|
1771
|
+
* @param {string} col collection name
|
|
1772
|
+
* @param {MongoFindRequest} mongoFindRequest
|
|
1773
|
+
* @param {*} [options] Override http request option.
|
|
1774
|
+
* @throws {RequiredError}
|
|
1775
|
+
*/
|
|
1776
|
+
mongoFind: async (orgName, clusterName, id, db, col, mongoFindRequest, options = {}) => {
|
|
1777
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1778
|
+
(0, common_1.assertParamExists)('mongoFind', 'orgName', orgName);
|
|
1779
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1780
|
+
(0, common_1.assertParamExists)('mongoFind', 'clusterName', clusterName);
|
|
1781
|
+
// verify required parameter 'id' is not null or undefined
|
|
1782
|
+
(0, common_1.assertParamExists)('mongoFind', 'id', id);
|
|
1783
|
+
// verify required parameter 'db' is not null or undefined
|
|
1784
|
+
(0, common_1.assertParamExists)('mongoFind', 'db', db);
|
|
1785
|
+
// verify required parameter 'col' is not null or undefined
|
|
1786
|
+
(0, common_1.assertParamExists)('mongoFind', 'col', col);
|
|
1787
|
+
// verify required parameter 'mongoFindRequest' is not null or undefined
|
|
1788
|
+
(0, common_1.assertParamExists)('mongoFind', 'mongoFindRequest', mongoFindRequest);
|
|
1789
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/find`
|
|
1790
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1791
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1792
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1793
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1794
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1795
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1796
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1797
|
+
let baseOptions;
|
|
1798
|
+
if (configuration) {
|
|
1799
|
+
baseOptions = configuration.baseOptions;
|
|
1800
|
+
}
|
|
1801
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1802
|
+
const localVarHeaderParameter = {};
|
|
1803
|
+
const localVarQueryParameter = {};
|
|
1804
|
+
// authentication BearerToken required
|
|
1805
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1806
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1807
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1809
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1810
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoFindRequest, localVarRequestOptions, configuration);
|
|
1811
|
+
return {
|
|
1812
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1813
|
+
options: localVarRequestOptions,
|
|
1814
|
+
};
|
|
1815
|
+
},
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* @summary get MongoDB mongosh session prompt
|
|
1819
|
+
* @param {string} orgName
|
|
1820
|
+
* @param {string} clusterName
|
|
1821
|
+
* @param {string} id
|
|
1822
|
+
* @param {string} sessionID
|
|
1823
|
+
* @param {*} [options] Override http request option.
|
|
1824
|
+
* @throws {RequiredError}
|
|
1825
|
+
*/
|
|
1826
|
+
mongoGetShellPrompt: async (orgName, clusterName, id, sessionID, options = {}) => {
|
|
1827
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1828
|
+
(0, common_1.assertParamExists)('mongoGetShellPrompt', 'orgName', orgName);
|
|
1829
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1830
|
+
(0, common_1.assertParamExists)('mongoGetShellPrompt', 'clusterName', clusterName);
|
|
1831
|
+
// verify required parameter 'id' is not null or undefined
|
|
1832
|
+
(0, common_1.assertParamExists)('mongoGetShellPrompt', 'id', id);
|
|
1833
|
+
// verify required parameter 'sessionID' is not null or undefined
|
|
1834
|
+
(0, common_1.assertParamExists)('mongoGetShellPrompt', 'sessionID', sessionID);
|
|
1835
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/prompt`
|
|
1836
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1837
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1838
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1839
|
+
.replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
|
|
1840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1841
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1842
|
+
let baseOptions;
|
|
1843
|
+
if (configuration) {
|
|
1844
|
+
baseOptions = configuration.baseOptions;
|
|
1845
|
+
}
|
|
1846
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1847
|
+
const localVarHeaderParameter = {};
|
|
1848
|
+
const localVarQueryParameter = {};
|
|
1849
|
+
// authentication BearerToken required
|
|
1850
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1851
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1852
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1853
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1854
|
+
return {
|
|
1855
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1856
|
+
options: localVarRequestOptions,
|
|
1857
|
+
};
|
|
1858
|
+
},
|
|
1859
|
+
/**
|
|
1860
|
+
*
|
|
1861
|
+
* @summary get MongoDB collection validation options
|
|
1862
|
+
* @param {string} orgName
|
|
1863
|
+
* @param {string} clusterName
|
|
1864
|
+
* @param {string} id
|
|
1865
|
+
* @param {string} db
|
|
1866
|
+
* @param {string} col
|
|
1867
|
+
* @param {*} [options] Override http request option.
|
|
1868
|
+
* @throws {RequiredError}
|
|
1869
|
+
*/
|
|
1870
|
+
mongoGetValidation: async (orgName, clusterName, id, db, col, options = {}) => {
|
|
1871
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1872
|
+
(0, common_1.assertParamExists)('mongoGetValidation', 'orgName', orgName);
|
|
1873
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1874
|
+
(0, common_1.assertParamExists)('mongoGetValidation', 'clusterName', clusterName);
|
|
1875
|
+
// verify required parameter 'id' is not null or undefined
|
|
1876
|
+
(0, common_1.assertParamExists)('mongoGetValidation', 'id', id);
|
|
1877
|
+
// verify required parameter 'db' is not null or undefined
|
|
1878
|
+
(0, common_1.assertParamExists)('mongoGetValidation', 'db', db);
|
|
1879
|
+
// verify required parameter 'col' is not null or undefined
|
|
1880
|
+
(0, common_1.assertParamExists)('mongoGetValidation', 'col', col);
|
|
1881
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/validation`
|
|
1882
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1883
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1884
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1885
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1886
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1887
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1888
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1889
|
+
let baseOptions;
|
|
1890
|
+
if (configuration) {
|
|
1891
|
+
baseOptions = configuration.baseOptions;
|
|
1892
|
+
}
|
|
1893
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1894
|
+
const localVarHeaderParameter = {};
|
|
1895
|
+
const localVarQueryParameter = {};
|
|
1896
|
+
// authentication BearerToken required
|
|
1897
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1898
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1900
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1901
|
+
return {
|
|
1902
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1903
|
+
options: localVarRequestOptions,
|
|
1904
|
+
};
|
|
1905
|
+
},
|
|
1906
|
+
/**
|
|
1907
|
+
*
|
|
1908
|
+
* @summary insert MongoDB document(s)
|
|
1909
|
+
* @param {string} orgName
|
|
1910
|
+
* @param {string} clusterName
|
|
1911
|
+
* @param {string} id
|
|
1912
|
+
* @param {string} db
|
|
1913
|
+
* @param {string} col
|
|
1914
|
+
* @param {MongoInsertRequest} mongoInsertRequest
|
|
1915
|
+
* @param {*} [options] Override http request option.
|
|
1916
|
+
* @throws {RequiredError}
|
|
1917
|
+
*/
|
|
1918
|
+
mongoInsert: async (orgName, clusterName, id, db, col, mongoInsertRequest, options = {}) => {
|
|
1919
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1920
|
+
(0, common_1.assertParamExists)('mongoInsert', 'orgName', orgName);
|
|
1921
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1922
|
+
(0, common_1.assertParamExists)('mongoInsert', 'clusterName', clusterName);
|
|
1923
|
+
// verify required parameter 'id' is not null or undefined
|
|
1924
|
+
(0, common_1.assertParamExists)('mongoInsert', 'id', id);
|
|
1925
|
+
// verify required parameter 'db' is not null or undefined
|
|
1926
|
+
(0, common_1.assertParamExists)('mongoInsert', 'db', db);
|
|
1927
|
+
// verify required parameter 'col' is not null or undefined
|
|
1928
|
+
(0, common_1.assertParamExists)('mongoInsert', 'col', col);
|
|
1929
|
+
// verify required parameter 'mongoInsertRequest' is not null or undefined
|
|
1930
|
+
(0, common_1.assertParamExists)('mongoInsert', 'mongoInsertRequest', mongoInsertRequest);
|
|
1931
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/insert`
|
|
1932
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1933
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1934
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1935
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
1936
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
1937
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1938
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1939
|
+
let baseOptions;
|
|
1940
|
+
if (configuration) {
|
|
1941
|
+
baseOptions = configuration.baseOptions;
|
|
1942
|
+
}
|
|
1943
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1944
|
+
const localVarHeaderParameter = {};
|
|
1945
|
+
const localVarQueryParameter = {};
|
|
1946
|
+
// authentication BearerToken required
|
|
1947
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1948
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1949
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1950
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1951
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1952
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoInsertRequest, localVarRequestOptions, configuration);
|
|
1953
|
+
return {
|
|
1954
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1955
|
+
options: localVarRequestOptions,
|
|
1956
|
+
};
|
|
1957
|
+
},
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @summary interrupt current MongoDB mongosh session operation
|
|
1961
|
+
* @param {string} orgName
|
|
1962
|
+
* @param {string} clusterName
|
|
1963
|
+
* @param {string} id
|
|
1964
|
+
* @param {string} sessionID
|
|
1965
|
+
* @param {*} [options] Override http request option.
|
|
1966
|
+
* @throws {RequiredError}
|
|
1967
|
+
*/
|
|
1968
|
+
mongoInterruptShell: async (orgName, clusterName, id, sessionID, options = {}) => {
|
|
1969
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1970
|
+
(0, common_1.assertParamExists)('mongoInterruptShell', 'orgName', orgName);
|
|
1971
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1972
|
+
(0, common_1.assertParamExists)('mongoInterruptShell', 'clusterName', clusterName);
|
|
1973
|
+
// verify required parameter 'id' is not null or undefined
|
|
1974
|
+
(0, common_1.assertParamExists)('mongoInterruptShell', 'id', id);
|
|
1975
|
+
// verify required parameter 'sessionID' is not null or undefined
|
|
1976
|
+
(0, common_1.assertParamExists)('mongoInterruptShell', 'sessionID', sessionID);
|
|
1977
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/interrupt`
|
|
1978
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1979
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1980
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1981
|
+
.replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
|
|
1982
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1983
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1984
|
+
let baseOptions;
|
|
1985
|
+
if (configuration) {
|
|
1986
|
+
baseOptions = configuration.baseOptions;
|
|
1987
|
+
}
|
|
1988
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1989
|
+
const localVarHeaderParameter = {};
|
|
1990
|
+
const localVarQueryParameter = {};
|
|
1991
|
+
// authentication BearerToken required
|
|
1992
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
1993
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1995
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1996
|
+
return {
|
|
1997
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1998
|
+
options: localVarRequestOptions,
|
|
1999
|
+
};
|
|
2000
|
+
},
|
|
2001
|
+
/**
|
|
2002
|
+
*
|
|
2003
|
+
* @summary list MongoDB collection indexes
|
|
2004
|
+
* @param {string} orgName
|
|
2005
|
+
* @param {string} clusterName
|
|
2006
|
+
* @param {string} id
|
|
2007
|
+
* @param {string} db
|
|
2008
|
+
* @param {string} col
|
|
2009
|
+
* @param {*} [options] Override http request option.
|
|
2010
|
+
* @throws {RequiredError}
|
|
2011
|
+
*/
|
|
2012
|
+
mongoListIndexes: async (orgName, clusterName, id, db, col, options = {}) => {
|
|
2013
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2014
|
+
(0, common_1.assertParamExists)('mongoListIndexes', 'orgName', orgName);
|
|
2015
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2016
|
+
(0, common_1.assertParamExists)('mongoListIndexes', 'clusterName', clusterName);
|
|
2017
|
+
// verify required parameter 'id' is not null or undefined
|
|
2018
|
+
(0, common_1.assertParamExists)('mongoListIndexes', 'id', id);
|
|
2019
|
+
// verify required parameter 'db' is not null or undefined
|
|
2020
|
+
(0, common_1.assertParamExists)('mongoListIndexes', 'db', db);
|
|
2021
|
+
// verify required parameter 'col' is not null or undefined
|
|
2022
|
+
(0, common_1.assertParamExists)('mongoListIndexes', 'col', col);
|
|
2023
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/indexes`
|
|
2024
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2025
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2026
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2027
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
2028
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
2029
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2030
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2031
|
+
let baseOptions;
|
|
2032
|
+
if (configuration) {
|
|
2033
|
+
baseOptions = configuration.baseOptions;
|
|
2034
|
+
}
|
|
2035
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2036
|
+
const localVarHeaderParameter = {};
|
|
2037
|
+
const localVarQueryParameter = {};
|
|
2038
|
+
// authentication BearerToken required
|
|
2039
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2040
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2041
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2042
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2043
|
+
return {
|
|
2044
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2045
|
+
options: localVarRequestOptions,
|
|
2046
|
+
};
|
|
2047
|
+
},
|
|
2048
|
+
/**
|
|
2049
|
+
*
|
|
2050
|
+
* @summary replace a single MongoDB document
|
|
2051
|
+
* @param {string} orgName
|
|
2052
|
+
* @param {string} clusterName
|
|
2053
|
+
* @param {string} id
|
|
2054
|
+
* @param {string} db
|
|
2055
|
+
* @param {string} col
|
|
2056
|
+
* @param {MongoReplaceRequest} mongoReplaceRequest
|
|
2057
|
+
* @param {*} [options] Override http request option.
|
|
2058
|
+
* @throws {RequiredError}
|
|
2059
|
+
*/
|
|
2060
|
+
mongoReplace: async (orgName, clusterName, id, db, col, mongoReplaceRequest, options = {}) => {
|
|
2061
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2062
|
+
(0, common_1.assertParamExists)('mongoReplace', 'orgName', orgName);
|
|
2063
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2064
|
+
(0, common_1.assertParamExists)('mongoReplace', 'clusterName', clusterName);
|
|
2065
|
+
// verify required parameter 'id' is not null or undefined
|
|
2066
|
+
(0, common_1.assertParamExists)('mongoReplace', 'id', id);
|
|
2067
|
+
// verify required parameter 'db' is not null or undefined
|
|
2068
|
+
(0, common_1.assertParamExists)('mongoReplace', 'db', db);
|
|
2069
|
+
// verify required parameter 'col' is not null or undefined
|
|
2070
|
+
(0, common_1.assertParamExists)('mongoReplace', 'col', col);
|
|
2071
|
+
// verify required parameter 'mongoReplaceRequest' is not null or undefined
|
|
2072
|
+
(0, common_1.assertParamExists)('mongoReplace', 'mongoReplaceRequest', mongoReplaceRequest);
|
|
2073
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/replace`
|
|
2074
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2075
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2076
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2077
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
2078
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
2079
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2080
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2081
|
+
let baseOptions;
|
|
2082
|
+
if (configuration) {
|
|
2083
|
+
baseOptions = configuration.baseOptions;
|
|
2084
|
+
}
|
|
2085
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2086
|
+
const localVarHeaderParameter = {};
|
|
2087
|
+
const localVarQueryParameter = {};
|
|
2088
|
+
// authentication BearerToken required
|
|
2089
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2090
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2091
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2092
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2093
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2094
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoReplaceRequest, localVarRequestOptions, configuration);
|
|
2095
|
+
return {
|
|
2096
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2097
|
+
options: localVarRequestOptions,
|
|
2098
|
+
};
|
|
2099
|
+
},
|
|
2100
|
+
/**
|
|
2101
|
+
*
|
|
2102
|
+
* @summary set MongoDB collection validation options
|
|
2103
|
+
* @param {string} orgName
|
|
2104
|
+
* @param {string} clusterName
|
|
2105
|
+
* @param {string} id
|
|
2106
|
+
* @param {string} db
|
|
2107
|
+
* @param {string} col
|
|
2108
|
+
* @param {MongoSetValidationRequest} mongoSetValidationRequest
|
|
2109
|
+
* @param {*} [options] Override http request option.
|
|
2110
|
+
* @throws {RequiredError}
|
|
2111
|
+
*/
|
|
2112
|
+
mongoSetValidation: async (orgName, clusterName, id, db, col, mongoSetValidationRequest, options = {}) => {
|
|
2113
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2114
|
+
(0, common_1.assertParamExists)('mongoSetValidation', 'orgName', orgName);
|
|
2115
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2116
|
+
(0, common_1.assertParamExists)('mongoSetValidation', 'clusterName', clusterName);
|
|
2117
|
+
// verify required parameter 'id' is not null or undefined
|
|
2118
|
+
(0, common_1.assertParamExists)('mongoSetValidation', 'id', id);
|
|
2119
|
+
// verify required parameter 'db' is not null or undefined
|
|
2120
|
+
(0, common_1.assertParamExists)('mongoSetValidation', 'db', db);
|
|
2121
|
+
// verify required parameter 'col' is not null or undefined
|
|
2122
|
+
(0, common_1.assertParamExists)('mongoSetValidation', 'col', col);
|
|
2123
|
+
// verify required parameter 'mongoSetValidationRequest' is not null or undefined
|
|
2124
|
+
(0, common_1.assertParamExists)('mongoSetValidation', 'mongoSetValidationRequest', mongoSetValidationRequest);
|
|
2125
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/validation`
|
|
2126
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2127
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2128
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2129
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
2130
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
2131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2132
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2133
|
+
let baseOptions;
|
|
2134
|
+
if (configuration) {
|
|
2135
|
+
baseOptions = configuration.baseOptions;
|
|
2136
|
+
}
|
|
2137
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2138
|
+
const localVarHeaderParameter = {};
|
|
2139
|
+
const localVarQueryParameter = {};
|
|
2140
|
+
// authentication BearerToken required
|
|
2141
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2143
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2145
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2146
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoSetValidationRequest, localVarRequestOptions, configuration);
|
|
2147
|
+
return {
|
|
2148
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2149
|
+
options: localVarRequestOptions,
|
|
2150
|
+
};
|
|
2151
|
+
},
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @summary update a single MongoDB document
|
|
2155
|
+
* @param {string} orgName
|
|
2156
|
+
* @param {string} clusterName
|
|
2157
|
+
* @param {string} id
|
|
2158
|
+
* @param {string} db
|
|
2159
|
+
* @param {string} col
|
|
2160
|
+
* @param {MongoUpdateRequest} mongoUpdateRequest
|
|
2161
|
+
* @param {*} [options] Override http request option.
|
|
2162
|
+
* @throws {RequiredError}
|
|
2163
|
+
*/
|
|
2164
|
+
mongoUpdate: async (orgName, clusterName, id, db, col, mongoUpdateRequest, options = {}) => {
|
|
2165
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2166
|
+
(0, common_1.assertParamExists)('mongoUpdate', 'orgName', orgName);
|
|
2167
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2168
|
+
(0, common_1.assertParamExists)('mongoUpdate', 'clusterName', clusterName);
|
|
2169
|
+
// verify required parameter 'id' is not null or undefined
|
|
2170
|
+
(0, common_1.assertParamExists)('mongoUpdate', 'id', id);
|
|
2171
|
+
// verify required parameter 'db' is not null or undefined
|
|
2172
|
+
(0, common_1.assertParamExists)('mongoUpdate', 'db', db);
|
|
2173
|
+
// verify required parameter 'col' is not null or undefined
|
|
2174
|
+
(0, common_1.assertParamExists)('mongoUpdate', 'col', col);
|
|
2175
|
+
// verify required parameter 'mongoUpdateRequest' is not null or undefined
|
|
2176
|
+
(0, common_1.assertParamExists)('mongoUpdate', 'mongoUpdateRequest', mongoUpdateRequest);
|
|
2177
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/update`
|
|
2178
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2179
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2180
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2181
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)))
|
|
2182
|
+
.replace(`{${"col"}}`, encodeURIComponent(String(col)));
|
|
2183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2184
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2185
|
+
let baseOptions;
|
|
2186
|
+
if (configuration) {
|
|
2187
|
+
baseOptions = configuration.baseOptions;
|
|
2188
|
+
}
|
|
2189
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2190
|
+
const localVarHeaderParameter = {};
|
|
2191
|
+
const localVarQueryParameter = {};
|
|
2192
|
+
// authentication BearerToken required
|
|
2193
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2195
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2197
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2198
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoUpdateRequest, localVarRequestOptions, configuration);
|
|
2199
|
+
return {
|
|
2200
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2201
|
+
options: localVarRequestOptions,
|
|
2202
|
+
};
|
|
2203
|
+
},
|
|
2204
|
+
/**
|
|
2205
|
+
*
|
|
2206
|
+
* @summary create a SQL query
|
|
2207
|
+
* @param {string} orgName name of the Org
|
|
2208
|
+
* @param {string} clusterName name of the cluster
|
|
2209
|
+
* @param {string} id id of the datasource
|
|
2210
|
+
* @param {DmsQueryRequest} dmsQueryRequest
|
|
2211
|
+
* @param {*} [options] Override http request option.
|
|
2212
|
+
* @throws {RequiredError}
|
|
2213
|
+
*/
|
|
2214
|
+
query: async (orgName, clusterName, id, dmsQueryRequest, options = {}) => {
|
|
2215
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2216
|
+
(0, common_1.assertParamExists)('query', 'orgName', orgName);
|
|
2217
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2218
|
+
(0, common_1.assertParamExists)('query', 'clusterName', clusterName);
|
|
2219
|
+
// verify required parameter 'id' is not null or undefined
|
|
2220
|
+
(0, common_1.assertParamExists)('query', 'id', id);
|
|
2221
|
+
// verify required parameter 'dmsQueryRequest' is not null or undefined
|
|
2222
|
+
(0, common_1.assertParamExists)('query', 'dmsQueryRequest', dmsQueryRequest);
|
|
2223
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/query`
|
|
2224
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2225
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2226
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2227
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2228
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2229
|
+
let baseOptions;
|
|
2230
|
+
if (configuration) {
|
|
2231
|
+
baseOptions = configuration.baseOptions;
|
|
2232
|
+
}
|
|
2233
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2234
|
+
const localVarHeaderParameter = {};
|
|
2235
|
+
const localVarQueryParameter = {};
|
|
2236
|
+
// authentication BearerToken required
|
|
2237
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2239
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2241
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2242
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsQueryRequest, localVarRequestOptions, configuration);
|
|
2243
|
+
return {
|
|
2244
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2245
|
+
options: localVarRequestOptions,
|
|
2246
|
+
};
|
|
2247
|
+
},
|
|
2248
|
+
/**
|
|
2249
|
+
*
|
|
2250
|
+
* @summary read data of table or view
|
|
2251
|
+
* @param {string} orgName name of the Org
|
|
2252
|
+
* @param {string} clusterName name of the cluster
|
|
2253
|
+
* @param {string} id id of the datasource
|
|
2254
|
+
* @param {ShowDataRequest} showDataRequest
|
|
2255
|
+
* @param {*} [options] Override http request option.
|
|
2256
|
+
* @throws {RequiredError}
|
|
2257
|
+
*/
|
|
2258
|
+
showData: async (orgName, clusterName, id, showDataRequest, options = {}) => {
|
|
2259
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2260
|
+
(0, common_1.assertParamExists)('showData', 'orgName', orgName);
|
|
2261
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2262
|
+
(0, common_1.assertParamExists)('showData', 'clusterName', clusterName);
|
|
2263
|
+
// verify required parameter 'id' is not null or undefined
|
|
2264
|
+
(0, common_1.assertParamExists)('showData', 'id', id);
|
|
2265
|
+
// verify required parameter 'showDataRequest' is not null or undefined
|
|
2266
|
+
(0, common_1.assertParamExists)('showData', 'showDataRequest', showDataRequest);
|
|
2267
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/showData`
|
|
2268
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2269
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2270
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2271
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2272
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2273
|
+
let baseOptions;
|
|
2274
|
+
if (configuration) {
|
|
2275
|
+
baseOptions = configuration.baseOptions;
|
|
2276
|
+
}
|
|
2277
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2278
|
+
const localVarHeaderParameter = {};
|
|
2279
|
+
const localVarQueryParameter = {};
|
|
2280
|
+
// authentication BearerToken required
|
|
2281
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2282
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2283
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2285
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2286
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(showDataRequest, localVarRequestOptions, configuration);
|
|
2287
|
+
return {
|
|
2288
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2289
|
+
options: localVarRequestOptions,
|
|
2290
|
+
};
|
|
2291
|
+
},
|
|
2292
|
+
/**
|
|
2293
|
+
*
|
|
2294
|
+
* @summary explain a SQL
|
|
2295
|
+
* @param {string} orgName name of the Org
|
|
2296
|
+
* @param {string} clusterName name of the cluster
|
|
2297
|
+
* @param {string} id id of the datasource
|
|
2298
|
+
* @param {DmsExplainRequest} dmsExplainRequest
|
|
2299
|
+
* @param {*} [options] Override http request option.
|
|
2300
|
+
* @throws {RequiredError}
|
|
2301
|
+
*/
|
|
2302
|
+
sqlExplain: async (orgName, clusterName, id, dmsExplainRequest, options = {}) => {
|
|
2303
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2304
|
+
(0, common_1.assertParamExists)('sqlExplain', 'orgName', orgName);
|
|
2305
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2306
|
+
(0, common_1.assertParamExists)('sqlExplain', 'clusterName', clusterName);
|
|
2307
|
+
// verify required parameter 'id' is not null or undefined
|
|
2308
|
+
(0, common_1.assertParamExists)('sqlExplain', 'id', id);
|
|
2309
|
+
// verify required parameter 'dmsExplainRequest' is not null or undefined
|
|
2310
|
+
(0, common_1.assertParamExists)('sqlExplain', 'dmsExplainRequest', dmsExplainRequest);
|
|
2311
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/sqlExplain`
|
|
2312
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2313
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2314
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2315
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2316
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2317
|
+
let baseOptions;
|
|
2318
|
+
if (configuration) {
|
|
2319
|
+
baseOptions = configuration.baseOptions;
|
|
2320
|
+
}
|
|
2321
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2322
|
+
const localVarHeaderParameter = {};
|
|
2323
|
+
const localVarQueryParameter = {};
|
|
2324
|
+
// authentication BearerToken required
|
|
2325
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2326
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2327
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2329
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2330
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsExplainRequest, localVarRequestOptions, configuration);
|
|
2331
|
+
return {
|
|
2332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2333
|
+
options: localVarRequestOptions,
|
|
2334
|
+
};
|
|
2335
|
+
},
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
* @summary List parameters history of the Oceanbase tenant
|
|
2339
|
+
* @param {string} orgName name of the Org
|
|
2340
|
+
* @param {string} clusterName name of the cluster
|
|
2341
|
+
* @param {string} tenantId id of the tenant
|
|
2342
|
+
* @param {string} [parameterName] name of the parameter
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
2345
|
+
*/
|
|
2346
|
+
tenantParameterHistory: async (orgName, clusterName, tenantId, parameterName, options = {}) => {
|
|
2347
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2348
|
+
(0, common_1.assertParamExists)('tenantParameterHistory', 'orgName', orgName);
|
|
2349
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2350
|
+
(0, common_1.assertParamExists)('tenantParameterHistory', 'clusterName', clusterName);
|
|
2351
|
+
// verify required parameter 'tenantId' is not null or undefined
|
|
2352
|
+
(0, common_1.assertParamExists)('tenantParameterHistory', 'tenantId', tenantId);
|
|
2353
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameterHistory`
|
|
2354
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2355
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2356
|
+
.replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
|
|
2357
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2358
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2359
|
+
let baseOptions;
|
|
2360
|
+
if (configuration) {
|
|
2361
|
+
baseOptions = configuration.baseOptions;
|
|
2362
|
+
}
|
|
2363
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2364
|
+
const localVarHeaderParameter = {};
|
|
2365
|
+
const localVarQueryParameter = {};
|
|
2366
|
+
// authentication BearerToken required
|
|
2367
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2368
|
+
if (parameterName !== undefined) {
|
|
2369
|
+
localVarQueryParameter['parameterName'] = parameterName;
|
|
2370
|
+
}
|
|
2371
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2372
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2373
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2374
|
+
return {
|
|
2375
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2376
|
+
options: localVarRequestOptions,
|
|
2377
|
+
};
|
|
2378
|
+
},
|
|
2379
|
+
/**
|
|
2380
|
+
*
|
|
2381
|
+
* @summary test the datasource
|
|
2382
|
+
* @param {string} orgName name of the Org
|
|
2383
|
+
* @param {string} clusterName name of the cluster
|
|
2384
|
+
* @param {Datasource} datasource
|
|
2385
|
+
* @param {*} [options] Override http request option.
|
|
2386
|
+
* @throws {RequiredError}
|
|
2387
|
+
*/
|
|
2388
|
+
testDataSourceV2: async (orgName, clusterName, datasource, options = {}) => {
|
|
2389
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2390
|
+
(0, common_1.assertParamExists)('testDataSourceV2', 'orgName', orgName);
|
|
2391
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2392
|
+
(0, common_1.assertParamExists)('testDataSourceV2', 'clusterName', clusterName);
|
|
2393
|
+
// verify required parameter 'datasource' is not null or undefined
|
|
2394
|
+
(0, common_1.assertParamExists)('testDataSourceV2', 'datasource', datasource);
|
|
2395
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/testDS`
|
|
2396
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2397
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2398
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2399
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2400
|
+
let baseOptions;
|
|
2401
|
+
if (configuration) {
|
|
2402
|
+
baseOptions = configuration.baseOptions;
|
|
2403
|
+
}
|
|
2404
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2405
|
+
const localVarHeaderParameter = {};
|
|
2406
|
+
const localVarQueryParameter = {};
|
|
2407
|
+
// authentication BearerToken required
|
|
2408
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
|
|
2409
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2410
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2412
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2413
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasource, localVarRequestOptions, configuration);
|
|
2414
|
+
return {
|
|
2415
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2416
|
+
options: localVarRequestOptions,
|
|
2417
|
+
};
|
|
2418
|
+
},
|
|
2419
|
+
/**
|
|
2420
|
+
*
|
|
2421
|
+
* @summary update the datasource
|
|
1127
2422
|
* @param {string} orgName name of the Org
|
|
1128
2423
|
* @param {string} clusterName name of the cluster
|
|
1129
2424
|
* @param {Datasource} datasource
|
|
@@ -1173,353 +2468,843 @@ const DmsApiFp = function (configuration) {
|
|
|
1173
2468
|
return {
|
|
1174
2469
|
/**
|
|
1175
2470
|
*
|
|
1176
|
-
* @summary alter cluster parameter
|
|
2471
|
+
* @summary alter cluster parameter
|
|
2472
|
+
* @param {string} orgName name of the Org
|
|
2473
|
+
* @param {string} clusterName name of the cluster
|
|
2474
|
+
* @param {string} tenantId
|
|
2475
|
+
* @param {DmsObAlterParameter} dmsObAlterParameter
|
|
2476
|
+
* @param {*} [options] Override http request option.
|
|
2477
|
+
* @throws {RequiredError}
|
|
2478
|
+
*/
|
|
2479
|
+
async alterParameter(orgName, clusterName, tenantId, dmsObAlterParameter, options) {
|
|
2480
|
+
var _a, _b, _c;
|
|
2481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.alterParameter(orgName, clusterName, tenantId, dmsObAlterParameter, options);
|
|
2482
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2483
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2484
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2485
|
+
},
|
|
2486
|
+
/**
|
|
2487
|
+
*
|
|
2488
|
+
* @summary close the session for the cluster
|
|
2489
|
+
* @param {string} orgName name of the Org
|
|
2490
|
+
* @param {string} clusterName name of the cluster
|
|
2491
|
+
* @param {string} session name of the storage volume
|
|
2492
|
+
* @param {string} [keep] whether only close the query and keep the session
|
|
2493
|
+
* @param {*} [options] Override http request option.
|
|
2494
|
+
* @deprecated
|
|
2495
|
+
* @throws {RequiredError}
|
|
2496
|
+
*/
|
|
2497
|
+
async closeSessions(orgName, clusterName, session, keep, options) {
|
|
2498
|
+
var _a, _b, _c;
|
|
2499
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.closeSessions(orgName, clusterName, session, keep, options);
|
|
2500
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2501
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.closeSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2502
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2503
|
+
},
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2506
|
+
* @summary create the datasource
|
|
2507
|
+
* @param {string} orgName name of the Org
|
|
2508
|
+
* @param {string} clusterName name of the cluster
|
|
2509
|
+
* @param {Datasource} datasource
|
|
2510
|
+
* @param {*} [options] Override http request option.
|
|
2511
|
+
* @throws {RequiredError}
|
|
2512
|
+
*/
|
|
2513
|
+
async createDataSourceV2(orgName, clusterName, datasource, options) {
|
|
2514
|
+
var _a, _b, _c;
|
|
2515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createDataSourceV2(orgName, clusterName, datasource, options);
|
|
2516
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2517
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.createDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2518
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2519
|
+
},
|
|
2520
|
+
/**
|
|
2521
|
+
*
|
|
2522
|
+
* @summary Data Export
|
|
2523
|
+
* @param {string} orgName name of the Org
|
|
2524
|
+
* @param {string} clusterName name of the cluster
|
|
2525
|
+
* @param {string} id id of the datasource
|
|
2526
|
+
* @param {DmsExportRequest} [dmsExportRequest]
|
|
2527
|
+
* @param {*} [options] Override http request option.
|
|
2528
|
+
* @throws {RequiredError}
|
|
2529
|
+
*/
|
|
2530
|
+
async dataExport(orgName, clusterName, id, dmsExportRequest, options) {
|
|
2531
|
+
var _a, _b, _c;
|
|
2532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dataExport(orgName, clusterName, id, dmsExportRequest, options);
|
|
2533
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2534
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dataExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2535
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2536
|
+
},
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @summary Data Import
|
|
2540
|
+
* @param {string} orgName name of the Org
|
|
2541
|
+
* @param {string} clusterName name of the cluster
|
|
2542
|
+
* @param {string} id id of the datasource
|
|
2543
|
+
* @param {DmsImportRequest} dmsImportRequest
|
|
2544
|
+
* @param {*} [options] Override http request option.
|
|
2545
|
+
* @throws {RequiredError}
|
|
2546
|
+
*/
|
|
2547
|
+
async dataImport(orgName, clusterName, id, dmsImportRequest, options) {
|
|
2548
|
+
var _a, _b, _c;
|
|
2549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dataImport(orgName, clusterName, id, dmsImportRequest, options);
|
|
2550
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2551
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dataImport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2552
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2553
|
+
},
|
|
2554
|
+
/**
|
|
2555
|
+
*
|
|
2556
|
+
* @summary delete the datasource
|
|
2557
|
+
* @param {string} orgName name of the Org
|
|
2558
|
+
* @param {string} clusterName name of the cluster
|
|
2559
|
+
* @param {string} id id of the datasource
|
|
2560
|
+
* @param {*} [options] Override http request option.
|
|
2561
|
+
* @throws {RequiredError}
|
|
2562
|
+
*/
|
|
2563
|
+
async deleteDataSourceV2(orgName, clusterName, id, options) {
|
|
2564
|
+
var _a, _b, _c;
|
|
2565
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDataSourceV2(orgName, clusterName, id, options);
|
|
2566
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2567
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.deleteDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2568
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2569
|
+
},
|
|
2570
|
+
/**
|
|
2571
|
+
* disable console
|
|
2572
|
+
* @summary disable console
|
|
2573
|
+
* @param {string} engineName name of the engine
|
|
2574
|
+
* @param {string} orgName name of the Org
|
|
2575
|
+
* @param {string} clusterName name of the cluster
|
|
2576
|
+
* @param {*} [options] Override http request option.
|
|
2577
|
+
* @throws {RequiredError}
|
|
2578
|
+
*/
|
|
2579
|
+
async disableConsole(engineName, orgName, clusterName, options) {
|
|
2580
|
+
var _a, _b, _c;
|
|
2581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableConsole(engineName, orgName, clusterName, options);
|
|
2582
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2583
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2584
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2585
|
+
},
|
|
2586
|
+
/**
|
|
2587
|
+
*
|
|
2588
|
+
* @summary drop a MongoDB collection or view
|
|
2589
|
+
* @param {string} orgName name of the Org
|
|
2590
|
+
* @param {string} clusterName name of the cluster
|
|
2591
|
+
* @param {string} id id of the datasource
|
|
2592
|
+
* @param {string} db database name
|
|
2593
|
+
* @param {string} col collection or view name
|
|
2594
|
+
* @param {*} [options] Override http request option.
|
|
2595
|
+
* @throws {RequiredError}
|
|
2596
|
+
*/
|
|
2597
|
+
async dropMongoCollection(orgName, clusterName, id, db, col, options) {
|
|
2598
|
+
var _a, _b, _c;
|
|
2599
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dropMongoCollection(orgName, clusterName, id, db, col, options);
|
|
2600
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2601
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dropMongoCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2602
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2603
|
+
},
|
|
2604
|
+
/**
|
|
2605
|
+
* enable console
|
|
2606
|
+
* @summary enable console
|
|
2607
|
+
* @param {string} engineName name of the engine
|
|
2608
|
+
* @param {string} orgName name of the Org
|
|
2609
|
+
* @param {string} clusterName name of the cluster
|
|
2610
|
+
* @param {DMSConsoleEnableOpt} [dMSConsoleEnableOpt]
|
|
2611
|
+
* @param {*} [options] Override http request option.
|
|
2612
|
+
* @throws {RequiredError}
|
|
2613
|
+
*/
|
|
2614
|
+
async enableConsole(engineName, orgName, clusterName, dMSConsoleEnableOpt, options) {
|
|
2615
|
+
var _a, _b, _c;
|
|
2616
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableConsole(engineName, orgName, clusterName, dMSConsoleEnableOpt, options);
|
|
2617
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2618
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.enableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2619
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2620
|
+
},
|
|
2621
|
+
/**
|
|
2622
|
+
*
|
|
2623
|
+
* @summary support ddl and dml operations
|
|
2624
|
+
* @param {string} orgName name of the Org
|
|
2625
|
+
* @param {string} clusterName name of the cluster
|
|
2626
|
+
* @param {string} id id of the datasource
|
|
2627
|
+
* @param {DmsGenerateDDLRequest} [dmsGenerateDDLRequest]
|
|
2628
|
+
* @param {*} [options] Override http request option.
|
|
2629
|
+
* @throws {RequiredError}
|
|
2630
|
+
*/
|
|
2631
|
+
async generateDDL(orgName, clusterName, id, dmsGenerateDDLRequest, options) {
|
|
2632
|
+
var _a, _b, _c;
|
|
2633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateDDL(orgName, clusterName, id, dmsGenerateDDLRequest, options);
|
|
2634
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2635
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.generateDDL']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2636
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2637
|
+
},
|
|
2638
|
+
/**
|
|
2639
|
+
*
|
|
2640
|
+
* @summary get the datasource
|
|
2641
|
+
* @param {string} orgName name of the Org
|
|
2642
|
+
* @param {string} clusterName name of the cluster
|
|
2643
|
+
* @param {string} id id of the datasource
|
|
2644
|
+
* @param {*} [options] Override http request option.
|
|
2645
|
+
* @throws {RequiredError}
|
|
2646
|
+
*/
|
|
2647
|
+
async getDataSourceV2(orgName, clusterName, id, options) {
|
|
2648
|
+
var _a, _b, _c;
|
|
2649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourceV2(orgName, clusterName, id, options);
|
|
2650
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2651
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2652
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2653
|
+
},
|
|
2654
|
+
/**
|
|
2655
|
+
* get engine available console
|
|
2656
|
+
* @summary get engine available console
|
|
2657
|
+
* @param {string} engineName name of the engine
|
|
2658
|
+
* @param {string} orgName name of the Org
|
|
2659
|
+
* @param {string} clusterName name of the cluster
|
|
2660
|
+
* @param {*} [options] Override http request option.
|
|
2661
|
+
* @throws {RequiredError}
|
|
2662
|
+
*/
|
|
2663
|
+
async getEngineAvailableConsole(engineName, orgName, clusterName, options) {
|
|
2664
|
+
var _a, _b, _c;
|
|
2665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEngineAvailableConsole(engineName, orgName, clusterName, options);
|
|
2666
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2667
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getEngineAvailableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2668
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2669
|
+
},
|
|
2670
|
+
/**
|
|
2671
|
+
*
|
|
2672
|
+
* @summary get MongoDB collection stats
|
|
2673
|
+
* @param {string} orgName name of the Org
|
|
2674
|
+
* @param {string} clusterName name of the cluster
|
|
2675
|
+
* @param {string} id id of the datasource
|
|
2676
|
+
* @param {string} db database name
|
|
2677
|
+
* @param {string} col collection name
|
|
2678
|
+
* @param {*} [options] Override http request option.
|
|
2679
|
+
* @throws {RequiredError}
|
|
2680
|
+
*/
|
|
2681
|
+
async getMongoCollection(orgName, clusterName, id, db, col, options) {
|
|
2682
|
+
var _a, _b, _c;
|
|
2683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMongoCollection(orgName, clusterName, id, db, col, options);
|
|
2684
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2685
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getMongoCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2686
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2687
|
+
},
|
|
2688
|
+
/**
|
|
2689
|
+
*
|
|
2690
|
+
* @summary get the detail object info
|
|
1177
2691
|
* @param {string} orgName name of the Org
|
|
1178
2692
|
* @param {string} clusterName name of the cluster
|
|
1179
|
-
* @param {string}
|
|
1180
|
-
* @param {
|
|
2693
|
+
* @param {string} id id of the datasource
|
|
2694
|
+
* @param {string} schema schema or database name
|
|
2695
|
+
* @param {string} type object type
|
|
2696
|
+
* @param {string} objectName object name
|
|
2697
|
+
* @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
|
|
1181
2698
|
* @param {*} [options] Override http request option.
|
|
1182
2699
|
* @throws {RequiredError}
|
|
1183
2700
|
*/
|
|
1184
|
-
async
|
|
2701
|
+
async getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options) {
|
|
1185
2702
|
var _a, _b, _c;
|
|
1186
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options);
|
|
1187
2704
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1188
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2705
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1189
2706
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1190
2707
|
},
|
|
1191
2708
|
/**
|
|
1192
2709
|
*
|
|
1193
|
-
* @summary
|
|
2710
|
+
* @summary list all databases or schema of the cluster
|
|
1194
2711
|
* @param {string} orgName name of the Org
|
|
1195
2712
|
* @param {string} clusterName name of the cluster
|
|
1196
|
-
* @param {string}
|
|
1197
|
-
* @param {string} [
|
|
2713
|
+
* @param {string} id id of the datasource
|
|
2714
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
1198
2715
|
* @param {*} [options] Override http request option.
|
|
1199
|
-
* @deprecated
|
|
1200
2716
|
* @throws {RequiredError}
|
|
1201
2717
|
*/
|
|
1202
|
-
async
|
|
2718
|
+
async getSchemaList(orgName, clusterName, id, database, options) {
|
|
1203
2719
|
var _a, _b, _c;
|
|
1204
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, database, options);
|
|
1205
2721
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1206
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2722
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1207
2723
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1208
2724
|
},
|
|
1209
2725
|
/**
|
|
1210
2726
|
*
|
|
1211
|
-
* @summary
|
|
2727
|
+
* @summary Get the task list
|
|
1212
2728
|
* @param {string} orgName name of the Org
|
|
1213
2729
|
* @param {string} clusterName name of the cluster
|
|
1214
|
-
* @param {
|
|
2730
|
+
* @param {string} id id of the datasource
|
|
1215
2731
|
* @param {*} [options] Override http request option.
|
|
1216
2732
|
* @throws {RequiredError}
|
|
1217
2733
|
*/
|
|
1218
|
-
async
|
|
2734
|
+
async getTaskList(orgName, clusterName, id, options) {
|
|
1219
2735
|
var _a, _b, _c;
|
|
1220
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
|
|
1221
2737
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1222
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2738
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1223
2739
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1224
2740
|
},
|
|
1225
2741
|
/**
|
|
1226
2742
|
*
|
|
1227
|
-
* @summary
|
|
2743
|
+
* @summary Get the task progress
|
|
1228
2744
|
* @param {string} orgName name of the Org
|
|
1229
2745
|
* @param {string} clusterName name of the cluster
|
|
1230
2746
|
* @param {string} id id of the datasource
|
|
1231
|
-
* @param {
|
|
2747
|
+
* @param {string} taskId the task id
|
|
1232
2748
|
* @param {*} [options] Override http request option.
|
|
1233
2749
|
* @throws {RequiredError}
|
|
1234
2750
|
*/
|
|
1235
|
-
async
|
|
2751
|
+
async getTaskProgress(orgName, clusterName, id, taskId, options) {
|
|
1236
2752
|
var _a, _b, _c;
|
|
1237
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
|
|
1238
2754
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1239
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2755
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1240
2756
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1241
2757
|
},
|
|
1242
2758
|
/**
|
|
1243
2759
|
*
|
|
1244
|
-
* @summary
|
|
2760
|
+
* @summary list the datasource of a cluster
|
|
2761
|
+
* @param {string} orgName name of the Org
|
|
2762
|
+
* @param {string} clusterName name of the cluster
|
|
2763
|
+
* @param {*} [options] Override http request option.
|
|
2764
|
+
* @throws {RequiredError}
|
|
2765
|
+
*/
|
|
2766
|
+
async listDataSourceV2(orgName, clusterName, options) {
|
|
2767
|
+
var _a, _b, _c;
|
|
2768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDataSourceV2(orgName, clusterName, options);
|
|
2769
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2770
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2771
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2772
|
+
},
|
|
2773
|
+
/**
|
|
2774
|
+
*
|
|
2775
|
+
* @summary list all databases of the datasource
|
|
1245
2776
|
* @param {string} orgName name of the Org
|
|
1246
2777
|
* @param {string} clusterName name of the cluster
|
|
1247
2778
|
* @param {string} id id of the datasource
|
|
1248
|
-
* @param {DmsImportRequest} dmsImportRequest
|
|
1249
2779
|
* @param {*} [options] Override http request option.
|
|
1250
2780
|
* @throws {RequiredError}
|
|
1251
2781
|
*/
|
|
1252
|
-
async
|
|
2782
|
+
async listDmsDatabases(orgName, clusterName, id, options) {
|
|
1253
2783
|
var _a, _b, _c;
|
|
1254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDmsDatabases(orgName, clusterName, id, options);
|
|
1255
2785
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1256
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2786
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDmsDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1257
2787
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1258
2788
|
},
|
|
1259
2789
|
/**
|
|
1260
2790
|
*
|
|
1261
|
-
* @summary
|
|
2791
|
+
* @summary list collections in a MongoDB database
|
|
1262
2792
|
* @param {string} orgName name of the Org
|
|
1263
2793
|
* @param {string} clusterName name of the cluster
|
|
1264
2794
|
* @param {string} id id of the datasource
|
|
2795
|
+
* @param {string} db database name
|
|
1265
2796
|
* @param {*} [options] Override http request option.
|
|
1266
2797
|
* @throws {RequiredError}
|
|
1267
2798
|
*/
|
|
1268
|
-
async
|
|
2799
|
+
async listMongoCollections(orgName, clusterName, id, db, options) {
|
|
1269
2800
|
var _a, _b, _c;
|
|
1270
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2801
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMongoCollections(orgName, clusterName, id, db, options);
|
|
1271
2802
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1272
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2803
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listMongoCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1273
2804
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1274
2805
|
},
|
|
1275
2806
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @summary
|
|
1278
|
-
* @param {string} engineName name of the engine
|
|
2807
|
+
*
|
|
2808
|
+
* @summary list MongoDB database metadata
|
|
1279
2809
|
* @param {string} orgName name of the Org
|
|
1280
2810
|
* @param {string} clusterName name of the cluster
|
|
2811
|
+
* @param {string} id id of the datasource
|
|
1281
2812
|
* @param {*} [options] Override http request option.
|
|
1282
2813
|
* @throws {RequiredError}
|
|
1283
2814
|
*/
|
|
1284
|
-
async
|
|
2815
|
+
async listMongoDatabaseMetadata(orgName, clusterName, id, options) {
|
|
1285
2816
|
var _a, _b, _c;
|
|
1286
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMongoDatabaseMetadata(orgName, clusterName, id, options);
|
|
1287
2818
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1288
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2819
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listMongoDatabaseMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1289
2820
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1290
2821
|
},
|
|
1291
2822
|
/**
|
|
1292
|
-
*
|
|
1293
|
-
* @summary
|
|
1294
|
-
* @param {string} engineName name of the engine
|
|
2823
|
+
*
|
|
2824
|
+
* @summary list MongoDB databases
|
|
1295
2825
|
* @param {string} orgName name of the Org
|
|
1296
2826
|
* @param {string} clusterName name of the cluster
|
|
1297
|
-
* @param {
|
|
2827
|
+
* @param {string} id id of the datasource
|
|
1298
2828
|
* @param {*} [options] Override http request option.
|
|
1299
2829
|
* @throws {RequiredError}
|
|
1300
2830
|
*/
|
|
1301
|
-
async
|
|
2831
|
+
async listMongoDatabases(orgName, clusterName, id, options) {
|
|
1302
2832
|
var _a, _b, _c;
|
|
1303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMongoDatabases(orgName, clusterName, id, options);
|
|
1304
2834
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1305
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2835
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listMongoDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1306
2836
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1307
2837
|
},
|
|
1308
2838
|
/**
|
|
1309
2839
|
*
|
|
1310
|
-
* @summary
|
|
2840
|
+
* @summary list the all name for the specified object type
|
|
1311
2841
|
* @param {string} orgName name of the Org
|
|
1312
2842
|
* @param {string} clusterName name of the cluster
|
|
1313
2843
|
* @param {string} id id of the datasource
|
|
1314
|
-
* @param {
|
|
2844
|
+
* @param {string} schema schema or database name
|
|
2845
|
+
* @param {string} type object type
|
|
2846
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
|
|
1315
2847
|
* @param {*} [options] Override http request option.
|
|
1316
2848
|
* @throws {RequiredError}
|
|
1317
2849
|
*/
|
|
1318
|
-
async
|
|
2850
|
+
async listObjectNamesByType(orgName, clusterName, id, schema, type, database, options) {
|
|
1319
2851
|
var _a, _b, _c;
|
|
1320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, database, options);
|
|
1321
2853
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1322
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2854
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectNamesByType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1323
2855
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1324
2856
|
},
|
|
1325
2857
|
/**
|
|
1326
2858
|
*
|
|
1327
|
-
* @summary
|
|
2859
|
+
* @summary list the type and number of database objects in the specified database or schema
|
|
1328
2860
|
* @param {string} orgName name of the Org
|
|
1329
2861
|
* @param {string} clusterName name of the cluster
|
|
1330
2862
|
* @param {string} id id of the datasource
|
|
2863
|
+
* @param {string} schema schema or database name
|
|
2864
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
|
|
1331
2865
|
* @param {*} [options] Override http request option.
|
|
1332
2866
|
* @throws {RequiredError}
|
|
1333
2867
|
*/
|
|
1334
|
-
async
|
|
2868
|
+
async listObjectTypesInSchema(orgName, clusterName, id, schema, database, options) {
|
|
1335
2869
|
var _a, _b, _c;
|
|
1336
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, database, options);
|
|
1337
2871
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1338
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2872
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectTypesInSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1339
2873
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1340
2874
|
},
|
|
1341
2875
|
/**
|
|
1342
|
-
*
|
|
1343
|
-
* @summary
|
|
1344
|
-
* @param {string} engineName name of the engine
|
|
2876
|
+
*
|
|
2877
|
+
* @summary list cluster parameters
|
|
1345
2878
|
* @param {string} orgName name of the Org
|
|
1346
2879
|
* @param {string} clusterName name of the cluster
|
|
2880
|
+
* @param {string} tenantId
|
|
2881
|
+
* @param {string} mode
|
|
1347
2882
|
* @param {*} [options] Override http request option.
|
|
1348
2883
|
* @throws {RequiredError}
|
|
1349
2884
|
*/
|
|
1350
|
-
async
|
|
2885
|
+
async listParameters(orgName, clusterName, tenantId, mode, options) {
|
|
1351
2886
|
var _a, _b, _c;
|
|
1352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listParameters(orgName, clusterName, tenantId, mode, options);
|
|
1353
2888
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1354
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2889
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listParameters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1355
2890
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1356
2891
|
},
|
|
1357
2892
|
/**
|
|
1358
2893
|
*
|
|
1359
|
-
* @summary
|
|
2894
|
+
* @summary list the query History
|
|
1360
2895
|
* @param {string} orgName name of the Org
|
|
1361
2896
|
* @param {string} clusterName name of the cluster
|
|
1362
2897
|
* @param {string} id id of the datasource
|
|
1363
|
-
* @param {
|
|
1364
|
-
* @param {string} type object type
|
|
1365
|
-
* @param {string} objectName object name
|
|
2898
|
+
* @param {number} [limit] maximum history records to return, default and max 100
|
|
1366
2899
|
* @param {*} [options] Override http request option.
|
|
1367
2900
|
* @throws {RequiredError}
|
|
1368
2901
|
*/
|
|
1369
|
-
async
|
|
2902
|
+
async listQueryHistory(orgName, clusterName, id, limit, options) {
|
|
1370
2903
|
var _a, _b, _c;
|
|
1371
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listQueryHistory(orgName, clusterName, id, limit, options);
|
|
1372
2905
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1373
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2906
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listQueryHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1374
2907
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1375
2908
|
},
|
|
1376
2909
|
/**
|
|
1377
2910
|
*
|
|
1378
|
-
* @summary list all
|
|
2911
|
+
* @summary list all session for the cluster
|
|
1379
2912
|
* @param {string} orgName name of the Org
|
|
1380
2913
|
* @param {string} clusterName name of the cluster
|
|
1381
|
-
* @param {string}
|
|
2914
|
+
* @param {string} [all] whether list all session includes sleep
|
|
1382
2915
|
* @param {*} [options] Override http request option.
|
|
2916
|
+
* @deprecated
|
|
1383
2917
|
* @throws {RequiredError}
|
|
1384
2918
|
*/
|
|
1385
|
-
async
|
|
2919
|
+
async listSessionsOld(orgName, clusterName, all, options) {
|
|
1386
2920
|
var _a, _b, _c;
|
|
1387
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSessionsOld(orgName, clusterName, all, options);
|
|
1388
2922
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1389
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
2923
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listSessionsOld']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1390
2924
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1391
2925
|
},
|
|
1392
2926
|
/**
|
|
1393
2927
|
*
|
|
1394
|
-
* @summary
|
|
2928
|
+
* @summary run MongoDB aggregation pipeline preview
|
|
2929
|
+
* @param {string} orgName
|
|
2930
|
+
* @param {string} clusterName
|
|
2931
|
+
* @param {string} id
|
|
2932
|
+
* @param {string} db
|
|
2933
|
+
* @param {string} col
|
|
2934
|
+
* @param {MongoAggregateRequest} mongoAggregateRequest
|
|
2935
|
+
* @param {*} [options] Override http request option.
|
|
2936
|
+
* @throws {RequiredError}
|
|
2937
|
+
*/
|
|
2938
|
+
async mongoAggregate(orgName, clusterName, id, db, col, mongoAggregateRequest, options) {
|
|
2939
|
+
var _a, _b, _c;
|
|
2940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoAggregate(orgName, clusterName, id, db, col, mongoAggregateRequest, options);
|
|
2941
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2942
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoAggregate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2943
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2944
|
+
},
|
|
2945
|
+
/**
|
|
2946
|
+
*
|
|
2947
|
+
* @summary analyze MongoDB collection schema from sample documents
|
|
2948
|
+
* @param {string} orgName
|
|
2949
|
+
* @param {string} clusterName
|
|
2950
|
+
* @param {string} id
|
|
2951
|
+
* @param {string} db
|
|
2952
|
+
* @param {string} col
|
|
2953
|
+
* @param {number} [sample]
|
|
2954
|
+
* @param {*} [options] Override http request option.
|
|
2955
|
+
* @throws {RequiredError}
|
|
2956
|
+
*/
|
|
2957
|
+
async mongoAnalyzeSchema(orgName, clusterName, id, db, col, sample, options) {
|
|
2958
|
+
var _a, _b, _c;
|
|
2959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoAnalyzeSchema(orgName, clusterName, id, db, col, sample, options);
|
|
2960
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2961
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoAnalyzeSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2962
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2963
|
+
},
|
|
2964
|
+
/**
|
|
2965
|
+
*
|
|
2966
|
+
* @summary close MongoDB mongosh runtime session
|
|
2967
|
+
* @param {string} orgName
|
|
2968
|
+
* @param {string} clusterName
|
|
2969
|
+
* @param {string} id
|
|
2970
|
+
* @param {string} sessionID
|
|
2971
|
+
* @param {*} [options] Override http request option.
|
|
2972
|
+
* @throws {RequiredError}
|
|
2973
|
+
*/
|
|
2974
|
+
async mongoCloseShellSession(orgName, clusterName, id, sessionID, options) {
|
|
2975
|
+
var _a, _b, _c;
|
|
2976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCloseShellSession(orgName, clusterName, id, sessionID, options);
|
|
2977
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2978
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCloseShellSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2979
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2980
|
+
},
|
|
2981
|
+
/**
|
|
2982
|
+
*
|
|
2983
|
+
* @summary get completions for a MongoDB mongosh session
|
|
2984
|
+
* @param {string} orgName
|
|
2985
|
+
* @param {string} clusterName
|
|
2986
|
+
* @param {string} id
|
|
2987
|
+
* @param {string} sessionID
|
|
2988
|
+
* @param {MongoShellCompletionsRequest} mongoShellCompletionsRequest
|
|
2989
|
+
* @param {*} [options] Override http request option.
|
|
2990
|
+
* @throws {RequiredError}
|
|
2991
|
+
*/
|
|
2992
|
+
async mongoCompleteShell(orgName, clusterName, id, sessionID, mongoShellCompletionsRequest, options) {
|
|
2993
|
+
var _a, _b, _c;
|
|
2994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCompleteShell(orgName, clusterName, id, sessionID, mongoShellCompletionsRequest, options);
|
|
2995
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2996
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCompleteShell']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2997
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2998
|
+
},
|
|
2999
|
+
/**
|
|
3000
|
+
* Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
|
|
3001
|
+
* @summary create MongoDB collection
|
|
1395
3002
|
* @param {string} orgName name of the Org
|
|
1396
3003
|
* @param {string} clusterName name of the cluster
|
|
1397
3004
|
* @param {string} id id of the datasource
|
|
3005
|
+
* @param {string} db database name
|
|
3006
|
+
* @param {string} col initial collection name
|
|
3007
|
+
* @param {MongoCreateCollectionRequest} [mongoCreateCollectionRequest]
|
|
1398
3008
|
* @param {*} [options] Override http request option.
|
|
1399
3009
|
* @throws {RequiredError}
|
|
1400
3010
|
*/
|
|
1401
|
-
async
|
|
3011
|
+
async mongoCreateCollection(orgName, clusterName, id, db, col, mongoCreateCollectionRequest, options) {
|
|
1402
3012
|
var _a, _b, _c;
|
|
1403
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3013
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateCollection(orgName, clusterName, id, db, col, mongoCreateCollectionRequest, options);
|
|
1404
3014
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1405
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3015
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1406
3016
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1407
3017
|
},
|
|
1408
3018
|
/**
|
|
1409
3019
|
*
|
|
1410
|
-
* @summary
|
|
3020
|
+
* @summary create MongoDB collection index
|
|
3021
|
+
* @param {string} orgName
|
|
3022
|
+
* @param {string} clusterName
|
|
3023
|
+
* @param {string} id
|
|
3024
|
+
* @param {string} db
|
|
3025
|
+
* @param {string} col
|
|
3026
|
+
* @param {MongoCreateIndexRequest} mongoCreateIndexRequest
|
|
3027
|
+
* @param {*} [options] Override http request option.
|
|
3028
|
+
* @throws {RequiredError}
|
|
3029
|
+
*/
|
|
3030
|
+
async mongoCreateIndex(orgName, clusterName, id, db, col, mongoCreateIndexRequest, options) {
|
|
3031
|
+
var _a, _b, _c;
|
|
3032
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateIndex(orgName, clusterName, id, db, col, mongoCreateIndexRequest, options);
|
|
3033
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3034
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3035
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3036
|
+
},
|
|
3037
|
+
/**
|
|
3038
|
+
*
|
|
3039
|
+
* @summary create MongoDB mongosh runtime session
|
|
1411
3040
|
* @param {string} orgName name of the Org
|
|
1412
3041
|
* @param {string} clusterName name of the cluster
|
|
1413
3042
|
* @param {string} id id of the datasource
|
|
1414
|
-
* @param {
|
|
3043
|
+
* @param {MongoShellCreateSessionRequest} [mongoShellCreateSessionRequest]
|
|
1415
3044
|
* @param {*} [options] Override http request option.
|
|
1416
3045
|
* @throws {RequiredError}
|
|
1417
3046
|
*/
|
|
1418
|
-
async
|
|
3047
|
+
async mongoCreateShellSession(orgName, clusterName, id, mongoShellCreateSessionRequest, options) {
|
|
1419
3048
|
var _a, _b, _c;
|
|
1420
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateShellSession(orgName, clusterName, id, mongoShellCreateSessionRequest, options);
|
|
1421
3050
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1422
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3051
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateShellSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1423
3052
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1424
3053
|
},
|
|
1425
3054
|
/**
|
|
1426
3055
|
*
|
|
1427
|
-
* @summary
|
|
3056
|
+
* @summary create MongoDB view from a read-only aggregation pipeline
|
|
3057
|
+
* @param {string} orgName
|
|
3058
|
+
* @param {string} clusterName
|
|
3059
|
+
* @param {string} id
|
|
3060
|
+
* @param {string} db
|
|
3061
|
+
* @param {MongoCreateViewRequest} mongoCreateViewRequest
|
|
3062
|
+
* @param {*} [options] Override http request option.
|
|
3063
|
+
* @throws {RequiredError}
|
|
3064
|
+
*/
|
|
3065
|
+
async mongoCreateView(orgName, clusterName, id, db, mongoCreateViewRequest, options) {
|
|
3066
|
+
var _a, _b, _c;
|
|
3067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateView(orgName, clusterName, id, db, mongoCreateViewRequest, options);
|
|
3068
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3069
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateView']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3070
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3071
|
+
},
|
|
3072
|
+
/**
|
|
3073
|
+
*
|
|
3074
|
+
* @summary delete a single MongoDB document
|
|
3075
|
+
* @param {string} orgName
|
|
3076
|
+
* @param {string} clusterName
|
|
3077
|
+
* @param {string} id
|
|
3078
|
+
* @param {string} db
|
|
3079
|
+
* @param {string} col
|
|
3080
|
+
* @param {MongoDeleteRequest} mongoDeleteRequest
|
|
3081
|
+
* @param {*} [options] Override http request option.
|
|
3082
|
+
* @throws {RequiredError}
|
|
3083
|
+
*/
|
|
3084
|
+
async mongoDelete(orgName, clusterName, id, db, col, mongoDeleteRequest, options) {
|
|
3085
|
+
var _a, _b, _c;
|
|
3086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoDelete(orgName, clusterName, id, db, col, mongoDeleteRequest, options);
|
|
3087
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3088
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3089
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3090
|
+
},
|
|
3091
|
+
/**
|
|
3092
|
+
*
|
|
3093
|
+
* @summary drop MongoDB collection index
|
|
3094
|
+
* @param {string} orgName
|
|
3095
|
+
* @param {string} clusterName
|
|
3096
|
+
* @param {string} id
|
|
3097
|
+
* @param {string} db
|
|
3098
|
+
* @param {string} col
|
|
3099
|
+
* @param {string} indexName
|
|
3100
|
+
* @param {*} [options] Override http request option.
|
|
3101
|
+
* @throws {RequiredError}
|
|
3102
|
+
*/
|
|
3103
|
+
async mongoDropIndex(orgName, clusterName, id, db, col, indexName, options) {
|
|
3104
|
+
var _a, _b, _c;
|
|
3105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoDropIndex(orgName, clusterName, id, db, col, indexName, options);
|
|
3106
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3107
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoDropIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3108
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3109
|
+
},
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @summary evaluate input in a MongoDB mongosh session
|
|
3113
|
+
* @param {string} orgName
|
|
3114
|
+
* @param {string} clusterName
|
|
3115
|
+
* @param {string} id
|
|
3116
|
+
* @param {string} sessionID
|
|
3117
|
+
* @param {MongoShellEvaluateRequest} mongoShellEvaluateRequest
|
|
3118
|
+
* @param {*} [options] Override http request option.
|
|
3119
|
+
* @throws {RequiredError}
|
|
3120
|
+
*/
|
|
3121
|
+
async mongoEvaluateShell(orgName, clusterName, id, sessionID, mongoShellEvaluateRequest, options) {
|
|
3122
|
+
var _a, _b, _c;
|
|
3123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoEvaluateShell(orgName, clusterName, id, sessionID, mongoShellEvaluateRequest, options);
|
|
3124
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3125
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoEvaluateShell']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3126
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3127
|
+
},
|
|
3128
|
+
/**
|
|
3129
|
+
*
|
|
3130
|
+
* @summary explain a MongoDB query
|
|
1428
3131
|
* @param {string} orgName name of the Org
|
|
1429
3132
|
* @param {string} clusterName name of the cluster
|
|
3133
|
+
* @param {string} id id of the datasource
|
|
3134
|
+
* @param {MongoExplainRequest} mongoExplainRequest
|
|
1430
3135
|
* @param {*} [options] Override http request option.
|
|
1431
3136
|
* @throws {RequiredError}
|
|
1432
3137
|
*/
|
|
1433
|
-
async
|
|
3138
|
+
async mongoExplain(orgName, clusterName, id, mongoExplainRequest, options) {
|
|
1434
3139
|
var _a, _b, _c;
|
|
1435
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3140
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoExplain(orgName, clusterName, id, mongoExplainRequest, options);
|
|
1436
3141
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1437
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3142
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoExplain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1438
3143
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1439
3144
|
},
|
|
1440
3145
|
/**
|
|
1441
3146
|
*
|
|
1442
|
-
* @summary
|
|
3147
|
+
* @summary find documents in a MongoDB collection
|
|
1443
3148
|
* @param {string} orgName name of the Org
|
|
1444
3149
|
* @param {string} clusterName name of the cluster
|
|
1445
3150
|
* @param {string} id id of the datasource
|
|
1446
|
-
* @param {string}
|
|
1447
|
-
* @param {string}
|
|
3151
|
+
* @param {string} db database name
|
|
3152
|
+
* @param {string} col collection name
|
|
3153
|
+
* @param {MongoFindRequest} mongoFindRequest
|
|
3154
|
+
* @param {*} [options] Override http request option.
|
|
3155
|
+
* @throws {RequiredError}
|
|
3156
|
+
*/
|
|
3157
|
+
async mongoFind(orgName, clusterName, id, db, col, mongoFindRequest, options) {
|
|
3158
|
+
var _a, _b, _c;
|
|
3159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoFind(orgName, clusterName, id, db, col, mongoFindRequest, options);
|
|
3160
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3161
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoFind']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3162
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3163
|
+
},
|
|
3164
|
+
/**
|
|
3165
|
+
*
|
|
3166
|
+
* @summary get MongoDB mongosh session prompt
|
|
3167
|
+
* @param {string} orgName
|
|
3168
|
+
* @param {string} clusterName
|
|
3169
|
+
* @param {string} id
|
|
3170
|
+
* @param {string} sessionID
|
|
3171
|
+
* @param {*} [options] Override http request option.
|
|
3172
|
+
* @throws {RequiredError}
|
|
3173
|
+
*/
|
|
3174
|
+
async mongoGetShellPrompt(orgName, clusterName, id, sessionID, options) {
|
|
3175
|
+
var _a, _b, _c;
|
|
3176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetShellPrompt(orgName, clusterName, id, sessionID, options);
|
|
3177
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3178
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoGetShellPrompt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3179
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3180
|
+
},
|
|
3181
|
+
/**
|
|
3182
|
+
*
|
|
3183
|
+
* @summary get MongoDB collection validation options
|
|
3184
|
+
* @param {string} orgName
|
|
3185
|
+
* @param {string} clusterName
|
|
3186
|
+
* @param {string} id
|
|
3187
|
+
* @param {string} db
|
|
3188
|
+
* @param {string} col
|
|
3189
|
+
* @param {*} [options] Override http request option.
|
|
3190
|
+
* @throws {RequiredError}
|
|
3191
|
+
*/
|
|
3192
|
+
async mongoGetValidation(orgName, clusterName, id, db, col, options) {
|
|
3193
|
+
var _a, _b, _c;
|
|
3194
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetValidation(orgName, clusterName, id, db, col, options);
|
|
3195
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3196
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoGetValidation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3197
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3198
|
+
},
|
|
3199
|
+
/**
|
|
3200
|
+
*
|
|
3201
|
+
* @summary insert MongoDB document(s)
|
|
3202
|
+
* @param {string} orgName
|
|
3203
|
+
* @param {string} clusterName
|
|
3204
|
+
* @param {string} id
|
|
3205
|
+
* @param {string} db
|
|
3206
|
+
* @param {string} col
|
|
3207
|
+
* @param {MongoInsertRequest} mongoInsertRequest
|
|
3208
|
+
* @param {*} [options] Override http request option.
|
|
3209
|
+
* @throws {RequiredError}
|
|
3210
|
+
*/
|
|
3211
|
+
async mongoInsert(orgName, clusterName, id, db, col, mongoInsertRequest, options) {
|
|
3212
|
+
var _a, _b, _c;
|
|
3213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoInsert(orgName, clusterName, id, db, col, mongoInsertRequest, options);
|
|
3214
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3215
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoInsert']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3216
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3217
|
+
},
|
|
3218
|
+
/**
|
|
3219
|
+
*
|
|
3220
|
+
* @summary interrupt current MongoDB mongosh session operation
|
|
3221
|
+
* @param {string} orgName
|
|
3222
|
+
* @param {string} clusterName
|
|
3223
|
+
* @param {string} id
|
|
3224
|
+
* @param {string} sessionID
|
|
1448
3225
|
* @param {*} [options] Override http request option.
|
|
1449
3226
|
* @throws {RequiredError}
|
|
1450
3227
|
*/
|
|
1451
|
-
async
|
|
3228
|
+
async mongoInterruptShell(orgName, clusterName, id, sessionID, options) {
|
|
1452
3229
|
var _a, _b, _c;
|
|
1453
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoInterruptShell(orgName, clusterName, id, sessionID, options);
|
|
1454
3231
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1455
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3232
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoInterruptShell']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1456
3233
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1457
3234
|
},
|
|
1458
3235
|
/**
|
|
1459
3236
|
*
|
|
1460
|
-
* @summary list
|
|
1461
|
-
* @param {string} orgName
|
|
1462
|
-
* @param {string} clusterName
|
|
1463
|
-
* @param {string} id
|
|
1464
|
-
* @param {string}
|
|
3237
|
+
* @summary list MongoDB collection indexes
|
|
3238
|
+
* @param {string} orgName
|
|
3239
|
+
* @param {string} clusterName
|
|
3240
|
+
* @param {string} id
|
|
3241
|
+
* @param {string} db
|
|
3242
|
+
* @param {string} col
|
|
1465
3243
|
* @param {*} [options] Override http request option.
|
|
1466
3244
|
* @throws {RequiredError}
|
|
1467
3245
|
*/
|
|
1468
|
-
async
|
|
3246
|
+
async mongoListIndexes(orgName, clusterName, id, db, col, options) {
|
|
1469
3247
|
var _a, _b, _c;
|
|
1470
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoListIndexes(orgName, clusterName, id, db, col, options);
|
|
1471
3249
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1472
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3250
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoListIndexes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1473
3251
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1474
3252
|
},
|
|
1475
3253
|
/**
|
|
1476
3254
|
*
|
|
1477
|
-
* @summary
|
|
1478
|
-
* @param {string} orgName
|
|
1479
|
-
* @param {string} clusterName
|
|
1480
|
-
* @param {string}
|
|
1481
|
-
* @param {string}
|
|
3255
|
+
* @summary replace a single MongoDB document
|
|
3256
|
+
* @param {string} orgName
|
|
3257
|
+
* @param {string} clusterName
|
|
3258
|
+
* @param {string} id
|
|
3259
|
+
* @param {string} db
|
|
3260
|
+
* @param {string} col
|
|
3261
|
+
* @param {MongoReplaceRequest} mongoReplaceRequest
|
|
1482
3262
|
* @param {*} [options] Override http request option.
|
|
1483
3263
|
* @throws {RequiredError}
|
|
1484
3264
|
*/
|
|
1485
|
-
async
|
|
3265
|
+
async mongoReplace(orgName, clusterName, id, db, col, mongoReplaceRequest, options) {
|
|
1486
3266
|
var _a, _b, _c;
|
|
1487
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoReplace(orgName, clusterName, id, db, col, mongoReplaceRequest, options);
|
|
1488
3268
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1489
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3269
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoReplace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1490
3270
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1491
3271
|
},
|
|
1492
3272
|
/**
|
|
1493
3273
|
*
|
|
1494
|
-
* @summary
|
|
1495
|
-
* @param {string} orgName
|
|
1496
|
-
* @param {string} clusterName
|
|
1497
|
-
* @param {string} id
|
|
3274
|
+
* @summary set MongoDB collection validation options
|
|
3275
|
+
* @param {string} orgName
|
|
3276
|
+
* @param {string} clusterName
|
|
3277
|
+
* @param {string} id
|
|
3278
|
+
* @param {string} db
|
|
3279
|
+
* @param {string} col
|
|
3280
|
+
* @param {MongoSetValidationRequest} mongoSetValidationRequest
|
|
1498
3281
|
* @param {*} [options] Override http request option.
|
|
1499
3282
|
* @throws {RequiredError}
|
|
1500
3283
|
*/
|
|
1501
|
-
async
|
|
3284
|
+
async mongoSetValidation(orgName, clusterName, id, db, col, mongoSetValidationRequest, options) {
|
|
1502
3285
|
var _a, _b, _c;
|
|
1503
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoSetValidation(orgName, clusterName, id, db, col, mongoSetValidationRequest, options);
|
|
1504
3287
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1505
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3288
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoSetValidation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1506
3289
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1507
3290
|
},
|
|
1508
3291
|
/**
|
|
1509
3292
|
*
|
|
1510
|
-
* @summary
|
|
1511
|
-
* @param {string} orgName
|
|
1512
|
-
* @param {string} clusterName
|
|
1513
|
-
* @param {string}
|
|
3293
|
+
* @summary update a single MongoDB document
|
|
3294
|
+
* @param {string} orgName
|
|
3295
|
+
* @param {string} clusterName
|
|
3296
|
+
* @param {string} id
|
|
3297
|
+
* @param {string} db
|
|
3298
|
+
* @param {string} col
|
|
3299
|
+
* @param {MongoUpdateRequest} mongoUpdateRequest
|
|
1514
3300
|
* @param {*} [options] Override http request option.
|
|
1515
|
-
* @deprecated
|
|
1516
3301
|
* @throws {RequiredError}
|
|
1517
3302
|
*/
|
|
1518
|
-
async
|
|
3303
|
+
async mongoUpdate(orgName, clusterName, id, db, col, mongoUpdateRequest, options) {
|
|
1519
3304
|
var _a, _b, _c;
|
|
1520
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mongoUpdate(orgName, clusterName, id, db, col, mongoUpdateRequest, options);
|
|
1521
3306
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1522
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.
|
|
3307
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1523
3308
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1524
3309
|
},
|
|
1525
3310
|
/**
|
|
@@ -1680,169 +3465,439 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
1680
3465
|
* @param {*} [options] Override http request option.
|
|
1681
3466
|
* @throws {RequiredError}
|
|
1682
3467
|
*/
|
|
1683
|
-
dataImport(requestParameters, options) {
|
|
1684
|
-
return localVarFp.dataImport(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsImportRequest, options).then((request) => request(axios, basePath));
|
|
3468
|
+
dataImport(requestParameters, options) {
|
|
3469
|
+
return localVarFp.dataImport(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsImportRequest, options).then((request) => request(axios, basePath));
|
|
3470
|
+
},
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @summary delete the datasource
|
|
3474
|
+
* @param {DmsApiDeleteDataSourceV2Request} requestParameters Request parameters.
|
|
3475
|
+
* @param {*} [options] Override http request option.
|
|
3476
|
+
* @throws {RequiredError}
|
|
3477
|
+
*/
|
|
3478
|
+
deleteDataSourceV2(requestParameters, options) {
|
|
3479
|
+
return localVarFp.deleteDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3480
|
+
},
|
|
3481
|
+
/**
|
|
3482
|
+
* disable console
|
|
3483
|
+
* @summary disable console
|
|
3484
|
+
* @param {DmsApiDisableConsoleRequest} requestParameters Request parameters.
|
|
3485
|
+
* @param {*} [options] Override http request option.
|
|
3486
|
+
* @throws {RequiredError}
|
|
3487
|
+
*/
|
|
3488
|
+
disableConsole(requestParameters, options) {
|
|
3489
|
+
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
3490
|
+
},
|
|
3491
|
+
/**
|
|
3492
|
+
*
|
|
3493
|
+
* @summary drop a MongoDB collection or view
|
|
3494
|
+
* @param {DmsApiDropMongoCollectionRequest} requestParameters Request parameters.
|
|
3495
|
+
* @param {*} [options] Override http request option.
|
|
3496
|
+
* @throws {RequiredError}
|
|
3497
|
+
*/
|
|
3498
|
+
dropMongoCollection(requestParameters, options) {
|
|
3499
|
+
return localVarFp.dropMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
|
|
3500
|
+
},
|
|
3501
|
+
/**
|
|
3502
|
+
* enable console
|
|
3503
|
+
* @summary enable console
|
|
3504
|
+
* @param {DmsApiEnableConsoleRequest} requestParameters Request parameters.
|
|
3505
|
+
* @param {*} [options] Override http request option.
|
|
3506
|
+
* @throws {RequiredError}
|
|
3507
|
+
*/
|
|
3508
|
+
enableConsole(requestParameters, options) {
|
|
3509
|
+
return localVarFp.enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(axios, basePath));
|
|
3510
|
+
},
|
|
3511
|
+
/**
|
|
3512
|
+
*
|
|
3513
|
+
* @summary support ddl and dml operations
|
|
3514
|
+
* @param {DmsApiGenerateDDLRequest} requestParameters Request parameters.
|
|
3515
|
+
* @param {*} [options] Override http request option.
|
|
3516
|
+
* @throws {RequiredError}
|
|
3517
|
+
*/
|
|
3518
|
+
generateDDL(requestParameters, options) {
|
|
3519
|
+
return localVarFp.generateDDL(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsGenerateDDLRequest, options).then((request) => request(axios, basePath));
|
|
3520
|
+
},
|
|
3521
|
+
/**
|
|
3522
|
+
*
|
|
3523
|
+
* @summary get the datasource
|
|
3524
|
+
* @param {DmsApiGetDataSourceV2Request} requestParameters Request parameters.
|
|
3525
|
+
* @param {*} [options] Override http request option.
|
|
3526
|
+
* @throws {RequiredError}
|
|
3527
|
+
*/
|
|
3528
|
+
getDataSourceV2(requestParameters, options) {
|
|
3529
|
+
return localVarFp.getDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3530
|
+
},
|
|
3531
|
+
/**
|
|
3532
|
+
* get engine available console
|
|
3533
|
+
* @summary get engine available console
|
|
3534
|
+
* @param {DmsApiGetEngineAvailableConsoleRequest} requestParameters Request parameters.
|
|
3535
|
+
* @param {*} [options] Override http request option.
|
|
3536
|
+
* @throws {RequiredError}
|
|
3537
|
+
*/
|
|
3538
|
+
getEngineAvailableConsole(requestParameters, options) {
|
|
3539
|
+
return localVarFp.getEngineAvailableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
3540
|
+
},
|
|
3541
|
+
/**
|
|
3542
|
+
*
|
|
3543
|
+
* @summary get MongoDB collection stats
|
|
3544
|
+
* @param {DmsApiGetMongoCollectionRequest} requestParameters Request parameters.
|
|
3545
|
+
* @param {*} [options] Override http request option.
|
|
3546
|
+
* @throws {RequiredError}
|
|
3547
|
+
*/
|
|
3548
|
+
getMongoCollection(requestParameters, options) {
|
|
3549
|
+
return localVarFp.getMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
|
|
3550
|
+
},
|
|
3551
|
+
/**
|
|
3552
|
+
*
|
|
3553
|
+
* @summary get the detail object info
|
|
3554
|
+
* @param {DmsApiGetObjectInfoRequest} requestParameters Request parameters.
|
|
3555
|
+
* @param {*} [options] Override http request option.
|
|
3556
|
+
* @throws {RequiredError}
|
|
3557
|
+
*/
|
|
3558
|
+
getObjectInfo(requestParameters, options) {
|
|
3559
|
+
return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3560
|
+
},
|
|
3561
|
+
/**
|
|
3562
|
+
*
|
|
3563
|
+
* @summary list all databases or schema of the cluster
|
|
3564
|
+
* @param {DmsApiGetSchemaListRequest} requestParameters Request parameters.
|
|
3565
|
+
* @param {*} [options] Override http request option.
|
|
3566
|
+
* @throws {RequiredError}
|
|
3567
|
+
*/
|
|
3568
|
+
getSchemaList(requestParameters, options) {
|
|
3569
|
+
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3570
|
+
},
|
|
3571
|
+
/**
|
|
3572
|
+
*
|
|
3573
|
+
* @summary Get the task list
|
|
3574
|
+
* @param {DmsApiGetTaskListRequest} requestParameters Request parameters.
|
|
3575
|
+
* @param {*} [options] Override http request option.
|
|
3576
|
+
* @throws {RequiredError}
|
|
3577
|
+
*/
|
|
3578
|
+
getTaskList(requestParameters, options) {
|
|
3579
|
+
return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3580
|
+
},
|
|
3581
|
+
/**
|
|
3582
|
+
*
|
|
3583
|
+
* @summary Get the task progress
|
|
3584
|
+
* @param {DmsApiGetTaskProgressRequest} requestParameters Request parameters.
|
|
3585
|
+
* @param {*} [options] Override http request option.
|
|
3586
|
+
* @throws {RequiredError}
|
|
3587
|
+
*/
|
|
3588
|
+
getTaskProgress(requestParameters, options) {
|
|
3589
|
+
return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
|
|
3590
|
+
},
|
|
3591
|
+
/**
|
|
3592
|
+
*
|
|
3593
|
+
* @summary list the datasource of a cluster
|
|
3594
|
+
* @param {DmsApiListDataSourceV2Request} requestParameters Request parameters.
|
|
3595
|
+
* @param {*} [options] Override http request option.
|
|
3596
|
+
* @throws {RequiredError}
|
|
3597
|
+
*/
|
|
3598
|
+
listDataSourceV2(requestParameters, options) {
|
|
3599
|
+
return localVarFp.listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
3600
|
+
},
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @summary list all databases of the datasource
|
|
3604
|
+
* @param {DmsApiListDmsDatabasesRequest} requestParameters Request parameters.
|
|
3605
|
+
* @param {*} [options] Override http request option.
|
|
3606
|
+
* @throws {RequiredError}
|
|
3607
|
+
*/
|
|
3608
|
+
listDmsDatabases(requestParameters, options) {
|
|
3609
|
+
return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3610
|
+
},
|
|
3611
|
+
/**
|
|
3612
|
+
*
|
|
3613
|
+
* @summary list collections in a MongoDB database
|
|
3614
|
+
* @param {DmsApiListMongoCollectionsRequest} requestParameters Request parameters.
|
|
3615
|
+
* @param {*} [options] Override http request option.
|
|
3616
|
+
* @throws {RequiredError}
|
|
3617
|
+
*/
|
|
3618
|
+
listMongoCollections(requestParameters, options) {
|
|
3619
|
+
return localVarFp.listMongoCollections(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, options).then((request) => request(axios, basePath));
|
|
3620
|
+
},
|
|
3621
|
+
/**
|
|
3622
|
+
*
|
|
3623
|
+
* @summary list MongoDB database metadata
|
|
3624
|
+
* @param {DmsApiListMongoDatabaseMetadataRequest} requestParameters Request parameters.
|
|
3625
|
+
* @param {*} [options] Override http request option.
|
|
3626
|
+
* @throws {RequiredError}
|
|
3627
|
+
*/
|
|
3628
|
+
listMongoDatabaseMetadata(requestParameters, options) {
|
|
3629
|
+
return localVarFp.listMongoDatabaseMetadata(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3630
|
+
},
|
|
3631
|
+
/**
|
|
3632
|
+
*
|
|
3633
|
+
* @summary list MongoDB databases
|
|
3634
|
+
* @param {DmsApiListMongoDatabasesRequest} requestParameters Request parameters.
|
|
3635
|
+
* @param {*} [options] Override http request option.
|
|
3636
|
+
* @throws {RequiredError}
|
|
3637
|
+
*/
|
|
3638
|
+
listMongoDatabases(requestParameters, options) {
|
|
3639
|
+
return localVarFp.listMongoDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3640
|
+
},
|
|
3641
|
+
/**
|
|
3642
|
+
*
|
|
3643
|
+
* @summary list the all name for the specified object type
|
|
3644
|
+
* @param {DmsApiListObjectNamesByTypeRequest} requestParameters Request parameters.
|
|
3645
|
+
* @param {*} [options] Override http request option.
|
|
3646
|
+
* @throws {RequiredError}
|
|
3647
|
+
*/
|
|
3648
|
+
listObjectNamesByType(requestParameters, options) {
|
|
3649
|
+
return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3650
|
+
},
|
|
3651
|
+
/**
|
|
3652
|
+
*
|
|
3653
|
+
* @summary list the type and number of database objects in the specified database or schema
|
|
3654
|
+
* @param {DmsApiListObjectTypesInSchemaRequest} requestParameters Request parameters.
|
|
3655
|
+
* @param {*} [options] Override http request option.
|
|
3656
|
+
* @throws {RequiredError}
|
|
3657
|
+
*/
|
|
3658
|
+
listObjectTypesInSchema(requestParameters, options) {
|
|
3659
|
+
return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
3660
|
+
},
|
|
3661
|
+
/**
|
|
3662
|
+
*
|
|
3663
|
+
* @summary list cluster parameters
|
|
3664
|
+
* @param {DmsApiListParametersRequest} requestParameters Request parameters.
|
|
3665
|
+
* @param {*} [options] Override http request option.
|
|
3666
|
+
* @throws {RequiredError}
|
|
3667
|
+
*/
|
|
3668
|
+
listParameters(requestParameters, options) {
|
|
3669
|
+
return localVarFp.listParameters(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
3670
|
+
},
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @summary list the query History
|
|
3674
|
+
* @param {DmsApiListQueryHistoryRequest} requestParameters Request parameters.
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
listQueryHistory(requestParameters, options) {
|
|
3679
|
+
return localVarFp.listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
3680
|
+
},
|
|
3681
|
+
/**
|
|
3682
|
+
*
|
|
3683
|
+
* @summary list all session for the cluster
|
|
3684
|
+
* @param {DmsApiListSessionsOldRequest} requestParameters Request parameters.
|
|
3685
|
+
* @param {*} [options] Override http request option.
|
|
3686
|
+
* @deprecated
|
|
3687
|
+
* @throws {RequiredError}
|
|
3688
|
+
*/
|
|
3689
|
+
listSessionsOld(requestParameters, options) {
|
|
3690
|
+
return localVarFp.listSessionsOld(requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(axios, basePath));
|
|
3691
|
+
},
|
|
3692
|
+
/**
|
|
3693
|
+
*
|
|
3694
|
+
* @summary run MongoDB aggregation pipeline preview
|
|
3695
|
+
* @param {DmsApiMongoAggregateRequest} requestParameters Request parameters.
|
|
3696
|
+
* @param {*} [options] Override http request option.
|
|
3697
|
+
* @throws {RequiredError}
|
|
3698
|
+
*/
|
|
3699
|
+
mongoAggregate(requestParameters, options) {
|
|
3700
|
+
return localVarFp.mongoAggregate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoAggregateRequest, options).then((request) => request(axios, basePath));
|
|
3701
|
+
},
|
|
3702
|
+
/**
|
|
3703
|
+
*
|
|
3704
|
+
* @summary analyze MongoDB collection schema from sample documents
|
|
3705
|
+
* @param {DmsApiMongoAnalyzeSchemaRequest} requestParameters Request parameters.
|
|
3706
|
+
* @param {*} [options] Override http request option.
|
|
3707
|
+
* @throws {RequiredError}
|
|
3708
|
+
*/
|
|
3709
|
+
mongoAnalyzeSchema(requestParameters, options) {
|
|
3710
|
+
return localVarFp.mongoAnalyzeSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.sample, options).then((request) => request(axios, basePath));
|
|
3711
|
+
},
|
|
3712
|
+
/**
|
|
3713
|
+
*
|
|
3714
|
+
* @summary close MongoDB mongosh runtime session
|
|
3715
|
+
* @param {DmsApiMongoCloseShellSessionRequest} requestParameters Request parameters.
|
|
3716
|
+
* @param {*} [options] Override http request option.
|
|
3717
|
+
* @throws {RequiredError}
|
|
3718
|
+
*/
|
|
3719
|
+
mongoCloseShellSession(requestParameters, options) {
|
|
3720
|
+
return localVarFp.mongoCloseShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(axios, basePath));
|
|
3721
|
+
},
|
|
3722
|
+
/**
|
|
3723
|
+
*
|
|
3724
|
+
* @summary get completions for a MongoDB mongosh session
|
|
3725
|
+
* @param {DmsApiMongoCompleteShellRequest} requestParameters Request parameters.
|
|
3726
|
+
* @param {*} [options] Override http request option.
|
|
3727
|
+
* @throws {RequiredError}
|
|
3728
|
+
*/
|
|
3729
|
+
mongoCompleteShell(requestParameters, options) {
|
|
3730
|
+
return localVarFp.mongoCompleteShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellCompletionsRequest, options).then((request) => request(axios, basePath));
|
|
3731
|
+
},
|
|
3732
|
+
/**
|
|
3733
|
+
* Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
|
|
3734
|
+
* @summary create MongoDB collection
|
|
3735
|
+
* @param {DmsApiMongoCreateCollectionRequest} requestParameters Request parameters.
|
|
3736
|
+
* @param {*} [options] Override http request option.
|
|
3737
|
+
* @throws {RequiredError}
|
|
3738
|
+
*/
|
|
3739
|
+
mongoCreateCollection(requestParameters, options) {
|
|
3740
|
+
return localVarFp.mongoCreateCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateCollectionRequest, options).then((request) => request(axios, basePath));
|
|
1685
3741
|
},
|
|
1686
3742
|
/**
|
|
1687
3743
|
*
|
|
1688
|
-
* @summary
|
|
1689
|
-
* @param {
|
|
3744
|
+
* @summary create MongoDB collection index
|
|
3745
|
+
* @param {DmsApiMongoCreateIndexRequest} requestParameters Request parameters.
|
|
1690
3746
|
* @param {*} [options] Override http request option.
|
|
1691
3747
|
* @throws {RequiredError}
|
|
1692
3748
|
*/
|
|
1693
|
-
|
|
1694
|
-
return localVarFp.
|
|
3749
|
+
mongoCreateIndex(requestParameters, options) {
|
|
3750
|
+
return localVarFp.mongoCreateIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateIndexRequest, options).then((request) => request(axios, basePath));
|
|
1695
3751
|
},
|
|
1696
3752
|
/**
|
|
1697
|
-
*
|
|
1698
|
-
* @summary
|
|
1699
|
-
* @param {
|
|
3753
|
+
*
|
|
3754
|
+
* @summary create MongoDB mongosh runtime session
|
|
3755
|
+
* @param {DmsApiMongoCreateShellSessionRequest} requestParameters Request parameters.
|
|
1700
3756
|
* @param {*} [options] Override http request option.
|
|
1701
3757
|
* @throws {RequiredError}
|
|
1702
3758
|
*/
|
|
1703
|
-
|
|
1704
|
-
return localVarFp.
|
|
3759
|
+
mongoCreateShellSession(requestParameters, options) {
|
|
3760
|
+
return localVarFp.mongoCreateShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoShellCreateSessionRequest, options).then((request) => request(axios, basePath));
|
|
1705
3761
|
},
|
|
1706
3762
|
/**
|
|
1707
|
-
*
|
|
1708
|
-
* @summary
|
|
1709
|
-
* @param {
|
|
3763
|
+
*
|
|
3764
|
+
* @summary create MongoDB view from a read-only aggregation pipeline
|
|
3765
|
+
* @param {DmsApiMongoCreateViewRequest} requestParameters Request parameters.
|
|
1710
3766
|
* @param {*} [options] Override http request option.
|
|
1711
3767
|
* @throws {RequiredError}
|
|
1712
3768
|
*/
|
|
1713
|
-
|
|
1714
|
-
return localVarFp.
|
|
3769
|
+
mongoCreateView(requestParameters, options) {
|
|
3770
|
+
return localVarFp.mongoCreateView(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.mongoCreateViewRequest, options).then((request) => request(axios, basePath));
|
|
1715
3771
|
},
|
|
1716
3772
|
/**
|
|
1717
3773
|
*
|
|
1718
|
-
* @summary
|
|
1719
|
-
* @param {
|
|
3774
|
+
* @summary delete a single MongoDB document
|
|
3775
|
+
* @param {DmsApiMongoDeleteRequest} requestParameters Request parameters.
|
|
1720
3776
|
* @param {*} [options] Override http request option.
|
|
1721
3777
|
* @throws {RequiredError}
|
|
1722
3778
|
*/
|
|
1723
|
-
|
|
1724
|
-
return localVarFp.
|
|
3779
|
+
mongoDelete(requestParameters, options) {
|
|
3780
|
+
return localVarFp.mongoDelete(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoDeleteRequest, options).then((request) => request(axios, basePath));
|
|
1725
3781
|
},
|
|
1726
3782
|
/**
|
|
1727
3783
|
*
|
|
1728
|
-
* @summary
|
|
1729
|
-
* @param {
|
|
3784
|
+
* @summary drop MongoDB collection index
|
|
3785
|
+
* @param {DmsApiMongoDropIndexRequest} requestParameters Request parameters.
|
|
1730
3786
|
* @param {*} [options] Override http request option.
|
|
1731
3787
|
* @throws {RequiredError}
|
|
1732
3788
|
*/
|
|
1733
|
-
|
|
1734
|
-
return localVarFp.
|
|
3789
|
+
mongoDropIndex(requestParameters, options) {
|
|
3790
|
+
return localVarFp.mongoDropIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.indexName, options).then((request) => request(axios, basePath));
|
|
1735
3791
|
},
|
|
1736
3792
|
/**
|
|
1737
|
-
*
|
|
1738
|
-
* @summary
|
|
1739
|
-
* @param {
|
|
3793
|
+
*
|
|
3794
|
+
* @summary evaluate input in a MongoDB mongosh session
|
|
3795
|
+
* @param {DmsApiMongoEvaluateShellRequest} requestParameters Request parameters.
|
|
1740
3796
|
* @param {*} [options] Override http request option.
|
|
1741
3797
|
* @throws {RequiredError}
|
|
1742
3798
|
*/
|
|
1743
|
-
|
|
1744
|
-
return localVarFp.
|
|
3799
|
+
mongoEvaluateShell(requestParameters, options) {
|
|
3800
|
+
return localVarFp.mongoEvaluateShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellEvaluateRequest, options).then((request) => request(axios, basePath));
|
|
1745
3801
|
},
|
|
1746
3802
|
/**
|
|
1747
3803
|
*
|
|
1748
|
-
* @summary
|
|
1749
|
-
* @param {
|
|
3804
|
+
* @summary explain a MongoDB query
|
|
3805
|
+
* @param {DmsApiMongoExplainRequest} requestParameters Request parameters.
|
|
1750
3806
|
* @param {*} [options] Override http request option.
|
|
1751
3807
|
* @throws {RequiredError}
|
|
1752
3808
|
*/
|
|
1753
|
-
|
|
1754
|
-
return localVarFp.
|
|
3809
|
+
mongoExplain(requestParameters, options) {
|
|
3810
|
+
return localVarFp.mongoExplain(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoExplainRequest, options).then((request) => request(axios, basePath));
|
|
1755
3811
|
},
|
|
1756
3812
|
/**
|
|
1757
3813
|
*
|
|
1758
|
-
* @summary
|
|
1759
|
-
* @param {
|
|
3814
|
+
* @summary find documents in a MongoDB collection
|
|
3815
|
+
* @param {DmsApiMongoFindRequest} requestParameters Request parameters.
|
|
1760
3816
|
* @param {*} [options] Override http request option.
|
|
1761
3817
|
* @throws {RequiredError}
|
|
1762
3818
|
*/
|
|
1763
|
-
|
|
1764
|
-
return localVarFp.
|
|
3819
|
+
mongoFind(requestParameters, options) {
|
|
3820
|
+
return localVarFp.mongoFind(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoFindRequest, options).then((request) => request(axios, basePath));
|
|
1765
3821
|
},
|
|
1766
3822
|
/**
|
|
1767
3823
|
*
|
|
1768
|
-
* @summary
|
|
1769
|
-
* @param {
|
|
3824
|
+
* @summary get MongoDB mongosh session prompt
|
|
3825
|
+
* @param {DmsApiMongoGetShellPromptRequest} requestParameters Request parameters.
|
|
1770
3826
|
* @param {*} [options] Override http request option.
|
|
1771
3827
|
* @throws {RequiredError}
|
|
1772
3828
|
*/
|
|
1773
|
-
|
|
1774
|
-
return localVarFp.
|
|
3829
|
+
mongoGetShellPrompt(requestParameters, options) {
|
|
3830
|
+
return localVarFp.mongoGetShellPrompt(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(axios, basePath));
|
|
1775
3831
|
},
|
|
1776
3832
|
/**
|
|
1777
3833
|
*
|
|
1778
|
-
* @summary
|
|
1779
|
-
* @param {
|
|
3834
|
+
* @summary get MongoDB collection validation options
|
|
3835
|
+
* @param {DmsApiMongoGetValidationRequest} requestParameters Request parameters.
|
|
1780
3836
|
* @param {*} [options] Override http request option.
|
|
1781
3837
|
* @throws {RequiredError}
|
|
1782
3838
|
*/
|
|
1783
|
-
|
|
1784
|
-
return localVarFp.
|
|
3839
|
+
mongoGetValidation(requestParameters, options) {
|
|
3840
|
+
return localVarFp.mongoGetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
|
|
1785
3841
|
},
|
|
1786
3842
|
/**
|
|
1787
3843
|
*
|
|
1788
|
-
* @summary
|
|
1789
|
-
* @param {
|
|
3844
|
+
* @summary insert MongoDB document(s)
|
|
3845
|
+
* @param {DmsApiMongoInsertRequest} requestParameters Request parameters.
|
|
1790
3846
|
* @param {*} [options] Override http request option.
|
|
1791
3847
|
* @throws {RequiredError}
|
|
1792
3848
|
*/
|
|
1793
|
-
|
|
1794
|
-
return localVarFp.
|
|
3849
|
+
mongoInsert(requestParameters, options) {
|
|
3850
|
+
return localVarFp.mongoInsert(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoInsertRequest, options).then((request) => request(axios, basePath));
|
|
1795
3851
|
},
|
|
1796
3852
|
/**
|
|
1797
3853
|
*
|
|
1798
|
-
* @summary
|
|
1799
|
-
* @param {
|
|
3854
|
+
* @summary interrupt current MongoDB mongosh session operation
|
|
3855
|
+
* @param {DmsApiMongoInterruptShellRequest} requestParameters Request parameters.
|
|
1800
3856
|
* @param {*} [options] Override http request option.
|
|
1801
3857
|
* @throws {RequiredError}
|
|
1802
3858
|
*/
|
|
1803
|
-
|
|
1804
|
-
return localVarFp.
|
|
3859
|
+
mongoInterruptShell(requestParameters, options) {
|
|
3860
|
+
return localVarFp.mongoInterruptShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(axios, basePath));
|
|
1805
3861
|
},
|
|
1806
3862
|
/**
|
|
1807
3863
|
*
|
|
1808
|
-
* @summary list
|
|
1809
|
-
* @param {
|
|
3864
|
+
* @summary list MongoDB collection indexes
|
|
3865
|
+
* @param {DmsApiMongoListIndexesRequest} requestParameters Request parameters.
|
|
1810
3866
|
* @param {*} [options] Override http request option.
|
|
1811
3867
|
* @throws {RequiredError}
|
|
1812
3868
|
*/
|
|
1813
|
-
|
|
1814
|
-
return localVarFp.
|
|
3869
|
+
mongoListIndexes(requestParameters, options) {
|
|
3870
|
+
return localVarFp.mongoListIndexes(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
|
|
1815
3871
|
},
|
|
1816
3872
|
/**
|
|
1817
3873
|
*
|
|
1818
|
-
* @summary
|
|
1819
|
-
* @param {
|
|
3874
|
+
* @summary replace a single MongoDB document
|
|
3875
|
+
* @param {DmsApiMongoReplaceRequest} requestParameters Request parameters.
|
|
1820
3876
|
* @param {*} [options] Override http request option.
|
|
1821
3877
|
* @throws {RequiredError}
|
|
1822
3878
|
*/
|
|
1823
|
-
|
|
1824
|
-
return localVarFp.
|
|
3879
|
+
mongoReplace(requestParameters, options) {
|
|
3880
|
+
return localVarFp.mongoReplace(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoReplaceRequest, options).then((request) => request(axios, basePath));
|
|
1825
3881
|
},
|
|
1826
3882
|
/**
|
|
1827
3883
|
*
|
|
1828
|
-
* @summary
|
|
1829
|
-
* @param {
|
|
3884
|
+
* @summary set MongoDB collection validation options
|
|
3885
|
+
* @param {DmsApiMongoSetValidationRequest} requestParameters Request parameters.
|
|
1830
3886
|
* @param {*} [options] Override http request option.
|
|
1831
3887
|
* @throws {RequiredError}
|
|
1832
3888
|
*/
|
|
1833
|
-
|
|
1834
|
-
return localVarFp.
|
|
3889
|
+
mongoSetValidation(requestParameters, options) {
|
|
3890
|
+
return localVarFp.mongoSetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoSetValidationRequest, options).then((request) => request(axios, basePath));
|
|
1835
3891
|
},
|
|
1836
3892
|
/**
|
|
1837
3893
|
*
|
|
1838
|
-
* @summary
|
|
1839
|
-
* @param {
|
|
3894
|
+
* @summary update a single MongoDB document
|
|
3895
|
+
* @param {DmsApiMongoUpdateRequest} requestParameters Request parameters.
|
|
1840
3896
|
* @param {*} [options] Override http request option.
|
|
1841
|
-
* @deprecated
|
|
1842
3897
|
* @throws {RequiredError}
|
|
1843
3898
|
*/
|
|
1844
|
-
|
|
1845
|
-
return localVarFp.
|
|
3899
|
+
mongoUpdate(requestParameters, options) {
|
|
3900
|
+
return localVarFp.mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1846
3901
|
},
|
|
1847
3902
|
/**
|
|
1848
3903
|
*
|
|
@@ -1992,6 +4047,17 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
1992
4047
|
disableConsole(requestParameters, options) {
|
|
1993
4048
|
return (0, exports.DmsApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1994
4049
|
}
|
|
4050
|
+
/**
|
|
4051
|
+
*
|
|
4052
|
+
* @summary drop a MongoDB collection or view
|
|
4053
|
+
* @param {DmsApiDropMongoCollectionRequest} requestParameters Request parameters.
|
|
4054
|
+
* @param {*} [options] Override http request option.
|
|
4055
|
+
* @throws {RequiredError}
|
|
4056
|
+
* @memberof DmsApi
|
|
4057
|
+
*/
|
|
4058
|
+
dropMongoCollection(requestParameters, options) {
|
|
4059
|
+
return (0, exports.DmsApiFp)(this.configuration).dropMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
|
|
4060
|
+
}
|
|
1995
4061
|
/**
|
|
1996
4062
|
* enable console
|
|
1997
4063
|
* @summary enable console
|
|
@@ -2036,6 +4102,17 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2036
4102
|
getEngineAvailableConsole(requestParameters, options) {
|
|
2037
4103
|
return (0, exports.DmsApiFp)(this.configuration).getEngineAvailableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
2038
4104
|
}
|
|
4105
|
+
/**
|
|
4106
|
+
*
|
|
4107
|
+
* @summary get MongoDB collection stats
|
|
4108
|
+
* @param {DmsApiGetMongoCollectionRequest} requestParameters Request parameters.
|
|
4109
|
+
* @param {*} [options] Override http request option.
|
|
4110
|
+
* @throws {RequiredError}
|
|
4111
|
+
* @memberof DmsApi
|
|
4112
|
+
*/
|
|
4113
|
+
getMongoCollection(requestParameters, options) {
|
|
4114
|
+
return (0, exports.DmsApiFp)(this.configuration).getMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
|
|
4115
|
+
}
|
|
2039
4116
|
/**
|
|
2040
4117
|
*
|
|
2041
4118
|
* @summary get the detail object info
|
|
@@ -2045,7 +4122,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2045
4122
|
* @memberof DmsApi
|
|
2046
4123
|
*/
|
|
2047
4124
|
getObjectInfo(requestParameters, options) {
|
|
2048
|
-
return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
|
|
4125
|
+
return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
2049
4126
|
}
|
|
2050
4127
|
/**
|
|
2051
4128
|
*
|
|
@@ -2056,7 +4133,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2056
4133
|
* @memberof DmsApi
|
|
2057
4134
|
*/
|
|
2058
4135
|
getSchemaList(requestParameters, options) {
|
|
2059
|
-
return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4136
|
+
return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
2060
4137
|
}
|
|
2061
4138
|
/**
|
|
2062
4139
|
*
|
|
@@ -2091,6 +4168,50 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2091
4168
|
listDataSourceV2(requestParameters, options) {
|
|
2092
4169
|
return (0, exports.DmsApiFp)(this.configuration).listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
2093
4170
|
}
|
|
4171
|
+
/**
|
|
4172
|
+
*
|
|
4173
|
+
* @summary list all databases of the datasource
|
|
4174
|
+
* @param {DmsApiListDmsDatabasesRequest} requestParameters Request parameters.
|
|
4175
|
+
* @param {*} [options] Override http request option.
|
|
4176
|
+
* @throws {RequiredError}
|
|
4177
|
+
* @memberof DmsApi
|
|
4178
|
+
*/
|
|
4179
|
+
listDmsDatabases(requestParameters, options) {
|
|
4180
|
+
return (0, exports.DmsApiFp)(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4181
|
+
}
|
|
4182
|
+
/**
|
|
4183
|
+
*
|
|
4184
|
+
* @summary list collections in a MongoDB database
|
|
4185
|
+
* @param {DmsApiListMongoCollectionsRequest} requestParameters Request parameters.
|
|
4186
|
+
* @param {*} [options] Override http request option.
|
|
4187
|
+
* @throws {RequiredError}
|
|
4188
|
+
* @memberof DmsApi
|
|
4189
|
+
*/
|
|
4190
|
+
listMongoCollections(requestParameters, options) {
|
|
4191
|
+
return (0, exports.DmsApiFp)(this.configuration).listMongoCollections(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, options).then((request) => request(this.axios, this.basePath));
|
|
4192
|
+
}
|
|
4193
|
+
/**
|
|
4194
|
+
*
|
|
4195
|
+
* @summary list MongoDB database metadata
|
|
4196
|
+
* @param {DmsApiListMongoDatabaseMetadataRequest} requestParameters Request parameters.
|
|
4197
|
+
* @param {*} [options] Override http request option.
|
|
4198
|
+
* @throws {RequiredError}
|
|
4199
|
+
* @memberof DmsApi
|
|
4200
|
+
*/
|
|
4201
|
+
listMongoDatabaseMetadata(requestParameters, options) {
|
|
4202
|
+
return (0, exports.DmsApiFp)(this.configuration).listMongoDatabaseMetadata(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4203
|
+
}
|
|
4204
|
+
/**
|
|
4205
|
+
*
|
|
4206
|
+
* @summary list MongoDB databases
|
|
4207
|
+
* @param {DmsApiListMongoDatabasesRequest} requestParameters Request parameters.
|
|
4208
|
+
* @param {*} [options] Override http request option.
|
|
4209
|
+
* @throws {RequiredError}
|
|
4210
|
+
* @memberof DmsApi
|
|
4211
|
+
*/
|
|
4212
|
+
listMongoDatabases(requestParameters, options) {
|
|
4213
|
+
return (0, exports.DmsApiFp)(this.configuration).listMongoDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4214
|
+
}
|
|
2094
4215
|
/**
|
|
2095
4216
|
*
|
|
2096
4217
|
* @summary list the all name for the specified object type
|
|
@@ -2100,7 +4221,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2100
4221
|
* @memberof DmsApi
|
|
2101
4222
|
*/
|
|
2102
4223
|
listObjectNamesByType(requestParameters, options) {
|
|
2103
|
-
return (0, exports.DmsApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
4224
|
+
return (0, exports.DmsApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
2104
4225
|
}
|
|
2105
4226
|
/**
|
|
2106
4227
|
*
|
|
@@ -2111,7 +4232,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2111
4232
|
* @memberof DmsApi
|
|
2112
4233
|
*/
|
|
2113
4234
|
listObjectTypesInSchema(requestParameters, options) {
|
|
2114
|
-
return (0, exports.DmsApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(this.axios, this.basePath));
|
|
4235
|
+
return (0, exports.DmsApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
2115
4236
|
}
|
|
2116
4237
|
/**
|
|
2117
4238
|
*
|
|
@@ -2133,7 +4254,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2133
4254
|
* @memberof DmsApi
|
|
2134
4255
|
*/
|
|
2135
4256
|
listQueryHistory(requestParameters, options) {
|
|
2136
|
-
return (0, exports.DmsApiFp)(this.configuration).listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4257
|
+
return (0, exports.DmsApiFp)(this.configuration).listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
2137
4258
|
}
|
|
2138
4259
|
/**
|
|
2139
4260
|
*
|
|
@@ -2147,6 +4268,237 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
2147
4268
|
listSessionsOld(requestParameters, options) {
|
|
2148
4269
|
return (0, exports.DmsApiFp)(this.configuration).listSessionsOld(requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(this.axios, this.basePath));
|
|
2149
4270
|
}
|
|
4271
|
+
/**
|
|
4272
|
+
*
|
|
4273
|
+
* @summary run MongoDB aggregation pipeline preview
|
|
4274
|
+
* @param {DmsApiMongoAggregateRequest} requestParameters Request parameters.
|
|
4275
|
+
* @param {*} [options] Override http request option.
|
|
4276
|
+
* @throws {RequiredError}
|
|
4277
|
+
* @memberof DmsApi
|
|
4278
|
+
*/
|
|
4279
|
+
mongoAggregate(requestParameters, options) {
|
|
4280
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoAggregate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoAggregateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4281
|
+
}
|
|
4282
|
+
/**
|
|
4283
|
+
*
|
|
4284
|
+
* @summary analyze MongoDB collection schema from sample documents
|
|
4285
|
+
* @param {DmsApiMongoAnalyzeSchemaRequest} requestParameters Request parameters.
|
|
4286
|
+
* @param {*} [options] Override http request option.
|
|
4287
|
+
* @throws {RequiredError}
|
|
4288
|
+
* @memberof DmsApi
|
|
4289
|
+
*/
|
|
4290
|
+
mongoAnalyzeSchema(requestParameters, options) {
|
|
4291
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoAnalyzeSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.sample, options).then((request) => request(this.axios, this.basePath));
|
|
4292
|
+
}
|
|
4293
|
+
/**
|
|
4294
|
+
*
|
|
4295
|
+
* @summary close MongoDB mongosh runtime session
|
|
4296
|
+
* @param {DmsApiMongoCloseShellSessionRequest} requestParameters Request parameters.
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
* @memberof DmsApi
|
|
4300
|
+
*/
|
|
4301
|
+
mongoCloseShellSession(requestParameters, options) {
|
|
4302
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoCloseShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(this.axios, this.basePath));
|
|
4303
|
+
}
|
|
4304
|
+
/**
|
|
4305
|
+
*
|
|
4306
|
+
* @summary get completions for a MongoDB mongosh session
|
|
4307
|
+
* @param {DmsApiMongoCompleteShellRequest} requestParameters Request parameters.
|
|
4308
|
+
* @param {*} [options] Override http request option.
|
|
4309
|
+
* @throws {RequiredError}
|
|
4310
|
+
* @memberof DmsApi
|
|
4311
|
+
*/
|
|
4312
|
+
mongoCompleteShell(requestParameters, options) {
|
|
4313
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoCompleteShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellCompletionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4314
|
+
}
|
|
4315
|
+
/**
|
|
4316
|
+
* Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
|
|
4317
|
+
* @summary create MongoDB collection
|
|
4318
|
+
* @param {DmsApiMongoCreateCollectionRequest} requestParameters Request parameters.
|
|
4319
|
+
* @param {*} [options] Override http request option.
|
|
4320
|
+
* @throws {RequiredError}
|
|
4321
|
+
* @memberof DmsApi
|
|
4322
|
+
*/
|
|
4323
|
+
mongoCreateCollection(requestParameters, options) {
|
|
4324
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoCreateCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateCollectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4325
|
+
}
|
|
4326
|
+
/**
|
|
4327
|
+
*
|
|
4328
|
+
* @summary create MongoDB collection index
|
|
4329
|
+
* @param {DmsApiMongoCreateIndexRequest} requestParameters Request parameters.
|
|
4330
|
+
* @param {*} [options] Override http request option.
|
|
4331
|
+
* @throws {RequiredError}
|
|
4332
|
+
* @memberof DmsApi
|
|
4333
|
+
*/
|
|
4334
|
+
mongoCreateIndex(requestParameters, options) {
|
|
4335
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoCreateIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateIndexRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4336
|
+
}
|
|
4337
|
+
/**
|
|
4338
|
+
*
|
|
4339
|
+
* @summary create MongoDB mongosh runtime session
|
|
4340
|
+
* @param {DmsApiMongoCreateShellSessionRequest} requestParameters Request parameters.
|
|
4341
|
+
* @param {*} [options] Override http request option.
|
|
4342
|
+
* @throws {RequiredError}
|
|
4343
|
+
* @memberof DmsApi
|
|
4344
|
+
*/
|
|
4345
|
+
mongoCreateShellSession(requestParameters, options) {
|
|
4346
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoCreateShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoShellCreateSessionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4347
|
+
}
|
|
4348
|
+
/**
|
|
4349
|
+
*
|
|
4350
|
+
* @summary create MongoDB view from a read-only aggregation pipeline
|
|
4351
|
+
* @param {DmsApiMongoCreateViewRequest} requestParameters Request parameters.
|
|
4352
|
+
* @param {*} [options] Override http request option.
|
|
4353
|
+
* @throws {RequiredError}
|
|
4354
|
+
* @memberof DmsApi
|
|
4355
|
+
*/
|
|
4356
|
+
mongoCreateView(requestParameters, options) {
|
|
4357
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoCreateView(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.mongoCreateViewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4358
|
+
}
|
|
4359
|
+
/**
|
|
4360
|
+
*
|
|
4361
|
+
* @summary delete a single MongoDB document
|
|
4362
|
+
* @param {DmsApiMongoDeleteRequest} requestParameters Request parameters.
|
|
4363
|
+
* @param {*} [options] Override http request option.
|
|
4364
|
+
* @throws {RequiredError}
|
|
4365
|
+
* @memberof DmsApi
|
|
4366
|
+
*/
|
|
4367
|
+
mongoDelete(requestParameters, options) {
|
|
4368
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoDelete(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoDeleteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4369
|
+
}
|
|
4370
|
+
/**
|
|
4371
|
+
*
|
|
4372
|
+
* @summary drop MongoDB collection index
|
|
4373
|
+
* @param {DmsApiMongoDropIndexRequest} requestParameters Request parameters.
|
|
4374
|
+
* @param {*} [options] Override http request option.
|
|
4375
|
+
* @throws {RequiredError}
|
|
4376
|
+
* @memberof DmsApi
|
|
4377
|
+
*/
|
|
4378
|
+
mongoDropIndex(requestParameters, options) {
|
|
4379
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoDropIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.indexName, options).then((request) => request(this.axios, this.basePath));
|
|
4380
|
+
}
|
|
4381
|
+
/**
|
|
4382
|
+
*
|
|
4383
|
+
* @summary evaluate input in a MongoDB mongosh session
|
|
4384
|
+
* @param {DmsApiMongoEvaluateShellRequest} requestParameters Request parameters.
|
|
4385
|
+
* @param {*} [options] Override http request option.
|
|
4386
|
+
* @throws {RequiredError}
|
|
4387
|
+
* @memberof DmsApi
|
|
4388
|
+
*/
|
|
4389
|
+
mongoEvaluateShell(requestParameters, options) {
|
|
4390
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoEvaluateShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellEvaluateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4391
|
+
}
|
|
4392
|
+
/**
|
|
4393
|
+
*
|
|
4394
|
+
* @summary explain a MongoDB query
|
|
4395
|
+
* @param {DmsApiMongoExplainRequest} requestParameters Request parameters.
|
|
4396
|
+
* @param {*} [options] Override http request option.
|
|
4397
|
+
* @throws {RequiredError}
|
|
4398
|
+
* @memberof DmsApi
|
|
4399
|
+
*/
|
|
4400
|
+
mongoExplain(requestParameters, options) {
|
|
4401
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoExplain(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoExplainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4402
|
+
}
|
|
4403
|
+
/**
|
|
4404
|
+
*
|
|
4405
|
+
* @summary find documents in a MongoDB collection
|
|
4406
|
+
* @param {DmsApiMongoFindRequest} requestParameters Request parameters.
|
|
4407
|
+
* @param {*} [options] Override http request option.
|
|
4408
|
+
* @throws {RequiredError}
|
|
4409
|
+
* @memberof DmsApi
|
|
4410
|
+
*/
|
|
4411
|
+
mongoFind(requestParameters, options) {
|
|
4412
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoFind(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoFindRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4413
|
+
}
|
|
4414
|
+
/**
|
|
4415
|
+
*
|
|
4416
|
+
* @summary get MongoDB mongosh session prompt
|
|
4417
|
+
* @param {DmsApiMongoGetShellPromptRequest} requestParameters Request parameters.
|
|
4418
|
+
* @param {*} [options] Override http request option.
|
|
4419
|
+
* @throws {RequiredError}
|
|
4420
|
+
* @memberof DmsApi
|
|
4421
|
+
*/
|
|
4422
|
+
mongoGetShellPrompt(requestParameters, options) {
|
|
4423
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoGetShellPrompt(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(this.axios, this.basePath));
|
|
4424
|
+
}
|
|
4425
|
+
/**
|
|
4426
|
+
*
|
|
4427
|
+
* @summary get MongoDB collection validation options
|
|
4428
|
+
* @param {DmsApiMongoGetValidationRequest} requestParameters Request parameters.
|
|
4429
|
+
* @param {*} [options] Override http request option.
|
|
4430
|
+
* @throws {RequiredError}
|
|
4431
|
+
* @memberof DmsApi
|
|
4432
|
+
*/
|
|
4433
|
+
mongoGetValidation(requestParameters, options) {
|
|
4434
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoGetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
|
|
4435
|
+
}
|
|
4436
|
+
/**
|
|
4437
|
+
*
|
|
4438
|
+
* @summary insert MongoDB document(s)
|
|
4439
|
+
* @param {DmsApiMongoInsertRequest} requestParameters Request parameters.
|
|
4440
|
+
* @param {*} [options] Override http request option.
|
|
4441
|
+
* @throws {RequiredError}
|
|
4442
|
+
* @memberof DmsApi
|
|
4443
|
+
*/
|
|
4444
|
+
mongoInsert(requestParameters, options) {
|
|
4445
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoInsert(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoInsertRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4446
|
+
}
|
|
4447
|
+
/**
|
|
4448
|
+
*
|
|
4449
|
+
* @summary interrupt current MongoDB mongosh session operation
|
|
4450
|
+
* @param {DmsApiMongoInterruptShellRequest} requestParameters Request parameters.
|
|
4451
|
+
* @param {*} [options] Override http request option.
|
|
4452
|
+
* @throws {RequiredError}
|
|
4453
|
+
* @memberof DmsApi
|
|
4454
|
+
*/
|
|
4455
|
+
mongoInterruptShell(requestParameters, options) {
|
|
4456
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoInterruptShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(this.axios, this.basePath));
|
|
4457
|
+
}
|
|
4458
|
+
/**
|
|
4459
|
+
*
|
|
4460
|
+
* @summary list MongoDB collection indexes
|
|
4461
|
+
* @param {DmsApiMongoListIndexesRequest} requestParameters Request parameters.
|
|
4462
|
+
* @param {*} [options] Override http request option.
|
|
4463
|
+
* @throws {RequiredError}
|
|
4464
|
+
* @memberof DmsApi
|
|
4465
|
+
*/
|
|
4466
|
+
mongoListIndexes(requestParameters, options) {
|
|
4467
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoListIndexes(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
|
|
4468
|
+
}
|
|
4469
|
+
/**
|
|
4470
|
+
*
|
|
4471
|
+
* @summary replace a single MongoDB document
|
|
4472
|
+
* @param {DmsApiMongoReplaceRequest} requestParameters Request parameters.
|
|
4473
|
+
* @param {*} [options] Override http request option.
|
|
4474
|
+
* @throws {RequiredError}
|
|
4475
|
+
* @memberof DmsApi
|
|
4476
|
+
*/
|
|
4477
|
+
mongoReplace(requestParameters, options) {
|
|
4478
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoReplace(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoReplaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4479
|
+
}
|
|
4480
|
+
/**
|
|
4481
|
+
*
|
|
4482
|
+
* @summary set MongoDB collection validation options
|
|
4483
|
+
* @param {DmsApiMongoSetValidationRequest} requestParameters Request parameters.
|
|
4484
|
+
* @param {*} [options] Override http request option.
|
|
4485
|
+
* @throws {RequiredError}
|
|
4486
|
+
* @memberof DmsApi
|
|
4487
|
+
*/
|
|
4488
|
+
mongoSetValidation(requestParameters, options) {
|
|
4489
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoSetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoSetValidationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4490
|
+
}
|
|
4491
|
+
/**
|
|
4492
|
+
*
|
|
4493
|
+
* @summary update a single MongoDB document
|
|
4494
|
+
* @param {DmsApiMongoUpdateRequest} requestParameters Request parameters.
|
|
4495
|
+
* @param {*} [options] Override http request option.
|
|
4496
|
+
* @throws {RequiredError}
|
|
4497
|
+
* @memberof DmsApi
|
|
4498
|
+
*/
|
|
4499
|
+
mongoUpdate(requestParameters, options) {
|
|
4500
|
+
return (0, exports.DmsApiFp)(this.configuration).mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4501
|
+
}
|
|
2150
4502
|
/**
|
|
2151
4503
|
*
|
|
2152
4504
|
* @summary create a SQL query
|