kb-cloud-client-typescript 2.3.0-alpha.124 → 2.3.0-alpha.126
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/apis/dms-api.d.ts +1106 -6
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +1175 -44
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +30 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +30 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/redis-aclcontext.d.ts +49 -0
- package/dist/adminapi/models/redis-aclcontext.d.ts.map +1 -0
- package/dist/adminapi/models/redis-aclcontext.js +16 -0
- package/dist/adminapi/models/redis-aclcontext.js.map +1 -0
- package/dist/adminapi/models/redis-capability.d.ts +31 -0
- package/dist/adminapi/models/redis-capability.d.ts.map +1 -0
- package/dist/adminapi/models/redis-capability.js +16 -0
- package/dist/adminapi/models/redis-capability.js.map +1 -0
- package/dist/adminapi/models/redis-cluster-node.d.ts +49 -0
- package/dist/adminapi/models/redis-cluster-node.d.ts.map +1 -0
- package/dist/adminapi/models/redis-cluster-node.js +16 -0
- package/dist/adminapi/models/redis-cluster-node.js.map +1 -0
- package/dist/adminapi/models/redis-cluster-slot.d.ts +43 -0
- package/dist/adminapi/models/redis-cluster-slot.d.ts.map +1 -0
- package/dist/adminapi/models/redis-cluster-slot.js +16 -0
- package/dist/adminapi/models/redis-cluster-slot.js.map +1 -0
- package/dist/adminapi/models/redis-cluster-state.d.ts +50 -0
- package/dist/adminapi/models/redis-cluster-state.d.ts.map +1 -0
- package/dist/adminapi/models/redis-cluster-state.js +16 -0
- package/dist/adminapi/models/redis-cluster-state.js.map +1 -0
- package/dist/adminapi/models/redis-cluster-topology.d.ts +45 -0
- package/dist/adminapi/models/redis-cluster-topology.d.ts.map +1 -0
- package/dist/adminapi/models/redis-cluster-topology.js +16 -0
- package/dist/adminapi/models/redis-cluster-topology.js.map +1 -0
- package/dist/adminapi/models/redis-dangerous-operation-request.d.ts +25 -0
- package/dist/adminapi/models/redis-dangerous-operation-request.d.ts.map +1 -0
- package/dist/adminapi/models/redis-dangerous-operation-request.js +16 -0
- package/dist/adminapi/models/redis-dangerous-operation-request.js.map +1 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts +74 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -0
- package/dist/adminapi/models/redis-data-capabilities.js +16 -0
- package/dist/adminapi/models/redis-data-capabilities.js.map +1 -0
- package/dist/adminapi/models/redis-data-context.d.ts +70 -0
- package/dist/adminapi/models/redis-data-context.d.ts.map +1 -0
- package/dist/adminapi/models/redis-data-context.js +16 -0
- package/dist/adminapi/models/redis-data-context.js.map +1 -0
- package/dist/adminapi/models/redis-info-response.d.ts +45 -0
- package/dist/adminapi/models/redis-info-response.d.ts.map +1 -0
- package/dist/adminapi/models/redis-info-response.js +16 -0
- package/dist/adminapi/models/redis-info-response.js.map +1 -0
- package/dist/adminapi/models/redis-key-detail-request.d.ts +55 -0
- package/dist/adminapi/models/redis-key-detail-request.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-detail-request.js +16 -0
- package/dist/adminapi/models/redis-key-detail-request.js.map +1 -0
- package/dist/adminapi/models/redis-key-detail.d.ts +39 -0
- package/dist/adminapi/models/redis-key-detail.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-detail.js +16 -0
- package/dist/adminapi/models/redis-key-detail.js.map +1 -0
- package/dist/adminapi/models/redis-key-mutate-request.d.ts +51 -0
- package/dist/adminapi/models/redis-key-mutate-request.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-mutate-request.js +16 -0
- package/dist/adminapi/models/redis-key-mutate-request.js.map +1 -0
- package/dist/adminapi/models/redis-key-mutate-response.d.ts +40 -0
- package/dist/adminapi/models/redis-key-mutate-response.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-mutate-response.js +16 -0
- package/dist/adminapi/models/redis-key-mutate-response.js.map +1 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts +38 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-summary-list.js +16 -0
- package/dist/adminapi/models/redis-key-summary-list.js.map +1 -0
- package/dist/adminapi/models/redis-key-summary.d.ts +73 -0
- package/dist/adminapi/models/redis-key-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-summary.js +16 -0
- package/dist/adminapi/models/redis-key-summary.js.map +1 -0
- package/dist/adminapi/models/redis-key-value-item.d.ts +65 -0
- package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-value-item.js +16 -0
- package/dist/adminapi/models/redis-key-value-item.js.map +1 -0
- package/dist/adminapi/models/redis-key-value.d.ts +68 -0
- package/dist/adminapi/models/redis-key-value.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-value.js +16 -0
- package/dist/adminapi/models/redis-key-value.js.map +1 -0
- package/dist/adminapi/models/redis-operation-guard.d.ts +43 -0
- package/dist/adminapi/models/redis-operation-guard.d.ts.map +1 -0
- package/dist/adminapi/models/redis-operation-guard.js +16 -0
- package/dist/adminapi/models/redis-operation-guard.js.map +1 -0
- package/dist/adminapi/models/redis-operation-status.d.ts +23 -0
- package/dist/adminapi/models/redis-operation-status.d.ts.map +1 -0
- package/dist/adminapi/models/redis-operation-status.js +27 -0
- package/dist/adminapi/models/redis-operation-status.js.map +1 -0
- package/dist/adminapi/models/redis-operation-summary.d.ts +51 -0
- package/dist/adminapi/models/redis-operation-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-operation-summary.js +16 -0
- package/dist/adminapi/models/redis-operation-summary.js.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-message-list.d.ts +32 -0
- package/dist/adminapi/models/redis-pub-sub-message-list.d.ts.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-message-list.js +16 -0
- package/dist/adminapi/models/redis-pub-sub-message-list.js.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-message.d.ts +43 -0
- package/dist/adminapi/models/redis-pub-sub-message.d.ts.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-message.js +16 -0
- package/dist/adminapi/models/redis-pub-sub-message.js.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-publish-request.d.ts +31 -0
- package/dist/adminapi/models/redis-pub-sub-publish-request.d.ts.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-publish-request.js +16 -0
- package/dist/adminapi/models/redis-pub-sub-publish-request.js.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-session-create-request.d.ts +31 -0
- package/dist/adminapi/models/redis-pub-sub-session-create-request.d.ts.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-session-create-request.js +16 -0
- package/dist/adminapi/models/redis-pub-sub-session-create-request.js.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-session.d.ts +43 -0
- package/dist/adminapi/models/redis-pub-sub-session.d.ts.map +1 -0
- package/dist/adminapi/models/redis-pub-sub-session.js +16 -0
- package/dist/adminapi/models/redis-pub-sub-session.js.map +1 -0
- package/dist/adminapi/models/redis-slow-log-entry.d.ts +61 -0
- package/dist/adminapi/models/redis-slow-log-entry.d.ts.map +1 -0
- package/dist/adminapi/models/redis-slow-log-entry.js +16 -0
- package/dist/adminapi/models/redis-slow-log-entry.js.map +1 -0
- package/dist/adminapi/models/redis-slow-log-list.d.ts +26 -0
- package/dist/adminapi/models/redis-slow-log-list.d.ts.map +1 -0
- package/dist/adminapi/models/redis-slow-log-list.js +16 -0
- package/dist/adminapi/models/redis-slow-log-list.js.map +1 -0
- package/dist/adminapi/models/redis-workbench-execute-request.d.ts +31 -0
- package/dist/adminapi/models/redis-workbench-execute-request.d.ts.map +1 -0
- package/dist/adminapi/models/redis-workbench-execute-request.js +16 -0
- package/dist/adminapi/models/redis-workbench-execute-request.js.map +1 -0
- package/dist/adminapi/models/redis-workbench-execute-response.d.ts +59 -0
- package/dist/adminapi/models/redis-workbench-execute-response.d.ts.map +1 -0
- package/dist/adminapi/models/redis-workbench-execute-response.js +16 -0
- package/dist/adminapi/models/redis-workbench-execute-response.js.map +1 -0
- package/dist/openapi/apis/dms-api.d.ts +1106 -6
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +1175 -44
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +30 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +30 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/redis-aclcontext.d.ts +49 -0
- package/dist/openapi/models/redis-aclcontext.d.ts.map +1 -0
- package/dist/openapi/models/redis-aclcontext.js +16 -0
- package/dist/openapi/models/redis-aclcontext.js.map +1 -0
- package/dist/openapi/models/redis-capability.d.ts +31 -0
- package/dist/openapi/models/redis-capability.d.ts.map +1 -0
- package/dist/openapi/models/redis-capability.js +16 -0
- package/dist/openapi/models/redis-capability.js.map +1 -0
- package/dist/openapi/models/redis-cluster-node.d.ts +49 -0
- package/dist/openapi/models/redis-cluster-node.d.ts.map +1 -0
- package/dist/openapi/models/redis-cluster-node.js +16 -0
- package/dist/openapi/models/redis-cluster-node.js.map +1 -0
- package/dist/openapi/models/redis-cluster-slot.d.ts +43 -0
- package/dist/openapi/models/redis-cluster-slot.d.ts.map +1 -0
- package/dist/openapi/models/redis-cluster-slot.js +16 -0
- package/dist/openapi/models/redis-cluster-slot.js.map +1 -0
- package/dist/openapi/models/redis-cluster-state.d.ts +50 -0
- package/dist/openapi/models/redis-cluster-state.d.ts.map +1 -0
- package/dist/openapi/models/redis-cluster-state.js +16 -0
- package/dist/openapi/models/redis-cluster-state.js.map +1 -0
- package/dist/openapi/models/redis-cluster-topology.d.ts +45 -0
- package/dist/openapi/models/redis-cluster-topology.d.ts.map +1 -0
- package/dist/openapi/models/redis-cluster-topology.js +16 -0
- package/dist/openapi/models/redis-cluster-topology.js.map +1 -0
- package/dist/openapi/models/redis-dangerous-operation-request.d.ts +25 -0
- package/dist/openapi/models/redis-dangerous-operation-request.d.ts.map +1 -0
- package/dist/openapi/models/redis-dangerous-operation-request.js +16 -0
- package/dist/openapi/models/redis-dangerous-operation-request.js.map +1 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts +74 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -0
- package/dist/openapi/models/redis-data-capabilities.js +16 -0
- package/dist/openapi/models/redis-data-capabilities.js.map +1 -0
- package/dist/openapi/models/redis-data-context.d.ts +70 -0
- package/dist/openapi/models/redis-data-context.d.ts.map +1 -0
- package/dist/openapi/models/redis-data-context.js +16 -0
- package/dist/openapi/models/redis-data-context.js.map +1 -0
- package/dist/openapi/models/redis-info-response.d.ts +45 -0
- package/dist/openapi/models/redis-info-response.d.ts.map +1 -0
- package/dist/openapi/models/redis-info-response.js +16 -0
- package/dist/openapi/models/redis-info-response.js.map +1 -0
- package/dist/openapi/models/redis-key-detail-request.d.ts +55 -0
- package/dist/openapi/models/redis-key-detail-request.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-detail-request.js +16 -0
- package/dist/openapi/models/redis-key-detail-request.js.map +1 -0
- package/dist/openapi/models/redis-key-detail.d.ts +39 -0
- package/dist/openapi/models/redis-key-detail.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-detail.js +16 -0
- package/dist/openapi/models/redis-key-detail.js.map +1 -0
- package/dist/openapi/models/redis-key-mutate-request.d.ts +51 -0
- package/dist/openapi/models/redis-key-mutate-request.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-mutate-request.js +16 -0
- package/dist/openapi/models/redis-key-mutate-request.js.map +1 -0
- package/dist/openapi/models/redis-key-mutate-response.d.ts +40 -0
- package/dist/openapi/models/redis-key-mutate-response.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-mutate-response.js +16 -0
- package/dist/openapi/models/redis-key-mutate-response.js.map +1 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts +38 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-summary-list.js +16 -0
- package/dist/openapi/models/redis-key-summary-list.js.map +1 -0
- package/dist/openapi/models/redis-key-summary.d.ts +73 -0
- package/dist/openapi/models/redis-key-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-summary.js +16 -0
- package/dist/openapi/models/redis-key-summary.js.map +1 -0
- package/dist/openapi/models/redis-key-value-item.d.ts +65 -0
- package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-value-item.js +16 -0
- package/dist/openapi/models/redis-key-value-item.js.map +1 -0
- package/dist/openapi/models/redis-key-value.d.ts +68 -0
- package/dist/openapi/models/redis-key-value.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-value.js +16 -0
- package/dist/openapi/models/redis-key-value.js.map +1 -0
- package/dist/openapi/models/redis-operation-guard.d.ts +43 -0
- package/dist/openapi/models/redis-operation-guard.d.ts.map +1 -0
- package/dist/openapi/models/redis-operation-guard.js +16 -0
- package/dist/openapi/models/redis-operation-guard.js.map +1 -0
- package/dist/openapi/models/redis-operation-status.d.ts +23 -0
- package/dist/openapi/models/redis-operation-status.d.ts.map +1 -0
- package/dist/openapi/models/redis-operation-status.js +27 -0
- package/dist/openapi/models/redis-operation-status.js.map +1 -0
- package/dist/openapi/models/redis-operation-summary.d.ts +51 -0
- package/dist/openapi/models/redis-operation-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-operation-summary.js +16 -0
- package/dist/openapi/models/redis-operation-summary.js.map +1 -0
- package/dist/openapi/models/redis-pub-sub-message-list.d.ts +32 -0
- package/dist/openapi/models/redis-pub-sub-message-list.d.ts.map +1 -0
- package/dist/openapi/models/redis-pub-sub-message-list.js +16 -0
- package/dist/openapi/models/redis-pub-sub-message-list.js.map +1 -0
- package/dist/openapi/models/redis-pub-sub-message.d.ts +43 -0
- package/dist/openapi/models/redis-pub-sub-message.d.ts.map +1 -0
- package/dist/openapi/models/redis-pub-sub-message.js +16 -0
- package/dist/openapi/models/redis-pub-sub-message.js.map +1 -0
- package/dist/openapi/models/redis-pub-sub-publish-request.d.ts +31 -0
- package/dist/openapi/models/redis-pub-sub-publish-request.d.ts.map +1 -0
- package/dist/openapi/models/redis-pub-sub-publish-request.js +16 -0
- package/dist/openapi/models/redis-pub-sub-publish-request.js.map +1 -0
- package/dist/openapi/models/redis-pub-sub-session-create-request.d.ts +31 -0
- package/dist/openapi/models/redis-pub-sub-session-create-request.d.ts.map +1 -0
- package/dist/openapi/models/redis-pub-sub-session-create-request.js +16 -0
- package/dist/openapi/models/redis-pub-sub-session-create-request.js.map +1 -0
- package/dist/openapi/models/redis-pub-sub-session.d.ts +43 -0
- package/dist/openapi/models/redis-pub-sub-session.d.ts.map +1 -0
- package/dist/openapi/models/redis-pub-sub-session.js +16 -0
- package/dist/openapi/models/redis-pub-sub-session.js.map +1 -0
- package/dist/openapi/models/redis-slow-log-entry.d.ts +61 -0
- package/dist/openapi/models/redis-slow-log-entry.d.ts.map +1 -0
- package/dist/openapi/models/redis-slow-log-entry.js +16 -0
- package/dist/openapi/models/redis-slow-log-entry.js.map +1 -0
- package/dist/openapi/models/redis-slow-log-list.d.ts +26 -0
- package/dist/openapi/models/redis-slow-log-list.d.ts.map +1 -0
- package/dist/openapi/models/redis-slow-log-list.js +16 -0
- package/dist/openapi/models/redis-slow-log-list.js.map +1 -0
- package/dist/openapi/models/redis-workbench-execute-request.d.ts +31 -0
- package/dist/openapi/models/redis-workbench-execute-request.d.ts.map +1 -0
- package/dist/openapi/models/redis-workbench-execute-request.js +16 -0
- package/dist/openapi/models/redis-workbench-execute-request.js.map +1 -0
- package/dist/openapi/models/redis-workbench-execute-response.d.ts +59 -0
- package/dist/openapi/models/redis-workbench-execute-response.d.ts.map +1 -0
- package/dist/openapi/models/redis-workbench-execute-response.js +16 -0
- package/dist/openapi/models/redis-workbench-execute-response.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +30 -0
- package/src/adminapi/apis/dms-api.ts +2020 -112
- package/src/adminapi/models/index.ts +30 -0
- package/src/adminapi/models/redis-aclcontext.ts +54 -0
- package/src/adminapi/models/redis-capability.ts +36 -0
- package/src/adminapi/models/redis-cluster-node.ts +54 -0
- package/src/adminapi/models/redis-cluster-slot.ts +48 -0
- package/src/adminapi/models/redis-cluster-state.ts +57 -0
- package/src/adminapi/models/redis-cluster-topology.ts +54 -0
- package/src/adminapi/models/redis-dangerous-operation-request.ts +30 -0
- package/src/adminapi/models/redis-data-capabilities.ts +81 -0
- package/src/adminapi/models/redis-data-context.ts +81 -0
- package/src/adminapi/models/redis-info-response.ts +48 -0
- package/src/adminapi/models/redis-key-detail-request.ts +60 -0
- package/src/adminapi/models/redis-key-detail.ts +48 -0
- package/src/adminapi/models/redis-key-mutate-request.ts +54 -0
- package/src/adminapi/models/redis-key-mutate-response.ts +51 -0
- package/src/adminapi/models/redis-key-summary-list.ts +45 -0
- package/src/adminapi/models/redis-key-summary.ts +78 -0
- package/src/adminapi/models/redis-key-value-item.ts +66 -0
- package/src/adminapi/models/redis-key-value.ts +75 -0
- package/src/adminapi/models/redis-operation-guard.ts +48 -0
- package/src/adminapi/models/redis-operation-status.ts +32 -0
- package/src/adminapi/models/redis-operation-summary.ts +62 -0
- package/src/adminapi/models/redis-pub-sub-message-list.ts +39 -0
- package/src/adminapi/models/redis-pub-sub-message.ts +48 -0
- package/src/adminapi/models/redis-pub-sub-publish-request.ts +36 -0
- package/src/adminapi/models/redis-pub-sub-session-create-request.ts +36 -0
- package/src/adminapi/models/redis-pub-sub-session.ts +48 -0
- package/src/adminapi/models/redis-slow-log-entry.ts +66 -0
- package/src/adminapi/models/redis-slow-log-list.ts +33 -0
- package/src/adminapi/models/redis-workbench-execute-request.ts +36 -0
- package/src/adminapi/models/redis-workbench-execute-response.ts +68 -0
- package/src/adminapi.yaml +2409 -1457
- package/src/openapi/.openapi-generator/FILES +30 -0
- package/src/openapi/apis/dms-api.ts +2020 -112
- package/src/openapi/models/index.ts +30 -0
- package/src/openapi/models/redis-aclcontext.ts +54 -0
- package/src/openapi/models/redis-capability.ts +36 -0
- package/src/openapi/models/redis-cluster-node.ts +54 -0
- package/src/openapi/models/redis-cluster-slot.ts +48 -0
- package/src/openapi/models/redis-cluster-state.ts +57 -0
- package/src/openapi/models/redis-cluster-topology.ts +54 -0
- package/src/openapi/models/redis-dangerous-operation-request.ts +30 -0
- package/src/openapi/models/redis-data-capabilities.ts +81 -0
- package/src/openapi/models/redis-data-context.ts +81 -0
- package/src/openapi/models/redis-info-response.ts +48 -0
- package/src/openapi/models/redis-key-detail-request.ts +60 -0
- package/src/openapi/models/redis-key-detail.ts +48 -0
- package/src/openapi/models/redis-key-mutate-request.ts +54 -0
- package/src/openapi/models/redis-key-mutate-response.ts +51 -0
- package/src/openapi/models/redis-key-summary-list.ts +45 -0
- package/src/openapi/models/redis-key-summary.ts +78 -0
- package/src/openapi/models/redis-key-value-item.ts +66 -0
- package/src/openapi/models/redis-key-value.ts +75 -0
- package/src/openapi/models/redis-operation-guard.ts +48 -0
- package/src/openapi/models/redis-operation-status.ts +32 -0
- package/src/openapi/models/redis-operation-summary.ts +62 -0
- package/src/openapi/models/redis-pub-sub-message-list.ts +39 -0
- package/src/openapi/models/redis-pub-sub-message.ts +48 -0
- package/src/openapi/models/redis-pub-sub-publish-request.ts +36 -0
- package/src/openapi/models/redis-pub-sub-session-create-request.ts +36 -0
- package/src/openapi/models/redis-pub-sub-session.ts +48 -0
- package/src/openapi/models/redis-slow-log-entry.ts +66 -0
- package/src/openapi/models/redis-slow-log-list.ts +33 -0
- package/src/openapi/models/redis-workbench-execute-request.ts +36 -0
- package/src/openapi/models/redis-workbench-execute-response.ts +68 -0
- package/src/openapi.yaml +7299 -6347
|
@@ -124,6 +124,40 @@ import type { MongoWriteResult } from '../models';
|
|
|
124
124
|
// @ts-ignore
|
|
125
125
|
import type { ParameterHistoryList } from '../models';
|
|
126
126
|
// @ts-ignore
|
|
127
|
+
import type { RedisClusterTopology } from '../models';
|
|
128
|
+
// @ts-ignore
|
|
129
|
+
import type { RedisDangerousOperationRequest } from '../models';
|
|
130
|
+
// @ts-ignore
|
|
131
|
+
import type { RedisDataContext } from '../models';
|
|
132
|
+
// @ts-ignore
|
|
133
|
+
import type { RedisInfoResponse } from '../models';
|
|
134
|
+
// @ts-ignore
|
|
135
|
+
import type { RedisKeyDetail } from '../models';
|
|
136
|
+
// @ts-ignore
|
|
137
|
+
import type { RedisKeyDetailRequest } from '../models';
|
|
138
|
+
// @ts-ignore
|
|
139
|
+
import type { RedisKeyMutateRequest } from '../models';
|
|
140
|
+
// @ts-ignore
|
|
141
|
+
import type { RedisKeyMutateResponse } from '../models';
|
|
142
|
+
// @ts-ignore
|
|
143
|
+
import type { RedisKeySummaryList } from '../models';
|
|
144
|
+
// @ts-ignore
|
|
145
|
+
import type { RedisOperationSummary } from '../models';
|
|
146
|
+
// @ts-ignore
|
|
147
|
+
import type { RedisPubSubMessageList } from '../models';
|
|
148
|
+
// @ts-ignore
|
|
149
|
+
import type { RedisPubSubPublishRequest } from '../models';
|
|
150
|
+
// @ts-ignore
|
|
151
|
+
import type { RedisPubSubSession } from '../models';
|
|
152
|
+
// @ts-ignore
|
|
153
|
+
import type { RedisPubSubSessionCreateRequest } from '../models';
|
|
154
|
+
// @ts-ignore
|
|
155
|
+
import type { RedisSlowLogList } from '../models';
|
|
156
|
+
// @ts-ignore
|
|
157
|
+
import type { RedisWorkbenchExecuteRequest } from '../models';
|
|
158
|
+
// @ts-ignore
|
|
159
|
+
import type { RedisWorkbenchExecuteResponse } from '../models';
|
|
160
|
+
// @ts-ignore
|
|
127
161
|
import type { ShowDataRequest } from '../models';
|
|
128
162
|
/**
|
|
129
163
|
* DmsApi - axios parameter creator
|
|
@@ -186,6 +220,59 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
186
220
|
options: localVarRequestOptions,
|
|
187
221
|
};
|
|
188
222
|
},
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @summary close a Redis Pub/Sub polling session
|
|
226
|
+
* @param {string} orgName
|
|
227
|
+
* @param {string} clusterName
|
|
228
|
+
* @param {string} id
|
|
229
|
+
* @param {string} sessionId
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
closeRedisPubSubSession: async (orgName: string, clusterName: string, id: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
234
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
235
|
+
assertParamExists('closeRedisPubSubSession', 'orgName', orgName)
|
|
236
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
237
|
+
assertParamExists('closeRedisPubSubSession', 'clusterName', clusterName)
|
|
238
|
+
// verify required parameter 'id' is not null or undefined
|
|
239
|
+
assertParamExists('closeRedisPubSubSession', 'id', id)
|
|
240
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
241
|
+
assertParamExists('closeRedisPubSubSession', 'sessionId', sessionId)
|
|
242
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/sessions/{sessionId}`
|
|
243
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
244
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
245
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
246
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
+
let baseOptions;
|
|
250
|
+
if (configuration) {
|
|
251
|
+
baseOptions = configuration.baseOptions;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
255
|
+
const localVarHeaderParameter = {} as any;
|
|
256
|
+
const localVarQueryParameter = {} as any;
|
|
257
|
+
|
|
258
|
+
// authentication BearerToken required
|
|
259
|
+
// http bearer authentication required
|
|
260
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
261
|
+
|
|
262
|
+
// authentication DigestAuth required
|
|
263
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
268
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
269
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
270
|
+
|
|
271
|
+
return {
|
|
272
|
+
url: toPathString(localVarUrlObj),
|
|
273
|
+
options: localVarRequestOptions,
|
|
274
|
+
};
|
|
275
|
+
},
|
|
189
276
|
/**
|
|
190
277
|
*
|
|
191
278
|
* @summary close the session for the cluster
|
|
@@ -292,6 +379,61 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
292
379
|
options: localVarRequestOptions,
|
|
293
380
|
};
|
|
294
381
|
},
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @summary create a Redis Pub/Sub polling session
|
|
385
|
+
* @param {string} orgName
|
|
386
|
+
* @param {string} clusterName
|
|
387
|
+
* @param {string} id
|
|
388
|
+
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
createRedisPubSubSession: async (orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
393
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
394
|
+
assertParamExists('createRedisPubSubSession', 'orgName', orgName)
|
|
395
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
396
|
+
assertParamExists('createRedisPubSubSession', 'clusterName', clusterName)
|
|
397
|
+
// verify required parameter 'id' is not null or undefined
|
|
398
|
+
assertParamExists('createRedisPubSubSession', 'id', id)
|
|
399
|
+
// verify required parameter 'redisPubSubSessionCreateRequest' is not null or undefined
|
|
400
|
+
assertParamExists('createRedisPubSubSession', 'redisPubSubSessionCreateRequest', redisPubSubSessionCreateRequest)
|
|
401
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/sessions`
|
|
402
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
403
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
404
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
405
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
406
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
407
|
+
let baseOptions;
|
|
408
|
+
if (configuration) {
|
|
409
|
+
baseOptions = configuration.baseOptions;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
413
|
+
const localVarHeaderParameter = {} as any;
|
|
414
|
+
const localVarQueryParameter = {} as any;
|
|
415
|
+
|
|
416
|
+
// authentication BearerToken required
|
|
417
|
+
// http bearer authentication required
|
|
418
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
419
|
+
|
|
420
|
+
// authentication DigestAuth required
|
|
421
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
426
|
+
|
|
427
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
428
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
429
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
430
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redisPubSubSessionCreateRequest, localVarRequestOptions, configuration)
|
|
431
|
+
|
|
432
|
+
return {
|
|
433
|
+
url: toPathString(localVarUrlObj),
|
|
434
|
+
options: localVarRequestOptions,
|
|
435
|
+
};
|
|
436
|
+
},
|
|
295
437
|
/**
|
|
296
438
|
*
|
|
297
439
|
* @summary Data Export
|
|
@@ -608,6 +750,61 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
608
750
|
options: localVarRequestOptions,
|
|
609
751
|
};
|
|
610
752
|
},
|
|
753
|
+
/**
|
|
754
|
+
* Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
|
|
755
|
+
* @summary execute a Redis Workbench command
|
|
756
|
+
* @param {string} orgName
|
|
757
|
+
* @param {string} clusterName
|
|
758
|
+
* @param {string} id
|
|
759
|
+
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
executeRedisWorkbenchCommand: async (orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
764
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
765
|
+
assertParamExists('executeRedisWorkbenchCommand', 'orgName', orgName)
|
|
766
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
767
|
+
assertParamExists('executeRedisWorkbenchCommand', 'clusterName', clusterName)
|
|
768
|
+
// verify required parameter 'id' is not null or undefined
|
|
769
|
+
assertParamExists('executeRedisWorkbenchCommand', 'id', id)
|
|
770
|
+
// verify required parameter 'redisWorkbenchExecuteRequest' is not null or undefined
|
|
771
|
+
assertParamExists('executeRedisWorkbenchCommand', 'redisWorkbenchExecuteRequest', redisWorkbenchExecuteRequest)
|
|
772
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/workbench/execute`
|
|
773
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
774
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
775
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
776
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
777
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
778
|
+
let baseOptions;
|
|
779
|
+
if (configuration) {
|
|
780
|
+
baseOptions = configuration.baseOptions;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
784
|
+
const localVarHeaderParameter = {} as any;
|
|
785
|
+
const localVarQueryParameter = {} as any;
|
|
786
|
+
|
|
787
|
+
// authentication BearerToken required
|
|
788
|
+
// http bearer authentication required
|
|
789
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
790
|
+
|
|
791
|
+
// authentication DigestAuth required
|
|
792
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
797
|
+
|
|
798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
800
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
801
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redisWorkbenchExecuteRequest, localVarRequestOptions, configuration)
|
|
802
|
+
|
|
803
|
+
return {
|
|
804
|
+
url: toPathString(localVarUrlObj),
|
|
805
|
+
options: localVarRequestOptions,
|
|
806
|
+
};
|
|
807
|
+
},
|
|
611
808
|
/**
|
|
612
809
|
*
|
|
613
810
|
* @summary support ddl and dml operations
|
|
@@ -884,22 +1081,21 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
884
1081
|
},
|
|
885
1082
|
/**
|
|
886
1083
|
*
|
|
887
|
-
* @summary
|
|
888
|
-
* @param {string} orgName
|
|
889
|
-
* @param {string} clusterName
|
|
890
|
-
* @param {string} id
|
|
891
|
-
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
1084
|
+
* @summary get Redis Cluster topology
|
|
1085
|
+
* @param {string} orgName
|
|
1086
|
+
* @param {string} clusterName
|
|
1087
|
+
* @param {string} id
|
|
892
1088
|
* @param {*} [options] Override http request option.
|
|
893
1089
|
* @throws {RequiredError}
|
|
894
1090
|
*/
|
|
895
|
-
|
|
1091
|
+
getRedisClusterTopology: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
896
1092
|
// verify required parameter 'orgName' is not null or undefined
|
|
897
|
-
assertParamExists('
|
|
1093
|
+
assertParamExists('getRedisClusterTopology', 'orgName', orgName)
|
|
898
1094
|
// verify required parameter 'clusterName' is not null or undefined
|
|
899
|
-
assertParamExists('
|
|
1095
|
+
assertParamExists('getRedisClusterTopology', 'clusterName', clusterName)
|
|
900
1096
|
// verify required parameter 'id' is not null or undefined
|
|
901
|
-
assertParamExists('
|
|
902
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/
|
|
1097
|
+
assertParamExists('getRedisClusterTopology', 'id', id)
|
|
1098
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/cluster/topology`
|
|
903
1099
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
904
1100
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
905
1101
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -921,10 +1117,6 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
921
1117
|
// authentication DigestAuth required
|
|
922
1118
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
923
1119
|
|
|
924
|
-
if (database !== undefined) {
|
|
925
|
-
localVarQueryParameter['database'] = database;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
1120
|
|
|
929
1121
|
|
|
930
1122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -938,21 +1130,21 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
938
1130
|
},
|
|
939
1131
|
/**
|
|
940
1132
|
*
|
|
941
|
-
* @summary
|
|
942
|
-
* @param {string} orgName
|
|
943
|
-
* @param {string} clusterName
|
|
944
|
-
* @param {string} id
|
|
1133
|
+
* @summary get Redis datasource data-management context
|
|
1134
|
+
* @param {string} orgName
|
|
1135
|
+
* @param {string} clusterName
|
|
1136
|
+
* @param {string} id
|
|
945
1137
|
* @param {*} [options] Override http request option.
|
|
946
1138
|
* @throws {RequiredError}
|
|
947
1139
|
*/
|
|
948
|
-
|
|
1140
|
+
getRedisContext: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
949
1141
|
// verify required parameter 'orgName' is not null or undefined
|
|
950
|
-
assertParamExists('
|
|
1142
|
+
assertParamExists('getRedisContext', 'orgName', orgName)
|
|
951
1143
|
// verify required parameter 'clusterName' is not null or undefined
|
|
952
|
-
assertParamExists('
|
|
1144
|
+
assertParamExists('getRedisContext', 'clusterName', clusterName)
|
|
953
1145
|
// verify required parameter 'id' is not null or undefined
|
|
954
|
-
assertParamExists('
|
|
955
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/
|
|
1146
|
+
assertParamExists('getRedisContext', 'id', id)
|
|
1147
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/context`
|
|
956
1148
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
957
1149
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
958
1150
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -987,24 +1179,23 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
987
1179
|
},
|
|
988
1180
|
/**
|
|
989
1181
|
*
|
|
990
|
-
* @summary
|
|
991
|
-
* @param {string} orgName
|
|
992
|
-
* @param {string} clusterName
|
|
993
|
-
* @param {string} id
|
|
994
|
-
* @param {string}
|
|
1182
|
+
* @summary get Redis INFO output by section
|
|
1183
|
+
* @param {string} orgName
|
|
1184
|
+
* @param {string} clusterName
|
|
1185
|
+
* @param {string} id
|
|
1186
|
+
* @param {string} [section]
|
|
1187
|
+
* @param {string} [nodeId]
|
|
995
1188
|
* @param {*} [options] Override http request option.
|
|
996
1189
|
* @throws {RequiredError}
|
|
997
1190
|
*/
|
|
998
|
-
|
|
1191
|
+
getRedisInfo: async (orgName: string, clusterName: string, id: string, section?: string, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
999
1192
|
// verify required parameter 'orgName' is not null or undefined
|
|
1000
|
-
assertParamExists('
|
|
1193
|
+
assertParamExists('getRedisInfo', 'orgName', orgName)
|
|
1001
1194
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1002
|
-
assertParamExists('
|
|
1195
|
+
assertParamExists('getRedisInfo', 'clusterName', clusterName)
|
|
1003
1196
|
// verify required parameter 'id' is not null or undefined
|
|
1004
|
-
assertParamExists('
|
|
1005
|
-
|
|
1006
|
-
assertParamExists('getTaskProgress', 'taskId', taskId)
|
|
1007
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task`
|
|
1197
|
+
assertParamExists('getRedisInfo', 'id', id)
|
|
1198
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/info`
|
|
1008
1199
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1009
1200
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1010
1201
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -1026,8 +1217,12 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1026
1217
|
// authentication DigestAuth required
|
|
1027
1218
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1028
1219
|
|
|
1029
|
-
if (
|
|
1030
|
-
localVarQueryParameter['
|
|
1220
|
+
if (section !== undefined) {
|
|
1221
|
+
localVarQueryParameter['section'] = section;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
if (nodeId !== undefined) {
|
|
1225
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1031
1226
|
}
|
|
1032
1227
|
|
|
1033
1228
|
|
|
@@ -1043,20 +1238,27 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1043
1238
|
},
|
|
1044
1239
|
/**
|
|
1045
1240
|
*
|
|
1046
|
-
* @summary
|
|
1047
|
-
* @param {string} orgName
|
|
1048
|
-
* @param {string} clusterName
|
|
1241
|
+
* @summary get Redis key detail
|
|
1242
|
+
* @param {string} orgName
|
|
1243
|
+
* @param {string} clusterName
|
|
1244
|
+
* @param {string} id
|
|
1245
|
+
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
1049
1246
|
* @param {*} [options] Override http request option.
|
|
1050
1247
|
* @throws {RequiredError}
|
|
1051
1248
|
*/
|
|
1052
|
-
|
|
1249
|
+
getRedisKeyDetail: async (orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1053
1250
|
// verify required parameter 'orgName' is not null or undefined
|
|
1054
|
-
assertParamExists('
|
|
1251
|
+
assertParamExists('getRedisKeyDetail', 'orgName', orgName)
|
|
1055
1252
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1056
|
-
assertParamExists('
|
|
1057
|
-
|
|
1253
|
+
assertParamExists('getRedisKeyDetail', 'clusterName', clusterName)
|
|
1254
|
+
// verify required parameter 'id' is not null or undefined
|
|
1255
|
+
assertParamExists('getRedisKeyDetail', 'id', id)
|
|
1256
|
+
// verify required parameter 'redisKeyDetailRequest' is not null or undefined
|
|
1257
|
+
assertParamExists('getRedisKeyDetail', 'redisKeyDetailRequest', redisKeyDetailRequest)
|
|
1258
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/key/detail`
|
|
1058
1259
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1059
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1260
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1261
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1060
1262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1061
1263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1062
1264
|
let baseOptions;
|
|
@@ -1064,7 +1266,7 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1064
1266
|
baseOptions = configuration.baseOptions;
|
|
1065
1267
|
}
|
|
1066
1268
|
|
|
1067
|
-
const localVarRequestOptions = { method: '
|
|
1269
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1068
1270
|
const localVarHeaderParameter = {} as any;
|
|
1069
1271
|
const localVarQueryParameter = {} as any;
|
|
1070
1272
|
|
|
@@ -1077,9 +1279,12 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1077
1279
|
|
|
1078
1280
|
|
|
1079
1281
|
|
|
1282
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1283
|
+
|
|
1080
1284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1081
1285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1082
1286
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1287
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redisKeyDetailRequest, localVarRequestOptions, configuration)
|
|
1083
1288
|
|
|
1084
1289
|
return {
|
|
1085
1290
|
url: toPathString(localVarUrlObj),
|
|
@@ -1088,21 +1293,22 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1088
1293
|
},
|
|
1089
1294
|
/**
|
|
1090
1295
|
*
|
|
1091
|
-
* @summary list all databases of the
|
|
1296
|
+
* @summary list all databases or schema of the cluster
|
|
1092
1297
|
* @param {string} orgName name of the Org
|
|
1093
1298
|
* @param {string} clusterName name of the cluster
|
|
1094
1299
|
* @param {string} id id of the datasource
|
|
1300
|
+
* @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
|
|
1095
1301
|
* @param {*} [options] Override http request option.
|
|
1096
1302
|
* @throws {RequiredError}
|
|
1097
1303
|
*/
|
|
1098
|
-
|
|
1304
|
+
getSchemaList: async (orgName: string, clusterName: string, id: string, database?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1099
1305
|
// verify required parameter 'orgName' is not null or undefined
|
|
1100
|
-
assertParamExists('
|
|
1306
|
+
assertParamExists('getSchemaList', 'orgName', orgName)
|
|
1101
1307
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1102
|
-
assertParamExists('
|
|
1308
|
+
assertParamExists('getSchemaList', 'clusterName', clusterName)
|
|
1103
1309
|
// verify required parameter 'id' is not null or undefined
|
|
1104
|
-
assertParamExists('
|
|
1105
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/
|
|
1310
|
+
assertParamExists('getSchemaList', 'id', id)
|
|
1311
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/schemas`
|
|
1106
1312
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1107
1313
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1108
1314
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -1124,6 +1330,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1124
1330
|
// authentication DigestAuth required
|
|
1125
1331
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1126
1332
|
|
|
1333
|
+
if (database !== undefined) {
|
|
1334
|
+
localVarQueryParameter['database'] = database;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1127
1337
|
|
|
1128
1338
|
|
|
1129
1339
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1137,28 +1347,24 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1137
1347
|
},
|
|
1138
1348
|
/**
|
|
1139
1349
|
*
|
|
1140
|
-
* @summary
|
|
1350
|
+
* @summary Get the task list
|
|
1141
1351
|
* @param {string} orgName name of the Org
|
|
1142
1352
|
* @param {string} clusterName name of the cluster
|
|
1143
1353
|
* @param {string} id id of the datasource
|
|
1144
|
-
* @param {string} db database name
|
|
1145
1354
|
* @param {*} [options] Override http request option.
|
|
1146
1355
|
* @throws {RequiredError}
|
|
1147
1356
|
*/
|
|
1148
|
-
|
|
1357
|
+
getTaskList: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1149
1358
|
// verify required parameter 'orgName' is not null or undefined
|
|
1150
|
-
assertParamExists('
|
|
1359
|
+
assertParamExists('getTaskList', 'orgName', orgName)
|
|
1151
1360
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1152
|
-
assertParamExists('
|
|
1361
|
+
assertParamExists('getTaskList', 'clusterName', clusterName)
|
|
1153
1362
|
// verify required parameter 'id' is not null or undefined
|
|
1154
|
-
assertParamExists('
|
|
1155
|
-
|
|
1156
|
-
assertParamExists('listMongoCollections', 'db', db)
|
|
1157
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections`
|
|
1363
|
+
assertParamExists('getTaskList', 'id', id)
|
|
1364
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/tasks`
|
|
1158
1365
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1159
1366
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1160
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1161
|
-
.replace(`{${"db"}}`, encodeURIComponent(String(db)));
|
|
1367
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1162
1368
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1163
1369
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1164
1370
|
let baseOptions;
|
|
@@ -1190,16 +1396,219 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1190
1396
|
},
|
|
1191
1397
|
/**
|
|
1192
1398
|
*
|
|
1193
|
-
* @summary
|
|
1399
|
+
* @summary Get the task progress
|
|
1194
1400
|
* @param {string} orgName name of the Org
|
|
1195
1401
|
* @param {string} clusterName name of the cluster
|
|
1196
1402
|
* @param {string} id id of the datasource
|
|
1403
|
+
* @param {string} taskId the task id
|
|
1197
1404
|
* @param {*} [options] Override http request option.
|
|
1198
1405
|
* @throws {RequiredError}
|
|
1199
1406
|
*/
|
|
1200
|
-
|
|
1407
|
+
getTaskProgress: async (orgName: string, clusterName: string, id: string, taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1201
1408
|
// verify required parameter 'orgName' is not null or undefined
|
|
1202
|
-
assertParamExists('
|
|
1409
|
+
assertParamExists('getTaskProgress', 'orgName', orgName)
|
|
1410
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1411
|
+
assertParamExists('getTaskProgress', 'clusterName', clusterName)
|
|
1412
|
+
// verify required parameter 'id' is not null or undefined
|
|
1413
|
+
assertParamExists('getTaskProgress', 'id', id)
|
|
1414
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
1415
|
+
assertParamExists('getTaskProgress', 'taskId', taskId)
|
|
1416
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task`
|
|
1417
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1418
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1419
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1422
|
+
let baseOptions;
|
|
1423
|
+
if (configuration) {
|
|
1424
|
+
baseOptions = configuration.baseOptions;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1428
|
+
const localVarHeaderParameter = {} as any;
|
|
1429
|
+
const localVarQueryParameter = {} as any;
|
|
1430
|
+
|
|
1431
|
+
// authentication BearerToken required
|
|
1432
|
+
// http bearer authentication required
|
|
1433
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1434
|
+
|
|
1435
|
+
// authentication DigestAuth required
|
|
1436
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1437
|
+
|
|
1438
|
+
if (taskId !== undefined) {
|
|
1439
|
+
localVarQueryParameter['taskId'] = taskId;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1445
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1446
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1447
|
+
|
|
1448
|
+
return {
|
|
1449
|
+
url: toPathString(localVarUrlObj),
|
|
1450
|
+
options: localVarRequestOptions,
|
|
1451
|
+
};
|
|
1452
|
+
},
|
|
1453
|
+
/**
|
|
1454
|
+
*
|
|
1455
|
+
* @summary list the datasource of a cluster
|
|
1456
|
+
* @param {string} orgName name of the Org
|
|
1457
|
+
* @param {string} clusterName name of the cluster
|
|
1458
|
+
* @param {*} [options] Override http request option.
|
|
1459
|
+
* @throws {RequiredError}
|
|
1460
|
+
*/
|
|
1461
|
+
listDataSourceV2: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1462
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1463
|
+
assertParamExists('listDataSourceV2', 'orgName', orgName)
|
|
1464
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1465
|
+
assertParamExists('listDataSourceV2', 'clusterName', clusterName)
|
|
1466
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
|
|
1467
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1468
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1469
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1470
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1471
|
+
let baseOptions;
|
|
1472
|
+
if (configuration) {
|
|
1473
|
+
baseOptions = configuration.baseOptions;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1477
|
+
const localVarHeaderParameter = {} as any;
|
|
1478
|
+
const localVarQueryParameter = {} as any;
|
|
1479
|
+
|
|
1480
|
+
// authentication BearerToken required
|
|
1481
|
+
// http bearer authentication required
|
|
1482
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1483
|
+
|
|
1484
|
+
// authentication DigestAuth required
|
|
1485
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1490
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1491
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1492
|
+
|
|
1493
|
+
return {
|
|
1494
|
+
url: toPathString(localVarUrlObj),
|
|
1495
|
+
options: localVarRequestOptions,
|
|
1496
|
+
};
|
|
1497
|
+
},
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @summary list all databases of the datasource
|
|
1501
|
+
* @param {string} orgName name of the Org
|
|
1502
|
+
* @param {string} clusterName name of the cluster
|
|
1503
|
+
* @param {string} id id of the datasource
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
listDmsDatabases: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1508
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1509
|
+
assertParamExists('listDmsDatabases', 'orgName', orgName)
|
|
1510
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1511
|
+
assertParamExists('listDmsDatabases', 'clusterName', clusterName)
|
|
1512
|
+
// verify required parameter 'id' is not null or undefined
|
|
1513
|
+
assertParamExists('listDmsDatabases', 'id', id)
|
|
1514
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
|
|
1515
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1516
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1517
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1518
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1519
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1520
|
+
let baseOptions;
|
|
1521
|
+
if (configuration) {
|
|
1522
|
+
baseOptions = configuration.baseOptions;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1526
|
+
const localVarHeaderParameter = {} as any;
|
|
1527
|
+
const localVarQueryParameter = {} as any;
|
|
1528
|
+
|
|
1529
|
+
// authentication BearerToken required
|
|
1530
|
+
// http bearer authentication required
|
|
1531
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1532
|
+
|
|
1533
|
+
// authentication DigestAuth required
|
|
1534
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1539
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1540
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1541
|
+
|
|
1542
|
+
return {
|
|
1543
|
+
url: toPathString(localVarUrlObj),
|
|
1544
|
+
options: localVarRequestOptions,
|
|
1545
|
+
};
|
|
1546
|
+
},
|
|
1547
|
+
/**
|
|
1548
|
+
*
|
|
1549
|
+
* @summary list collections in a MongoDB database
|
|
1550
|
+
* @param {string} orgName name of the Org
|
|
1551
|
+
* @param {string} clusterName name of the cluster
|
|
1552
|
+
* @param {string} id id of the datasource
|
|
1553
|
+
* @param {string} db database name
|
|
1554
|
+
* @param {*} [options] Override http request option.
|
|
1555
|
+
* @throws {RequiredError}
|
|
1556
|
+
*/
|
|
1557
|
+
listMongoCollections: async (orgName: string, clusterName: string, id: string, db: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1558
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1559
|
+
assertParamExists('listMongoCollections', 'orgName', orgName)
|
|
1560
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1561
|
+
assertParamExists('listMongoCollections', 'clusterName', clusterName)
|
|
1562
|
+
// verify required parameter 'id' is not null or undefined
|
|
1563
|
+
assertParamExists('listMongoCollections', 'id', id)
|
|
1564
|
+
// verify required parameter 'db' is not null or undefined
|
|
1565
|
+
assertParamExists('listMongoCollections', 'db', db)
|
|
1566
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections`
|
|
1567
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1568
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1569
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
1570
|
+
.replace(`{${"db"}}`, encodeURIComponent(String(db)));
|
|
1571
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1573
|
+
let baseOptions;
|
|
1574
|
+
if (configuration) {
|
|
1575
|
+
baseOptions = configuration.baseOptions;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1579
|
+
const localVarHeaderParameter = {} as any;
|
|
1580
|
+
const localVarQueryParameter = {} as any;
|
|
1581
|
+
|
|
1582
|
+
// authentication BearerToken required
|
|
1583
|
+
// http bearer authentication required
|
|
1584
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1585
|
+
|
|
1586
|
+
// authentication DigestAuth required
|
|
1587
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1592
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1593
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1594
|
+
|
|
1595
|
+
return {
|
|
1596
|
+
url: toPathString(localVarUrlObj),
|
|
1597
|
+
options: localVarRequestOptions,
|
|
1598
|
+
};
|
|
1599
|
+
},
|
|
1600
|
+
/**
|
|
1601
|
+
*
|
|
1602
|
+
* @summary list MongoDB database metadata
|
|
1603
|
+
* @param {string} orgName name of the Org
|
|
1604
|
+
* @param {string} clusterName name of the cluster
|
|
1605
|
+
* @param {string} id id of the datasource
|
|
1606
|
+
* @param {*} [options] Override http request option.
|
|
1607
|
+
* @throws {RequiredError}
|
|
1608
|
+
*/
|
|
1609
|
+
listMongoDatabaseMetadata: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1610
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1611
|
+
assertParamExists('listMongoDatabaseMetadata', 'orgName', orgName)
|
|
1203
1612
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1204
1613
|
assertParamExists('listMongoDatabaseMetadata', 'clusterName', clusterName)
|
|
1205
1614
|
// verify required parameter 'id' is not null or undefined
|
|
@@ -1472,14 +1881,211 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1472
1881
|
* @param {*} [options] Override http request option.
|
|
1473
1882
|
* @throws {RequiredError}
|
|
1474
1883
|
*/
|
|
1475
|
-
listQueryHistory: async (orgName: string, clusterName: string, id: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1884
|
+
listQueryHistory: async (orgName: string, clusterName: string, id: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1885
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1886
|
+
assertParamExists('listQueryHistory', 'orgName', orgName)
|
|
1887
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1888
|
+
assertParamExists('listQueryHistory', 'clusterName', clusterName)
|
|
1889
|
+
// verify required parameter 'id' is not null or undefined
|
|
1890
|
+
assertParamExists('listQueryHistory', 'id', id)
|
|
1891
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/history`
|
|
1892
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1893
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1894
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1895
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1896
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1897
|
+
let baseOptions;
|
|
1898
|
+
if (configuration) {
|
|
1899
|
+
baseOptions = configuration.baseOptions;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1903
|
+
const localVarHeaderParameter = {} as any;
|
|
1904
|
+
const localVarQueryParameter = {} as any;
|
|
1905
|
+
|
|
1906
|
+
// authentication BearerToken required
|
|
1907
|
+
// http bearer authentication required
|
|
1908
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1909
|
+
|
|
1910
|
+
// authentication DigestAuth required
|
|
1911
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1912
|
+
|
|
1913
|
+
if (limit !== undefined) {
|
|
1914
|
+
localVarQueryParameter['limit'] = limit;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1920
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1921
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1922
|
+
|
|
1923
|
+
return {
|
|
1924
|
+
url: toPathString(localVarUrlObj),
|
|
1925
|
+
options: localVarRequestOptions,
|
|
1926
|
+
};
|
|
1927
|
+
},
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @summary list Redis key summaries by SCAN cursor
|
|
1931
|
+
* @param {string} orgName
|
|
1932
|
+
* @param {string} clusterName
|
|
1933
|
+
* @param {string} id
|
|
1934
|
+
* @param {string} [cursor]
|
|
1935
|
+
* @param {number} [limit]
|
|
1936
|
+
* @param {string} [pattern]
|
|
1937
|
+
* @param {string} [type]
|
|
1938
|
+
* @param {string} [separator]
|
|
1939
|
+
* @param {string} [nodeId]
|
|
1940
|
+
* @param {*} [options] Override http request option.
|
|
1941
|
+
* @throws {RequiredError}
|
|
1942
|
+
*/
|
|
1943
|
+
listRedisKeys: async (orgName: string, clusterName: string, id: string, cursor?: string, limit?: number, pattern?: string, type?: string, separator?: string, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1944
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1945
|
+
assertParamExists('listRedisKeys', 'orgName', orgName)
|
|
1946
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1947
|
+
assertParamExists('listRedisKeys', 'clusterName', clusterName)
|
|
1948
|
+
// verify required parameter 'id' is not null or undefined
|
|
1949
|
+
assertParamExists('listRedisKeys', 'id', id)
|
|
1950
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/keys`
|
|
1951
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1952
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1953
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1954
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1955
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1956
|
+
let baseOptions;
|
|
1957
|
+
if (configuration) {
|
|
1958
|
+
baseOptions = configuration.baseOptions;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1962
|
+
const localVarHeaderParameter = {} as any;
|
|
1963
|
+
const localVarQueryParameter = {} as any;
|
|
1964
|
+
|
|
1965
|
+
// authentication BearerToken required
|
|
1966
|
+
// http bearer authentication required
|
|
1967
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1968
|
+
|
|
1969
|
+
// authentication DigestAuth required
|
|
1970
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1971
|
+
|
|
1972
|
+
if (cursor !== undefined) {
|
|
1973
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
if (limit !== undefined) {
|
|
1977
|
+
localVarQueryParameter['limit'] = limit;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
if (pattern !== undefined) {
|
|
1981
|
+
localVarQueryParameter['pattern'] = pattern;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
if (type !== undefined) {
|
|
1985
|
+
localVarQueryParameter['type'] = type;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
if (separator !== undefined) {
|
|
1989
|
+
localVarQueryParameter['separator'] = separator;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
if (nodeId !== undefined) {
|
|
1993
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2000
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2001
|
+
|
|
2002
|
+
return {
|
|
2003
|
+
url: toPathString(localVarUrlObj),
|
|
2004
|
+
options: localVarRequestOptions,
|
|
2005
|
+
};
|
|
2006
|
+
},
|
|
2007
|
+
/**
|
|
2008
|
+
*
|
|
2009
|
+
* @summary list messages from a Redis Pub/Sub polling session
|
|
2010
|
+
* @param {string} orgName
|
|
2011
|
+
* @param {string} clusterName
|
|
2012
|
+
* @param {string} id
|
|
2013
|
+
* @param {string} sessionId
|
|
2014
|
+
* @param {string} [cursor]
|
|
2015
|
+
* @param {number} [limit]
|
|
2016
|
+
* @param {*} [options] Override http request option.
|
|
2017
|
+
* @throws {RequiredError}
|
|
2018
|
+
*/
|
|
2019
|
+
listRedisPubSubMessages: async (orgName: string, clusterName: string, id: string, sessionId: string, cursor?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2020
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2021
|
+
assertParamExists('listRedisPubSubMessages', 'orgName', orgName)
|
|
2022
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2023
|
+
assertParamExists('listRedisPubSubMessages', 'clusterName', clusterName)
|
|
2024
|
+
// verify required parameter 'id' is not null or undefined
|
|
2025
|
+
assertParamExists('listRedisPubSubMessages', 'id', id)
|
|
2026
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
2027
|
+
assertParamExists('listRedisPubSubMessages', 'sessionId', sessionId)
|
|
2028
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/sessions/{sessionId}/messages`
|
|
2029
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2030
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2031
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
2032
|
+
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
|
2033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2035
|
+
let baseOptions;
|
|
2036
|
+
if (configuration) {
|
|
2037
|
+
baseOptions = configuration.baseOptions;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2041
|
+
const localVarHeaderParameter = {} as any;
|
|
2042
|
+
const localVarQueryParameter = {} as any;
|
|
2043
|
+
|
|
2044
|
+
// authentication BearerToken required
|
|
2045
|
+
// http bearer authentication required
|
|
2046
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2047
|
+
|
|
2048
|
+
// authentication DigestAuth required
|
|
2049
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2050
|
+
|
|
2051
|
+
if (cursor !== undefined) {
|
|
2052
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
if (limit !== undefined) {
|
|
2056
|
+
localVarQueryParameter['limit'] = limit;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2062
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2063
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2064
|
+
|
|
2065
|
+
return {
|
|
2066
|
+
url: toPathString(localVarUrlObj),
|
|
2067
|
+
options: localVarRequestOptions,
|
|
2068
|
+
};
|
|
2069
|
+
},
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @summary list Redis slow log entries
|
|
2073
|
+
* @param {string} orgName
|
|
2074
|
+
* @param {string} clusterName
|
|
2075
|
+
* @param {string} id
|
|
2076
|
+
* @param {number} [limit]
|
|
2077
|
+
* @param {string} [nodeId]
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
*/
|
|
2081
|
+
listRedisSlowLog: async (orgName: string, clusterName: string, id: string, limit?: number, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1476
2082
|
// verify required parameter 'orgName' is not null or undefined
|
|
1477
|
-
assertParamExists('
|
|
2083
|
+
assertParamExists('listRedisSlowLog', 'orgName', orgName)
|
|
1478
2084
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1479
|
-
assertParamExists('
|
|
2085
|
+
assertParamExists('listRedisSlowLog', 'clusterName', clusterName)
|
|
1480
2086
|
// verify required parameter 'id' is not null or undefined
|
|
1481
|
-
assertParamExists('
|
|
1482
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/
|
|
2087
|
+
assertParamExists('listRedisSlowLog', 'id', id)
|
|
2088
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/slowlog`
|
|
1483
2089
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1484
2090
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1485
2091
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -1505,6 +2111,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1505
2111
|
localVarQueryParameter['limit'] = limit;
|
|
1506
2112
|
}
|
|
1507
2113
|
|
|
2114
|
+
if (nodeId !== undefined) {
|
|
2115
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
1508
2118
|
|
|
1509
2119
|
|
|
1510
2120
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2813,6 +3423,116 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2813
3423
|
options: localVarRequestOptions,
|
|
2814
3424
|
};
|
|
2815
3425
|
},
|
|
3426
|
+
/**
|
|
3427
|
+
*
|
|
3428
|
+
* @summary mutate Redis key data or metadata
|
|
3429
|
+
* @param {string} orgName
|
|
3430
|
+
* @param {string} clusterName
|
|
3431
|
+
* @param {string} id
|
|
3432
|
+
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
3433
|
+
* @param {*} [options] Override http request option.
|
|
3434
|
+
* @throws {RequiredError}
|
|
3435
|
+
*/
|
|
3436
|
+
mutateRedisKey: async (orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3437
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3438
|
+
assertParamExists('mutateRedisKey', 'orgName', orgName)
|
|
3439
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3440
|
+
assertParamExists('mutateRedisKey', 'clusterName', clusterName)
|
|
3441
|
+
// verify required parameter 'id' is not null or undefined
|
|
3442
|
+
assertParamExists('mutateRedisKey', 'id', id)
|
|
3443
|
+
// verify required parameter 'redisKeyMutateRequest' is not null or undefined
|
|
3444
|
+
assertParamExists('mutateRedisKey', 'redisKeyMutateRequest', redisKeyMutateRequest)
|
|
3445
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/key/mutate`
|
|
3446
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3447
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3448
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3451
|
+
let baseOptions;
|
|
3452
|
+
if (configuration) {
|
|
3453
|
+
baseOptions = configuration.baseOptions;
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3457
|
+
const localVarHeaderParameter = {} as any;
|
|
3458
|
+
const localVarQueryParameter = {} as any;
|
|
3459
|
+
|
|
3460
|
+
// authentication BearerToken required
|
|
3461
|
+
// http bearer authentication required
|
|
3462
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3463
|
+
|
|
3464
|
+
// authentication DigestAuth required
|
|
3465
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3466
|
+
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3470
|
+
|
|
3471
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3472
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3473
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3474
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redisKeyMutateRequest, localVarRequestOptions, configuration)
|
|
3475
|
+
|
|
3476
|
+
return {
|
|
3477
|
+
url: toPathString(localVarUrlObj),
|
|
3478
|
+
options: localVarRequestOptions,
|
|
3479
|
+
};
|
|
3480
|
+
},
|
|
3481
|
+
/**
|
|
3482
|
+
*
|
|
3483
|
+
* @summary publish a Redis Pub/Sub message
|
|
3484
|
+
* @param {string} orgName
|
|
3485
|
+
* @param {string} clusterName
|
|
3486
|
+
* @param {string} id
|
|
3487
|
+
* @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
|
|
3488
|
+
* @param {*} [options] Override http request option.
|
|
3489
|
+
* @throws {RequiredError}
|
|
3490
|
+
*/
|
|
3491
|
+
publishRedisMessage: async (orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3492
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3493
|
+
assertParamExists('publishRedisMessage', 'orgName', orgName)
|
|
3494
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3495
|
+
assertParamExists('publishRedisMessage', 'clusterName', clusterName)
|
|
3496
|
+
// verify required parameter 'id' is not null or undefined
|
|
3497
|
+
assertParamExists('publishRedisMessage', 'id', id)
|
|
3498
|
+
// verify required parameter 'redisPubSubPublishRequest' is not null or undefined
|
|
3499
|
+
assertParamExists('publishRedisMessage', 'redisPubSubPublishRequest', redisPubSubPublishRequest)
|
|
3500
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/publish`
|
|
3501
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3502
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3503
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3504
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3505
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3506
|
+
let baseOptions;
|
|
3507
|
+
if (configuration) {
|
|
3508
|
+
baseOptions = configuration.baseOptions;
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3511
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3512
|
+
const localVarHeaderParameter = {} as any;
|
|
3513
|
+
const localVarQueryParameter = {} as any;
|
|
3514
|
+
|
|
3515
|
+
// authentication BearerToken required
|
|
3516
|
+
// http bearer authentication required
|
|
3517
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3518
|
+
|
|
3519
|
+
// authentication DigestAuth required
|
|
3520
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3521
|
+
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3525
|
+
|
|
3526
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3527
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3528
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3529
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redisPubSubPublishRequest, localVarRequestOptions, configuration)
|
|
3530
|
+
|
|
3531
|
+
return {
|
|
3532
|
+
url: toPathString(localVarUrlObj),
|
|
3533
|
+
options: localVarRequestOptions,
|
|
3534
|
+
};
|
|
3535
|
+
},
|
|
2816
3536
|
/**
|
|
2817
3537
|
*
|
|
2818
3538
|
* @summary create a SQL query
|
|
@@ -2868,6 +3588,59 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2868
3588
|
options: localVarRequestOptions,
|
|
2869
3589
|
};
|
|
2870
3590
|
},
|
|
3591
|
+
/**
|
|
3592
|
+
*
|
|
3593
|
+
* @summary reset Redis slow log
|
|
3594
|
+
* @param {string} orgName
|
|
3595
|
+
* @param {string} clusterName
|
|
3596
|
+
* @param {string} id
|
|
3597
|
+
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
3598
|
+
* @param {*} [options] Override http request option.
|
|
3599
|
+
* @throws {RequiredError}
|
|
3600
|
+
*/
|
|
3601
|
+
resetRedisSlowLog: async (orgName: string, clusterName: string, id: string, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3602
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3603
|
+
assertParamExists('resetRedisSlowLog', 'orgName', orgName)
|
|
3604
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3605
|
+
assertParamExists('resetRedisSlowLog', 'clusterName', clusterName)
|
|
3606
|
+
// verify required parameter 'id' is not null or undefined
|
|
3607
|
+
assertParamExists('resetRedisSlowLog', 'id', id)
|
|
3608
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/slowlog/reset`
|
|
3609
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3610
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3611
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3613
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3614
|
+
let baseOptions;
|
|
3615
|
+
if (configuration) {
|
|
3616
|
+
baseOptions = configuration.baseOptions;
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3620
|
+
const localVarHeaderParameter = {} as any;
|
|
3621
|
+
const localVarQueryParameter = {} as any;
|
|
3622
|
+
|
|
3623
|
+
// authentication BearerToken required
|
|
3624
|
+
// http bearer authentication required
|
|
3625
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3626
|
+
|
|
3627
|
+
// authentication DigestAuth required
|
|
3628
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3629
|
+
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3633
|
+
|
|
3634
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3635
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3636
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3637
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redisDangerousOperationRequest, localVarRequestOptions, configuration)
|
|
3638
|
+
|
|
3639
|
+
return {
|
|
3640
|
+
url: toPathString(localVarUrlObj),
|
|
3641
|
+
options: localVarRequestOptions,
|
|
3642
|
+
};
|
|
3643
|
+
},
|
|
2871
3644
|
/**
|
|
2872
3645
|
*
|
|
2873
3646
|
* @summary read data of table or view
|
|
@@ -3160,6 +3933,22 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3160
3933
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.alterParameter']?.[localVarOperationServerIndex]?.url;
|
|
3161
3934
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3162
3935
|
},
|
|
3936
|
+
/**
|
|
3937
|
+
*
|
|
3938
|
+
* @summary close a Redis Pub/Sub polling session
|
|
3939
|
+
* @param {string} orgName
|
|
3940
|
+
* @param {string} clusterName
|
|
3941
|
+
* @param {string} id
|
|
3942
|
+
* @param {string} sessionId
|
|
3943
|
+
* @param {*} [options] Override http request option.
|
|
3944
|
+
* @throws {RequiredError}
|
|
3945
|
+
*/
|
|
3946
|
+
async closeRedisPubSubSession(orgName: string, clusterName: string, id: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3947
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.closeRedisPubSubSession(orgName, clusterName, id, sessionId, options);
|
|
3948
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3949
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.closeRedisPubSubSession']?.[localVarOperationServerIndex]?.url;
|
|
3950
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3951
|
+
},
|
|
3163
3952
|
/**
|
|
3164
3953
|
*
|
|
3165
3954
|
* @summary close the session for the cluster
|
|
@@ -3192,6 +3981,22 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3192
3981
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.createDataSourceV2']?.[localVarOperationServerIndex]?.url;
|
|
3193
3982
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3194
3983
|
},
|
|
3984
|
+
/**
|
|
3985
|
+
*
|
|
3986
|
+
* @summary create a Redis Pub/Sub polling session
|
|
3987
|
+
* @param {string} orgName
|
|
3988
|
+
* @param {string} clusterName
|
|
3989
|
+
* @param {string} id
|
|
3990
|
+
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
3991
|
+
* @param {*} [options] Override http request option.
|
|
3992
|
+
* @throws {RequiredError}
|
|
3993
|
+
*/
|
|
3994
|
+
async createRedisPubSubSession(orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisPubSubSession>> {
|
|
3995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, options);
|
|
3996
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3997
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.createRedisPubSubSession']?.[localVarOperationServerIndex]?.url;
|
|
3998
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3999
|
+
},
|
|
3195
4000
|
/**
|
|
3196
4001
|
*
|
|
3197
4002
|
* @summary Data Export
|
|
@@ -3287,6 +4092,22 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3287
4092
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.enableConsole']?.[localVarOperationServerIndex]?.url;
|
|
3288
4093
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3289
4094
|
},
|
|
4095
|
+
/**
|
|
4096
|
+
* Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
|
|
4097
|
+
* @summary execute a Redis Workbench command
|
|
4098
|
+
* @param {string} orgName
|
|
4099
|
+
* @param {string} clusterName
|
|
4100
|
+
* @param {string} id
|
|
4101
|
+
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
4102
|
+
* @param {*} [options] Override http request option.
|
|
4103
|
+
* @throws {RequiredError}
|
|
4104
|
+
*/
|
|
4105
|
+
async executeRedisWorkbenchCommand(orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisWorkbenchExecuteResponse>> {
|
|
4106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, options);
|
|
4107
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4108
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.executeRedisWorkbenchCommand']?.[localVarOperationServerIndex]?.url;
|
|
4109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4110
|
+
},
|
|
3290
4111
|
/**
|
|
3291
4112
|
*
|
|
3292
4113
|
* @summary support ddl and dml operations
|
|
@@ -3369,6 +4190,69 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3369
4190
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getObjectInfo']?.[localVarOperationServerIndex]?.url;
|
|
3370
4191
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3371
4192
|
},
|
|
4193
|
+
/**
|
|
4194
|
+
*
|
|
4195
|
+
* @summary get Redis Cluster topology
|
|
4196
|
+
* @param {string} orgName
|
|
4197
|
+
* @param {string} clusterName
|
|
4198
|
+
* @param {string} id
|
|
4199
|
+
* @param {*} [options] Override http request option.
|
|
4200
|
+
* @throws {RequiredError}
|
|
4201
|
+
*/
|
|
4202
|
+
async getRedisClusterTopology(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisClusterTopology>> {
|
|
4203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisClusterTopology(orgName, clusterName, id, options);
|
|
4204
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4205
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisClusterTopology']?.[localVarOperationServerIndex]?.url;
|
|
4206
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4207
|
+
},
|
|
4208
|
+
/**
|
|
4209
|
+
*
|
|
4210
|
+
* @summary get Redis datasource data-management context
|
|
4211
|
+
* @param {string} orgName
|
|
4212
|
+
* @param {string} clusterName
|
|
4213
|
+
* @param {string} id
|
|
4214
|
+
* @param {*} [options] Override http request option.
|
|
4215
|
+
* @throws {RequiredError}
|
|
4216
|
+
*/
|
|
4217
|
+
async getRedisContext(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisDataContext>> {
|
|
4218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisContext(orgName, clusterName, id, options);
|
|
4219
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4220
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisContext']?.[localVarOperationServerIndex]?.url;
|
|
4221
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4222
|
+
},
|
|
4223
|
+
/**
|
|
4224
|
+
*
|
|
4225
|
+
* @summary get Redis INFO output by section
|
|
4226
|
+
* @param {string} orgName
|
|
4227
|
+
* @param {string} clusterName
|
|
4228
|
+
* @param {string} id
|
|
4229
|
+
* @param {string} [section]
|
|
4230
|
+
* @param {string} [nodeId]
|
|
4231
|
+
* @param {*} [options] Override http request option.
|
|
4232
|
+
* @throws {RequiredError}
|
|
4233
|
+
*/
|
|
4234
|
+
async getRedisInfo(orgName: string, clusterName: string, id: string, section?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisInfoResponse>> {
|
|
4235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisInfo(orgName, clusterName, id, section, nodeId, options);
|
|
4236
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4237
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisInfo']?.[localVarOperationServerIndex]?.url;
|
|
4238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4239
|
+
},
|
|
4240
|
+
/**
|
|
4241
|
+
*
|
|
4242
|
+
* @summary get Redis key detail
|
|
4243
|
+
* @param {string} orgName
|
|
4244
|
+
* @param {string} clusterName
|
|
4245
|
+
* @param {string} id
|
|
4246
|
+
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
4247
|
+
* @param {*} [options] Override http request option.
|
|
4248
|
+
* @throws {RequiredError}
|
|
4249
|
+
*/
|
|
4250
|
+
async getRedisKeyDetail(orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyDetail>> {
|
|
4251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, options);
|
|
4252
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4253
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisKeyDetail']?.[localVarOperationServerIndex]?.url;
|
|
4254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4255
|
+
},
|
|
3372
4256
|
/**
|
|
3373
4257
|
*
|
|
3374
4258
|
* @summary list all databases or schema of the cluster
|
|
@@ -3558,6 +4442,62 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3558
4442
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.listQueryHistory']?.[localVarOperationServerIndex]?.url;
|
|
3559
4443
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3560
4444
|
},
|
|
4445
|
+
/**
|
|
4446
|
+
*
|
|
4447
|
+
* @summary list Redis key summaries by SCAN cursor
|
|
4448
|
+
* @param {string} orgName
|
|
4449
|
+
* @param {string} clusterName
|
|
4450
|
+
* @param {string} id
|
|
4451
|
+
* @param {string} [cursor]
|
|
4452
|
+
* @param {number} [limit]
|
|
4453
|
+
* @param {string} [pattern]
|
|
4454
|
+
* @param {string} [type]
|
|
4455
|
+
* @param {string} [separator]
|
|
4456
|
+
* @param {string} [nodeId]
|
|
4457
|
+
* @param {*} [options] Override http request option.
|
|
4458
|
+
* @throws {RequiredError}
|
|
4459
|
+
*/
|
|
4460
|
+
async listRedisKeys(orgName: string, clusterName: string, id: string, cursor?: string, limit?: number, pattern?: string, type?: string, separator?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeySummaryList>> {
|
|
4461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisKeys(orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options);
|
|
4462
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4463
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisKeys']?.[localVarOperationServerIndex]?.url;
|
|
4464
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4465
|
+
},
|
|
4466
|
+
/**
|
|
4467
|
+
*
|
|
4468
|
+
* @summary list messages from a Redis Pub/Sub polling session
|
|
4469
|
+
* @param {string} orgName
|
|
4470
|
+
* @param {string} clusterName
|
|
4471
|
+
* @param {string} id
|
|
4472
|
+
* @param {string} sessionId
|
|
4473
|
+
* @param {string} [cursor]
|
|
4474
|
+
* @param {number} [limit]
|
|
4475
|
+
* @param {*} [options] Override http request option.
|
|
4476
|
+
* @throws {RequiredError}
|
|
4477
|
+
*/
|
|
4478
|
+
async listRedisPubSubMessages(orgName: string, clusterName: string, id: string, sessionId: string, cursor?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisPubSubMessageList>> {
|
|
4479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisPubSubMessages(orgName, clusterName, id, sessionId, cursor, limit, options);
|
|
4480
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4481
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisPubSubMessages']?.[localVarOperationServerIndex]?.url;
|
|
4482
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4483
|
+
},
|
|
4484
|
+
/**
|
|
4485
|
+
*
|
|
4486
|
+
* @summary list Redis slow log entries
|
|
4487
|
+
* @param {string} orgName
|
|
4488
|
+
* @param {string} clusterName
|
|
4489
|
+
* @param {string} id
|
|
4490
|
+
* @param {number} [limit]
|
|
4491
|
+
* @param {string} [nodeId]
|
|
4492
|
+
* @param {*} [options] Override http request option.
|
|
4493
|
+
* @throws {RequiredError}
|
|
4494
|
+
*/
|
|
4495
|
+
async listRedisSlowLog(orgName: string, clusterName: string, id: string, limit?: number, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisSlowLogList>> {
|
|
4496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisSlowLog(orgName, clusterName, id, limit, nodeId, options);
|
|
4497
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4498
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
4499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4500
|
+
},
|
|
3561
4501
|
/**
|
|
3562
4502
|
*
|
|
3563
4503
|
* @summary list all session for the cluster
|
|
@@ -3937,6 +4877,38 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3937
4877
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.mongoUpdate']?.[localVarOperationServerIndex]?.url;
|
|
3938
4878
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3939
4879
|
},
|
|
4880
|
+
/**
|
|
4881
|
+
*
|
|
4882
|
+
* @summary mutate Redis key data or metadata
|
|
4883
|
+
* @param {string} orgName
|
|
4884
|
+
* @param {string} clusterName
|
|
4885
|
+
* @param {string} id
|
|
4886
|
+
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
4887
|
+
* @param {*} [options] Override http request option.
|
|
4888
|
+
* @throws {RequiredError}
|
|
4889
|
+
*/
|
|
4890
|
+
async mutateRedisKey(orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyMutateResponse>> {
|
|
4891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, options);
|
|
4892
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4893
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.mutateRedisKey']?.[localVarOperationServerIndex]?.url;
|
|
4894
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4895
|
+
},
|
|
4896
|
+
/**
|
|
4897
|
+
*
|
|
4898
|
+
* @summary publish a Redis Pub/Sub message
|
|
4899
|
+
* @param {string} orgName
|
|
4900
|
+
* @param {string} clusterName
|
|
4901
|
+
* @param {string} id
|
|
4902
|
+
* @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
|
|
4903
|
+
* @param {*} [options] Override http request option.
|
|
4904
|
+
* @throws {RequiredError}
|
|
4905
|
+
*/
|
|
4906
|
+
async publishRedisMessage(orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
4907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, options);
|
|
4908
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4909
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.publishRedisMessage']?.[localVarOperationServerIndex]?.url;
|
|
4910
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4911
|
+
},
|
|
3940
4912
|
/**
|
|
3941
4913
|
*
|
|
3942
4914
|
* @summary create a SQL query
|
|
@@ -3953,6 +4925,22 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3953
4925
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.query']?.[localVarOperationServerIndex]?.url;
|
|
3954
4926
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3955
4927
|
},
|
|
4928
|
+
/**
|
|
4929
|
+
*
|
|
4930
|
+
* @summary reset Redis slow log
|
|
4931
|
+
* @param {string} orgName
|
|
4932
|
+
* @param {string} clusterName
|
|
4933
|
+
* @param {string} id
|
|
4934
|
+
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
4935
|
+
* @param {*} [options] Override http request option.
|
|
4936
|
+
* @throws {RequiredError}
|
|
4937
|
+
*/
|
|
4938
|
+
async resetRedisSlowLog(orgName: string, clusterName: string, id: string, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
4939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetRedisSlowLog(orgName, clusterName, id, redisDangerousOperationRequest, options);
|
|
4940
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4941
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.resetRedisSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
4942
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4943
|
+
},
|
|
3956
4944
|
/**
|
|
3957
4945
|
*
|
|
3958
4946
|
* @summary read data of table or view
|
|
@@ -4051,6 +5039,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4051
5039
|
alterParameter(requestParameters: DmsApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
4052
5040
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
4053
5041
|
},
|
|
5042
|
+
/**
|
|
5043
|
+
*
|
|
5044
|
+
* @summary close a Redis Pub/Sub polling session
|
|
5045
|
+
* @param {DmsApiCloseRedisPubSubSessionRequest} requestParameters Request parameters.
|
|
5046
|
+
* @param {*} [options] Override http request option.
|
|
5047
|
+
* @throws {RequiredError}
|
|
5048
|
+
*/
|
|
5049
|
+
closeRedisPubSubSession(requestParameters: DmsApiCloseRedisPubSubSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
5050
|
+
return localVarFp.closeRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
5051
|
+
},
|
|
4054
5052
|
/**
|
|
4055
5053
|
*
|
|
4056
5054
|
* @summary close the session for the cluster
|
|
@@ -4072,6 +5070,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4072
5070
|
createDataSourceV2(requestParameters: DmsApiCreateDataSourceV2Request, options?: RawAxiosRequestConfig): AxiosPromise<Datasource> {
|
|
4073
5071
|
return localVarFp.createDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.datasource, options).then((request) => request(axios, basePath));
|
|
4074
5072
|
},
|
|
5073
|
+
/**
|
|
5074
|
+
*
|
|
5075
|
+
* @summary create a Redis Pub/Sub polling session
|
|
5076
|
+
* @param {DmsApiCreateRedisPubSubSessionRequest} requestParameters Request parameters.
|
|
5077
|
+
* @param {*} [options] Override http request option.
|
|
5078
|
+
* @throws {RequiredError}
|
|
5079
|
+
*/
|
|
5080
|
+
createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisPubSubSession> {
|
|
5081
|
+
return localVarFp.createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(axios, basePath));
|
|
5082
|
+
},
|
|
4075
5083
|
/**
|
|
4076
5084
|
*
|
|
4077
5085
|
* @summary Data Export
|
|
@@ -4132,6 +5140,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4132
5140
|
enableConsole(requestParameters: DmsApiEnableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
4133
5141
|
return localVarFp.enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(axios, basePath));
|
|
4134
5142
|
},
|
|
5143
|
+
/**
|
|
5144
|
+
* Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
|
|
5145
|
+
* @summary execute a Redis Workbench command
|
|
5146
|
+
* @param {DmsApiExecuteRedisWorkbenchCommandRequest} requestParameters Request parameters.
|
|
5147
|
+
* @param {*} [options] Override http request option.
|
|
5148
|
+
* @throws {RequiredError}
|
|
5149
|
+
*/
|
|
5150
|
+
executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisWorkbenchExecuteResponse> {
|
|
5151
|
+
return localVarFp.executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(axios, basePath));
|
|
5152
|
+
},
|
|
4135
5153
|
/**
|
|
4136
5154
|
*
|
|
4137
5155
|
* @summary support ddl and dml operations
|
|
@@ -4182,6 +5200,46 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4182
5200
|
getObjectInfo(requestParameters: DmsApiGetObjectInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsObjectResponse> {
|
|
4183
5201
|
return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
4184
5202
|
},
|
|
5203
|
+
/**
|
|
5204
|
+
*
|
|
5205
|
+
* @summary get Redis Cluster topology
|
|
5206
|
+
* @param {DmsApiGetRedisClusterTopologyRequest} requestParameters Request parameters.
|
|
5207
|
+
* @param {*} [options] Override http request option.
|
|
5208
|
+
* @throws {RequiredError}
|
|
5209
|
+
*/
|
|
5210
|
+
getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisClusterTopology> {
|
|
5211
|
+
return localVarFp.getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5212
|
+
},
|
|
5213
|
+
/**
|
|
5214
|
+
*
|
|
5215
|
+
* @summary get Redis datasource data-management context
|
|
5216
|
+
* @param {DmsApiGetRedisContextRequest} requestParameters Request parameters.
|
|
5217
|
+
* @param {*} [options] Override http request option.
|
|
5218
|
+
* @throws {RequiredError}
|
|
5219
|
+
*/
|
|
5220
|
+
getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisDataContext> {
|
|
5221
|
+
return localVarFp.getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5222
|
+
},
|
|
5223
|
+
/**
|
|
5224
|
+
*
|
|
5225
|
+
* @summary get Redis INFO output by section
|
|
5226
|
+
* @param {DmsApiGetRedisInfoRequest} requestParameters Request parameters.
|
|
5227
|
+
* @param {*} [options] Override http request option.
|
|
5228
|
+
* @throws {RequiredError}
|
|
5229
|
+
*/
|
|
5230
|
+
getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisInfoResponse> {
|
|
5231
|
+
return localVarFp.getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5232
|
+
},
|
|
5233
|
+
/**
|
|
5234
|
+
*
|
|
5235
|
+
* @summary get Redis key detail
|
|
5236
|
+
* @param {DmsApiGetRedisKeyDetailRequest} requestParameters Request parameters.
|
|
5237
|
+
* @param {*} [options] Override http request option.
|
|
5238
|
+
* @throws {RequiredError}
|
|
5239
|
+
*/
|
|
5240
|
+
getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyDetail> {
|
|
5241
|
+
return localVarFp.getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(axios, basePath));
|
|
5242
|
+
},
|
|
4185
5243
|
/**
|
|
4186
5244
|
*
|
|
4187
5245
|
* @summary list all databases or schema of the cluster
|
|
@@ -4302,6 +5360,36 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4302
5360
|
listQueryHistory(requestParameters: DmsApiListQueryHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsQueryHistory>> {
|
|
4303
5361
|
return localVarFp.listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
4304
5362
|
},
|
|
5363
|
+
/**
|
|
5364
|
+
*
|
|
5365
|
+
* @summary list Redis key summaries by SCAN cursor
|
|
5366
|
+
* @param {DmsApiListRedisKeysRequest} requestParameters Request parameters.
|
|
5367
|
+
* @param {*} [options] Override http request option.
|
|
5368
|
+
* @throws {RequiredError}
|
|
5369
|
+
*/
|
|
5370
|
+
listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeySummaryList> {
|
|
5371
|
+
return localVarFp.listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5372
|
+
},
|
|
5373
|
+
/**
|
|
5374
|
+
*
|
|
5375
|
+
* @summary list messages from a Redis Pub/Sub polling session
|
|
5376
|
+
* @param {DmsApiListRedisPubSubMessagesRequest} requestParameters Request parameters.
|
|
5377
|
+
* @param {*} [options] Override http request option.
|
|
5378
|
+
* @throws {RequiredError}
|
|
5379
|
+
*/
|
|
5380
|
+
listRedisPubSubMessages(requestParameters: DmsApiListRedisPubSubMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisPubSubMessageList> {
|
|
5381
|
+
return localVarFp.listRedisPubSubMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, requestParameters.cursor, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
5382
|
+
},
|
|
5383
|
+
/**
|
|
5384
|
+
*
|
|
5385
|
+
* @summary list Redis slow log entries
|
|
5386
|
+
* @param {DmsApiListRedisSlowLogRequest} requestParameters Request parameters.
|
|
5387
|
+
* @param {*} [options] Override http request option.
|
|
5388
|
+
* @throws {RequiredError}
|
|
5389
|
+
*/
|
|
5390
|
+
listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisSlowLogList> {
|
|
5391
|
+
return localVarFp.listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5392
|
+
},
|
|
4305
5393
|
/**
|
|
4306
5394
|
*
|
|
4307
5395
|
* @summary list all session for the cluster
|
|
@@ -4523,6 +5611,26 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4523
5611
|
mongoUpdate(requestParameters: DmsApiMongoUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoWriteResult> {
|
|
4524
5612
|
return localVarFp.mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(axios, basePath));
|
|
4525
5613
|
},
|
|
5614
|
+
/**
|
|
5615
|
+
*
|
|
5616
|
+
* @summary mutate Redis key data or metadata
|
|
5617
|
+
* @param {DmsApiMutateRedisKeyRequest} requestParameters Request parameters.
|
|
5618
|
+
* @param {*} [options] Override http request option.
|
|
5619
|
+
* @throws {RequiredError}
|
|
5620
|
+
*/
|
|
5621
|
+
mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyMutateResponse> {
|
|
5622
|
+
return localVarFp.mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(axios, basePath));
|
|
5623
|
+
},
|
|
5624
|
+
/**
|
|
5625
|
+
*
|
|
5626
|
+
* @summary publish a Redis Pub/Sub message
|
|
5627
|
+
* @param {DmsApiPublishRedisMessageRequest} requestParameters Request parameters.
|
|
5628
|
+
* @param {*} [options] Override http request option.
|
|
5629
|
+
* @throws {RequiredError}
|
|
5630
|
+
*/
|
|
5631
|
+
publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary> {
|
|
5632
|
+
return localVarFp.publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(axios, basePath));
|
|
5633
|
+
},
|
|
4526
5634
|
/**
|
|
4527
5635
|
*
|
|
4528
5636
|
* @summary create a SQL query
|
|
@@ -4533,6 +5641,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
4533
5641
|
query(requestParameters: DmsApiQueryRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsQueryResponse> {
|
|
4534
5642
|
return localVarFp.query(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsQueryRequest, options).then((request) => request(axios, basePath));
|
|
4535
5643
|
},
|
|
5644
|
+
/**
|
|
5645
|
+
*
|
|
5646
|
+
* @summary reset Redis slow log
|
|
5647
|
+
* @param {DmsApiResetRedisSlowLogRequest} requestParameters Request parameters.
|
|
5648
|
+
* @param {*} [options] Override http request option.
|
|
5649
|
+
* @throws {RequiredError}
|
|
5650
|
+
*/
|
|
5651
|
+
resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary> {
|
|
5652
|
+
return localVarFp.resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(axios, basePath));
|
|
5653
|
+
},
|
|
4536
5654
|
/**
|
|
4537
5655
|
*
|
|
4538
5656
|
* @summary read data of table or view
|
|
@@ -4602,6 +5720,16 @@ export interface DmsApiInterface {
|
|
|
4602
5720
|
*/
|
|
4603
5721
|
alterParameter(requestParameters: DmsApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
4604
5722
|
|
|
5723
|
+
/**
|
|
5724
|
+
*
|
|
5725
|
+
* @summary close a Redis Pub/Sub polling session
|
|
5726
|
+
* @param {DmsApiCloseRedisPubSubSessionRequest} requestParameters Request parameters.
|
|
5727
|
+
* @param {*} [options] Override http request option.
|
|
5728
|
+
* @throws {RequiredError}
|
|
5729
|
+
* @memberof DmsApiInterface
|
|
5730
|
+
*/
|
|
5731
|
+
closeRedisPubSubSession(requestParameters: DmsApiCloseRedisPubSubSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5732
|
+
|
|
4605
5733
|
/**
|
|
4606
5734
|
*
|
|
4607
5735
|
* @summary close the session for the cluster
|
|
@@ -4623,6 +5751,16 @@ export interface DmsApiInterface {
|
|
|
4623
5751
|
*/
|
|
4624
5752
|
createDataSourceV2(requestParameters: DmsApiCreateDataSourceV2Request, options?: RawAxiosRequestConfig): AxiosPromise<Datasource>;
|
|
4625
5753
|
|
|
5754
|
+
/**
|
|
5755
|
+
*
|
|
5756
|
+
* @summary create a Redis Pub/Sub polling session
|
|
5757
|
+
* @param {DmsApiCreateRedisPubSubSessionRequest} requestParameters Request parameters.
|
|
5758
|
+
* @param {*} [options] Override http request option.
|
|
5759
|
+
* @throws {RequiredError}
|
|
5760
|
+
* @memberof DmsApiInterface
|
|
5761
|
+
*/
|
|
5762
|
+
createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisPubSubSession>;
|
|
5763
|
+
|
|
4626
5764
|
/**
|
|
4627
5765
|
*
|
|
4628
5766
|
* @summary Data Export
|
|
@@ -4683,6 +5821,16 @@ export interface DmsApiInterface {
|
|
|
4683
5821
|
*/
|
|
4684
5822
|
enableConsole(requestParameters: DmsApiEnableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
4685
5823
|
|
|
5824
|
+
/**
|
|
5825
|
+
* Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
|
|
5826
|
+
* @summary execute a Redis Workbench command
|
|
5827
|
+
* @param {DmsApiExecuteRedisWorkbenchCommandRequest} requestParameters Request parameters.
|
|
5828
|
+
* @param {*} [options] Override http request option.
|
|
5829
|
+
* @throws {RequiredError}
|
|
5830
|
+
* @memberof DmsApiInterface
|
|
5831
|
+
*/
|
|
5832
|
+
executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisWorkbenchExecuteResponse>;
|
|
5833
|
+
|
|
4686
5834
|
/**
|
|
4687
5835
|
*
|
|
4688
5836
|
* @summary support ddl and dml operations
|
|
@@ -4733,6 +5881,46 @@ export interface DmsApiInterface {
|
|
|
4733
5881
|
*/
|
|
4734
5882
|
getObjectInfo(requestParameters: DmsApiGetObjectInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsObjectResponse>;
|
|
4735
5883
|
|
|
5884
|
+
/**
|
|
5885
|
+
*
|
|
5886
|
+
* @summary get Redis Cluster topology
|
|
5887
|
+
* @param {DmsApiGetRedisClusterTopologyRequest} requestParameters Request parameters.
|
|
5888
|
+
* @param {*} [options] Override http request option.
|
|
5889
|
+
* @throws {RequiredError}
|
|
5890
|
+
* @memberof DmsApiInterface
|
|
5891
|
+
*/
|
|
5892
|
+
getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisClusterTopology>;
|
|
5893
|
+
|
|
5894
|
+
/**
|
|
5895
|
+
*
|
|
5896
|
+
* @summary get Redis datasource data-management context
|
|
5897
|
+
* @param {DmsApiGetRedisContextRequest} requestParameters Request parameters.
|
|
5898
|
+
* @param {*} [options] Override http request option.
|
|
5899
|
+
* @throws {RequiredError}
|
|
5900
|
+
* @memberof DmsApiInterface
|
|
5901
|
+
*/
|
|
5902
|
+
getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisDataContext>;
|
|
5903
|
+
|
|
5904
|
+
/**
|
|
5905
|
+
*
|
|
5906
|
+
* @summary get Redis INFO output by section
|
|
5907
|
+
* @param {DmsApiGetRedisInfoRequest} requestParameters Request parameters.
|
|
5908
|
+
* @param {*} [options] Override http request option.
|
|
5909
|
+
* @throws {RequiredError}
|
|
5910
|
+
* @memberof DmsApiInterface
|
|
5911
|
+
*/
|
|
5912
|
+
getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisInfoResponse>;
|
|
5913
|
+
|
|
5914
|
+
/**
|
|
5915
|
+
*
|
|
5916
|
+
* @summary get Redis key detail
|
|
5917
|
+
* @param {DmsApiGetRedisKeyDetailRequest} requestParameters Request parameters.
|
|
5918
|
+
* @param {*} [options] Override http request option.
|
|
5919
|
+
* @throws {RequiredError}
|
|
5920
|
+
* @memberof DmsApiInterface
|
|
5921
|
+
*/
|
|
5922
|
+
getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyDetail>;
|
|
5923
|
+
|
|
4736
5924
|
/**
|
|
4737
5925
|
*
|
|
4738
5926
|
* @summary list all databases or schema of the cluster
|
|
@@ -4853,6 +6041,36 @@ export interface DmsApiInterface {
|
|
|
4853
6041
|
*/
|
|
4854
6042
|
listQueryHistory(requestParameters: DmsApiListQueryHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsQueryHistory>>;
|
|
4855
6043
|
|
|
6044
|
+
/**
|
|
6045
|
+
*
|
|
6046
|
+
* @summary list Redis key summaries by SCAN cursor
|
|
6047
|
+
* @param {DmsApiListRedisKeysRequest} requestParameters Request parameters.
|
|
6048
|
+
* @param {*} [options] Override http request option.
|
|
6049
|
+
* @throws {RequiredError}
|
|
6050
|
+
* @memberof DmsApiInterface
|
|
6051
|
+
*/
|
|
6052
|
+
listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeySummaryList>;
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
*
|
|
6056
|
+
* @summary list messages from a Redis Pub/Sub polling session
|
|
6057
|
+
* @param {DmsApiListRedisPubSubMessagesRequest} requestParameters Request parameters.
|
|
6058
|
+
* @param {*} [options] Override http request option.
|
|
6059
|
+
* @throws {RequiredError}
|
|
6060
|
+
* @memberof DmsApiInterface
|
|
6061
|
+
*/
|
|
6062
|
+
listRedisPubSubMessages(requestParameters: DmsApiListRedisPubSubMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisPubSubMessageList>;
|
|
6063
|
+
|
|
6064
|
+
/**
|
|
6065
|
+
*
|
|
6066
|
+
* @summary list Redis slow log entries
|
|
6067
|
+
* @param {DmsApiListRedisSlowLogRequest} requestParameters Request parameters.
|
|
6068
|
+
* @param {*} [options] Override http request option.
|
|
6069
|
+
* @throws {RequiredError}
|
|
6070
|
+
* @memberof DmsApiInterface
|
|
6071
|
+
*/
|
|
6072
|
+
listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisSlowLogList>;
|
|
6073
|
+
|
|
4856
6074
|
/**
|
|
4857
6075
|
*
|
|
4858
6076
|
* @summary list all session for the cluster
|
|
@@ -5074,6 +6292,26 @@ export interface DmsApiInterface {
|
|
|
5074
6292
|
*/
|
|
5075
6293
|
mongoUpdate(requestParameters: DmsApiMongoUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<MongoWriteResult>;
|
|
5076
6294
|
|
|
6295
|
+
/**
|
|
6296
|
+
*
|
|
6297
|
+
* @summary mutate Redis key data or metadata
|
|
6298
|
+
* @param {DmsApiMutateRedisKeyRequest} requestParameters Request parameters.
|
|
6299
|
+
* @param {*} [options] Override http request option.
|
|
6300
|
+
* @throws {RequiredError}
|
|
6301
|
+
* @memberof DmsApiInterface
|
|
6302
|
+
*/
|
|
6303
|
+
mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyMutateResponse>;
|
|
6304
|
+
|
|
6305
|
+
/**
|
|
6306
|
+
*
|
|
6307
|
+
* @summary publish a Redis Pub/Sub message
|
|
6308
|
+
* @param {DmsApiPublishRedisMessageRequest} requestParameters Request parameters.
|
|
6309
|
+
* @param {*} [options] Override http request option.
|
|
6310
|
+
* @throws {RequiredError}
|
|
6311
|
+
* @memberof DmsApiInterface
|
|
6312
|
+
*/
|
|
6313
|
+
publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary>;
|
|
6314
|
+
|
|
5077
6315
|
/**
|
|
5078
6316
|
*
|
|
5079
6317
|
* @summary create a SQL query
|
|
@@ -5084,6 +6322,16 @@ export interface DmsApiInterface {
|
|
|
5084
6322
|
*/
|
|
5085
6323
|
query(requestParameters: DmsApiQueryRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsQueryResponse>;
|
|
5086
6324
|
|
|
6325
|
+
/**
|
|
6326
|
+
*
|
|
6327
|
+
* @summary reset Redis slow log
|
|
6328
|
+
* @param {DmsApiResetRedisSlowLogRequest} requestParameters Request parameters.
|
|
6329
|
+
* @param {*} [options] Override http request option.
|
|
6330
|
+
* @throws {RequiredError}
|
|
6331
|
+
* @memberof DmsApiInterface
|
|
6332
|
+
*/
|
|
6333
|
+
resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary>;
|
|
6334
|
+
|
|
5087
6335
|
/**
|
|
5088
6336
|
*
|
|
5089
6337
|
* @summary read data of table or view
|
|
@@ -5171,6 +6419,41 @@ export interface DmsApiAlterParameterRequest {
|
|
|
5171
6419
|
readonly dmsObAlterParameter: DmsObAlterParameter
|
|
5172
6420
|
}
|
|
5173
6421
|
|
|
6422
|
+
/**
|
|
6423
|
+
* Request parameters for closeRedisPubSubSession operation in DmsApi.
|
|
6424
|
+
* @export
|
|
6425
|
+
* @interface DmsApiCloseRedisPubSubSessionRequest
|
|
6426
|
+
*/
|
|
6427
|
+
export interface DmsApiCloseRedisPubSubSessionRequest {
|
|
6428
|
+
/**
|
|
6429
|
+
*
|
|
6430
|
+
* @type {string}
|
|
6431
|
+
* @memberof DmsApiCloseRedisPubSubSession
|
|
6432
|
+
*/
|
|
6433
|
+
readonly orgName: string
|
|
6434
|
+
|
|
6435
|
+
/**
|
|
6436
|
+
*
|
|
6437
|
+
* @type {string}
|
|
6438
|
+
* @memberof DmsApiCloseRedisPubSubSession
|
|
6439
|
+
*/
|
|
6440
|
+
readonly clusterName: string
|
|
6441
|
+
|
|
6442
|
+
/**
|
|
6443
|
+
*
|
|
6444
|
+
* @type {string}
|
|
6445
|
+
* @memberof DmsApiCloseRedisPubSubSession
|
|
6446
|
+
*/
|
|
6447
|
+
readonly id: string
|
|
6448
|
+
|
|
6449
|
+
/**
|
|
6450
|
+
*
|
|
6451
|
+
* @type {string}
|
|
6452
|
+
* @memberof DmsApiCloseRedisPubSubSession
|
|
6453
|
+
*/
|
|
6454
|
+
readonly sessionId: string
|
|
6455
|
+
}
|
|
6456
|
+
|
|
5174
6457
|
/**
|
|
5175
6458
|
* Request parameters for closeSessions operation in DmsApi.
|
|
5176
6459
|
* @export
|
|
@@ -5224,14 +6507,49 @@ export interface DmsApiCreateDataSourceV2Request {
|
|
|
5224
6507
|
* @type {string}
|
|
5225
6508
|
* @memberof DmsApiCreateDataSourceV2
|
|
5226
6509
|
*/
|
|
5227
|
-
readonly clusterName: string
|
|
6510
|
+
readonly clusterName: string
|
|
6511
|
+
|
|
6512
|
+
/**
|
|
6513
|
+
*
|
|
6514
|
+
* @type {Datasource}
|
|
6515
|
+
* @memberof DmsApiCreateDataSourceV2
|
|
6516
|
+
*/
|
|
6517
|
+
readonly datasource: Datasource
|
|
6518
|
+
}
|
|
6519
|
+
|
|
6520
|
+
/**
|
|
6521
|
+
* Request parameters for createRedisPubSubSession operation in DmsApi.
|
|
6522
|
+
* @export
|
|
6523
|
+
* @interface DmsApiCreateRedisPubSubSessionRequest
|
|
6524
|
+
*/
|
|
6525
|
+
export interface DmsApiCreateRedisPubSubSessionRequest {
|
|
6526
|
+
/**
|
|
6527
|
+
*
|
|
6528
|
+
* @type {string}
|
|
6529
|
+
* @memberof DmsApiCreateRedisPubSubSession
|
|
6530
|
+
*/
|
|
6531
|
+
readonly orgName: string
|
|
6532
|
+
|
|
6533
|
+
/**
|
|
6534
|
+
*
|
|
6535
|
+
* @type {string}
|
|
6536
|
+
* @memberof DmsApiCreateRedisPubSubSession
|
|
6537
|
+
*/
|
|
6538
|
+
readonly clusterName: string
|
|
6539
|
+
|
|
6540
|
+
/**
|
|
6541
|
+
*
|
|
6542
|
+
* @type {string}
|
|
6543
|
+
* @memberof DmsApiCreateRedisPubSubSession
|
|
6544
|
+
*/
|
|
6545
|
+
readonly id: string
|
|
5228
6546
|
|
|
5229
6547
|
/**
|
|
5230
6548
|
*
|
|
5231
|
-
* @type {
|
|
5232
|
-
* @memberof
|
|
6549
|
+
* @type {RedisPubSubSessionCreateRequest}
|
|
6550
|
+
* @memberof DmsApiCreateRedisPubSubSession
|
|
5233
6551
|
*/
|
|
5234
|
-
readonly
|
|
6552
|
+
readonly redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest
|
|
5235
6553
|
}
|
|
5236
6554
|
|
|
5237
6555
|
/**
|
|
@@ -5437,6 +6755,41 @@ export interface DmsApiEnableConsoleRequest {
|
|
|
5437
6755
|
readonly dMSConsoleEnableOpt?: DMSConsoleEnableOpt
|
|
5438
6756
|
}
|
|
5439
6757
|
|
|
6758
|
+
/**
|
|
6759
|
+
* Request parameters for executeRedisWorkbenchCommand operation in DmsApi.
|
|
6760
|
+
* @export
|
|
6761
|
+
* @interface DmsApiExecuteRedisWorkbenchCommandRequest
|
|
6762
|
+
*/
|
|
6763
|
+
export interface DmsApiExecuteRedisWorkbenchCommandRequest {
|
|
6764
|
+
/**
|
|
6765
|
+
*
|
|
6766
|
+
* @type {string}
|
|
6767
|
+
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
6768
|
+
*/
|
|
6769
|
+
readonly orgName: string
|
|
6770
|
+
|
|
6771
|
+
/**
|
|
6772
|
+
*
|
|
6773
|
+
* @type {string}
|
|
6774
|
+
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
6775
|
+
*/
|
|
6776
|
+
readonly clusterName: string
|
|
6777
|
+
|
|
6778
|
+
/**
|
|
6779
|
+
*
|
|
6780
|
+
* @type {string}
|
|
6781
|
+
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
6782
|
+
*/
|
|
6783
|
+
readonly id: string
|
|
6784
|
+
|
|
6785
|
+
/**
|
|
6786
|
+
*
|
|
6787
|
+
* @type {RedisWorkbenchExecuteRequest}
|
|
6788
|
+
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
6789
|
+
*/
|
|
6790
|
+
readonly redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest
|
|
6791
|
+
}
|
|
6792
|
+
|
|
5440
6793
|
/**
|
|
5441
6794
|
* Request parameters for generateDDL operation in DmsApi.
|
|
5442
6795
|
* @export
|
|
@@ -5626,6 +6979,139 @@ export interface DmsApiGetObjectInfoRequest {
|
|
|
5626
6979
|
readonly database?: string
|
|
5627
6980
|
}
|
|
5628
6981
|
|
|
6982
|
+
/**
|
|
6983
|
+
* Request parameters for getRedisClusterTopology operation in DmsApi.
|
|
6984
|
+
* @export
|
|
6985
|
+
* @interface DmsApiGetRedisClusterTopologyRequest
|
|
6986
|
+
*/
|
|
6987
|
+
export interface DmsApiGetRedisClusterTopologyRequest {
|
|
6988
|
+
/**
|
|
6989
|
+
*
|
|
6990
|
+
* @type {string}
|
|
6991
|
+
* @memberof DmsApiGetRedisClusterTopology
|
|
6992
|
+
*/
|
|
6993
|
+
readonly orgName: string
|
|
6994
|
+
|
|
6995
|
+
/**
|
|
6996
|
+
*
|
|
6997
|
+
* @type {string}
|
|
6998
|
+
* @memberof DmsApiGetRedisClusterTopology
|
|
6999
|
+
*/
|
|
7000
|
+
readonly clusterName: string
|
|
7001
|
+
|
|
7002
|
+
/**
|
|
7003
|
+
*
|
|
7004
|
+
* @type {string}
|
|
7005
|
+
* @memberof DmsApiGetRedisClusterTopology
|
|
7006
|
+
*/
|
|
7007
|
+
readonly id: string
|
|
7008
|
+
}
|
|
7009
|
+
|
|
7010
|
+
/**
|
|
7011
|
+
* Request parameters for getRedisContext operation in DmsApi.
|
|
7012
|
+
* @export
|
|
7013
|
+
* @interface DmsApiGetRedisContextRequest
|
|
7014
|
+
*/
|
|
7015
|
+
export interface DmsApiGetRedisContextRequest {
|
|
7016
|
+
/**
|
|
7017
|
+
*
|
|
7018
|
+
* @type {string}
|
|
7019
|
+
* @memberof DmsApiGetRedisContext
|
|
7020
|
+
*/
|
|
7021
|
+
readonly orgName: string
|
|
7022
|
+
|
|
7023
|
+
/**
|
|
7024
|
+
*
|
|
7025
|
+
* @type {string}
|
|
7026
|
+
* @memberof DmsApiGetRedisContext
|
|
7027
|
+
*/
|
|
7028
|
+
readonly clusterName: string
|
|
7029
|
+
|
|
7030
|
+
/**
|
|
7031
|
+
*
|
|
7032
|
+
* @type {string}
|
|
7033
|
+
* @memberof DmsApiGetRedisContext
|
|
7034
|
+
*/
|
|
7035
|
+
readonly id: string
|
|
7036
|
+
}
|
|
7037
|
+
|
|
7038
|
+
/**
|
|
7039
|
+
* Request parameters for getRedisInfo operation in DmsApi.
|
|
7040
|
+
* @export
|
|
7041
|
+
* @interface DmsApiGetRedisInfoRequest
|
|
7042
|
+
*/
|
|
7043
|
+
export interface DmsApiGetRedisInfoRequest {
|
|
7044
|
+
/**
|
|
7045
|
+
*
|
|
7046
|
+
* @type {string}
|
|
7047
|
+
* @memberof DmsApiGetRedisInfo
|
|
7048
|
+
*/
|
|
7049
|
+
readonly orgName: string
|
|
7050
|
+
|
|
7051
|
+
/**
|
|
7052
|
+
*
|
|
7053
|
+
* @type {string}
|
|
7054
|
+
* @memberof DmsApiGetRedisInfo
|
|
7055
|
+
*/
|
|
7056
|
+
readonly clusterName: string
|
|
7057
|
+
|
|
7058
|
+
/**
|
|
7059
|
+
*
|
|
7060
|
+
* @type {string}
|
|
7061
|
+
* @memberof DmsApiGetRedisInfo
|
|
7062
|
+
*/
|
|
7063
|
+
readonly id: string
|
|
7064
|
+
|
|
7065
|
+
/**
|
|
7066
|
+
*
|
|
7067
|
+
* @type {string}
|
|
7068
|
+
* @memberof DmsApiGetRedisInfo
|
|
7069
|
+
*/
|
|
7070
|
+
readonly section?: string
|
|
7071
|
+
|
|
7072
|
+
/**
|
|
7073
|
+
*
|
|
7074
|
+
* @type {string}
|
|
7075
|
+
* @memberof DmsApiGetRedisInfo
|
|
7076
|
+
*/
|
|
7077
|
+
readonly nodeId?: string
|
|
7078
|
+
}
|
|
7079
|
+
|
|
7080
|
+
/**
|
|
7081
|
+
* Request parameters for getRedisKeyDetail operation in DmsApi.
|
|
7082
|
+
* @export
|
|
7083
|
+
* @interface DmsApiGetRedisKeyDetailRequest
|
|
7084
|
+
*/
|
|
7085
|
+
export interface DmsApiGetRedisKeyDetailRequest {
|
|
7086
|
+
/**
|
|
7087
|
+
*
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof DmsApiGetRedisKeyDetail
|
|
7090
|
+
*/
|
|
7091
|
+
readonly orgName: string
|
|
7092
|
+
|
|
7093
|
+
/**
|
|
7094
|
+
*
|
|
7095
|
+
* @type {string}
|
|
7096
|
+
* @memberof DmsApiGetRedisKeyDetail
|
|
7097
|
+
*/
|
|
7098
|
+
readonly clusterName: string
|
|
7099
|
+
|
|
7100
|
+
/**
|
|
7101
|
+
*
|
|
7102
|
+
* @type {string}
|
|
7103
|
+
* @memberof DmsApiGetRedisKeyDetail
|
|
7104
|
+
*/
|
|
7105
|
+
readonly id: string
|
|
7106
|
+
|
|
7107
|
+
/**
|
|
7108
|
+
*
|
|
7109
|
+
* @type {RedisKeyDetailRequest}
|
|
7110
|
+
* @memberof DmsApiGetRedisKeyDetail
|
|
7111
|
+
*/
|
|
7112
|
+
readonly redisKeyDetailRequest: RedisKeyDetailRequest
|
|
7113
|
+
}
|
|
7114
|
+
|
|
5629
7115
|
/**
|
|
5630
7116
|
* Request parameters for getSchemaList operation in DmsApi.
|
|
5631
7117
|
* @export
|
|
@@ -5920,109 +7406,270 @@ export interface DmsApiListObjectNamesByTypeRequest {
|
|
|
5920
7406
|
*/
|
|
5921
7407
|
export interface DmsApiListObjectTypesInSchemaRequest {
|
|
5922
7408
|
/**
|
|
5923
|
-
* name of the Org
|
|
7409
|
+
* name of the Org
|
|
7410
|
+
* @type {string}
|
|
7411
|
+
* @memberof DmsApiListObjectTypesInSchema
|
|
7412
|
+
*/
|
|
7413
|
+
readonly orgName: string
|
|
7414
|
+
|
|
7415
|
+
/**
|
|
7416
|
+
* name of the cluster
|
|
7417
|
+
* @type {string}
|
|
7418
|
+
* @memberof DmsApiListObjectTypesInSchema
|
|
7419
|
+
*/
|
|
7420
|
+
readonly clusterName: string
|
|
7421
|
+
|
|
7422
|
+
/**
|
|
7423
|
+
* id of the datasource
|
|
7424
|
+
* @type {string}
|
|
7425
|
+
* @memberof DmsApiListObjectTypesInSchema
|
|
7426
|
+
*/
|
|
7427
|
+
readonly id: string
|
|
7428
|
+
|
|
7429
|
+
/**
|
|
7430
|
+
* schema or database name
|
|
7431
|
+
* @type {string}
|
|
7432
|
+
* @memberof DmsApiListObjectTypesInSchema
|
|
7433
|
+
*/
|
|
7434
|
+
readonly schema: string
|
|
7435
|
+
|
|
7436
|
+
/**
|
|
7437
|
+
* database name, used by engines such as MSSQL when listing objects inside a schema
|
|
7438
|
+
* @type {string}
|
|
7439
|
+
* @memberof DmsApiListObjectTypesInSchema
|
|
7440
|
+
*/
|
|
7441
|
+
readonly database?: string
|
|
7442
|
+
}
|
|
7443
|
+
|
|
7444
|
+
/**
|
|
7445
|
+
* Request parameters for listParameters operation in DmsApi.
|
|
7446
|
+
* @export
|
|
7447
|
+
* @interface DmsApiListParametersRequest
|
|
7448
|
+
*/
|
|
7449
|
+
export interface DmsApiListParametersRequest {
|
|
7450
|
+
/**
|
|
7451
|
+
* name of the Org
|
|
7452
|
+
* @type {string}
|
|
7453
|
+
* @memberof DmsApiListParameters
|
|
7454
|
+
*/
|
|
7455
|
+
readonly orgName: string
|
|
7456
|
+
|
|
7457
|
+
/**
|
|
7458
|
+
* name of the cluster
|
|
7459
|
+
* @type {string}
|
|
7460
|
+
* @memberof DmsApiListParameters
|
|
7461
|
+
*/
|
|
7462
|
+
readonly clusterName: string
|
|
7463
|
+
|
|
7464
|
+
/**
|
|
7465
|
+
*
|
|
7466
|
+
* @type {string}
|
|
7467
|
+
* @memberof DmsApiListParameters
|
|
7468
|
+
*/
|
|
7469
|
+
readonly tenantId: string
|
|
7470
|
+
|
|
7471
|
+
/**
|
|
7472
|
+
*
|
|
7473
|
+
* @type {string}
|
|
7474
|
+
* @memberof DmsApiListParameters
|
|
7475
|
+
*/
|
|
7476
|
+
readonly mode: string
|
|
7477
|
+
}
|
|
7478
|
+
|
|
7479
|
+
/**
|
|
7480
|
+
* Request parameters for listQueryHistory operation in DmsApi.
|
|
7481
|
+
* @export
|
|
7482
|
+
* @interface DmsApiListQueryHistoryRequest
|
|
7483
|
+
*/
|
|
7484
|
+
export interface DmsApiListQueryHistoryRequest {
|
|
7485
|
+
/**
|
|
7486
|
+
* name of the Org
|
|
7487
|
+
* @type {string}
|
|
7488
|
+
* @memberof DmsApiListQueryHistory
|
|
7489
|
+
*/
|
|
7490
|
+
readonly orgName: string
|
|
7491
|
+
|
|
7492
|
+
/**
|
|
7493
|
+
* name of the cluster
|
|
7494
|
+
* @type {string}
|
|
7495
|
+
* @memberof DmsApiListQueryHistory
|
|
7496
|
+
*/
|
|
7497
|
+
readonly clusterName: string
|
|
7498
|
+
|
|
7499
|
+
/**
|
|
7500
|
+
* id of the datasource
|
|
7501
|
+
* @type {string}
|
|
7502
|
+
* @memberof DmsApiListQueryHistory
|
|
7503
|
+
*/
|
|
7504
|
+
readonly id: string
|
|
7505
|
+
|
|
7506
|
+
/**
|
|
7507
|
+
* maximum history records to return, default and max 100
|
|
7508
|
+
* @type {number}
|
|
7509
|
+
* @memberof DmsApiListQueryHistory
|
|
7510
|
+
*/
|
|
7511
|
+
readonly limit?: number
|
|
7512
|
+
}
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* Request parameters for listRedisKeys operation in DmsApi.
|
|
7516
|
+
* @export
|
|
7517
|
+
* @interface DmsApiListRedisKeysRequest
|
|
7518
|
+
*/
|
|
7519
|
+
export interface DmsApiListRedisKeysRequest {
|
|
7520
|
+
/**
|
|
7521
|
+
*
|
|
7522
|
+
* @type {string}
|
|
7523
|
+
* @memberof DmsApiListRedisKeys
|
|
7524
|
+
*/
|
|
7525
|
+
readonly orgName: string
|
|
7526
|
+
|
|
7527
|
+
/**
|
|
7528
|
+
*
|
|
7529
|
+
* @type {string}
|
|
7530
|
+
* @memberof DmsApiListRedisKeys
|
|
7531
|
+
*/
|
|
7532
|
+
readonly clusterName: string
|
|
7533
|
+
|
|
7534
|
+
/**
|
|
7535
|
+
*
|
|
7536
|
+
* @type {string}
|
|
7537
|
+
* @memberof DmsApiListRedisKeys
|
|
7538
|
+
*/
|
|
7539
|
+
readonly id: string
|
|
7540
|
+
|
|
7541
|
+
/**
|
|
7542
|
+
*
|
|
5924
7543
|
* @type {string}
|
|
5925
|
-
* @memberof
|
|
7544
|
+
* @memberof DmsApiListRedisKeys
|
|
5926
7545
|
*/
|
|
5927
|
-
readonly
|
|
7546
|
+
readonly cursor?: string
|
|
5928
7547
|
|
|
5929
7548
|
/**
|
|
5930
|
-
*
|
|
7549
|
+
*
|
|
7550
|
+
* @type {number}
|
|
7551
|
+
* @memberof DmsApiListRedisKeys
|
|
7552
|
+
*/
|
|
7553
|
+
readonly limit?: number
|
|
7554
|
+
|
|
7555
|
+
/**
|
|
7556
|
+
*
|
|
5931
7557
|
* @type {string}
|
|
5932
|
-
* @memberof
|
|
7558
|
+
* @memberof DmsApiListRedisKeys
|
|
5933
7559
|
*/
|
|
5934
|
-
readonly
|
|
7560
|
+
readonly pattern?: string
|
|
5935
7561
|
|
|
5936
7562
|
/**
|
|
5937
|
-
*
|
|
7563
|
+
*
|
|
5938
7564
|
* @type {string}
|
|
5939
|
-
* @memberof
|
|
7565
|
+
* @memberof DmsApiListRedisKeys
|
|
5940
7566
|
*/
|
|
5941
|
-
readonly
|
|
7567
|
+
readonly type?: string
|
|
5942
7568
|
|
|
5943
7569
|
/**
|
|
5944
|
-
*
|
|
7570
|
+
*
|
|
5945
7571
|
* @type {string}
|
|
5946
|
-
* @memberof
|
|
7572
|
+
* @memberof DmsApiListRedisKeys
|
|
5947
7573
|
*/
|
|
5948
|
-
readonly
|
|
7574
|
+
readonly separator?: string
|
|
5949
7575
|
|
|
5950
7576
|
/**
|
|
5951
|
-
*
|
|
7577
|
+
*
|
|
5952
7578
|
* @type {string}
|
|
5953
|
-
* @memberof
|
|
7579
|
+
* @memberof DmsApiListRedisKeys
|
|
5954
7580
|
*/
|
|
5955
|
-
readonly
|
|
7581
|
+
readonly nodeId?: string
|
|
5956
7582
|
}
|
|
5957
7583
|
|
|
5958
7584
|
/**
|
|
5959
|
-
* Request parameters for
|
|
7585
|
+
* Request parameters for listRedisPubSubMessages operation in DmsApi.
|
|
5960
7586
|
* @export
|
|
5961
|
-
* @interface
|
|
7587
|
+
* @interface DmsApiListRedisPubSubMessagesRequest
|
|
5962
7588
|
*/
|
|
5963
|
-
export interface
|
|
7589
|
+
export interface DmsApiListRedisPubSubMessagesRequest {
|
|
5964
7590
|
/**
|
|
5965
|
-
*
|
|
7591
|
+
*
|
|
5966
7592
|
* @type {string}
|
|
5967
|
-
* @memberof
|
|
7593
|
+
* @memberof DmsApiListRedisPubSubMessages
|
|
5968
7594
|
*/
|
|
5969
7595
|
readonly orgName: string
|
|
5970
7596
|
|
|
5971
7597
|
/**
|
|
5972
|
-
*
|
|
7598
|
+
*
|
|
5973
7599
|
* @type {string}
|
|
5974
|
-
* @memberof
|
|
7600
|
+
* @memberof DmsApiListRedisPubSubMessages
|
|
5975
7601
|
*/
|
|
5976
7602
|
readonly clusterName: string
|
|
5977
7603
|
|
|
5978
7604
|
/**
|
|
5979
7605
|
*
|
|
5980
7606
|
* @type {string}
|
|
5981
|
-
* @memberof
|
|
7607
|
+
* @memberof DmsApiListRedisPubSubMessages
|
|
5982
7608
|
*/
|
|
5983
|
-
readonly
|
|
7609
|
+
readonly id: string
|
|
5984
7610
|
|
|
5985
7611
|
/**
|
|
5986
7612
|
*
|
|
5987
7613
|
* @type {string}
|
|
5988
|
-
* @memberof
|
|
7614
|
+
* @memberof DmsApiListRedisPubSubMessages
|
|
5989
7615
|
*/
|
|
5990
|
-
readonly
|
|
7616
|
+
readonly sessionId: string
|
|
7617
|
+
|
|
7618
|
+
/**
|
|
7619
|
+
*
|
|
7620
|
+
* @type {string}
|
|
7621
|
+
* @memberof DmsApiListRedisPubSubMessages
|
|
7622
|
+
*/
|
|
7623
|
+
readonly cursor?: string
|
|
7624
|
+
|
|
7625
|
+
/**
|
|
7626
|
+
*
|
|
7627
|
+
* @type {number}
|
|
7628
|
+
* @memberof DmsApiListRedisPubSubMessages
|
|
7629
|
+
*/
|
|
7630
|
+
readonly limit?: number
|
|
5991
7631
|
}
|
|
5992
7632
|
|
|
5993
7633
|
/**
|
|
5994
|
-
* Request parameters for
|
|
7634
|
+
* Request parameters for listRedisSlowLog operation in DmsApi.
|
|
5995
7635
|
* @export
|
|
5996
|
-
* @interface
|
|
7636
|
+
* @interface DmsApiListRedisSlowLogRequest
|
|
5997
7637
|
*/
|
|
5998
|
-
export interface
|
|
7638
|
+
export interface DmsApiListRedisSlowLogRequest {
|
|
5999
7639
|
/**
|
|
6000
|
-
*
|
|
7640
|
+
*
|
|
6001
7641
|
* @type {string}
|
|
6002
|
-
* @memberof
|
|
7642
|
+
* @memberof DmsApiListRedisSlowLog
|
|
6003
7643
|
*/
|
|
6004
7644
|
readonly orgName: string
|
|
6005
7645
|
|
|
6006
7646
|
/**
|
|
6007
|
-
*
|
|
7647
|
+
*
|
|
6008
7648
|
* @type {string}
|
|
6009
|
-
* @memberof
|
|
7649
|
+
* @memberof DmsApiListRedisSlowLog
|
|
6010
7650
|
*/
|
|
6011
7651
|
readonly clusterName: string
|
|
6012
7652
|
|
|
6013
7653
|
/**
|
|
6014
|
-
*
|
|
7654
|
+
*
|
|
6015
7655
|
* @type {string}
|
|
6016
|
-
* @memberof
|
|
7656
|
+
* @memberof DmsApiListRedisSlowLog
|
|
6017
7657
|
*/
|
|
6018
7658
|
readonly id: string
|
|
6019
7659
|
|
|
6020
7660
|
/**
|
|
6021
|
-
*
|
|
7661
|
+
*
|
|
6022
7662
|
* @type {number}
|
|
6023
|
-
* @memberof
|
|
7663
|
+
* @memberof DmsApiListRedisSlowLog
|
|
6024
7664
|
*/
|
|
6025
7665
|
readonly limit?: number
|
|
7666
|
+
|
|
7667
|
+
/**
|
|
7668
|
+
*
|
|
7669
|
+
* @type {string}
|
|
7670
|
+
* @memberof DmsApiListRedisSlowLog
|
|
7671
|
+
*/
|
|
7672
|
+
readonly nodeId?: string
|
|
6026
7673
|
}
|
|
6027
7674
|
|
|
6028
7675
|
/**
|
|
@@ -6977,6 +8624,76 @@ export interface DmsApiMongoUpdateRequest {
|
|
|
6977
8624
|
readonly mongoUpdateRequest: MongoUpdateRequest
|
|
6978
8625
|
}
|
|
6979
8626
|
|
|
8627
|
+
/**
|
|
8628
|
+
* Request parameters for mutateRedisKey operation in DmsApi.
|
|
8629
|
+
* @export
|
|
8630
|
+
* @interface DmsApiMutateRedisKeyRequest
|
|
8631
|
+
*/
|
|
8632
|
+
export interface DmsApiMutateRedisKeyRequest {
|
|
8633
|
+
/**
|
|
8634
|
+
*
|
|
8635
|
+
* @type {string}
|
|
8636
|
+
* @memberof DmsApiMutateRedisKey
|
|
8637
|
+
*/
|
|
8638
|
+
readonly orgName: string
|
|
8639
|
+
|
|
8640
|
+
/**
|
|
8641
|
+
*
|
|
8642
|
+
* @type {string}
|
|
8643
|
+
* @memberof DmsApiMutateRedisKey
|
|
8644
|
+
*/
|
|
8645
|
+
readonly clusterName: string
|
|
8646
|
+
|
|
8647
|
+
/**
|
|
8648
|
+
*
|
|
8649
|
+
* @type {string}
|
|
8650
|
+
* @memberof DmsApiMutateRedisKey
|
|
8651
|
+
*/
|
|
8652
|
+
readonly id: string
|
|
8653
|
+
|
|
8654
|
+
/**
|
|
8655
|
+
*
|
|
8656
|
+
* @type {RedisKeyMutateRequest}
|
|
8657
|
+
* @memberof DmsApiMutateRedisKey
|
|
8658
|
+
*/
|
|
8659
|
+
readonly redisKeyMutateRequest: RedisKeyMutateRequest
|
|
8660
|
+
}
|
|
8661
|
+
|
|
8662
|
+
/**
|
|
8663
|
+
* Request parameters for publishRedisMessage operation in DmsApi.
|
|
8664
|
+
* @export
|
|
8665
|
+
* @interface DmsApiPublishRedisMessageRequest
|
|
8666
|
+
*/
|
|
8667
|
+
export interface DmsApiPublishRedisMessageRequest {
|
|
8668
|
+
/**
|
|
8669
|
+
*
|
|
8670
|
+
* @type {string}
|
|
8671
|
+
* @memberof DmsApiPublishRedisMessage
|
|
8672
|
+
*/
|
|
8673
|
+
readonly orgName: string
|
|
8674
|
+
|
|
8675
|
+
/**
|
|
8676
|
+
*
|
|
8677
|
+
* @type {string}
|
|
8678
|
+
* @memberof DmsApiPublishRedisMessage
|
|
8679
|
+
*/
|
|
8680
|
+
readonly clusterName: string
|
|
8681
|
+
|
|
8682
|
+
/**
|
|
8683
|
+
*
|
|
8684
|
+
* @type {string}
|
|
8685
|
+
* @memberof DmsApiPublishRedisMessage
|
|
8686
|
+
*/
|
|
8687
|
+
readonly id: string
|
|
8688
|
+
|
|
8689
|
+
/**
|
|
8690
|
+
*
|
|
8691
|
+
* @type {RedisPubSubPublishRequest}
|
|
8692
|
+
* @memberof DmsApiPublishRedisMessage
|
|
8693
|
+
*/
|
|
8694
|
+
readonly redisPubSubPublishRequest: RedisPubSubPublishRequest
|
|
8695
|
+
}
|
|
8696
|
+
|
|
6980
8697
|
/**
|
|
6981
8698
|
* Request parameters for query operation in DmsApi.
|
|
6982
8699
|
* @export
|
|
@@ -7012,6 +8729,41 @@ export interface DmsApiQueryRequest {
|
|
|
7012
8729
|
readonly dmsQueryRequest: DmsQueryRequest
|
|
7013
8730
|
}
|
|
7014
8731
|
|
|
8732
|
+
/**
|
|
8733
|
+
* Request parameters for resetRedisSlowLog operation in DmsApi.
|
|
8734
|
+
* @export
|
|
8735
|
+
* @interface DmsApiResetRedisSlowLogRequest
|
|
8736
|
+
*/
|
|
8737
|
+
export interface DmsApiResetRedisSlowLogRequest {
|
|
8738
|
+
/**
|
|
8739
|
+
*
|
|
8740
|
+
* @type {string}
|
|
8741
|
+
* @memberof DmsApiResetRedisSlowLog
|
|
8742
|
+
*/
|
|
8743
|
+
readonly orgName: string
|
|
8744
|
+
|
|
8745
|
+
/**
|
|
8746
|
+
*
|
|
8747
|
+
* @type {string}
|
|
8748
|
+
* @memberof DmsApiResetRedisSlowLog
|
|
8749
|
+
*/
|
|
8750
|
+
readonly clusterName: string
|
|
8751
|
+
|
|
8752
|
+
/**
|
|
8753
|
+
*
|
|
8754
|
+
* @type {string}
|
|
8755
|
+
* @memberof DmsApiResetRedisSlowLog
|
|
8756
|
+
*/
|
|
8757
|
+
readonly id: string
|
|
8758
|
+
|
|
8759
|
+
/**
|
|
8760
|
+
*
|
|
8761
|
+
* @type {RedisDangerousOperationRequest}
|
|
8762
|
+
* @memberof DmsApiResetRedisSlowLog
|
|
8763
|
+
*/
|
|
8764
|
+
readonly redisDangerousOperationRequest?: RedisDangerousOperationRequest
|
|
8765
|
+
}
|
|
8766
|
+
|
|
7015
8767
|
/**
|
|
7016
8768
|
* Request parameters for showData operation in DmsApi.
|
|
7017
8769
|
* @export
|
|
@@ -7192,6 +8944,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7192
8944
|
return DmsApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
7193
8945
|
}
|
|
7194
8946
|
|
|
8947
|
+
/**
|
|
8948
|
+
*
|
|
8949
|
+
* @summary close a Redis Pub/Sub polling session
|
|
8950
|
+
* @param {DmsApiCloseRedisPubSubSessionRequest} requestParameters Request parameters.
|
|
8951
|
+
* @param {*} [options] Override http request option.
|
|
8952
|
+
* @throws {RequiredError}
|
|
8953
|
+
* @memberof DmsApi
|
|
8954
|
+
*/
|
|
8955
|
+
public closeRedisPubSubSession(requestParameters: DmsApiCloseRedisPubSubSessionRequest, options?: RawAxiosRequestConfig) {
|
|
8956
|
+
return DmsApiFp(this.configuration).closeRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
8957
|
+
}
|
|
8958
|
+
|
|
7195
8959
|
/**
|
|
7196
8960
|
*
|
|
7197
8961
|
* @summary close the session for the cluster
|
|
@@ -7217,6 +8981,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7217
8981
|
return DmsApiFp(this.configuration).createDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.datasource, options).then((request) => request(this.axios, this.basePath));
|
|
7218
8982
|
}
|
|
7219
8983
|
|
|
8984
|
+
/**
|
|
8985
|
+
*
|
|
8986
|
+
* @summary create a Redis Pub/Sub polling session
|
|
8987
|
+
* @param {DmsApiCreateRedisPubSubSessionRequest} requestParameters Request parameters.
|
|
8988
|
+
* @param {*} [options] Override http request option.
|
|
8989
|
+
* @throws {RequiredError}
|
|
8990
|
+
* @memberof DmsApi
|
|
8991
|
+
*/
|
|
8992
|
+
public createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig) {
|
|
8993
|
+
return DmsApiFp(this.configuration).createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8994
|
+
}
|
|
8995
|
+
|
|
7220
8996
|
/**
|
|
7221
8997
|
*
|
|
7222
8998
|
* @summary Data Export
|
|
@@ -7289,6 +9065,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7289
9065
|
return DmsApiFp(this.configuration).enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(this.axios, this.basePath));
|
|
7290
9066
|
}
|
|
7291
9067
|
|
|
9068
|
+
/**
|
|
9069
|
+
* Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
|
|
9070
|
+
* @summary execute a Redis Workbench command
|
|
9071
|
+
* @param {DmsApiExecuteRedisWorkbenchCommandRequest} requestParameters Request parameters.
|
|
9072
|
+
* @param {*} [options] Override http request option.
|
|
9073
|
+
* @throws {RequiredError}
|
|
9074
|
+
* @memberof DmsApi
|
|
9075
|
+
*/
|
|
9076
|
+
public executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig) {
|
|
9077
|
+
return DmsApiFp(this.configuration).executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9078
|
+
}
|
|
9079
|
+
|
|
7292
9080
|
/**
|
|
7293
9081
|
*
|
|
7294
9082
|
* @summary support ddl and dml operations
|
|
@@ -7349,6 +9137,54 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7349
9137
|
return 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));
|
|
7350
9138
|
}
|
|
7351
9139
|
|
|
9140
|
+
/**
|
|
9141
|
+
*
|
|
9142
|
+
* @summary get Redis Cluster topology
|
|
9143
|
+
* @param {DmsApiGetRedisClusterTopologyRequest} requestParameters Request parameters.
|
|
9144
|
+
* @param {*} [options] Override http request option.
|
|
9145
|
+
* @throws {RequiredError}
|
|
9146
|
+
* @memberof DmsApi
|
|
9147
|
+
*/
|
|
9148
|
+
public getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig) {
|
|
9149
|
+
return DmsApiFp(this.configuration).getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9150
|
+
}
|
|
9151
|
+
|
|
9152
|
+
/**
|
|
9153
|
+
*
|
|
9154
|
+
* @summary get Redis datasource data-management context
|
|
9155
|
+
* @param {DmsApiGetRedisContextRequest} requestParameters Request parameters.
|
|
9156
|
+
* @param {*} [options] Override http request option.
|
|
9157
|
+
* @throws {RequiredError}
|
|
9158
|
+
* @memberof DmsApi
|
|
9159
|
+
*/
|
|
9160
|
+
public getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig) {
|
|
9161
|
+
return DmsApiFp(this.configuration).getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9162
|
+
}
|
|
9163
|
+
|
|
9164
|
+
/**
|
|
9165
|
+
*
|
|
9166
|
+
* @summary get Redis INFO output by section
|
|
9167
|
+
* @param {DmsApiGetRedisInfoRequest} requestParameters Request parameters.
|
|
9168
|
+
* @param {*} [options] Override http request option.
|
|
9169
|
+
* @throws {RequiredError}
|
|
9170
|
+
* @memberof DmsApi
|
|
9171
|
+
*/
|
|
9172
|
+
public getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig) {
|
|
9173
|
+
return DmsApiFp(this.configuration).getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9174
|
+
}
|
|
9175
|
+
|
|
9176
|
+
/**
|
|
9177
|
+
*
|
|
9178
|
+
* @summary get Redis key detail
|
|
9179
|
+
* @param {DmsApiGetRedisKeyDetailRequest} requestParameters Request parameters.
|
|
9180
|
+
* @param {*} [options] Override http request option.
|
|
9181
|
+
* @throws {RequiredError}
|
|
9182
|
+
* @memberof DmsApi
|
|
9183
|
+
*/
|
|
9184
|
+
public getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig) {
|
|
9185
|
+
return DmsApiFp(this.configuration).getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9186
|
+
}
|
|
9187
|
+
|
|
7352
9188
|
/**
|
|
7353
9189
|
*
|
|
7354
9190
|
* @summary list all databases or schema of the cluster
|
|
@@ -7493,6 +9329,42 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7493
9329
|
return DmsApiFp(this.configuration).listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
7494
9330
|
}
|
|
7495
9331
|
|
|
9332
|
+
/**
|
|
9333
|
+
*
|
|
9334
|
+
* @summary list Redis key summaries by SCAN cursor
|
|
9335
|
+
* @param {DmsApiListRedisKeysRequest} requestParameters Request parameters.
|
|
9336
|
+
* @param {*} [options] Override http request option.
|
|
9337
|
+
* @throws {RequiredError}
|
|
9338
|
+
* @memberof DmsApi
|
|
9339
|
+
*/
|
|
9340
|
+
public listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig) {
|
|
9341
|
+
return DmsApiFp(this.configuration).listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9342
|
+
}
|
|
9343
|
+
|
|
9344
|
+
/**
|
|
9345
|
+
*
|
|
9346
|
+
* @summary list messages from a Redis Pub/Sub polling session
|
|
9347
|
+
* @param {DmsApiListRedisPubSubMessagesRequest} requestParameters Request parameters.
|
|
9348
|
+
* @param {*} [options] Override http request option.
|
|
9349
|
+
* @throws {RequiredError}
|
|
9350
|
+
* @memberof DmsApi
|
|
9351
|
+
*/
|
|
9352
|
+
public listRedisPubSubMessages(requestParameters: DmsApiListRedisPubSubMessagesRequest, options?: RawAxiosRequestConfig) {
|
|
9353
|
+
return DmsApiFp(this.configuration).listRedisPubSubMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, requestParameters.cursor, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
9354
|
+
}
|
|
9355
|
+
|
|
9356
|
+
/**
|
|
9357
|
+
*
|
|
9358
|
+
* @summary list Redis slow log entries
|
|
9359
|
+
* @param {DmsApiListRedisSlowLogRequest} requestParameters Request parameters.
|
|
9360
|
+
* @param {*} [options] Override http request option.
|
|
9361
|
+
* @throws {RequiredError}
|
|
9362
|
+
* @memberof DmsApi
|
|
9363
|
+
*/
|
|
9364
|
+
public listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
9365
|
+
return DmsApiFp(this.configuration).listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9366
|
+
}
|
|
9367
|
+
|
|
7496
9368
|
/**
|
|
7497
9369
|
*
|
|
7498
9370
|
* @summary list all session for the cluster
|
|
@@ -7758,6 +9630,30 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7758
9630
|
return DmsApiFp(this.configuration).mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7759
9631
|
}
|
|
7760
9632
|
|
|
9633
|
+
/**
|
|
9634
|
+
*
|
|
9635
|
+
* @summary mutate Redis key data or metadata
|
|
9636
|
+
* @param {DmsApiMutateRedisKeyRequest} requestParameters Request parameters.
|
|
9637
|
+
* @param {*} [options] Override http request option.
|
|
9638
|
+
* @throws {RequiredError}
|
|
9639
|
+
* @memberof DmsApi
|
|
9640
|
+
*/
|
|
9641
|
+
public mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig) {
|
|
9642
|
+
return DmsApiFp(this.configuration).mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9643
|
+
}
|
|
9644
|
+
|
|
9645
|
+
/**
|
|
9646
|
+
*
|
|
9647
|
+
* @summary publish a Redis Pub/Sub message
|
|
9648
|
+
* @param {DmsApiPublishRedisMessageRequest} requestParameters Request parameters.
|
|
9649
|
+
* @param {*} [options] Override http request option.
|
|
9650
|
+
* @throws {RequiredError}
|
|
9651
|
+
* @memberof DmsApi
|
|
9652
|
+
*/
|
|
9653
|
+
public publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig) {
|
|
9654
|
+
return DmsApiFp(this.configuration).publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9655
|
+
}
|
|
9656
|
+
|
|
7761
9657
|
/**
|
|
7762
9658
|
*
|
|
7763
9659
|
* @summary create a SQL query
|
|
@@ -7770,6 +9666,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
7770
9666
|
return DmsApiFp(this.configuration).query(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsQueryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7771
9667
|
}
|
|
7772
9668
|
|
|
9669
|
+
/**
|
|
9670
|
+
*
|
|
9671
|
+
* @summary reset Redis slow log
|
|
9672
|
+
* @param {DmsApiResetRedisSlowLogRequest} requestParameters Request parameters.
|
|
9673
|
+
* @param {*} [options] Override http request option.
|
|
9674
|
+
* @throws {RequiredError}
|
|
9675
|
+
* @memberof DmsApi
|
|
9676
|
+
*/
|
|
9677
|
+
public resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
9678
|
+
return DmsApiFp(this.configuration).resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9679
|
+
}
|
|
9680
|
+
|
|
7773
9681
|
/**
|
|
7774
9682
|
*
|
|
7775
9683
|
* @summary read data of table or view
|