kb-cloud-client-typescript 2.4.0-alpha.5 → 2.4.0-alpha.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +3 -1
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +3 -1
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +158 -86
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +175 -95
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/alert-object-api.d.ts +10 -2
- package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-object-api.js +10 -5
- package/dist/adminapi/apis/alert-object-api.js.map +1 -1
- package/dist/adminapi/apis/clickhouse-api.d.ts +995 -0
- package/dist/adminapi/apis/clickhouse-api.d.ts.map +1 -0
- package/dist/adminapi/apis/clickhouse-api.js +1107 -0
- package/dist/adminapi/apis/clickhouse-api.js.map +1 -0
- package/dist/adminapi/apis/cluster-log-api.d.ts +5 -5
- package/dist/adminapi/apis/cluster-log-api.js +4 -4
- package/dist/adminapi/apis/dashboard-config-api.d.ts +223 -0
- package/dist/adminapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/adminapi/apis/dashboard-config-api.js +277 -0
- package/dist/adminapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts +1192 -71
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +1216 -54
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/engine-license-api.d.ts +3 -3
- package/dist/adminapi/apis/engine-license-api.js +2 -2
- package/dist/adminapi/apis/milvus-api.d.ts +151 -79
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/adminapi/apis/milvus-api.js +153 -73
- package/dist/adminapi/apis/milvus-api.js.map +1 -1
- package/dist/adminapi/apis/oracle-api.d.ts +422 -0
- package/dist/adminapi/apis/oracle-api.d.ts.map +1 -0
- package/dist/adminapi/apis/oracle-api.js +471 -0
- package/dist/adminapi/apis/oracle-api.js.map +1 -0
- package/dist/adminapi/apis/rabbit-mqapi.d.ts +7 -7
- package/dist/adminapi/apis/rabbit-mqapi.d.ts.map +1 -1
- package/dist/adminapi/apis/rabbit-mqapi.js +10 -10
- package/dist/adminapi/apis/rabbit-mqapi.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +1144 -194
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1231 -186
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-summary.d.ts +6 -0
- package/dist/adminapi/models/aggregate-task-result-summary.d.ts.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-type.d.ts +1 -0
- package/dist/adminapi/models/aggregate-task-result-type.d.ts.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-type.js +2 -1
- package/dist/adminapi/models/aggregate-task-result-type.js.map +1 -1
- package/dist/adminapi/models/ck-account-type.d.ts +23 -0
- package/dist/adminapi/models/ck-account-type.d.ts.map +1 -0
- package/dist/adminapi/models/ck-account-type.js +27 -0
- package/dist/adminapi/models/ck-account-type.js.map +1 -0
- package/dist/adminapi/models/ck-account.d.ts +50 -0
- package/dist/adminapi/models/ck-account.d.ts.map +1 -0
- package/dist/adminapi/models/{autohealing-list-inner.js → ck-account.js} +1 -1
- package/dist/adminapi/models/ck-account.js.map +1 -0
- package/dist/adminapi/models/cluster-metrics.d.ts +4 -2
- package/dist/adminapi/models/cluster-metrics.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-reference.d.ts +31 -0
- package/dist/adminapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-reference.js +16 -0
- package/dist/adminapi/models/cluster-reference.js.map +1 -0
- package/dist/adminapi/models/cluster-update.d.ts +6 -0
- package/dist/adminapi/models/cluster-update.d.ts.map +1 -1
- package/dist/adminapi/models/cluster.d.ts +3 -2
- package/dist/adminapi/models/cluster.d.ts.map +1 -1
- package/dist/adminapi/models/create-clickhouse-account-request.d.ts +37 -0
- package/dist/adminapi/models/create-clickhouse-account-request.d.ts.map +1 -0
- package/dist/adminapi/models/create-clickhouse-account-request.js +16 -0
- package/dist/adminapi/models/create-clickhouse-account-request.js.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts +25 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.js +16 -0
- package/dist/adminapi/models/dashboard-config-update.js.map +1 -0
- package/dist/adminapi/models/dashboard-config.d.ts +31 -0
- package/dist/adminapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config.js +16 -0
- package/dist/adminapi/models/dashboard-config.js.map +1 -0
- package/dist/adminapi/models/disaster-recovery-task.d.ts +0 -6
- package/dist/adminapi/models/disaster-recovery-task.d.ts.map +1 -1
- package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
- package/dist/adminapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-planning-mode.js +26 -0
- package/dist/adminapi/models/dms-execution-plan-planning-mode.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-result.d.ts +19 -0
- package/dist/adminapi/models/dms-execution-plan-result.d.ts.map +1 -1
- package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.js +16 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.js +16 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.js +16 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.js +27 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.js +16 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts +24 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.js +28 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-storage.d.ts +85 -0
- package/dist/adminapi/models/elasticsearch-index-storage.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-storage.js +16 -0
- package/dist/adminapi/models/elasticsearch-index-storage.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.js +16 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.d.ts +73 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.js +16 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.d.ts +32 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-list.d.ts +32 -0
- package/dist/adminapi/models/elasticsearch-shard-list.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-list.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-list.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-node.d.ts +31 -0
- package/dist/adminapi/models/elasticsearch-shard-node.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-node.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-node.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts +88 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-state.d.ts +24 -0
- package/dist/adminapi/models/elasticsearch-shard-state.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-state.js +28 -0
- package/dist/adminapi/models/elasticsearch-shard-state.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard.d.ts +73 -0
- package/dist/adminapi/models/elasticsearch-shard.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-sort-order.d.ts +22 -0
- package/dist/adminapi/models/elasticsearch-sort-order.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-sort-order.js +26 -0
- package/dist/adminapi/models/elasticsearch-sort-order.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts +59 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.js +16 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.d.ts +52 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.js +16 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-task.d.ts +79 -0
- package/dist/adminapi/models/elasticsearch-task.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-task.js +16 -0
- package/dist/adminapi/models/elasticsearch-task.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.js +16 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.js.map +1 -0
- package/dist/adminapi/models/engine-mapping.d.ts +7 -0
- package/dist/adminapi/models/engine-mapping.d.ts.map +1 -1
- package/dist/adminapi/models/engine-option-license-file.d.ts +38 -0
- package/dist/adminapi/models/engine-option-license-file.d.ts.map +1 -0
- package/dist/adminapi/models/engine-option-license-file.js +16 -0
- package/dist/adminapi/models/engine-option-license-file.js.map +1 -0
- package/dist/adminapi/models/engine-option-license.d.ts +8 -1
- package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/adminapi/models/environment-update.d.ts +6 -0
- package/dist/adminapi/models/environment-update.d.ts.map +1 -1
- package/dist/adminapi/models/essecurity-role-mapping.d.ts +3 -3
- package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -1
- package/dist/adminapi/models/essecurity-role-template.d.ts +1 -1
- package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -1
- package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.d.ts +49 -0
- package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.d.ts.map +1 -0
- package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.js +16 -0
- package/dist/adminapi/models/get-clickhouse-role-grants200-response-inner.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +57 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +57 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-criticality.d.ts +2 -1
- package/dist/adminapi/models/inspection-criticality.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-criticality.js +3 -2
- package/dist/adminapi/models/inspection-criticality.js.map +1 -1
- package/dist/adminapi/models/inspection-evaluation-mode.d.ts +23 -0
- package/dist/adminapi/models/inspection-evaluation-mode.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-evaluation-mode.js +27 -0
- package/dist/adminapi/models/inspection-evaluation-mode.js.map +1 -0
- package/dist/adminapi/models/inspection-script.d.ts +9 -2
- package/dist/adminapi/models/inspection-script.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +11 -11
- package/dist/adminapi/models/inspection-task.d.ts +3 -3
- package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
- package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts +31 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts.map +1 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.js +16 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.js.map +1 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response.d.ts +32 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response.d.ts.map +1 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response.js +16 -0
- package/dist/adminapi/models/list-clickhouse-account-roles200-response.js.map +1 -0
- package/dist/adminapi/models/milvus-role-create-request.d.ts +32 -0
- package/dist/adminapi/models/milvus-role-create-request.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-create-request.js +16 -0
- package/dist/adminapi/models/milvus-role-create-request.js.map +1 -0
- package/dist/adminapi/models/milvus-role-request.d.ts +1 -1
- package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
- package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
- package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
- package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
- package/dist/adminapi/models/mode-service-ref.d.ts +26 -0
- package/dist/adminapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/adminapi/models/mssql-cached-plan.d.ts +37 -0
- package/dist/adminapi/models/mssql-cached-plan.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-cached-plan.js +16 -0
- package/dist/adminapi/models/mssql-cached-plan.js.map +1 -0
- package/dist/adminapi/models/mssql-lock-snapshot.d.ts +52 -0
- package/dist/adminapi/models/mssql-lock-snapshot.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-lock-snapshot.js +16 -0
- package/dist/adminapi/models/mssql-lock-snapshot.js.map +1 -0
- package/dist/adminapi/models/mssql-lock.d.ts +73 -0
- package/dist/adminapi/models/mssql-lock.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-lock.js +16 -0
- package/dist/adminapi/models/mssql-lock.js.map +1 -0
- package/dist/adminapi/models/mssql-request.d.ts +115 -0
- package/dist/adminapi/models/mssql-request.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-request.js +16 -0
- package/dist/adminapi/models/mssql-request.js.map +1 -0
- package/dist/adminapi/models/mssql-session-snapshot.d.ts +38 -0
- package/dist/adminapi/models/mssql-session-snapshot.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-session-snapshot.js +16 -0
- package/dist/adminapi/models/mssql-session-snapshot.js.map +1 -0
- package/dist/adminapi/models/mssql-session.d.ts +104 -0
- package/dist/adminapi/models/mssql-session.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-session.js +16 -0
- package/dist/adminapi/models/mssql-session.js.map +1 -0
- package/dist/adminapi/models/mssql-wait.d.ts +61 -0
- package/dist/adminapi/models/mssql-wait.d.ts.map +1 -0
- package/dist/adminapi/models/mssql-wait.js +16 -0
- package/dist/adminapi/models/mssql-wait.js.map +1 -0
- package/dist/adminapi/models/ops-expose.d.ts +2 -2
- package/dist/adminapi/models/ops-request-name.d.ts +0 -6
- package/dist/adminapi/models/ops-request-name.d.ts.map +1 -1
- package/dist/adminapi/models/oracle-tablespace-contents.d.ts +22 -0
- package/dist/adminapi/models/oracle-tablespace-contents.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-contents.js +26 -0
- package/dist/adminapi/models/oracle-tablespace-contents.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-create.d.ts +45 -0
- package/dist/adminapi/models/oracle-tablespace-create.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-create.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-create.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts +22 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.js +26 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand.d.ts +45 -0
- package/dist/adminapi/models/oracle-tablespace-expand.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-expand.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts +49 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file.d.ts +67 -0
- package/dist/adminapi/models/oracle-tablespace-file.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-file.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace.d.ts +86 -0
- package/dist/adminapi/models/oracle-tablespace.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace.js +16 -0
- package/dist/adminapi/models/oracle-tablespace.js.map +1 -0
- package/dist/adminapi/models/param-tpl-update.d.ts +6 -0
- package/dist/adminapi/models/param-tpl-update.d.ts.map +1 -1
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts +6 -0
- package/dist/adminapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
- package/dist/adminapi/models/provision-config.d.ts +13 -0
- package/dist/adminapi/models/provision-config.d.ts.map +1 -1
- package/dist/adminapi/models/rbmq-password-update-request.d.ts +25 -0
- package/dist/adminapi/models/rbmq-password-update-request.d.ts.map +1 -0
- package/dist/adminapi/models/rbmq-password-update-request.js +16 -0
- package/dist/adminapi/models/rbmq-password-update-request.js.map +1 -0
- package/dist/adminapi/models/redis-info-response.d.ts +6 -0
- package/dist/adminapi/models/redis-info-response.d.ts.map +1 -1
- package/dist/adminapi/models/redis-key-scan-progress.d.ts +49 -0
- package/dist/adminapi/models/redis-key-scan-progress.d.ts.map +1 -0
- package/dist/adminapi/models/redis-key-scan-progress.js +16 -0
- package/dist/adminapi/models/redis-key-scan-progress.js.map +1 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts +7 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -1
- package/dist/adminapi/models/redis-key-value-item.d.ts +3 -5
- package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -1
- package/dist/adminapi/models/replication-check-option.d.ts +25 -0
- package/dist/adminapi/models/replication-check-option.d.ts.map +1 -0
- package/dist/adminapi/models/replication-check-option.js +16 -0
- package/dist/adminapi/models/replication-check-option.js.map +1 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts +31 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts.map +1 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js +16 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js.map +1 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.d.ts +26 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.d.ts.map +1 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.js +16 -0
- package/dist/adminapi/models/revoke-clickhouse-role-privileges-request.js.map +1 -0
- package/dist/adminapi/models/scheduling-config.d.ts +6 -0
- package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
- package/dist/adminapi/models/service-ref.d.ts +8 -0
- package/dist/adminapi/models/service-ref.d.ts.map +1 -1
- package/dist/adminapi/models/update-clickhouse-account-password-request.d.ts +25 -0
- package/dist/adminapi/models/update-clickhouse-account-password-request.d.ts.map +1 -0
- package/dist/adminapi/models/update-clickhouse-account-password-request.js +16 -0
- package/dist/adminapi/models/update-clickhouse-account-password-request.js.map +1 -0
- package/dist/adminapi/models/update-clickhouse-account-roles-request.d.ts +25 -0
- package/dist/adminapi/models/update-clickhouse-account-roles-request.d.ts.map +1 -0
- package/dist/adminapi/models/update-clickhouse-account-roles-request.js +16 -0
- package/dist/adminapi/models/update-clickhouse-account-roles-request.js.map +1 -0
- package/dist/adminapi/models/vip-pool.d.ts +1 -1
- package/dist/internalapi/models/cluster-reference.d.ts +31 -0
- package/dist/internalapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-reference.js +16 -0
- package/dist/internalapi/models/cluster-reference.js.map +1 -0
- package/dist/internalapi/models/cluster-update.d.ts +6 -0
- package/dist/internalapi/models/cluster-update.d.ts.map +1 -1
- package/dist/internalapi/models/cluster.d.ts +3 -2
- package/dist/internalapi/models/cluster.d.ts.map +1 -1
- package/dist/internalapi/models/index.d.ts +1 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +1 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/service-ref.d.ts +8 -0
- package/dist/internalapi/models/service-ref.d.ts.map +1 -1
- package/dist/openapi/api.d.ts +3 -1
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +3 -1
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +158 -86
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +175 -95
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/clickhouse-api.d.ts +995 -0
- package/dist/openapi/apis/clickhouse-api.d.ts.map +1 -0
- package/dist/openapi/apis/clickhouse-api.js +1107 -0
- package/dist/openapi/apis/clickhouse-api.js.map +1 -0
- package/dist/openapi/apis/cluster-log-api.d.ts +5 -5
- package/dist/openapi/apis/cluster-log-api.js +4 -4
- package/dist/openapi/apis/dashboard-config-api.d.ts +104 -0
- package/dist/openapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/openapi/apis/{autohealing-api.js → dashboard-config-api.js} +42 -51
- package/dist/openapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/openapi/apis/diagnostics-api.d.ts +1192 -71
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +1216 -54
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +151 -79
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/openapi/apis/milvus-api.js +153 -73
- package/dist/openapi/apis/milvus-api.js.map +1 -1
- package/dist/openapi/apis/oracle-api.d.ts +422 -0
- package/dist/openapi/apis/oracle-api.d.ts.map +1 -0
- package/dist/openapi/apis/oracle-api.js +471 -0
- package/dist/openapi/apis/oracle-api.js.map +1 -0
- package/dist/openapi/apis/rabbit-mqapi.d.ts +7 -7
- package/dist/openapi/apis/rabbit-mqapi.d.ts.map +1 -1
- package/dist/openapi/apis/rabbit-mqapi.js +10 -10
- package/dist/openapi/apis/rabbit-mqapi.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +1141 -191
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1231 -186
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/aggregate-task-result-summary.d.ts +6 -0
- package/dist/openapi/models/aggregate-task-result-summary.d.ts.map +1 -1
- package/dist/openapi/models/aggregate-task-result-type.d.ts +1 -0
- package/dist/openapi/models/aggregate-task-result-type.d.ts.map +1 -1
- package/dist/openapi/models/aggregate-task-result-type.js +2 -1
- package/dist/openapi/models/aggregate-task-result-type.js.map +1 -1
- package/dist/openapi/models/ck-account-type.d.ts +23 -0
- package/dist/openapi/models/ck-account-type.d.ts.map +1 -0
- package/dist/openapi/models/ck-account-type.js +27 -0
- package/dist/openapi/models/ck-account-type.js.map +1 -0
- package/dist/openapi/models/ck-account.d.ts +50 -0
- package/dist/openapi/models/ck-account.d.ts.map +1 -0
- package/dist/openapi/models/{autohealing-list-inner.js → ck-account.js} +1 -1
- package/dist/openapi/models/ck-account.js.map +1 -0
- package/dist/openapi/models/cluster-metrics.d.ts +4 -2
- package/dist/openapi/models/cluster-metrics.d.ts.map +1 -1
- package/dist/openapi/models/cluster-reference.d.ts +31 -0
- package/dist/openapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/openapi/models/cluster-reference.js +16 -0
- package/dist/openapi/models/cluster-reference.js.map +1 -0
- package/dist/openapi/models/cluster-update.d.ts +6 -0
- package/dist/openapi/models/cluster-update.d.ts.map +1 -1
- package/dist/openapi/models/cluster.d.ts +3 -2
- package/dist/openapi/models/cluster.d.ts.map +1 -1
- package/dist/openapi/models/create-clickhouse-account-request.d.ts +37 -0
- package/dist/openapi/models/create-clickhouse-account-request.d.ts.map +1 -0
- package/dist/openapi/models/create-clickhouse-account-request.js +16 -0
- package/dist/openapi/models/create-clickhouse-account-request.js.map +1 -0
- package/dist/openapi/models/dashboard-config.d.ts +31 -0
- package/dist/openapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/openapi/models/dashboard-config.js +16 -0
- package/dist/openapi/models/dashboard-config.js.map +1 -0
- package/dist/openapi/models/data-check-detail-item.d.ts +2 -2
- package/dist/openapi/models/disaster-recovery-task.d.ts +0 -6
- package/dist/openapi/models/disaster-recovery-task.d.ts.map +1 -1
- package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts +22 -0
- package/dist/openapi/models/dms-execution-plan-planning-mode.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-planning-mode.js +26 -0
- package/dist/openapi/models/dms-execution-plan-planning-mode.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-result.d.ts +19 -0
- package/dist/openapi/models/dms-execution-plan-result.d.ts.map +1 -1
- package/dist/openapi/models/elasticsearch-allocation-decider.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.js +16 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.js.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.js +16 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.js.map +1 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.js +16 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.js.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.js +27 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.js.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads.js +16 -0
- package/dist/openapi/models/elasticsearch-hot-threads.js.map +1 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.d.ts +24 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.js +28 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.js.map +1 -0
- package/dist/openapi/models/elasticsearch-index-storage.d.ts +85 -0
- package/dist/openapi/models/elasticsearch-index-storage.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-index-storage.js +16 -0
- package/dist/openapi/models/elasticsearch-index-storage.js.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.js +16 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation.d.ts +73 -0
- package/dist/openapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation.js +16 -0
- package/dist/openapi/models/elasticsearch-node-allocation.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-list.d.ts +32 -0
- package/dist/openapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-list.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-list.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-size.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-size.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-size.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-list.d.ts +32 -0
- package/dist/openapi/models/elasticsearch-shard-list.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-list.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-list.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-node.d.ts +31 -0
- package/dist/openapi/models/elasticsearch-shard-node.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-node.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-node.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.d.ts +88 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-state.d.ts +24 -0
- package/dist/openapi/models/elasticsearch-shard-state.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-state.js +28 -0
- package/dist/openapi/models/elasticsearch-shard-state.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard.d.ts +73 -0
- package/dist/openapi/models/elasticsearch-shard.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard.js +16 -0
- package/dist/openapi/models/elasticsearch-shard.js.map +1 -0
- package/dist/openapi/models/elasticsearch-sort-order.d.ts +22 -0
- package/dist/openapi/models/elasticsearch-sort-order.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-sort-order.js +26 -0
- package/dist/openapi/models/elasticsearch-sort-order.js.map +1 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.d.ts +59 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.js +16 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.js.map +1 -0
- package/dist/openapi/models/elasticsearch-task-analysis.d.ts +52 -0
- package/dist/openapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-task-analysis.js +16 -0
- package/dist/openapi/models/elasticsearch-task-analysis.js.map +1 -0
- package/dist/openapi/models/{autohealing-list-inner.d.ts → elasticsearch-task.d.ts} +29 -47
- package/dist/openapi/models/elasticsearch-task.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-task.js +16 -0
- package/dist/openapi/models/elasticsearch-task.js.map +1 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.js +16 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.js.map +1 -0
- package/dist/openapi/models/engine-mapping.d.ts +7 -0
- package/dist/openapi/models/engine-mapping.d.ts.map +1 -1
- package/dist/openapi/models/engine-option-license-file.d.ts +38 -0
- package/dist/openapi/models/engine-option-license-file.d.ts.map +1 -0
- package/dist/openapi/models/engine-option-license-file.js +16 -0
- package/dist/openapi/models/engine-option-license-file.js.map +1 -0
- package/dist/openapi/models/engine-option-license.d.ts +8 -1
- package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/openapi/models/essecurity-role-mapping.d.ts +3 -3
- package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -1
- package/dist/openapi/models/essecurity-role-template.d.ts +1 -1
- package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -1
- package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.d.ts +49 -0
- package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.d.ts.map +1 -0
- package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.js +16 -0
- package/dist/openapi/models/get-clickhouse-role-grants200-response-inner.js.map +1 -0
- package/dist/openapi/models/index.d.ts +56 -1
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +56 -1
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-criticality.d.ts +2 -1
- package/dist/openapi/models/inspection-criticality.d.ts.map +1 -1
- package/dist/openapi/models/inspection-criticality.js +3 -2
- package/dist/openapi/models/inspection-criticality.js.map +1 -1
- package/dist/openapi/models/inspection-evaluation-mode.d.ts +23 -0
- package/dist/openapi/models/inspection-evaluation-mode.d.ts.map +1 -0
- package/dist/openapi/models/inspection-evaluation-mode.js +27 -0
- package/dist/openapi/models/inspection-evaluation-mode.js.map +1 -0
- package/dist/openapi/models/inspection-script.d.ts +9 -2
- package/dist/openapi/models/inspection-script.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +11 -11
- package/dist/openapi/models/inspection-task.d.ts +3 -3
- package/dist/openapi/models/inspection-task.d.ts.map +1 -1
- package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts +31 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.d.ts.map +1 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.js +16 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.js.map +1 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response.d.ts +32 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response.d.ts.map +1 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response.js +16 -0
- package/dist/openapi/models/list-clickhouse-account-roles200-response.js.map +1 -0
- package/dist/openapi/models/milvus-role-create-request.d.ts +32 -0
- package/dist/openapi/models/milvus-role-create-request.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-create-request.js +16 -0
- package/dist/openapi/models/milvus-role-create-request.js.map +1 -0
- package/dist/openapi/models/milvus-role-request.d.ts +1 -1
- package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
- package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
- package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
- package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
- package/dist/openapi/models/mode-service-ref.d.ts +26 -0
- package/dist/openapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/openapi/models/mssql-cached-plan.d.ts +37 -0
- package/dist/openapi/models/mssql-cached-plan.d.ts.map +1 -0
- package/dist/openapi/models/mssql-cached-plan.js +16 -0
- package/dist/openapi/models/mssql-cached-plan.js.map +1 -0
- package/dist/openapi/models/mssql-lock-snapshot.d.ts +52 -0
- package/dist/openapi/models/mssql-lock-snapshot.d.ts.map +1 -0
- package/dist/openapi/models/mssql-lock-snapshot.js +16 -0
- package/dist/openapi/models/mssql-lock-snapshot.js.map +1 -0
- package/dist/openapi/models/mssql-lock.d.ts +73 -0
- package/dist/openapi/models/mssql-lock.d.ts.map +1 -0
- package/dist/openapi/models/mssql-lock.js +16 -0
- package/dist/openapi/models/mssql-lock.js.map +1 -0
- package/dist/openapi/models/mssql-request.d.ts +115 -0
- package/dist/openapi/models/mssql-request.d.ts.map +1 -0
- package/dist/openapi/models/mssql-request.js +16 -0
- package/dist/openapi/models/mssql-request.js.map +1 -0
- package/dist/openapi/models/mssql-session-snapshot.d.ts +38 -0
- package/dist/openapi/models/mssql-session-snapshot.d.ts.map +1 -0
- package/dist/openapi/models/mssql-session-snapshot.js +16 -0
- package/dist/openapi/models/mssql-session-snapshot.js.map +1 -0
- package/dist/openapi/models/mssql-session.d.ts +104 -0
- package/dist/openapi/models/mssql-session.d.ts.map +1 -0
- package/dist/openapi/models/mssql-session.js +16 -0
- package/dist/openapi/models/mssql-session.js.map +1 -0
- package/dist/openapi/models/mssql-wait.d.ts +61 -0
- package/dist/openapi/models/mssql-wait.d.ts.map +1 -0
- package/dist/openapi/models/mssql-wait.js +16 -0
- package/dist/openapi/models/mssql-wait.js.map +1 -0
- package/dist/openapi/models/ops-expose.d.ts +2 -2
- package/dist/openapi/models/ops-request-name.d.ts +0 -6
- package/dist/openapi/models/ops-request-name.d.ts.map +1 -1
- package/dist/openapi/models/oracle-tablespace-contents.d.ts +22 -0
- package/dist/openapi/models/oracle-tablespace-contents.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-contents.js +26 -0
- package/dist/openapi/models/oracle-tablespace-contents.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-create.d.ts +45 -0
- package/dist/openapi/models/oracle-tablespace-create.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-create.js +16 -0
- package/dist/openapi/models/oracle-tablespace-create.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.d.ts +22 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.js +26 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand.d.ts +45 -0
- package/dist/openapi/models/oracle-tablespace-expand.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand.js +16 -0
- package/dist/openapi/models/oracle-tablespace-expand.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.d.ts +49 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.js +16 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file.d.ts +67 -0
- package/dist/openapi/models/oracle-tablespace-file.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file.js +16 -0
- package/dist/openapi/models/oracle-tablespace-file.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace.d.ts +86 -0
- package/dist/openapi/models/oracle-tablespace.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace.js +16 -0
- package/dist/openapi/models/oracle-tablespace.js.map +1 -0
- package/dist/openapi/models/param-tpl-update.d.ts +6 -0
- package/dist/openapi/models/param-tpl-update.d.ts.map +1 -1
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts +87 -0
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js +16 -0
- package/dist/openapi/models/postgresql-sqlfingerprint-explain-response.js.map +1 -0
- package/dist/openapi/models/postgresql-sqlfingerprint.d.ts +6 -0
- package/dist/openapi/models/postgresql-sqlfingerprint.d.ts.map +1 -1
- package/dist/openapi/models/rbmq-password-update-request.d.ts +25 -0
- package/dist/openapi/models/rbmq-password-update-request.d.ts.map +1 -0
- package/dist/openapi/models/rbmq-password-update-request.js +16 -0
- package/dist/openapi/models/rbmq-password-update-request.js.map +1 -0
- package/dist/openapi/models/redis-info-response.d.ts +6 -0
- package/dist/openapi/models/redis-info-response.d.ts.map +1 -1
- package/dist/openapi/models/redis-key-scan-progress.d.ts +49 -0
- package/dist/openapi/models/redis-key-scan-progress.d.ts.map +1 -0
- package/dist/openapi/models/redis-key-scan-progress.js +16 -0
- package/dist/openapi/models/redis-key-scan-progress.js.map +1 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts +7 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -1
- package/dist/openapi/models/redis-key-value-item.d.ts +3 -5
- package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -1
- package/dist/openapi/models/replication-check-option.d.ts +25 -0
- package/dist/openapi/models/replication-check-option.d.ts.map +1 -0
- package/dist/openapi/models/replication-check-option.js +16 -0
- package/dist/openapi/models/replication-check-option.js.map +1 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts +31 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.d.ts.map +1 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js +16 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.js.map +1 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request.d.ts +26 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request.d.ts.map +1 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request.js +16 -0
- package/dist/openapi/models/revoke-clickhouse-role-privileges-request.js.map +1 -0
- package/dist/openapi/models/service-ref.d.ts +8 -0
- package/dist/openapi/models/service-ref.d.ts.map +1 -1
- package/dist/openapi/models/update-clickhouse-account-password-request.d.ts +25 -0
- package/dist/openapi/models/update-clickhouse-account-password-request.d.ts.map +1 -0
- package/dist/openapi/models/update-clickhouse-account-password-request.js +16 -0
- package/dist/openapi/models/update-clickhouse-account-password-request.js.map +1 -0
- package/dist/openapi/models/update-clickhouse-account-roles-request.d.ts +25 -0
- package/dist/openapi/models/update-clickhouse-account-roles-request.d.ts.map +1 -0
- package/dist/openapi/models/update-clickhouse-account-roles-request.js +16 -0
- package/dist/openapi/models/update-clickhouse-account-roles-request.js.map +1 -0
- package/dist/openapi/models/vip-pool.d.ts +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +60 -2
- package/src/adminapi/api.ts +3 -1
- package/src/adminapi/apis/account-api.ts +280 -152
- package/src/adminapi/apis/alert-object-api.ts +18 -5
- package/src/adminapi/apis/clickhouse-api.ts +1735 -0
- package/src/adminapi/apis/cluster-log-api.ts +5 -5
- package/src/adminapi/apis/dashboard-config-api.ts +388 -0
- package/src/adminapi/apis/diagnostics-api.ts +2538 -571
- package/src/adminapi/apis/engine-license-api.ts +3 -3
- package/src/adminapi/apis/milvus-api.ts +242 -114
- package/src/adminapi/apis/oracle-api.ts +726 -0
- package/src/adminapi/apis/rabbit-mqapi.ts +14 -14
- package/src/adminapi/apis/shared-api.ts +2141 -467
- package/src/adminapi/models/aggregate-task-result-summary.ts +6 -0
- package/src/adminapi/models/aggregate-task-result-type.ts +2 -1
- package/src/adminapi/models/ck-account-type.ts +32 -0
- package/src/adminapi/models/ck-account.ts +59 -0
- package/src/adminapi/models/cluster-metrics.ts +2 -2
- package/src/adminapi/models/cluster-reference.ts +36 -0
- package/src/adminapi/models/cluster-update.ts +6 -0
- package/src/adminapi/models/cluster.ts +5 -2
- package/src/adminapi/models/create-clickhouse-account-request.ts +42 -0
- package/src/adminapi/models/dashboard-config-update.ts +30 -0
- package/src/adminapi/models/dashboard-config.ts +36 -0
- package/src/adminapi/models/disaster-recovery-task.ts +0 -6
- package/src/adminapi/models/dms-execution-plan-planning-mode.ts +31 -0
- package/src/adminapi/models/dms-execution-plan-result.ts +21 -0
- package/src/adminapi/models/elasticsearch-allocation-decider.ts +42 -0
- package/src/adminapi/models/elasticsearch-allocation-explanation.ts +126 -0
- package/src/adminapi/models/elasticsearch-disk-watermarks.ts +42 -0
- package/src/adminapi/models/elasticsearch-hot-threads-type.ts +32 -0
- package/src/adminapi/models/elasticsearch-hot-threads.ts +48 -0
- package/src/adminapi/models/elasticsearch-index-sort-by.ts +33 -0
- package/src/adminapi/models/elasticsearch-index-storage.ts +90 -0
- package/src/adminapi/models/elasticsearch-node-allocation-decision.ts +51 -0
- package/src/adminapi/models/elasticsearch-node-allocation.ts +78 -0
- package/src/adminapi/models/elasticsearch-recovery-list.ts +39 -0
- package/src/adminapi/models/elasticsearch-recovery-size.ts +48 -0
- package/src/adminapi/models/elasticsearch-recovery-translog.ts +42 -0
- package/src/adminapi/models/elasticsearch-shard-list.ts +39 -0
- package/src/adminapi/models/elasticsearch-shard-node.ts +36 -0
- package/src/adminapi/models/elasticsearch-shard-recovery.ts +99 -0
- package/src/adminapi/models/elasticsearch-shard-state.ts +33 -0
- package/src/adminapi/models/elasticsearch-shard.ts +78 -0
- package/src/adminapi/models/elasticsearch-sort-order.ts +31 -0
- package/src/adminapi/models/elasticsearch-storage-analysis.ts +72 -0
- package/src/adminapi/models/elasticsearch-task-analysis.ts +63 -0
- package/src/adminapi/models/elasticsearch-task.ts +84 -0
- package/src/adminapi/models/elasticsearch-unassigned-info.ts +48 -0
- package/src/adminapi/models/engine-mapping.ts +9 -0
- package/src/adminapi/models/engine-option-license-file.ts +45 -0
- package/src/adminapi/models/engine-option-license.ts +10 -1
- package/src/adminapi/models/environment-update.ts +6 -0
- package/src/adminapi/models/essecurity-role-mapping.ts +3 -3
- package/src/adminapi/models/essecurity-role-template.ts +1 -1
- package/src/adminapi/models/get-clickhouse-role-grants200-response-inner.ts +54 -0
- package/src/adminapi/models/index.ts +57 -1
- package/src/adminapi/models/inspection-criticality.ts +3 -2
- package/src/adminapi/models/inspection-evaluation-mode.ts +32 -0
- package/src/adminapi/models/inspection-script.ts +11 -2
- package/src/adminapi/models/inspection-task-item.ts +11 -11
- package/src/adminapi/models/inspection-task.ts +3 -3
- package/src/adminapi/models/list-clickhouse-account-roles200-response-privileges-inner.ts +36 -0
- package/src/adminapi/models/list-clickhouse-account-roles200-response.ts +39 -0
- package/src/adminapi/models/milvus-role-create-request.ts +39 -0
- package/src/adminapi/models/milvus-role-request.ts +1 -1
- package/src/adminapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
- package/src/adminapi/models/mode-service-ref-helm-value-path.ts +6 -0
- package/src/adminapi/models/mode-service-ref.ts +24 -0
- package/src/adminapi/models/mssql-cached-plan.ts +42 -0
- package/src/adminapi/models/mssql-lock-snapshot.ts +63 -0
- package/src/adminapi/models/mssql-lock.ts +78 -0
- package/src/adminapi/models/mssql-request.ts +120 -0
- package/src/adminapi/models/mssql-session-snapshot.ts +45 -0
- package/src/adminapi/models/mssql-session.ts +111 -0
- package/src/adminapi/models/mssql-wait.ts +66 -0
- package/src/adminapi/models/ops-expose.ts +2 -2
- package/src/adminapi/models/ops-request-name.ts +0 -6
- package/src/adminapi/models/oracle-tablespace-contents.ts +31 -0
- package/src/adminapi/models/oracle-tablespace-create.ts +56 -0
- package/src/adminapi/models/oracle-tablespace-expand-action.ts +31 -0
- package/src/adminapi/models/oracle-tablespace-expand.ts +56 -0
- package/src/adminapi/models/oracle-tablespace-file-spec.ts +54 -0
- package/src/adminapi/models/oracle-tablespace-file.ts +72 -0
- package/src/adminapi/models/oracle-tablespace.ts +93 -0
- package/src/adminapi/models/param-tpl-update.ts +6 -0
- package/src/adminapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
- package/src/adminapi/models/postgresql-sqlfingerprint.ts +6 -0
- package/src/adminapi/models/provision-config.ts +15 -0
- package/src/adminapi/models/rbmq-password-update-request.ts +30 -0
- package/src/adminapi/models/redis-info-response.ts +6 -0
- package/src/adminapi/models/redis-key-scan-progress.ts +54 -0
- package/src/adminapi/models/redis-key-summary-list.ts +9 -0
- package/src/adminapi/models/redis-key-value-item.ts +3 -3
- package/src/adminapi/models/replication-check-option.ts +30 -0
- package/src/adminapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.ts +36 -0
- package/src/adminapi/models/revoke-clickhouse-role-privileges-request.ts +33 -0
- package/src/adminapi/models/scheduling-config.ts +6 -0
- package/src/adminapi/models/service-ref.ts +6 -0
- package/src/adminapi/models/update-clickhouse-account-password-request.ts +30 -0
- package/src/adminapi/models/update-clickhouse-account-roles-request.ts +30 -0
- package/src/adminapi/models/vip-pool.ts +1 -1
- package/src/adminapi.yaml +13799 -10953
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/models/cluster-reference.ts +36 -0
- package/src/internalapi/models/cluster-update.ts +6 -0
- package/src/internalapi/models/cluster.ts +5 -2
- package/src/internalapi/models/index.ts +1 -0
- package/src/internalapi/models/service-ref.ts +6 -0
- package/src/internalapi.yaml +30 -1
- package/src/openapi/.openapi-generator/FILES +59 -2
- package/src/openapi/api.ts +3 -1
- package/src/openapi/apis/account-api.ts +280 -152
- package/src/openapi/apis/clickhouse-api.ts +1735 -0
- package/src/openapi/apis/cluster-log-api.ts +5 -5
- package/src/openapi/apis/dashboard-config-api.ts +172 -0
- package/src/openapi/apis/diagnostics-api.ts +2538 -571
- package/src/openapi/apis/milvus-api.ts +242 -114
- package/src/openapi/apis/oracle-api.ts +726 -0
- package/src/openapi/apis/rabbit-mqapi.ts +14 -14
- package/src/openapi/apis/shared-api.ts +2189 -515
- package/src/openapi/models/aggregate-task-result-summary.ts +6 -0
- package/src/openapi/models/aggregate-task-result-type.ts +2 -1
- package/src/openapi/models/ck-account-type.ts +32 -0
- package/src/openapi/models/ck-account.ts +59 -0
- package/src/openapi/models/cluster-metrics.ts +2 -2
- package/src/openapi/models/cluster-reference.ts +36 -0
- package/src/openapi/models/cluster-update.ts +6 -0
- package/src/openapi/models/cluster.ts +5 -2
- package/src/openapi/models/create-clickhouse-account-request.ts +42 -0
- package/src/openapi/models/dashboard-config.ts +36 -0
- package/src/openapi/models/data-check-detail-item.ts +2 -2
- package/src/openapi/models/disaster-recovery-task.ts +0 -6
- package/src/openapi/models/dms-execution-plan-planning-mode.ts +31 -0
- package/src/openapi/models/dms-execution-plan-result.ts +21 -0
- package/src/openapi/models/elasticsearch-allocation-decider.ts +42 -0
- package/src/openapi/models/elasticsearch-allocation-explanation.ts +126 -0
- package/src/openapi/models/elasticsearch-disk-watermarks.ts +42 -0
- package/src/openapi/models/elasticsearch-hot-threads-type.ts +32 -0
- package/src/openapi/models/elasticsearch-hot-threads.ts +48 -0
- package/src/openapi/models/elasticsearch-index-sort-by.ts +33 -0
- package/src/openapi/models/elasticsearch-index-storage.ts +90 -0
- package/src/openapi/models/elasticsearch-node-allocation-decision.ts +51 -0
- package/src/openapi/models/elasticsearch-node-allocation.ts +78 -0
- package/src/openapi/models/elasticsearch-recovery-list.ts +39 -0
- package/src/openapi/models/elasticsearch-recovery-size.ts +48 -0
- package/src/openapi/models/elasticsearch-recovery-translog.ts +42 -0
- package/src/openapi/models/elasticsearch-shard-list.ts +39 -0
- package/src/openapi/models/elasticsearch-shard-node.ts +36 -0
- package/src/openapi/models/elasticsearch-shard-recovery.ts +99 -0
- package/src/openapi/models/elasticsearch-shard-state.ts +33 -0
- package/src/openapi/models/elasticsearch-shard.ts +78 -0
- package/src/openapi/models/elasticsearch-sort-order.ts +31 -0
- package/src/openapi/models/elasticsearch-storage-analysis.ts +72 -0
- package/src/openapi/models/elasticsearch-task-analysis.ts +63 -0
- package/src/openapi/models/{autohealing-list-inner.ts → elasticsearch-task.ts} +28 -46
- package/src/openapi/models/elasticsearch-unassigned-info.ts +48 -0
- package/src/openapi/models/engine-mapping.ts +9 -0
- package/src/openapi/models/engine-option-license-file.ts +45 -0
- package/src/openapi/models/engine-option-license.ts +10 -1
- package/src/openapi/models/essecurity-role-mapping.ts +3 -3
- package/src/openapi/models/essecurity-role-template.ts +1 -1
- package/src/openapi/models/get-clickhouse-role-grants200-response-inner.ts +54 -0
- package/src/openapi/models/index.ts +56 -1
- package/src/openapi/models/inspection-criticality.ts +3 -2
- package/src/openapi/models/inspection-evaluation-mode.ts +32 -0
- package/src/openapi/models/inspection-script.ts +11 -2
- package/src/openapi/models/inspection-task-item.ts +11 -11
- package/src/openapi/models/inspection-task.ts +3 -3
- package/src/openapi/models/list-clickhouse-account-roles200-response-privileges-inner.ts +36 -0
- package/src/openapi/models/list-clickhouse-account-roles200-response.ts +39 -0
- package/src/openapi/models/milvus-role-create-request.ts +39 -0
- package/src/openapi/models/milvus-role-request.ts +1 -1
- package/src/openapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
- package/src/openapi/models/mode-service-ref-helm-value-path.ts +6 -0
- package/src/openapi/models/mode-service-ref.ts +24 -0
- package/src/openapi/models/mssql-cached-plan.ts +42 -0
- package/src/openapi/models/mssql-lock-snapshot.ts +63 -0
- package/src/openapi/models/mssql-lock.ts +78 -0
- package/src/openapi/models/mssql-request.ts +120 -0
- package/src/openapi/models/mssql-session-snapshot.ts +45 -0
- package/src/openapi/models/mssql-session.ts +111 -0
- package/src/openapi/models/mssql-wait.ts +66 -0
- package/src/openapi/models/ops-expose.ts +2 -2
- package/src/openapi/models/ops-request-name.ts +0 -6
- package/src/openapi/models/oracle-tablespace-contents.ts +31 -0
- package/src/openapi/models/oracle-tablespace-create.ts +56 -0
- package/src/openapi/models/oracle-tablespace-expand-action.ts +31 -0
- package/src/openapi/models/oracle-tablespace-expand.ts +56 -0
- package/src/openapi/models/oracle-tablespace-file-spec.ts +54 -0
- package/src/openapi/models/oracle-tablespace-file.ts +72 -0
- package/src/openapi/models/oracle-tablespace.ts +93 -0
- package/src/openapi/models/param-tpl-update.ts +6 -0
- package/src/openapi/models/postgresql-sqlfingerprint-explain-response.ts +98 -0
- package/src/openapi/models/postgresql-sqlfingerprint.ts +6 -0
- package/src/openapi/models/rbmq-password-update-request.ts +30 -0
- package/src/openapi/models/redis-info-response.ts +6 -0
- package/src/openapi/models/redis-key-scan-progress.ts +54 -0
- package/src/openapi/models/redis-key-summary-list.ts +9 -0
- package/src/openapi/models/redis-key-value-item.ts +3 -3
- package/src/openapi/models/replication-check-option.ts +30 -0
- package/src/openapi/models/revoke-clickhouse-role-privileges-request-privileges-inner.ts +36 -0
- package/src/openapi/models/revoke-clickhouse-role-privileges-request.ts +33 -0
- package/src/openapi/models/service-ref.ts +6 -0
- package/src/openapi/models/update-clickhouse-account-password-request.ts +30 -0
- package/src/openapi/models/update-clickhouse-account-roles-request.ts +30 -0
- package/src/openapi/models/vip-pool.ts +1 -1
- package/src/openapi.yaml +4620 -1855
- package/dist/adminapi/apis/autohealing-api.d.ts +0 -117
- package/dist/adminapi/apis/autohealing-api.d.ts.map +0 -1
- package/dist/adminapi/apis/autohealing-api.js +0 -142
- package/dist/adminapi/apis/autohealing-api.js.map +0 -1
- package/dist/adminapi/models/autohealing-list-inner.d.ts +0 -97
- package/dist/adminapi/models/autohealing-list-inner.d.ts.map +0 -1
- package/dist/adminapi/models/autohealing-list-inner.js.map +0 -1
- package/dist/openapi/apis/autohealing-api.d.ts +0 -117
- package/dist/openapi/apis/autohealing-api.d.ts.map +0 -1
- package/dist/openapi/apis/autohealing-api.js.map +0 -1
- package/dist/openapi/models/autohealing-list-inner.d.ts.map +0 -1
- package/dist/openapi/models/autohealing-list-inner.js.map +0 -1
- package/src/adminapi/apis/autohealing-api.ts +0 -187
- package/src/adminapi/models/autohealing-list-inner.ts +0 -102
- package/src/openapi/apis/autohealing-api.ts +0 -187
|
@@ -726,6 +726,92 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
726
726
|
options: localVarRequestOptions,
|
|
727
727
|
};
|
|
728
728
|
},
|
|
729
|
+
/**
|
|
730
|
+
*
|
|
731
|
+
* @summary Create a ClickHouse account with optional roles
|
|
732
|
+
* @param {string} orgName
|
|
733
|
+
* @param {string} clusterName
|
|
734
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
735
|
+
* @param {*} [options] Override http request option.
|
|
736
|
+
* @throws {RequiredError}
|
|
737
|
+
*/
|
|
738
|
+
createClickhouseAccount: async (orgName, clusterName, body, options = {}) => {
|
|
739
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
740
|
+
(0, common_1.assertParamExists)('createClickhouseAccount', 'orgName', orgName);
|
|
741
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
742
|
+
(0, common_1.assertParamExists)('createClickhouseAccount', 'clusterName', clusterName);
|
|
743
|
+
// verify required parameter 'body' is not null or undefined
|
|
744
|
+
(0, common_1.assertParamExists)('createClickhouseAccount', 'body', body);
|
|
745
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
746
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
747
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
748
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
749
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
750
|
+
let baseOptions;
|
|
751
|
+
if (configuration) {
|
|
752
|
+
baseOptions = configuration.baseOptions;
|
|
753
|
+
}
|
|
754
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
755
|
+
const localVarHeaderParameter = {};
|
|
756
|
+
const localVarQueryParameter = {};
|
|
757
|
+
// authentication BearerToken required
|
|
758
|
+
// http bearer authentication required
|
|
759
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
760
|
+
// authentication DigestAuth required
|
|
761
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
762
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
763
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
764
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
765
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
766
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
767
|
+
return {
|
|
768
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
769
|
+
options: localVarRequestOptions,
|
|
770
|
+
};
|
|
771
|
+
},
|
|
772
|
+
/**
|
|
773
|
+
*
|
|
774
|
+
* @summary Create a ClickHouse role with privileges
|
|
775
|
+
* @param {string} orgName
|
|
776
|
+
* @param {string} clusterName
|
|
777
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
*/
|
|
781
|
+
createClickhouseRole: async (orgName, clusterName, body, options = {}) => {
|
|
782
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
783
|
+
(0, common_1.assertParamExists)('createClickhouseRole', 'orgName', orgName);
|
|
784
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
785
|
+
(0, common_1.assertParamExists)('createClickhouseRole', 'clusterName', clusterName);
|
|
786
|
+
// verify required parameter 'body' is not null or undefined
|
|
787
|
+
(0, common_1.assertParamExists)('createClickhouseRole', 'body', body);
|
|
788
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
789
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
790
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
792
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
793
|
+
let baseOptions;
|
|
794
|
+
if (configuration) {
|
|
795
|
+
baseOptions = configuration.baseOptions;
|
|
796
|
+
}
|
|
797
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
798
|
+
const localVarHeaderParameter = {};
|
|
799
|
+
const localVarQueryParameter = {};
|
|
800
|
+
// authentication BearerToken required
|
|
801
|
+
// http bearer authentication required
|
|
802
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
803
|
+
// authentication DigestAuth required
|
|
804
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
805
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
806
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
807
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
808
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
809
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
810
|
+
return {
|
|
811
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
812
|
+
options: localVarRequestOptions,
|
|
813
|
+
};
|
|
814
|
+
},
|
|
729
815
|
/**
|
|
730
816
|
*
|
|
731
817
|
* @summary Create new cluster
|
|
@@ -1117,6 +1203,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1117
1203
|
options: localVarRequestOptions,
|
|
1118
1204
|
};
|
|
1119
1205
|
},
|
|
1206
|
+
/**
|
|
1207
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1208
|
+
* @summary Create Milvus role
|
|
1209
|
+
* @param {string} orgName name of the Org
|
|
1210
|
+
* @param {string} clusterName name of the Cluster
|
|
1211
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1212
|
+
* @param {*} [options] Override http request option.
|
|
1213
|
+
* @throws {RequiredError}
|
|
1214
|
+
*/
|
|
1215
|
+
createMilvusRole: async (orgName, clusterName, body, options = {}) => {
|
|
1216
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1217
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'orgName', orgName);
|
|
1218
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1219
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'clusterName', clusterName);
|
|
1220
|
+
// verify required parameter 'body' is not null or undefined
|
|
1221
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'body', body);
|
|
1222
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1223
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1224
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1226
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1227
|
+
let baseOptions;
|
|
1228
|
+
if (configuration) {
|
|
1229
|
+
baseOptions = configuration.baseOptions;
|
|
1230
|
+
}
|
|
1231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1232
|
+
const localVarHeaderParameter = {};
|
|
1233
|
+
const localVarQueryParameter = {};
|
|
1234
|
+
// authentication BearerToken required
|
|
1235
|
+
// http bearer authentication required
|
|
1236
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1237
|
+
// authentication DigestAuth required
|
|
1238
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1239
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1240
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1242
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1243
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1244
|
+
return {
|
|
1245
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1246
|
+
options: localVarRequestOptions,
|
|
1247
|
+
};
|
|
1248
|
+
},
|
|
1120
1249
|
/**
|
|
1121
1250
|
* create an account in mongodb
|
|
1122
1251
|
* @summary Create mongodb account
|
|
@@ -1863,6 +1992,90 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1863
1992
|
options: localVarRequestOptions,
|
|
1864
1993
|
};
|
|
1865
1994
|
},
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @summary Delete a ClickHouse account
|
|
1998
|
+
* @param {string} orgName
|
|
1999
|
+
* @param {string} clusterName
|
|
2000
|
+
* @param {string} accountName
|
|
2001
|
+
* @param {*} [options] Override http request option.
|
|
2002
|
+
* @throws {RequiredError}
|
|
2003
|
+
*/
|
|
2004
|
+
deleteClickhouseAccount: async (orgName, clusterName, accountName, options = {}) => {
|
|
2005
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2006
|
+
(0, common_1.assertParamExists)('deleteClickhouseAccount', 'orgName', orgName);
|
|
2007
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2008
|
+
(0, common_1.assertParamExists)('deleteClickhouseAccount', 'clusterName', clusterName);
|
|
2009
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2010
|
+
(0, common_1.assertParamExists)('deleteClickhouseAccount', 'accountName', accountName);
|
|
2011
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
2012
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2013
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2014
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2015
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2016
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2017
|
+
let baseOptions;
|
|
2018
|
+
if (configuration) {
|
|
2019
|
+
baseOptions = configuration.baseOptions;
|
|
2020
|
+
}
|
|
2021
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2022
|
+
const localVarHeaderParameter = {};
|
|
2023
|
+
const localVarQueryParameter = {};
|
|
2024
|
+
// authentication BearerToken required
|
|
2025
|
+
// http bearer authentication required
|
|
2026
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2027
|
+
// authentication DigestAuth required
|
|
2028
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2029
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2030
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2031
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2032
|
+
return {
|
|
2033
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2034
|
+
options: localVarRequestOptions,
|
|
2035
|
+
};
|
|
2036
|
+
},
|
|
2037
|
+
/**
|
|
2038
|
+
*
|
|
2039
|
+
* @summary Delete a ClickHouse role
|
|
2040
|
+
* @param {string} orgName
|
|
2041
|
+
* @param {string} clusterName
|
|
2042
|
+
* @param {string} roleName
|
|
2043
|
+
* @param {*} [options] Override http request option.
|
|
2044
|
+
* @throws {RequiredError}
|
|
2045
|
+
*/
|
|
2046
|
+
deleteClickhouseRole: async (orgName, clusterName, roleName, options = {}) => {
|
|
2047
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2048
|
+
(0, common_1.assertParamExists)('deleteClickhouseRole', 'orgName', orgName);
|
|
2049
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2050
|
+
(0, common_1.assertParamExists)('deleteClickhouseRole', 'clusterName', clusterName);
|
|
2051
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2052
|
+
(0, common_1.assertParamExists)('deleteClickhouseRole', 'roleName', roleName);
|
|
2053
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2054
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2055
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2056
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2057
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2058
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2059
|
+
let baseOptions;
|
|
2060
|
+
if (configuration) {
|
|
2061
|
+
baseOptions = configuration.baseOptions;
|
|
2062
|
+
}
|
|
2063
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2064
|
+
const localVarHeaderParameter = {};
|
|
2065
|
+
const localVarQueryParameter = {};
|
|
2066
|
+
// authentication BearerToken required
|
|
2067
|
+
// http bearer authentication required
|
|
2068
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2069
|
+
// authentication DigestAuth required
|
|
2070
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2071
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2072
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2073
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2074
|
+
return {
|
|
2075
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2076
|
+
options: localVarRequestOptions,
|
|
2077
|
+
};
|
|
2078
|
+
},
|
|
1866
2079
|
/**
|
|
1867
2080
|
*
|
|
1868
2081
|
* @summary Delete cluster
|
|
@@ -3267,7 +3480,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3267
3480
|
};
|
|
3268
3481
|
},
|
|
3269
3482
|
/**
|
|
3270
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
3483
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
3271
3484
|
* @summary Explain cluster slow log template
|
|
3272
3485
|
* @param {string} orgName
|
|
3273
3486
|
* @param {string} clusterName
|
|
@@ -3914,45 +4127,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3914
4127
|
options: localVarRequestOptions,
|
|
3915
4128
|
};
|
|
3916
4129
|
},
|
|
3917
|
-
/**
|
|
3918
|
-
*
|
|
3919
|
-
* @summary list autohealing job
|
|
3920
|
-
* @param {string} orgName name of the Org
|
|
3921
|
-
* @param {string} clusterName name of the Cluster
|
|
3922
|
-
* @param {*} [options] Override http request option.
|
|
3923
|
-
* @deprecated
|
|
3924
|
-
* @throws {RequiredError}
|
|
3925
|
-
*/
|
|
3926
|
-
getAutohealing: async (orgName, clusterName, options = {}) => {
|
|
3927
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
3928
|
-
(0, common_1.assertParamExists)('getAutohealing', 'orgName', orgName);
|
|
3929
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
3930
|
-
(0, common_1.assertParamExists)('getAutohealing', 'clusterName', clusterName);
|
|
3931
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
|
|
3932
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3933
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
3934
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3935
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3936
|
-
let baseOptions;
|
|
3937
|
-
if (configuration) {
|
|
3938
|
-
baseOptions = configuration.baseOptions;
|
|
3939
|
-
}
|
|
3940
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3941
|
-
const localVarHeaderParameter = {};
|
|
3942
|
-
const localVarQueryParameter = {};
|
|
3943
|
-
// authentication BearerToken required
|
|
3944
|
-
// http bearer authentication required
|
|
3945
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3946
|
-
// authentication DigestAuth required
|
|
3947
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3948
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3949
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3950
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3951
|
-
return {
|
|
3952
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3953
|
-
options: localVarRequestOptions,
|
|
3954
|
-
};
|
|
3955
|
-
},
|
|
3956
4130
|
/**
|
|
3957
4131
|
*
|
|
3958
4132
|
* @summary Get backup
|
|
@@ -4095,6 +4269,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4095
4269
|
options: localVarRequestOptions,
|
|
4096
4270
|
};
|
|
4097
4271
|
},
|
|
4272
|
+
/**
|
|
4273
|
+
*
|
|
4274
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
4275
|
+
* @param {string} orgName
|
|
4276
|
+
* @param {string} clusterName
|
|
4277
|
+
* @param {string} roleName
|
|
4278
|
+
* @param {*} [options] Override http request option.
|
|
4279
|
+
* @throws {RequiredError}
|
|
4280
|
+
*/
|
|
4281
|
+
getClickhouseRoleGrants: async (orgName, clusterName, roleName, options = {}) => {
|
|
4282
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4283
|
+
(0, common_1.assertParamExists)('getClickhouseRoleGrants', 'orgName', orgName);
|
|
4284
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4285
|
+
(0, common_1.assertParamExists)('getClickhouseRoleGrants', 'clusterName', clusterName);
|
|
4286
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
4287
|
+
(0, common_1.assertParamExists)('getClickhouseRoleGrants', 'roleName', roleName);
|
|
4288
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
4289
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4290
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4291
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
4292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4293
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4294
|
+
let baseOptions;
|
|
4295
|
+
if (configuration) {
|
|
4296
|
+
baseOptions = configuration.baseOptions;
|
|
4297
|
+
}
|
|
4298
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4299
|
+
const localVarHeaderParameter = {};
|
|
4300
|
+
const localVarQueryParameter = {};
|
|
4301
|
+
// authentication BearerToken required
|
|
4302
|
+
// http bearer authentication required
|
|
4303
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4304
|
+
// authentication DigestAuth required
|
|
4305
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4306
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4308
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4309
|
+
return {
|
|
4310
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4311
|
+
options: localVarRequestOptions,
|
|
4312
|
+
};
|
|
4313
|
+
},
|
|
4098
4314
|
/**
|
|
4099
4315
|
*
|
|
4100
4316
|
* @summary Get cluster details
|
|
@@ -6368,10 +6584,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6368
6584
|
},
|
|
6369
6585
|
/**
|
|
6370
6586
|
*
|
|
6371
|
-
* @summary
|
|
6372
|
-
* @param {string} orgName
|
|
6373
|
-
* @param {string} clusterName
|
|
6374
|
-
* @param {
|
|
6587
|
+
* @summary Grant privileges to a ClickHouse role
|
|
6588
|
+
* @param {string} orgName
|
|
6589
|
+
* @param {string} clusterName
|
|
6590
|
+
* @param {string} roleName
|
|
6591
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
6592
|
+
* @param {*} [options] Override http request option.
|
|
6593
|
+
* @throws {RequiredError}
|
|
6594
|
+
*/
|
|
6595
|
+
grantClickhouseRolePrivileges: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
6596
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6597
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'orgName', orgName);
|
|
6598
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6599
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'clusterName', clusterName);
|
|
6600
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
6601
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'roleName', roleName);
|
|
6602
|
+
// verify required parameter 'body' is not null or undefined
|
|
6603
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'body', body);
|
|
6604
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
6605
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6606
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6607
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
6608
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6609
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6610
|
+
let baseOptions;
|
|
6611
|
+
if (configuration) {
|
|
6612
|
+
baseOptions = configuration.baseOptions;
|
|
6613
|
+
}
|
|
6614
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6615
|
+
const localVarHeaderParameter = {};
|
|
6616
|
+
const localVarQueryParameter = {};
|
|
6617
|
+
// authentication BearerToken required
|
|
6618
|
+
// http bearer authentication required
|
|
6619
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6620
|
+
// authentication DigestAuth required
|
|
6621
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6622
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6623
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6624
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6625
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6626
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
6627
|
+
return {
|
|
6628
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6629
|
+
options: localVarRequestOptions,
|
|
6630
|
+
};
|
|
6631
|
+
},
|
|
6632
|
+
/**
|
|
6633
|
+
*
|
|
6634
|
+
* @summary Horizontal scale cluster
|
|
6635
|
+
* @param {string} orgName name of the Org
|
|
6636
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
6637
|
+
* @param {OpsHScale} body
|
|
6375
6638
|
* @param {*} [options] Override http request option.
|
|
6376
6639
|
* @throws {RequiredError}
|
|
6377
6640
|
*/
|
|
@@ -6674,6 +6937,166 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6674
6937
|
options: localVarRequestOptions,
|
|
6675
6938
|
};
|
|
6676
6939
|
},
|
|
6940
|
+
/**
|
|
6941
|
+
*
|
|
6942
|
+
* @summary List the roles granted to a ClickHouse account
|
|
6943
|
+
* @param {string} orgName
|
|
6944
|
+
* @param {string} clusterName
|
|
6945
|
+
* @param {string} accountName
|
|
6946
|
+
* @param {*} [options] Override http request option.
|
|
6947
|
+
* @throws {RequiredError}
|
|
6948
|
+
*/
|
|
6949
|
+
listClickhouseAccountRoles: async (orgName, clusterName, accountName, options = {}) => {
|
|
6950
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6951
|
+
(0, common_1.assertParamExists)('listClickhouseAccountRoles', 'orgName', orgName);
|
|
6952
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6953
|
+
(0, common_1.assertParamExists)('listClickhouseAccountRoles', 'clusterName', clusterName);
|
|
6954
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
6955
|
+
(0, common_1.assertParamExists)('listClickhouseAccountRoles', 'accountName', accountName);
|
|
6956
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
6957
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6958
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6959
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
6960
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6961
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6962
|
+
let baseOptions;
|
|
6963
|
+
if (configuration) {
|
|
6964
|
+
baseOptions = configuration.baseOptions;
|
|
6965
|
+
}
|
|
6966
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6967
|
+
const localVarHeaderParameter = {};
|
|
6968
|
+
const localVarQueryParameter = {};
|
|
6969
|
+
// authentication BearerToken required
|
|
6970
|
+
// http bearer authentication required
|
|
6971
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6972
|
+
// authentication DigestAuth required
|
|
6973
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6974
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6975
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6976
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6977
|
+
return {
|
|
6978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6979
|
+
options: localVarRequestOptions,
|
|
6980
|
+
};
|
|
6981
|
+
},
|
|
6982
|
+
/**
|
|
6983
|
+
*
|
|
6984
|
+
* @summary List ClickHouse accounts
|
|
6985
|
+
* @param {string} orgName
|
|
6986
|
+
* @param {string} clusterName
|
|
6987
|
+
* @param {*} [options] Override http request option.
|
|
6988
|
+
* @throws {RequiredError}
|
|
6989
|
+
*/
|
|
6990
|
+
listClickhouseAccounts: async (orgName, clusterName, options = {}) => {
|
|
6991
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6992
|
+
(0, common_1.assertParamExists)('listClickhouseAccounts', 'orgName', orgName);
|
|
6993
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6994
|
+
(0, common_1.assertParamExists)('listClickhouseAccounts', 'clusterName', clusterName);
|
|
6995
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
6996
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6997
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6998
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6999
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7000
|
+
let baseOptions;
|
|
7001
|
+
if (configuration) {
|
|
7002
|
+
baseOptions = configuration.baseOptions;
|
|
7003
|
+
}
|
|
7004
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7005
|
+
const localVarHeaderParameter = {};
|
|
7006
|
+
const localVarQueryParameter = {};
|
|
7007
|
+
// authentication BearerToken required
|
|
7008
|
+
// http bearer authentication required
|
|
7009
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7010
|
+
// authentication DigestAuth required
|
|
7011
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7012
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7013
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7014
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7015
|
+
return {
|
|
7016
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7017
|
+
options: localVarRequestOptions,
|
|
7018
|
+
};
|
|
7019
|
+
},
|
|
7020
|
+
/**
|
|
7021
|
+
*
|
|
7022
|
+
* @summary List privileges supported by the ClickHouse server
|
|
7023
|
+
* @param {string} orgName
|
|
7024
|
+
* @param {string} clusterName
|
|
7025
|
+
* @param {*} [options] Override http request option.
|
|
7026
|
+
* @throws {RequiredError}
|
|
7027
|
+
*/
|
|
7028
|
+
listClickhousePrivileges: async (orgName, clusterName, options = {}) => {
|
|
7029
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7030
|
+
(0, common_1.assertParamExists)('listClickhousePrivileges', 'orgName', orgName);
|
|
7031
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7032
|
+
(0, common_1.assertParamExists)('listClickhousePrivileges', 'clusterName', clusterName);
|
|
7033
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/privileges`
|
|
7034
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7035
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7036
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7037
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7038
|
+
let baseOptions;
|
|
7039
|
+
if (configuration) {
|
|
7040
|
+
baseOptions = configuration.baseOptions;
|
|
7041
|
+
}
|
|
7042
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7043
|
+
const localVarHeaderParameter = {};
|
|
7044
|
+
const localVarQueryParameter = {};
|
|
7045
|
+
// authentication BearerToken required
|
|
7046
|
+
// http bearer authentication required
|
|
7047
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7048
|
+
// authentication DigestAuth required
|
|
7049
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7050
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7051
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7052
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7053
|
+
return {
|
|
7054
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7055
|
+
options: localVarRequestOptions,
|
|
7056
|
+
};
|
|
7057
|
+
},
|
|
7058
|
+
/**
|
|
7059
|
+
*
|
|
7060
|
+
* @summary List ClickHouse roles
|
|
7061
|
+
* @param {string} orgName
|
|
7062
|
+
* @param {string} clusterName
|
|
7063
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
7064
|
+
* @param {*} [options] Override http request option.
|
|
7065
|
+
* @throws {RequiredError}
|
|
7066
|
+
*/
|
|
7067
|
+
listClickhouseRoles: async (orgName, clusterName, forCreateUser, options = {}) => {
|
|
7068
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7069
|
+
(0, common_1.assertParamExists)('listClickhouseRoles', 'orgName', orgName);
|
|
7070
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7071
|
+
(0, common_1.assertParamExists)('listClickhouseRoles', 'clusterName', clusterName);
|
|
7072
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
7073
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7074
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7076
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7077
|
+
let baseOptions;
|
|
7078
|
+
if (configuration) {
|
|
7079
|
+
baseOptions = configuration.baseOptions;
|
|
7080
|
+
}
|
|
7081
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7082
|
+
const localVarHeaderParameter = {};
|
|
7083
|
+
const localVarQueryParameter = {};
|
|
7084
|
+
// authentication BearerToken required
|
|
7085
|
+
// http bearer authentication required
|
|
7086
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7087
|
+
// authentication DigestAuth required
|
|
7088
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7089
|
+
if (forCreateUser !== undefined) {
|
|
7090
|
+
localVarQueryParameter['forCreateUser'] = forCreateUser;
|
|
7091
|
+
}
|
|
7092
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7093
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7094
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7095
|
+
return {
|
|
7096
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7097
|
+
options: localVarRequestOptions,
|
|
7098
|
+
};
|
|
7099
|
+
},
|
|
6677
7100
|
/**
|
|
6678
7101
|
*
|
|
6679
7102
|
* @summary List clusters in the Org
|
|
@@ -9478,53 +9901,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9478
9901
|
options: localVarRequestOptions,
|
|
9479
9902
|
};
|
|
9480
9903
|
},
|
|
9481
|
-
/**
|
|
9482
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
9483
|
-
* @summary Put Milvus role
|
|
9484
|
-
* @param {string} orgName name of the Org
|
|
9485
|
-
* @param {string} clusterName name of the Cluster
|
|
9486
|
-
* @param {string} roleName name of the Milvus role
|
|
9487
|
-
* @param {MilvusRoleRequest} body
|
|
9488
|
-
* @param {*} [options] Override http request option.
|
|
9489
|
-
* @throws {RequiredError}
|
|
9490
|
-
*/
|
|
9491
|
-
putMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
9492
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
9493
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'orgName', orgName);
|
|
9494
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
9495
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'clusterName', clusterName);
|
|
9496
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
9497
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'roleName', roleName);
|
|
9498
|
-
// verify required parameter 'body' is not null or undefined
|
|
9499
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'body', body);
|
|
9500
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
9501
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9502
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9503
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
9504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9505
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9506
|
-
let baseOptions;
|
|
9507
|
-
if (configuration) {
|
|
9508
|
-
baseOptions = configuration.baseOptions;
|
|
9509
|
-
}
|
|
9510
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
9511
|
-
const localVarHeaderParameter = {};
|
|
9512
|
-
const localVarQueryParameter = {};
|
|
9513
|
-
// authentication BearerToken required
|
|
9514
|
-
// http bearer authentication required
|
|
9515
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9516
|
-
// authentication DigestAuth required
|
|
9517
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9518
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9519
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9520
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9521
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9522
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
9523
|
-
return {
|
|
9524
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9525
|
-
options: localVarRequestOptions,
|
|
9526
|
-
};
|
|
9527
|
-
},
|
|
9528
9904
|
/**
|
|
9529
9905
|
*
|
|
9530
9906
|
* @summary create a SQL query
|
|
@@ -11215,6 +11591,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
11215
11591
|
options: localVarRequestOptions,
|
|
11216
11592
|
};
|
|
11217
11593
|
},
|
|
11594
|
+
/**
|
|
11595
|
+
*
|
|
11596
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
11597
|
+
* @param {string} orgName
|
|
11598
|
+
* @param {string} clusterName
|
|
11599
|
+
* @param {string} roleName
|
|
11600
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
11601
|
+
* @param {*} [options] Override http request option.
|
|
11602
|
+
* @throws {RequiredError}
|
|
11603
|
+
*/
|
|
11604
|
+
revokeClickhouseRolePrivileges: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
11605
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11606
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'orgName', orgName);
|
|
11607
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11608
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'clusterName', clusterName);
|
|
11609
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
11610
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'roleName', roleName);
|
|
11611
|
+
// verify required parameter 'body' is not null or undefined
|
|
11612
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'body', body);
|
|
11613
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
11614
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11615
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11616
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11618
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11619
|
+
let baseOptions;
|
|
11620
|
+
if (configuration) {
|
|
11621
|
+
baseOptions = configuration.baseOptions;
|
|
11622
|
+
}
|
|
11623
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
11624
|
+
const localVarHeaderParameter = {};
|
|
11625
|
+
const localVarQueryParameter = {};
|
|
11626
|
+
// authentication BearerToken required
|
|
11627
|
+
// http bearer authentication required
|
|
11628
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11629
|
+
// authentication DigestAuth required
|
|
11630
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11632
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11633
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11634
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11635
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
11636
|
+
return {
|
|
11637
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11638
|
+
options: localVarRequestOptions,
|
|
11639
|
+
};
|
|
11640
|
+
},
|
|
11218
11641
|
/**
|
|
11219
11642
|
*
|
|
11220
11643
|
* @summary Set alert config
|
|
@@ -12145,8 +12568,102 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12145
12568
|
},
|
|
12146
12569
|
/**
|
|
12147
12570
|
*
|
|
12148
|
-
* @summary Update
|
|
12149
|
-
* @param {string} orgName
|
|
12571
|
+
* @summary Update a ClickHouse account password
|
|
12572
|
+
* @param {string} orgName
|
|
12573
|
+
* @param {string} clusterName
|
|
12574
|
+
* @param {string} accountName
|
|
12575
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
12576
|
+
* @param {*} [options] Override http request option.
|
|
12577
|
+
* @throws {RequiredError}
|
|
12578
|
+
*/
|
|
12579
|
+
updateClickhouseAccountPassword: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
12580
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12581
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'orgName', orgName);
|
|
12582
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12583
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'clusterName', clusterName);
|
|
12584
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12585
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'accountName', accountName);
|
|
12586
|
+
// verify required parameter 'body' is not null or undefined
|
|
12587
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'body', body);
|
|
12588
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
12589
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12590
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12591
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12592
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12593
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12594
|
+
let baseOptions;
|
|
12595
|
+
if (configuration) {
|
|
12596
|
+
baseOptions = configuration.baseOptions;
|
|
12597
|
+
}
|
|
12598
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
12599
|
+
const localVarHeaderParameter = {};
|
|
12600
|
+
const localVarQueryParameter = {};
|
|
12601
|
+
// authentication BearerToken required
|
|
12602
|
+
// http bearer authentication required
|
|
12603
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12604
|
+
// authentication DigestAuth required
|
|
12605
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12606
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12607
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12608
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12609
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12610
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
12611
|
+
return {
|
|
12612
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12613
|
+
options: localVarRequestOptions,
|
|
12614
|
+
};
|
|
12615
|
+
},
|
|
12616
|
+
/**
|
|
12617
|
+
*
|
|
12618
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
12619
|
+
* @param {string} orgName
|
|
12620
|
+
* @param {string} clusterName
|
|
12621
|
+
* @param {string} accountName
|
|
12622
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
12623
|
+
* @param {*} [options] Override http request option.
|
|
12624
|
+
* @throws {RequiredError}
|
|
12625
|
+
*/
|
|
12626
|
+
updateClickhouseAccountRoles: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
12627
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12628
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'orgName', orgName);
|
|
12629
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12630
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'clusterName', clusterName);
|
|
12631
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12632
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'accountName', accountName);
|
|
12633
|
+
// verify required parameter 'body' is not null or undefined
|
|
12634
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'body', body);
|
|
12635
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
12636
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12637
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12638
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12639
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12640
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12641
|
+
let baseOptions;
|
|
12642
|
+
if (configuration) {
|
|
12643
|
+
baseOptions = configuration.baseOptions;
|
|
12644
|
+
}
|
|
12645
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
12646
|
+
const localVarHeaderParameter = {};
|
|
12647
|
+
const localVarQueryParameter = {};
|
|
12648
|
+
// authentication BearerToken required
|
|
12649
|
+
// http bearer authentication required
|
|
12650
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12651
|
+
// authentication DigestAuth required
|
|
12652
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12653
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12654
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12655
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12656
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12657
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
12658
|
+
return {
|
|
12659
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12660
|
+
options: localVarRequestOptions,
|
|
12661
|
+
};
|
|
12662
|
+
},
|
|
12663
|
+
/**
|
|
12664
|
+
*
|
|
12665
|
+
* @summary Update the cluster license
|
|
12666
|
+
* @param {string} orgName name of the Org
|
|
12150
12667
|
* @param {string} clusterName name of the KubeBlocks cluster
|
|
12151
12668
|
* @param {OpsLicense} body
|
|
12152
12669
|
* @param {*} [options] Override http request option.
|
|
@@ -12649,6 +13166,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12649
13166
|
options: localVarRequestOptions,
|
|
12650
13167
|
};
|
|
12651
13168
|
},
|
|
13169
|
+
/**
|
|
13170
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
13171
|
+
* @summary Update Milvus role
|
|
13172
|
+
* @param {string} orgName name of the Org
|
|
13173
|
+
* @param {string} clusterName name of the Cluster
|
|
13174
|
+
* @param {string} roleName name of the Milvus role
|
|
13175
|
+
* @param {MilvusRoleRequest} body
|
|
13176
|
+
* @param {*} [options] Override http request option.
|
|
13177
|
+
* @throws {RequiredError}
|
|
13178
|
+
*/
|
|
13179
|
+
updateMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
13180
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13181
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'orgName', orgName);
|
|
13182
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13183
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'clusterName', clusterName);
|
|
13184
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
13185
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'roleName', roleName);
|
|
13186
|
+
// verify required parameter 'body' is not null or undefined
|
|
13187
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'body', body);
|
|
13188
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
13189
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13190
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13191
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
13192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13193
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13194
|
+
let baseOptions;
|
|
13195
|
+
if (configuration) {
|
|
13196
|
+
baseOptions = configuration.baseOptions;
|
|
13197
|
+
}
|
|
13198
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
13199
|
+
const localVarHeaderParameter = {};
|
|
13200
|
+
const localVarQueryParameter = {};
|
|
13201
|
+
// authentication BearerToken required
|
|
13202
|
+
// http bearer authentication required
|
|
13203
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13204
|
+
// authentication DigestAuth required
|
|
13205
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13206
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13207
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13209
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13210
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
13211
|
+
return {
|
|
13212
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13213
|
+
options: localVarRequestOptions,
|
|
13214
|
+
};
|
|
13215
|
+
},
|
|
12652
13216
|
/**
|
|
12653
13217
|
*
|
|
12654
13218
|
* @summary update mssql account compatible with windows account
|
|
@@ -12696,19 +13260,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12696
13260
|
* @param {string} orgName name of the Org
|
|
12697
13261
|
* @param {string} clusterName name of the Cluster
|
|
12698
13262
|
* @param {string} accountName name of the Account
|
|
12699
|
-
* @param {
|
|
13263
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
12700
13264
|
* @param {*} [options] Override http request option.
|
|
12701
13265
|
* @throws {RequiredError}
|
|
12702
13266
|
*/
|
|
12703
|
-
updateRabbitAccountPassword: async (orgName, clusterName, accountName,
|
|
13267
|
+
updateRabbitAccountPassword: async (orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options = {}) => {
|
|
12704
13268
|
// verify required parameter 'orgName' is not null or undefined
|
|
12705
13269
|
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'orgName', orgName);
|
|
12706
13270
|
// verify required parameter 'clusterName' is not null or undefined
|
|
12707
13271
|
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'clusterName', clusterName);
|
|
12708
13272
|
// verify required parameter 'accountName' is not null or undefined
|
|
12709
13273
|
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'accountName', accountName);
|
|
12710
|
-
// verify required parameter '
|
|
12711
|
-
(0, common_1.assertParamExists)('updateRabbitAccountPassword', '
|
|
13274
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
13275
|
+
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest);
|
|
12712
13276
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
12713
13277
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12714
13278
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -12731,7 +13295,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12731
13295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12732
13296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12733
13297
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12734
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13298
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration);
|
|
12735
13299
|
return {
|
|
12736
13300
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12737
13301
|
options: localVarRequestOptions,
|
|
@@ -13522,6 +14086,38 @@ const SharedApiFp = function (configuration) {
|
|
|
13522
14086
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createBackupSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13523
14087
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13524
14088
|
},
|
|
14089
|
+
/**
|
|
14090
|
+
*
|
|
14091
|
+
* @summary Create a ClickHouse account with optional roles
|
|
14092
|
+
* @param {string} orgName
|
|
14093
|
+
* @param {string} clusterName
|
|
14094
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
14095
|
+
* @param {*} [options] Override http request option.
|
|
14096
|
+
* @throws {RequiredError}
|
|
14097
|
+
*/
|
|
14098
|
+
async createClickhouseAccount(orgName, clusterName, body, options) {
|
|
14099
|
+
var _a, _b, _c;
|
|
14100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseAccount(orgName, clusterName, body, options);
|
|
14101
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14102
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createClickhouseAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14103
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14104
|
+
},
|
|
14105
|
+
/**
|
|
14106
|
+
*
|
|
14107
|
+
* @summary Create a ClickHouse role with privileges
|
|
14108
|
+
* @param {string} orgName
|
|
14109
|
+
* @param {string} clusterName
|
|
14110
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
14111
|
+
* @param {*} [options] Override http request option.
|
|
14112
|
+
* @throws {RequiredError}
|
|
14113
|
+
*/
|
|
14114
|
+
async createClickhouseRole(orgName, clusterName, body, options) {
|
|
14115
|
+
var _a, _b, _c;
|
|
14116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseRole(orgName, clusterName, body, options);
|
|
14117
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14118
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createClickhouseRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14119
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14120
|
+
},
|
|
13525
14121
|
/**
|
|
13526
14122
|
*
|
|
13527
14123
|
* @summary Create new cluster
|
|
@@ -13667,6 +14263,22 @@ const SharedApiFp = function (configuration) {
|
|
|
13667
14263
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createKafkaTopic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13668
14264
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13669
14265
|
},
|
|
14266
|
+
/**
|
|
14267
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
14268
|
+
* @summary Create Milvus role
|
|
14269
|
+
* @param {string} orgName name of the Org
|
|
14270
|
+
* @param {string} clusterName name of the Cluster
|
|
14271
|
+
* @param {MilvusRoleCreateRequest} body
|
|
14272
|
+
* @param {*} [options] Override http request option.
|
|
14273
|
+
* @throws {RequiredError}
|
|
14274
|
+
*/
|
|
14275
|
+
async createMilvusRole(orgName, clusterName, body, options) {
|
|
14276
|
+
var _a, _b, _c;
|
|
14277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
14278
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14279
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14280
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14281
|
+
},
|
|
13670
14282
|
/**
|
|
13671
14283
|
* create an account in mongodb
|
|
13672
14284
|
* @summary Create mongodb account
|
|
@@ -13950,6 +14562,38 @@ const SharedApiFp = function (configuration) {
|
|
|
13950
14562
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteBackupSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13951
14563
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13952
14564
|
},
|
|
14565
|
+
/**
|
|
14566
|
+
*
|
|
14567
|
+
* @summary Delete a ClickHouse account
|
|
14568
|
+
* @param {string} orgName
|
|
14569
|
+
* @param {string} clusterName
|
|
14570
|
+
* @param {string} accountName
|
|
14571
|
+
* @param {*} [options] Override http request option.
|
|
14572
|
+
* @throws {RequiredError}
|
|
14573
|
+
*/
|
|
14574
|
+
async deleteClickhouseAccount(orgName, clusterName, accountName, options) {
|
|
14575
|
+
var _a, _b, _c;
|
|
14576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseAccount(orgName, clusterName, accountName, options);
|
|
14577
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14578
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClickhouseAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14579
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14580
|
+
},
|
|
14581
|
+
/**
|
|
14582
|
+
*
|
|
14583
|
+
* @summary Delete a ClickHouse role
|
|
14584
|
+
* @param {string} orgName
|
|
14585
|
+
* @param {string} clusterName
|
|
14586
|
+
* @param {string} roleName
|
|
14587
|
+
* @param {*} [options] Override http request option.
|
|
14588
|
+
* @throws {RequiredError}
|
|
14589
|
+
*/
|
|
14590
|
+
async deleteClickhouseRole(orgName, clusterName, roleName, options) {
|
|
14591
|
+
var _a, _b, _c;
|
|
14592
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseRole(orgName, clusterName, roleName, options);
|
|
14593
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14594
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClickhouseRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14595
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14596
|
+
},
|
|
13953
14597
|
/**
|
|
13954
14598
|
*
|
|
13955
14599
|
* @summary Delete cluster
|
|
@@ -14480,7 +15124,7 @@ const SharedApiFp = function (configuration) {
|
|
|
14480
15124
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14481
15125
|
},
|
|
14482
15126
|
/**
|
|
14483
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
15127
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
14484
15128
|
* @summary Explain cluster slow log template
|
|
14485
15129
|
* @param {string} orgName
|
|
14486
15130
|
* @param {string} clusterName
|
|
@@ -14698,22 +15342,6 @@ const SharedApiFp = function (configuration) {
|
|
|
14698
15342
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14699
15343
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14700
15344
|
},
|
|
14701
|
-
/**
|
|
14702
|
-
*
|
|
14703
|
-
* @summary list autohealing job
|
|
14704
|
-
* @param {string} orgName name of the Org
|
|
14705
|
-
* @param {string} clusterName name of the Cluster
|
|
14706
|
-
* @param {*} [options] Override http request option.
|
|
14707
|
-
* @deprecated
|
|
14708
|
-
* @throws {RequiredError}
|
|
14709
|
-
*/
|
|
14710
|
-
async getAutohealing(orgName, clusterName, options) {
|
|
14711
|
-
var _a, _b, _c;
|
|
14712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
|
|
14713
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14714
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAutohealing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14715
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14716
|
-
},
|
|
14717
15345
|
/**
|
|
14718
15346
|
*
|
|
14719
15347
|
* @summary Get backup
|
|
@@ -14766,6 +15394,22 @@ const SharedApiFp = function (configuration) {
|
|
|
14766
15394
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getBackupMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14767
15395
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14768
15396
|
},
|
|
15397
|
+
/**
|
|
15398
|
+
*
|
|
15399
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
15400
|
+
* @param {string} orgName
|
|
15401
|
+
* @param {string} clusterName
|
|
15402
|
+
* @param {string} roleName
|
|
15403
|
+
* @param {*} [options] Override http request option.
|
|
15404
|
+
* @throws {RequiredError}
|
|
15405
|
+
*/
|
|
15406
|
+
async getClickhouseRoleGrants(orgName, clusterName, roleName, options) {
|
|
15407
|
+
var _a, _b, _c;
|
|
15408
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClickhouseRoleGrants(orgName, clusterName, roleName, options);
|
|
15409
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15410
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClickhouseRoleGrants']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15411
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15412
|
+
},
|
|
14769
15413
|
/**
|
|
14770
15414
|
*
|
|
14771
15415
|
* @summary Get cluster details
|
|
@@ -15596,6 +16240,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15596
16240
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getTenant']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15597
16241
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15598
16242
|
},
|
|
16243
|
+
/**
|
|
16244
|
+
*
|
|
16245
|
+
* @summary Grant privileges to a ClickHouse role
|
|
16246
|
+
* @param {string} orgName
|
|
16247
|
+
* @param {string} clusterName
|
|
16248
|
+
* @param {string} roleName
|
|
16249
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
16250
|
+
* @param {*} [options] Override http request option.
|
|
16251
|
+
* @throws {RequiredError}
|
|
16252
|
+
*/
|
|
16253
|
+
async grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options) {
|
|
16254
|
+
var _a, _b, _c;
|
|
16255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
16256
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16257
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.grantClickhouseRolePrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16258
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16259
|
+
},
|
|
15599
16260
|
/**
|
|
15600
16261
|
*
|
|
15601
16262
|
* @summary Horizontal scale cluster
|
|
@@ -15710,6 +16371,68 @@ const SharedApiFp = function (configuration) {
|
|
|
15710
16371
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listBackupSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15711
16372
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15712
16373
|
},
|
|
16374
|
+
/**
|
|
16375
|
+
*
|
|
16376
|
+
* @summary List the roles granted to a ClickHouse account
|
|
16377
|
+
* @param {string} orgName
|
|
16378
|
+
* @param {string} clusterName
|
|
16379
|
+
* @param {string} accountName
|
|
16380
|
+
* @param {*} [options] Override http request option.
|
|
16381
|
+
* @throws {RequiredError}
|
|
16382
|
+
*/
|
|
16383
|
+
async listClickhouseAccountRoles(orgName, clusterName, accountName, options) {
|
|
16384
|
+
var _a, _b, _c;
|
|
16385
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccountRoles(orgName, clusterName, accountName, options);
|
|
16386
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16387
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhouseAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16388
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16389
|
+
},
|
|
16390
|
+
/**
|
|
16391
|
+
*
|
|
16392
|
+
* @summary List ClickHouse accounts
|
|
16393
|
+
* @param {string} orgName
|
|
16394
|
+
* @param {string} clusterName
|
|
16395
|
+
* @param {*} [options] Override http request option.
|
|
16396
|
+
* @throws {RequiredError}
|
|
16397
|
+
*/
|
|
16398
|
+
async listClickhouseAccounts(orgName, clusterName, options) {
|
|
16399
|
+
var _a, _b, _c;
|
|
16400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccounts(orgName, clusterName, options);
|
|
16401
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16402
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhouseAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16403
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16404
|
+
},
|
|
16405
|
+
/**
|
|
16406
|
+
*
|
|
16407
|
+
* @summary List privileges supported by the ClickHouse server
|
|
16408
|
+
* @param {string} orgName
|
|
16409
|
+
* @param {string} clusterName
|
|
16410
|
+
* @param {*} [options] Override http request option.
|
|
16411
|
+
* @throws {RequiredError}
|
|
16412
|
+
*/
|
|
16413
|
+
async listClickhousePrivileges(orgName, clusterName, options) {
|
|
16414
|
+
var _a, _b, _c;
|
|
16415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhousePrivileges(orgName, clusterName, options);
|
|
16416
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16417
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhousePrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16418
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16419
|
+
},
|
|
16420
|
+
/**
|
|
16421
|
+
*
|
|
16422
|
+
* @summary List ClickHouse roles
|
|
16423
|
+
* @param {string} orgName
|
|
16424
|
+
* @param {string} clusterName
|
|
16425
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
16426
|
+
* @param {*} [options] Override http request option.
|
|
16427
|
+
* @throws {RequiredError}
|
|
16428
|
+
*/
|
|
16429
|
+
async listClickhouseRoles(orgName, clusterName, forCreateUser, options) {
|
|
16430
|
+
var _a, _b, _c;
|
|
16431
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseRoles(orgName, clusterName, forCreateUser, options);
|
|
16432
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16433
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhouseRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16434
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16435
|
+
},
|
|
15713
16436
|
/**
|
|
15714
16437
|
*
|
|
15715
16438
|
* @summary List clusters in the Org
|
|
@@ -16768,23 +17491,6 @@ const SharedApiFp = function (configuration) {
|
|
|
16768
17491
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16769
17492
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16770
17493
|
},
|
|
16771
|
-
/**
|
|
16772
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
16773
|
-
* @summary Put Milvus role
|
|
16774
|
-
* @param {string} orgName name of the Org
|
|
16775
|
-
* @param {string} clusterName name of the Cluster
|
|
16776
|
-
* @param {string} roleName name of the Milvus role
|
|
16777
|
-
* @param {MilvusRoleRequest} body
|
|
16778
|
-
* @param {*} [options] Override http request option.
|
|
16779
|
-
* @throws {RequiredError}
|
|
16780
|
-
*/
|
|
16781
|
-
async putMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
16782
|
-
var _a, _b, _c;
|
|
16783
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
16784
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16785
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16786
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16787
|
-
},
|
|
16788
17494
|
/**
|
|
16789
17495
|
*
|
|
16790
17496
|
* @summary create a SQL query
|
|
@@ -17326,11 +18032,28 @@ const SharedApiFp = function (configuration) {
|
|
|
17326
18032
|
* @param {*} [options] Override http request option.
|
|
17327
18033
|
* @throws {RequiredError}
|
|
17328
18034
|
*/
|
|
17329
|
-
async restoreRecycleBinCluster(orgName, clusterName, options) {
|
|
18035
|
+
async restoreRecycleBinCluster(orgName, clusterName, options) {
|
|
18036
|
+
var _a, _b, _c;
|
|
18037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreRecycleBinCluster(orgName, clusterName, options);
|
|
18038
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18039
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.restoreRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18040
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18041
|
+
},
|
|
18042
|
+
/**
|
|
18043
|
+
*
|
|
18044
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
18045
|
+
* @param {string} orgName
|
|
18046
|
+
* @param {string} clusterName
|
|
18047
|
+
* @param {string} roleName
|
|
18048
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
18049
|
+
* @param {*} [options] Override http request option.
|
|
18050
|
+
* @throws {RequiredError}
|
|
18051
|
+
*/
|
|
18052
|
+
async revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options) {
|
|
17330
18053
|
var _a, _b, _c;
|
|
17331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
17332
18055
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17333
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.
|
|
18056
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.revokeClickhouseRolePrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17334
18057
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17335
18058
|
},
|
|
17336
18059
|
/**
|
|
@@ -17678,6 +18401,40 @@ const SharedApiFp = function (configuration) {
|
|
|
17678
18401
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateBackupSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17679
18402
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17680
18403
|
},
|
|
18404
|
+
/**
|
|
18405
|
+
*
|
|
18406
|
+
* @summary Update a ClickHouse account password
|
|
18407
|
+
* @param {string} orgName
|
|
18408
|
+
* @param {string} clusterName
|
|
18409
|
+
* @param {string} accountName
|
|
18410
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
18411
|
+
* @param {*} [options] Override http request option.
|
|
18412
|
+
* @throws {RequiredError}
|
|
18413
|
+
*/
|
|
18414
|
+
async updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options) {
|
|
18415
|
+
var _a, _b, _c;
|
|
18416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options);
|
|
18417
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18418
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateClickhouseAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18419
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18420
|
+
},
|
|
18421
|
+
/**
|
|
18422
|
+
*
|
|
18423
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
18424
|
+
* @param {string} orgName
|
|
18425
|
+
* @param {string} clusterName
|
|
18426
|
+
* @param {string} accountName
|
|
18427
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
18428
|
+
* @param {*} [options] Override http request option.
|
|
18429
|
+
* @throws {RequiredError}
|
|
18430
|
+
*/
|
|
18431
|
+
async updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options) {
|
|
18432
|
+
var _a, _b, _c;
|
|
18433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options);
|
|
18434
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18435
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateClickhouseAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18436
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18437
|
+
},
|
|
17681
18438
|
/**
|
|
17682
18439
|
*
|
|
17683
18440
|
* @summary Update the cluster license
|
|
@@ -17863,6 +18620,23 @@ const SharedApiFp = function (configuration) {
|
|
|
17863
18620
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17864
18621
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17865
18622
|
},
|
|
18623
|
+
/**
|
|
18624
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
18625
|
+
* @summary Update Milvus role
|
|
18626
|
+
* @param {string} orgName name of the Org
|
|
18627
|
+
* @param {string} clusterName name of the Cluster
|
|
18628
|
+
* @param {string} roleName name of the Milvus role
|
|
18629
|
+
* @param {MilvusRoleRequest} body
|
|
18630
|
+
* @param {*} [options] Override http request option.
|
|
18631
|
+
* @throws {RequiredError}
|
|
18632
|
+
*/
|
|
18633
|
+
async updateMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
18634
|
+
var _a, _b, _c;
|
|
18635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
18636
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18637
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18638
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18639
|
+
},
|
|
17866
18640
|
/**
|
|
17867
18641
|
*
|
|
17868
18642
|
* @summary update mssql account compatible with windows account
|
|
@@ -17885,13 +18659,13 @@ const SharedApiFp = function (configuration) {
|
|
|
17885
18659
|
* @param {string} orgName name of the Org
|
|
17886
18660
|
* @param {string} clusterName name of the Cluster
|
|
17887
18661
|
* @param {string} accountName name of the Account
|
|
17888
|
-
* @param {
|
|
18662
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
17889
18663
|
* @param {*} [options] Override http request option.
|
|
17890
18664
|
* @throws {RequiredError}
|
|
17891
18665
|
*/
|
|
17892
|
-
async updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
18666
|
+
async updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options) {
|
|
17893
18667
|
var _a, _b, _c;
|
|
17894
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
18668
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
17895
18669
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17896
18670
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRabbitAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17897
18671
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18233,6 +19007,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18233
19007
|
createBackupSchedule(requestParameters, options) {
|
|
18234
19008
|
return localVarFp.createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18235
19009
|
},
|
|
19010
|
+
/**
|
|
19011
|
+
*
|
|
19012
|
+
* @summary Create a ClickHouse account with optional roles
|
|
19013
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
19014
|
+
* @param {*} [options] Override http request option.
|
|
19015
|
+
* @throws {RequiredError}
|
|
19016
|
+
*/
|
|
19017
|
+
createClickhouseAccount(requestParameters, options) {
|
|
19018
|
+
return localVarFp.createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19019
|
+
},
|
|
19020
|
+
/**
|
|
19021
|
+
*
|
|
19022
|
+
* @summary Create a ClickHouse role with privileges
|
|
19023
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
19024
|
+
* @param {*} [options] Override http request option.
|
|
19025
|
+
* @throws {RequiredError}
|
|
19026
|
+
*/
|
|
19027
|
+
createClickhouseRole(requestParameters, options) {
|
|
19028
|
+
return localVarFp.createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19029
|
+
},
|
|
18236
19030
|
/**
|
|
18237
19031
|
*
|
|
18238
19032
|
* @summary Create new cluster
|
|
@@ -18323,6 +19117,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18323
19117
|
createKafkaTopic(requestParameters, options) {
|
|
18324
19118
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
18325
19119
|
},
|
|
19120
|
+
/**
|
|
19121
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
19122
|
+
* @summary Create Milvus role
|
|
19123
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
19124
|
+
* @param {*} [options] Override http request option.
|
|
19125
|
+
* @throws {RequiredError}
|
|
19126
|
+
*/
|
|
19127
|
+
createMilvusRole(requestParameters, options) {
|
|
19128
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19129
|
+
},
|
|
18326
19130
|
/**
|
|
18327
19131
|
* create an account in mongodb
|
|
18328
19132
|
* @summary Create mongodb account
|
|
@@ -18503,6 +19307,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18503
19307
|
deleteBackupSchedule(requestParameters, options) {
|
|
18504
19308
|
return localVarFp.deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(axios, basePath));
|
|
18505
19309
|
},
|
|
19310
|
+
/**
|
|
19311
|
+
*
|
|
19312
|
+
* @summary Delete a ClickHouse account
|
|
19313
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
19314
|
+
* @param {*} [options] Override http request option.
|
|
19315
|
+
* @throws {RequiredError}
|
|
19316
|
+
*/
|
|
19317
|
+
deleteClickhouseAccount(requestParameters, options) {
|
|
19318
|
+
return localVarFp.deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
19319
|
+
},
|
|
19320
|
+
/**
|
|
19321
|
+
*
|
|
19322
|
+
* @summary Delete a ClickHouse role
|
|
19323
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
19324
|
+
* @param {*} [options] Override http request option.
|
|
19325
|
+
* @throws {RequiredError}
|
|
19326
|
+
*/
|
|
19327
|
+
deleteClickhouseRole(requestParameters, options) {
|
|
19328
|
+
return localVarFp.deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19329
|
+
},
|
|
18506
19330
|
/**
|
|
18507
19331
|
*
|
|
18508
19332
|
* @summary Delete cluster
|
|
@@ -18834,7 +19658,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18834
19658
|
return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
|
|
18835
19659
|
},
|
|
18836
19660
|
/**
|
|
18837
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
19661
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
18838
19662
|
* @summary Explain cluster slow log template
|
|
18839
19663
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
18840
19664
|
* @param {*} [options] Override http request option.
|
|
@@ -18942,17 +19766,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18942
19766
|
getAlertRule(requestParameters, options) {
|
|
18943
19767
|
return localVarFp.getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(axios, basePath));
|
|
18944
19768
|
},
|
|
18945
|
-
/**
|
|
18946
|
-
*
|
|
18947
|
-
* @summary list autohealing job
|
|
18948
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
18949
|
-
* @param {*} [options] Override http request option.
|
|
18950
|
-
* @deprecated
|
|
18951
|
-
* @throws {RequiredError}
|
|
18952
|
-
*/
|
|
18953
|
-
getAutohealing(requestParameters, options) {
|
|
18954
|
-
return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18955
|
-
},
|
|
18956
19769
|
/**
|
|
18957
19770
|
*
|
|
18958
19771
|
* @summary Get backup
|
|
@@ -18983,6 +19796,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18983
19796
|
getBackupMethod(requestParameters, options) {
|
|
18984
19797
|
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
18985
19798
|
},
|
|
19799
|
+
/**
|
|
19800
|
+
*
|
|
19801
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
19802
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
19803
|
+
* @param {*} [options] Override http request option.
|
|
19804
|
+
* @throws {RequiredError}
|
|
19805
|
+
*/
|
|
19806
|
+
getClickhouseRoleGrants(requestParameters, options) {
|
|
19807
|
+
return localVarFp.getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19808
|
+
},
|
|
18986
19809
|
/**
|
|
18987
19810
|
*
|
|
18988
19811
|
* @summary Get cluster details
|
|
@@ -19472,6 +20295,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19472
20295
|
getTenant(requestParameters, options) {
|
|
19473
20296
|
return localVarFp.getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(axios, basePath));
|
|
19474
20297
|
},
|
|
20298
|
+
/**
|
|
20299
|
+
*
|
|
20300
|
+
* @summary Grant privileges to a ClickHouse role
|
|
20301
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
20302
|
+
* @param {*} [options] Override http request option.
|
|
20303
|
+
* @throws {RequiredError}
|
|
20304
|
+
*/
|
|
20305
|
+
grantClickhouseRolePrivileges(requestParameters, options) {
|
|
20306
|
+
return localVarFp.grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20307
|
+
},
|
|
19475
20308
|
/**
|
|
19476
20309
|
*
|
|
19477
20310
|
* @summary Horizontal scale cluster
|
|
@@ -19542,6 +20375,46 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19542
20375
|
listBackupSchedules(requestParameters, options) {
|
|
19543
20376
|
return localVarFp.listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(axios, basePath));
|
|
19544
20377
|
},
|
|
20378
|
+
/**
|
|
20379
|
+
*
|
|
20380
|
+
* @summary List the roles granted to a ClickHouse account
|
|
20381
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
20382
|
+
* @param {*} [options] Override http request option.
|
|
20383
|
+
* @throws {RequiredError}
|
|
20384
|
+
*/
|
|
20385
|
+
listClickhouseAccountRoles(requestParameters, options) {
|
|
20386
|
+
return localVarFp.listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20387
|
+
},
|
|
20388
|
+
/**
|
|
20389
|
+
*
|
|
20390
|
+
* @summary List ClickHouse accounts
|
|
20391
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
20392
|
+
* @param {*} [options] Override http request option.
|
|
20393
|
+
* @throws {RequiredError}
|
|
20394
|
+
*/
|
|
20395
|
+
listClickhouseAccounts(requestParameters, options) {
|
|
20396
|
+
return localVarFp.listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20397
|
+
},
|
|
20398
|
+
/**
|
|
20399
|
+
*
|
|
20400
|
+
* @summary List privileges supported by the ClickHouse server
|
|
20401
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
20402
|
+
* @param {*} [options] Override http request option.
|
|
20403
|
+
* @throws {RequiredError}
|
|
20404
|
+
*/
|
|
20405
|
+
listClickhousePrivileges(requestParameters, options) {
|
|
20406
|
+
return localVarFp.listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20407
|
+
},
|
|
20408
|
+
/**
|
|
20409
|
+
*
|
|
20410
|
+
* @summary List ClickHouse roles
|
|
20411
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
20412
|
+
* @param {*} [options] Override http request option.
|
|
20413
|
+
* @throws {RequiredError}
|
|
20414
|
+
*/
|
|
20415
|
+
listClickhouseRoles(requestParameters, options) {
|
|
20416
|
+
return localVarFp.listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(axios, basePath));
|
|
20417
|
+
},
|
|
19545
20418
|
/**
|
|
19546
20419
|
*
|
|
19547
20420
|
* @summary List clusters in the Org
|
|
@@ -20200,16 +21073,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20200
21073
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
20201
21074
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20202
21075
|
},
|
|
20203
|
-
/**
|
|
20204
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
20205
|
-
* @summary Put Milvus role
|
|
20206
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
20207
|
-
* @param {*} [options] Override http request option.
|
|
20208
|
-
* @throws {RequiredError}
|
|
20209
|
-
*/
|
|
20210
|
-
putMilvusRole(requestParameters, options) {
|
|
20211
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20212
|
-
},
|
|
20213
21076
|
/**
|
|
20214
21077
|
*
|
|
20215
21078
|
* @summary create a SQL query
|
|
@@ -20469,6 +21332,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20469
21332
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
20470
21333
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20471
21334
|
},
|
|
21335
|
+
/**
|
|
21336
|
+
*
|
|
21337
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
21338
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
21339
|
+
* @param {*} [options] Override http request option.
|
|
21340
|
+
* @throws {RequiredError}
|
|
21341
|
+
*/
|
|
21342
|
+
revokeClickhouseRolePrivileges(requestParameters, options) {
|
|
21343
|
+
return localVarFp.revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21344
|
+
},
|
|
20472
21345
|
/**
|
|
20473
21346
|
*
|
|
20474
21347
|
* @summary Set alert config
|
|
@@ -20679,6 +21552,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20679
21552
|
updateBackupSchedule(requestParameters, options) {
|
|
20680
21553
|
return localVarFp.updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20681
21554
|
},
|
|
21555
|
+
/**
|
|
21556
|
+
*
|
|
21557
|
+
* @summary Update a ClickHouse account password
|
|
21558
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
21559
|
+
* @param {*} [options] Override http request option.
|
|
21560
|
+
* @throws {RequiredError}
|
|
21561
|
+
*/
|
|
21562
|
+
updateClickhouseAccountPassword(requestParameters, options) {
|
|
21563
|
+
return localVarFp.updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21564
|
+
},
|
|
21565
|
+
/**
|
|
21566
|
+
*
|
|
21567
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
21568
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
21569
|
+
* @param {*} [options] Override http request option.
|
|
21570
|
+
* @throws {RequiredError}
|
|
21571
|
+
*/
|
|
21572
|
+
updateClickhouseAccountRoles(requestParameters, options) {
|
|
21573
|
+
return localVarFp.updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21574
|
+
},
|
|
20682
21575
|
/**
|
|
20683
21576
|
*
|
|
20684
21577
|
* @summary Update the cluster license
|
|
@@ -20789,6 +21682,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20789
21682
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
20790
21683
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20791
21684
|
},
|
|
21685
|
+
/**
|
|
21686
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21687
|
+
* @summary Update Milvus role
|
|
21688
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
21689
|
+
* @param {*} [options] Override http request option.
|
|
21690
|
+
* @throws {RequiredError}
|
|
21691
|
+
*/
|
|
21692
|
+
updateMilvusRole(requestParameters, options) {
|
|
21693
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21694
|
+
},
|
|
20792
21695
|
/**
|
|
20793
21696
|
*
|
|
20794
21697
|
* @summary update mssql account compatible with windows account
|
|
@@ -20807,7 +21710,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20807
21710
|
* @throws {RequiredError}
|
|
20808
21711
|
*/
|
|
20809
21712
|
updateRabbitAccountPassword(requestParameters, options) {
|
|
20810
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
21713
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
20811
21714
|
},
|
|
20812
21715
|
/**
|
|
20813
21716
|
* Update a RabbitMQ account privileges
|
|
@@ -21082,6 +21985,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21082
21985
|
createBackupSchedule(requestParameters, options) {
|
|
21083
21986
|
return (0, exports.SharedApiFp)(this.configuration).createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
21084
21987
|
}
|
|
21988
|
+
/**
|
|
21989
|
+
*
|
|
21990
|
+
* @summary Create a ClickHouse account with optional roles
|
|
21991
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
21992
|
+
* @param {*} [options] Override http request option.
|
|
21993
|
+
* @throws {RequiredError}
|
|
21994
|
+
* @memberof SharedApi
|
|
21995
|
+
*/
|
|
21996
|
+
createClickhouseAccount(requestParameters, options) {
|
|
21997
|
+
return (0, exports.SharedApiFp)(this.configuration).createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
21998
|
+
}
|
|
21999
|
+
/**
|
|
22000
|
+
*
|
|
22001
|
+
* @summary Create a ClickHouse role with privileges
|
|
22002
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
22003
|
+
* @param {*} [options] Override http request option.
|
|
22004
|
+
* @throws {RequiredError}
|
|
22005
|
+
* @memberof SharedApi
|
|
22006
|
+
*/
|
|
22007
|
+
createClickhouseRole(requestParameters, options) {
|
|
22008
|
+
return (0, exports.SharedApiFp)(this.configuration).createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22009
|
+
}
|
|
21085
22010
|
/**
|
|
21086
22011
|
*
|
|
21087
22012
|
* @summary Create new cluster
|
|
@@ -21181,6 +22106,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21181
22106
|
createKafkaTopic(requestParameters, options) {
|
|
21182
22107
|
return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21183
22108
|
}
|
|
22109
|
+
/**
|
|
22110
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
22111
|
+
* @summary Create Milvus role
|
|
22112
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
22113
|
+
* @param {*} [options] Override http request option.
|
|
22114
|
+
* @throws {RequiredError}
|
|
22115
|
+
* @memberof SharedApi
|
|
22116
|
+
*/
|
|
22117
|
+
createMilvusRole(requestParameters, options) {
|
|
22118
|
+
return (0, exports.SharedApiFp)(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22119
|
+
}
|
|
21184
22120
|
/**
|
|
21185
22121
|
* create an account in mongodb
|
|
21186
22122
|
* @summary Create mongodb account
|
|
@@ -21379,6 +22315,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21379
22315
|
deleteBackupSchedule(requestParameters, options) {
|
|
21380
22316
|
return (0, exports.SharedApiFp)(this.configuration).deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(this.axios, this.basePath));
|
|
21381
22317
|
}
|
|
22318
|
+
/**
|
|
22319
|
+
*
|
|
22320
|
+
* @summary Delete a ClickHouse account
|
|
22321
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
22322
|
+
* @param {*} [options] Override http request option.
|
|
22323
|
+
* @throws {RequiredError}
|
|
22324
|
+
* @memberof SharedApi
|
|
22325
|
+
*/
|
|
22326
|
+
deleteClickhouseAccount(requestParameters, options) {
|
|
22327
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
22328
|
+
}
|
|
22329
|
+
/**
|
|
22330
|
+
*
|
|
22331
|
+
* @summary Delete a ClickHouse role
|
|
22332
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
22333
|
+
* @param {*} [options] Override http request option.
|
|
22334
|
+
* @throws {RequiredError}
|
|
22335
|
+
* @memberof SharedApi
|
|
22336
|
+
*/
|
|
22337
|
+
deleteClickhouseRole(requestParameters, options) {
|
|
22338
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
22339
|
+
}
|
|
21382
22340
|
/**
|
|
21383
22341
|
*
|
|
21384
22342
|
* @summary Delete cluster
|
|
@@ -21743,7 +22701,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21743
22701
|
return (0, exports.SharedApiFp)(this.configuration).explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21744
22702
|
}
|
|
21745
22703
|
/**
|
|
21746
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
22704
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
21747
22705
|
* @summary Explain cluster slow log template
|
|
21748
22706
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
21749
22707
|
* @param {*} [options] Override http request option.
|
|
@@ -21862,18 +22820,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21862
22820
|
getAlertRule(requestParameters, options) {
|
|
21863
22821
|
return (0, exports.SharedApiFp)(this.configuration).getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(this.axios, this.basePath));
|
|
21864
22822
|
}
|
|
21865
|
-
/**
|
|
21866
|
-
*
|
|
21867
|
-
* @summary list autohealing job
|
|
21868
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
21869
|
-
* @param {*} [options] Override http request option.
|
|
21870
|
-
* @deprecated
|
|
21871
|
-
* @throws {RequiredError}
|
|
21872
|
-
* @memberof SharedApi
|
|
21873
|
-
*/
|
|
21874
|
-
getAutohealing(requestParameters, options) {
|
|
21875
|
-
return (0, exports.SharedApiFp)(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
21876
|
-
}
|
|
21877
22823
|
/**
|
|
21878
22824
|
*
|
|
21879
22825
|
* @summary Get backup
|
|
@@ -21907,6 +22853,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21907
22853
|
getBackupMethod(requestParameters, options) {
|
|
21908
22854
|
return (0, exports.SharedApiFp)(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
21909
22855
|
}
|
|
22856
|
+
/**
|
|
22857
|
+
*
|
|
22858
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
22859
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
22860
|
+
* @param {*} [options] Override http request option.
|
|
22861
|
+
* @throws {RequiredError}
|
|
22862
|
+
* @memberof SharedApi
|
|
22863
|
+
*/
|
|
22864
|
+
getClickhouseRoleGrants(requestParameters, options) {
|
|
22865
|
+
return (0, exports.SharedApiFp)(this.configuration).getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
22866
|
+
}
|
|
21910
22867
|
/**
|
|
21911
22868
|
*
|
|
21912
22869
|
* @summary Get cluster details
|
|
@@ -22445,6 +23402,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22445
23402
|
getTenant(requestParameters, options) {
|
|
22446
23403
|
return (0, exports.SharedApiFp)(this.configuration).getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(this.axios, this.basePath));
|
|
22447
23404
|
}
|
|
23405
|
+
/**
|
|
23406
|
+
*
|
|
23407
|
+
* @summary Grant privileges to a ClickHouse role
|
|
23408
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
23409
|
+
* @param {*} [options] Override http request option.
|
|
23410
|
+
* @throws {RequiredError}
|
|
23411
|
+
* @memberof SharedApi
|
|
23412
|
+
*/
|
|
23413
|
+
grantClickhouseRolePrivileges(requestParameters, options) {
|
|
23414
|
+
return (0, exports.SharedApiFp)(this.configuration).grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23415
|
+
}
|
|
22448
23416
|
/**
|
|
22449
23417
|
*
|
|
22450
23418
|
* @summary Horizontal scale cluster
|
|
@@ -22522,6 +23490,50 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22522
23490
|
listBackupSchedules(requestParameters, options) {
|
|
22523
23491
|
return (0, exports.SharedApiFp)(this.configuration).listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(this.axios, this.basePath));
|
|
22524
23492
|
}
|
|
23493
|
+
/**
|
|
23494
|
+
*
|
|
23495
|
+
* @summary List the roles granted to a ClickHouse account
|
|
23496
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
23497
|
+
* @param {*} [options] Override http request option.
|
|
23498
|
+
* @throws {RequiredError}
|
|
23499
|
+
* @memberof SharedApi
|
|
23500
|
+
*/
|
|
23501
|
+
listClickhouseAccountRoles(requestParameters, options) {
|
|
23502
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
23503
|
+
}
|
|
23504
|
+
/**
|
|
23505
|
+
*
|
|
23506
|
+
* @summary List ClickHouse accounts
|
|
23507
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
23508
|
+
* @param {*} [options] Override http request option.
|
|
23509
|
+
* @throws {RequiredError}
|
|
23510
|
+
* @memberof SharedApi
|
|
23511
|
+
*/
|
|
23512
|
+
listClickhouseAccounts(requestParameters, options) {
|
|
23513
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23514
|
+
}
|
|
23515
|
+
/**
|
|
23516
|
+
*
|
|
23517
|
+
* @summary List privileges supported by the ClickHouse server
|
|
23518
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
23519
|
+
* @param {*} [options] Override http request option.
|
|
23520
|
+
* @throws {RequiredError}
|
|
23521
|
+
* @memberof SharedApi
|
|
23522
|
+
*/
|
|
23523
|
+
listClickhousePrivileges(requestParameters, options) {
|
|
23524
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23525
|
+
}
|
|
23526
|
+
/**
|
|
23527
|
+
*
|
|
23528
|
+
* @summary List ClickHouse roles
|
|
23529
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
23530
|
+
* @param {*} [options] Override http request option.
|
|
23531
|
+
* @throws {RequiredError}
|
|
23532
|
+
* @memberof SharedApi
|
|
23533
|
+
*/
|
|
23534
|
+
listClickhouseRoles(requestParameters, options) {
|
|
23535
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(this.axios, this.basePath));
|
|
23536
|
+
}
|
|
22525
23537
|
/**
|
|
22526
23538
|
*
|
|
22527
23539
|
* @summary List clusters in the Org
|
|
@@ -23246,17 +24258,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23246
24258
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
23247
24259
|
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23248
24260
|
}
|
|
23249
|
-
/**
|
|
23250
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
23251
|
-
* @summary Put Milvus role
|
|
23252
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
23253
|
-
* @param {*} [options] Override http request option.
|
|
23254
|
-
* @throws {RequiredError}
|
|
23255
|
-
* @memberof SharedApi
|
|
23256
|
-
*/
|
|
23257
|
-
putMilvusRole(requestParameters, options) {
|
|
23258
|
-
return (0, exports.SharedApiFp)(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23259
|
-
}
|
|
23260
24261
|
/**
|
|
23261
24262
|
*
|
|
23262
24263
|
* @summary create a SQL query
|
|
@@ -23542,6 +24543,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23542
24543
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
23543
24544
|
return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23544
24545
|
}
|
|
24546
|
+
/**
|
|
24547
|
+
*
|
|
24548
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
24549
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
24550
|
+
* @param {*} [options] Override http request option.
|
|
24551
|
+
* @throws {RequiredError}
|
|
24552
|
+
* @memberof SharedApi
|
|
24553
|
+
*/
|
|
24554
|
+
revokeClickhouseRolePrivileges(requestParameters, options) {
|
|
24555
|
+
return (0, exports.SharedApiFp)(this.configuration).revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24556
|
+
}
|
|
23545
24557
|
/**
|
|
23546
24558
|
*
|
|
23547
24559
|
* @summary Set alert config
|
|
@@ -23773,6 +24785,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23773
24785
|
updateBackupSchedule(requestParameters, options) {
|
|
23774
24786
|
return (0, exports.SharedApiFp)(this.configuration).updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23775
24787
|
}
|
|
24788
|
+
/**
|
|
24789
|
+
*
|
|
24790
|
+
* @summary Update a ClickHouse account password
|
|
24791
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
24792
|
+
* @param {*} [options] Override http request option.
|
|
24793
|
+
* @throws {RequiredError}
|
|
24794
|
+
* @memberof SharedApi
|
|
24795
|
+
*/
|
|
24796
|
+
updateClickhouseAccountPassword(requestParameters, options) {
|
|
24797
|
+
return (0, exports.SharedApiFp)(this.configuration).updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24798
|
+
}
|
|
24799
|
+
/**
|
|
24800
|
+
*
|
|
24801
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
24802
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
24803
|
+
* @param {*} [options] Override http request option.
|
|
24804
|
+
* @throws {RequiredError}
|
|
24805
|
+
* @memberof SharedApi
|
|
24806
|
+
*/
|
|
24807
|
+
updateClickhouseAccountRoles(requestParameters, options) {
|
|
24808
|
+
return (0, exports.SharedApiFp)(this.configuration).updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24809
|
+
}
|
|
23776
24810
|
/**
|
|
23777
24811
|
*
|
|
23778
24812
|
* @summary Update the cluster license
|
|
@@ -23894,6 +24928,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23894
24928
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
23895
24929
|
return (0, exports.SharedApiFp)(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23896
24930
|
}
|
|
24931
|
+
/**
|
|
24932
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24933
|
+
* @summary Update Milvus role
|
|
24934
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24935
|
+
* @param {*} [options] Override http request option.
|
|
24936
|
+
* @throws {RequiredError}
|
|
24937
|
+
* @memberof SharedApi
|
|
24938
|
+
*/
|
|
24939
|
+
updateMilvusRole(requestParameters, options) {
|
|
24940
|
+
return (0, exports.SharedApiFp)(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24941
|
+
}
|
|
23897
24942
|
/**
|
|
23898
24943
|
*
|
|
23899
24944
|
* @summary update mssql account compatible with windows account
|
|
@@ -23914,7 +24959,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23914
24959
|
* @memberof SharedApi
|
|
23915
24960
|
*/
|
|
23916
24961
|
updateRabbitAccountPassword(requestParameters, options) {
|
|
23917
|
-
return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24962
|
+
return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23918
24963
|
}
|
|
23919
24964
|
/**
|
|
23920
24965
|
* Update a RabbitMQ account privileges
|