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
|
@@ -50,8 +50,6 @@ import type { ApikeyList } from '../models';
|
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { ApikeyWithSK } from '../models';
|
|
52
52
|
// @ts-ignore
|
|
53
|
-
import type { AutohealingListInner } from '../models';
|
|
54
|
-
// @ts-ignore
|
|
55
53
|
import type { AvailableClusterListInner } from '../models';
|
|
56
54
|
// @ts-ignore
|
|
57
55
|
import type { Backup } from '../models';
|
|
@@ -78,6 +76,8 @@ import type { Broker } from '../models';
|
|
|
78
76
|
// @ts-ignore
|
|
79
77
|
import type { BuildBackupObjRequest } from '../models';
|
|
80
78
|
// @ts-ignore
|
|
79
|
+
import type { CkAccount } from '../models';
|
|
80
|
+
// @ts-ignore
|
|
81
81
|
import type { Cluster } from '../models';
|
|
82
82
|
// @ts-ignore
|
|
83
83
|
import type { ClusterBackupMethod } from '../models';
|
|
@@ -120,6 +120,8 @@ import type { ConsumerGroup } from '../models';
|
|
|
120
120
|
// @ts-ignore
|
|
121
121
|
import type { ConsumerGroupDescribe } from '../models';
|
|
122
122
|
// @ts-ignore
|
|
123
|
+
import type { CreateClickhouseAccountRequest } from '../models';
|
|
124
|
+
// @ts-ignore
|
|
123
125
|
import type { CreateIPWhitelistRequest } from '../models';
|
|
124
126
|
// @ts-ignore
|
|
125
127
|
import type { CreateTopicRequest } from '../models';
|
|
@@ -210,6 +212,8 @@ import type { FeatureList } from '../models';
|
|
|
210
212
|
// @ts-ignore
|
|
211
213
|
import type { FileEntryList } from '../models';
|
|
212
214
|
// @ts-ignore
|
|
215
|
+
import type { GetClickhouseRoleGrants200ResponseInner } from '../models';
|
|
216
|
+
// @ts-ignore
|
|
213
217
|
import type { HaHistoryList } from '../models';
|
|
214
218
|
// @ts-ignore
|
|
215
219
|
import type { ImportOpsType } from '../models';
|
|
@@ -236,6 +240,10 @@ import type { IpWhitelist } from '../models';
|
|
|
236
240
|
// @ts-ignore
|
|
237
241
|
import type { IpWhitelistList } from '../models';
|
|
238
242
|
// @ts-ignore
|
|
243
|
+
import type { ListClickhouseAccountRoles200Response } from '../models';
|
|
244
|
+
// @ts-ignore
|
|
245
|
+
import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
|
|
246
|
+
// @ts-ignore
|
|
239
247
|
import type { MetricsQueryType } from '../models';
|
|
240
248
|
// @ts-ignore
|
|
241
249
|
import type { MilvusAccountPassword } from '../models';
|
|
@@ -244,6 +252,8 @@ import type { MilvusAccountRoles } from '../models';
|
|
|
244
252
|
// @ts-ignore
|
|
245
253
|
import type { MilvusRole } from '../models';
|
|
246
254
|
// @ts-ignore
|
|
255
|
+
import type { MilvusRoleCreateRequest } from '../models';
|
|
256
|
+
// @ts-ignore
|
|
247
257
|
import type { MilvusRoleList } from '../models';
|
|
248
258
|
// @ts-ignore
|
|
249
259
|
import type { MilvusRoleRequest } from '../models';
|
|
@@ -326,9 +336,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
326
336
|
// @ts-ignore
|
|
327
337
|
import type { RbmqExchange } from '../models';
|
|
328
338
|
// @ts-ignore
|
|
329
|
-
import type {
|
|
339
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
330
340
|
// @ts-ignore
|
|
331
|
-
import type {
|
|
341
|
+
import type { RbmqPermission } from '../models';
|
|
332
342
|
// @ts-ignore
|
|
333
343
|
import type { RbmqVHost } from '../models';
|
|
334
344
|
// @ts-ignore
|
|
@@ -350,6 +360,8 @@ import type { RestoreList } from '../models';
|
|
|
350
360
|
// @ts-ignore
|
|
351
361
|
import type { RestoreLog } from '../models';
|
|
352
362
|
// @ts-ignore
|
|
363
|
+
import type { RevokeClickhouseRolePrivilegesRequest } from '../models';
|
|
364
|
+
// @ts-ignore
|
|
353
365
|
import type { Role } from '../models';
|
|
354
366
|
// @ts-ignore
|
|
355
367
|
import type { RoleCreate } from '../models';
|
|
@@ -404,6 +416,10 @@ import type { TopicOffset } from '../models';
|
|
|
404
416
|
// @ts-ignore
|
|
405
417
|
import type { UpdateBrokerConfigRequest } from '../models';
|
|
406
418
|
// @ts-ignore
|
|
419
|
+
import type { UpdateClickhouseAccountPasswordRequest } from '../models';
|
|
420
|
+
// @ts-ignore
|
|
421
|
+
import type { UpdateClickhouseAccountRolesRequest } from '../models';
|
|
422
|
+
// @ts-ignore
|
|
407
423
|
import type { UpdateTopicConfigRequest } from '../models';
|
|
408
424
|
/**
|
|
409
425
|
* SharedApi - axios parameter creator
|
|
@@ -1230,6 +1246,108 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1230
1246
|
|
|
1231
1247
|
|
|
1232
1248
|
|
|
1249
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1250
|
+
|
|
1251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1253
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1254
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1255
|
+
|
|
1256
|
+
return {
|
|
1257
|
+
url: toPathString(localVarUrlObj),
|
|
1258
|
+
options: localVarRequestOptions,
|
|
1259
|
+
};
|
|
1260
|
+
},
|
|
1261
|
+
/**
|
|
1262
|
+
*
|
|
1263
|
+
* @summary Create a ClickHouse account with optional roles
|
|
1264
|
+
* @param {string} orgName
|
|
1265
|
+
* @param {string} clusterName
|
|
1266
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
1267
|
+
* @param {*} [options] Override http request option.
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
*/
|
|
1270
|
+
createClickhouseAccount: async (orgName: string, clusterName: string, body: CreateClickhouseAccountRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1271
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1272
|
+
assertParamExists('createClickhouseAccount', 'orgName', orgName)
|
|
1273
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1274
|
+
assertParamExists('createClickhouseAccount', 'clusterName', clusterName)
|
|
1275
|
+
// verify required parameter 'body' is not null or undefined
|
|
1276
|
+
assertParamExists('createClickhouseAccount', 'body', body)
|
|
1277
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1278
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1279
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1280
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1282
|
+
let baseOptions;
|
|
1283
|
+
if (configuration) {
|
|
1284
|
+
baseOptions = configuration.baseOptions;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1288
|
+
const localVarHeaderParameter = {} as any;
|
|
1289
|
+
const localVarQueryParameter = {} as any;
|
|
1290
|
+
|
|
1291
|
+
// authentication BearerToken required
|
|
1292
|
+
// http bearer authentication required
|
|
1293
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1294
|
+
|
|
1295
|
+
// authentication DigestAuth required
|
|
1296
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1301
|
+
|
|
1302
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1303
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1304
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1305
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1306
|
+
|
|
1307
|
+
return {
|
|
1308
|
+
url: toPathString(localVarUrlObj),
|
|
1309
|
+
options: localVarRequestOptions,
|
|
1310
|
+
};
|
|
1311
|
+
},
|
|
1312
|
+
/**
|
|
1313
|
+
*
|
|
1314
|
+
* @summary Create a ClickHouse role with privileges
|
|
1315
|
+
* @param {string} orgName
|
|
1316
|
+
* @param {string} clusterName
|
|
1317
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
createClickhouseRole: async (orgName: string, clusterName: string, body: ListClickhouseAccountRoles200Response, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1322
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1323
|
+
assertParamExists('createClickhouseRole', 'orgName', orgName)
|
|
1324
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1325
|
+
assertParamExists('createClickhouseRole', 'clusterName', clusterName)
|
|
1326
|
+
// verify required parameter 'body' is not null or undefined
|
|
1327
|
+
assertParamExists('createClickhouseRole', 'body', body)
|
|
1328
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1329
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1330
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1333
|
+
let baseOptions;
|
|
1334
|
+
if (configuration) {
|
|
1335
|
+
baseOptions = configuration.baseOptions;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1339
|
+
const localVarHeaderParameter = {} as any;
|
|
1340
|
+
const localVarQueryParameter = {} as any;
|
|
1341
|
+
|
|
1342
|
+
// authentication BearerToken required
|
|
1343
|
+
// http bearer authentication required
|
|
1344
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1345
|
+
|
|
1346
|
+
// authentication DigestAuth required
|
|
1347
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
|
|
1233
1351
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1234
1352
|
|
|
1235
1353
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1706,6 +1824,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1706
1824
|
options: localVarRequestOptions,
|
|
1707
1825
|
};
|
|
1708
1826
|
},
|
|
1827
|
+
/**
|
|
1828
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1829
|
+
* @summary Create Milvus role
|
|
1830
|
+
* @param {string} orgName name of the Org
|
|
1831
|
+
* @param {string} clusterName name of the Cluster
|
|
1832
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
*/
|
|
1836
|
+
createMilvusRole: async (orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1837
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1838
|
+
assertParamExists('createMilvusRole', 'orgName', orgName)
|
|
1839
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1840
|
+
assertParamExists('createMilvusRole', 'clusterName', clusterName)
|
|
1841
|
+
// verify required parameter 'body' is not null or undefined
|
|
1842
|
+
assertParamExists('createMilvusRole', 'body', body)
|
|
1843
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1844
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1845
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1846
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1847
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1848
|
+
let baseOptions;
|
|
1849
|
+
if (configuration) {
|
|
1850
|
+
baseOptions = configuration.baseOptions;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1854
|
+
const localVarHeaderParameter = {} as any;
|
|
1855
|
+
const localVarQueryParameter = {} as any;
|
|
1856
|
+
|
|
1857
|
+
// authentication BearerToken required
|
|
1858
|
+
// http bearer authentication required
|
|
1859
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1860
|
+
|
|
1861
|
+
// authentication DigestAuth required
|
|
1862
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1867
|
+
|
|
1868
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1869
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1870
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1871
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1872
|
+
|
|
1873
|
+
return {
|
|
1874
|
+
url: toPathString(localVarUrlObj),
|
|
1875
|
+
options: localVarRequestOptions,
|
|
1876
|
+
};
|
|
1877
|
+
},
|
|
1709
1878
|
/**
|
|
1710
1879
|
* create an account in mongodb
|
|
1711
1880
|
* @summary Create mongodb account
|
|
@@ -2592,21 +2761,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2592
2761
|
},
|
|
2593
2762
|
/**
|
|
2594
2763
|
*
|
|
2595
|
-
* @summary Delete
|
|
2596
|
-
* @param {string} orgName
|
|
2597
|
-
* @param {string} clusterName
|
|
2598
|
-
* @param {
|
|
2764
|
+
* @summary Delete a ClickHouse account
|
|
2765
|
+
* @param {string} orgName
|
|
2766
|
+
* @param {string} clusterName
|
|
2767
|
+
* @param {string} accountName
|
|
2599
2768
|
* @param {*} [options] Override http request option.
|
|
2600
2769
|
* @throws {RequiredError}
|
|
2601
2770
|
*/
|
|
2602
|
-
|
|
2771
|
+
deleteClickhouseAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2603
2772
|
// verify required parameter 'orgName' is not null or undefined
|
|
2604
|
-
assertParamExists('
|
|
2773
|
+
assertParamExists('deleteClickhouseAccount', 'orgName', orgName)
|
|
2605
2774
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2606
|
-
assertParamExists('
|
|
2607
|
-
|
|
2775
|
+
assertParamExists('deleteClickhouseAccount', 'clusterName', clusterName)
|
|
2776
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2777
|
+
assertParamExists('deleteClickhouseAccount', 'accountName', accountName)
|
|
2778
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
2608
2779
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2609
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2780
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2781
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2610
2782
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2611
2783
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2612
2784
|
let baseOptions;
|
|
@@ -2625,10 +2797,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2625
2797
|
// authentication DigestAuth required
|
|
2626
2798
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2627
2799
|
|
|
2628
|
-
if (force !== undefined) {
|
|
2629
|
-
localVarQueryParameter['force'] = force;
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
2800
|
|
|
2633
2801
|
|
|
2634
2802
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2642,24 +2810,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2642
2810
|
},
|
|
2643
2811
|
/**
|
|
2644
2812
|
*
|
|
2645
|
-
* @summary
|
|
2646
|
-
* @param {string} orgName
|
|
2647
|
-
* @param {string} clusterName
|
|
2648
|
-
* @param {string}
|
|
2813
|
+
* @summary Delete a ClickHouse role
|
|
2814
|
+
* @param {string} orgName
|
|
2815
|
+
* @param {string} clusterName
|
|
2816
|
+
* @param {string} roleName
|
|
2649
2817
|
* @param {*} [options] Override http request option.
|
|
2650
2818
|
* @throws {RequiredError}
|
|
2651
2819
|
*/
|
|
2652
|
-
|
|
2820
|
+
deleteClickhouseRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2653
2821
|
// verify required parameter 'orgName' is not null or undefined
|
|
2654
|
-
assertParamExists('
|
|
2822
|
+
assertParamExists('deleteClickhouseRole', 'orgName', orgName)
|
|
2655
2823
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2656
|
-
assertParamExists('
|
|
2657
|
-
// verify required parameter '
|
|
2658
|
-
assertParamExists('
|
|
2659
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
2824
|
+
assertParamExists('deleteClickhouseRole', 'clusterName', clusterName)
|
|
2825
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2826
|
+
assertParamExists('deleteClickhouseRole', 'roleName', roleName)
|
|
2827
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2660
2828
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2661
2829
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2662
|
-
.replace(`{${"
|
|
2830
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2663
2831
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2664
2832
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2665
2833
|
let baseOptions;
|
|
@@ -2690,29 +2858,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2690
2858
|
};
|
|
2691
2859
|
},
|
|
2692
2860
|
/**
|
|
2693
|
-
*
|
|
2694
|
-
* @summary Delete cluster
|
|
2695
|
-
* @param {string} engineName name of the engine
|
|
2861
|
+
*
|
|
2862
|
+
* @summary Delete cluster
|
|
2696
2863
|
* @param {string} orgName name of the Org
|
|
2697
|
-
* @param {string} clusterName name of the
|
|
2698
|
-
* @param {
|
|
2864
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2865
|
+
* @param {boolean} [force] if it is true, the cluster will be deleted no matter what the termination policy is, and will not be moved to the recycle bin.
|
|
2699
2866
|
* @param {*} [options] Override http request option.
|
|
2700
2867
|
* @throws {RequiredError}
|
|
2701
2868
|
*/
|
|
2702
|
-
|
|
2703
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
2704
|
-
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2869
|
+
deleteCluster: async (orgName: string, clusterName: string, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2705
2870
|
// verify required parameter 'orgName' is not null or undefined
|
|
2706
|
-
assertParamExists('
|
|
2871
|
+
assertParamExists('deleteCluster', 'orgName', orgName)
|
|
2707
2872
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2708
|
-
assertParamExists('
|
|
2709
|
-
|
|
2710
|
-
assertParamExists('deleteDatabase', 'databaseName', databaseName)
|
|
2711
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
|
|
2712
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2873
|
+
assertParamExists('deleteCluster', 'clusterName', clusterName)
|
|
2874
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
2713
2875
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2714
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2715
|
-
.replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
|
|
2876
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2716
2877
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2717
2878
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2718
2879
|
let baseOptions;
|
|
@@ -2731,6 +2892,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2731
2892
|
// authentication DigestAuth required
|
|
2732
2893
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2733
2894
|
|
|
2895
|
+
if (force !== undefined) {
|
|
2896
|
+
localVarQueryParameter['force'] = force;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2734
2899
|
|
|
2735
2900
|
|
|
2736
2901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2744,24 +2909,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2744
2909
|
},
|
|
2745
2910
|
/**
|
|
2746
2911
|
*
|
|
2747
|
-
* @summary
|
|
2748
|
-
* @param {string} orgName
|
|
2749
|
-
* @param {string} clusterName
|
|
2750
|
-
* @param {string}
|
|
2912
|
+
* @summary delete the datasource
|
|
2913
|
+
* @param {string} orgName name of the Org
|
|
2914
|
+
* @param {string} clusterName name of the cluster
|
|
2915
|
+
* @param {string} id id of the datasource
|
|
2751
2916
|
* @param {*} [options] Override http request option.
|
|
2752
2917
|
* @throws {RequiredError}
|
|
2753
2918
|
*/
|
|
2754
|
-
|
|
2919
|
+
deleteDataSourceV2: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2755
2920
|
// verify required parameter 'orgName' is not null or undefined
|
|
2756
|
-
assertParamExists('
|
|
2921
|
+
assertParamExists('deleteDataSourceV2', 'orgName', orgName)
|
|
2757
2922
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2758
|
-
assertParamExists('
|
|
2759
|
-
// verify required parameter '
|
|
2760
|
-
assertParamExists('
|
|
2761
|
-
const localVarPath = `/api/v1/
|
|
2923
|
+
assertParamExists('deleteDataSourceV2', 'clusterName', clusterName)
|
|
2924
|
+
// verify required parameter 'id' is not null or undefined
|
|
2925
|
+
assertParamExists('deleteDataSourceV2', 'id', id)
|
|
2926
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
|
|
2762
2927
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2763
2928
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2764
|
-
.replace(`{${"
|
|
2929
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2765
2930
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2766
2931
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2767
2932
|
let baseOptions;
|
|
@@ -2792,25 +2957,127 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2792
2957
|
};
|
|
2793
2958
|
},
|
|
2794
2959
|
/**
|
|
2795
|
-
*
|
|
2796
|
-
* @summary Delete
|
|
2797
|
-
* @param {string}
|
|
2798
|
-
* @param {string}
|
|
2799
|
-
* @param {string}
|
|
2960
|
+
* delete a database in cluster
|
|
2961
|
+
* @summary Delete cluster database
|
|
2962
|
+
* @param {string} engineName name of the engine
|
|
2963
|
+
* @param {string} orgName name of the Org
|
|
2964
|
+
* @param {string} clusterName name of the Cluster
|
|
2965
|
+
* @param {string} databaseName name of database
|
|
2800
2966
|
* @param {*} [options] Override http request option.
|
|
2801
2967
|
* @throws {RequiredError}
|
|
2802
2968
|
*/
|
|
2803
|
-
|
|
2969
|
+
deleteDatabase: async (engineName: string, orgName: string, clusterName: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2970
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2971
|
+
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2804
2972
|
// verify required parameter 'orgName' is not null or undefined
|
|
2805
|
-
assertParamExists('
|
|
2973
|
+
assertParamExists('deleteDatabase', 'orgName', orgName)
|
|
2806
2974
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2807
|
-
assertParamExists('
|
|
2808
|
-
// verify required parameter '
|
|
2809
|
-
assertParamExists('
|
|
2810
|
-
const localVarPath = `/api/v1/data/
|
|
2975
|
+
assertParamExists('deleteDatabase', 'clusterName', clusterName)
|
|
2976
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
2977
|
+
assertParamExists('deleteDatabase', 'databaseName', databaseName)
|
|
2978
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
|
|
2979
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2811
2980
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2812
2981
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2813
|
-
.replace(`{${"
|
|
2982
|
+
.replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
|
|
2983
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2984
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2985
|
+
let baseOptions;
|
|
2986
|
+
if (configuration) {
|
|
2987
|
+
baseOptions = configuration.baseOptions;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2991
|
+
const localVarHeaderParameter = {} as any;
|
|
2992
|
+
const localVarQueryParameter = {} as any;
|
|
2993
|
+
|
|
2994
|
+
// authentication BearerToken required
|
|
2995
|
+
// http bearer authentication required
|
|
2996
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2997
|
+
|
|
2998
|
+
// authentication DigestAuth required
|
|
2999
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3004
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3005
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3006
|
+
|
|
3007
|
+
return {
|
|
3008
|
+
url: toPathString(localVarUrlObj),
|
|
3009
|
+
options: localVarRequestOptions,
|
|
3010
|
+
};
|
|
3011
|
+
},
|
|
3012
|
+
/**
|
|
3013
|
+
*
|
|
3014
|
+
* @summary Delete Elasticsearch security role
|
|
3015
|
+
* @param {string} orgName
|
|
3016
|
+
* @param {string} clusterName
|
|
3017
|
+
* @param {string} roleName
|
|
3018
|
+
* @param {*} [options] Override http request option.
|
|
3019
|
+
* @throws {RequiredError}
|
|
3020
|
+
*/
|
|
3021
|
+
deleteElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3022
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3023
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'orgName', orgName)
|
|
3024
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3025
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
3026
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
3027
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
|
|
3028
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
3029
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3030
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3031
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
3032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3034
|
+
let baseOptions;
|
|
3035
|
+
if (configuration) {
|
|
3036
|
+
baseOptions = configuration.baseOptions;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3040
|
+
const localVarHeaderParameter = {} as any;
|
|
3041
|
+
const localVarQueryParameter = {} as any;
|
|
3042
|
+
|
|
3043
|
+
// authentication BearerToken required
|
|
3044
|
+
// http bearer authentication required
|
|
3045
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3046
|
+
|
|
3047
|
+
// authentication DigestAuth required
|
|
3048
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3053
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3054
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3055
|
+
|
|
3056
|
+
return {
|
|
3057
|
+
url: toPathString(localVarUrlObj),
|
|
3058
|
+
options: localVarRequestOptions,
|
|
3059
|
+
};
|
|
3060
|
+
},
|
|
3061
|
+
/**
|
|
3062
|
+
*
|
|
3063
|
+
* @summary Delete Elasticsearch security role mapping
|
|
3064
|
+
* @param {string} orgName
|
|
3065
|
+
* @param {string} clusterName
|
|
3066
|
+
* @param {string} mappingName
|
|
3067
|
+
* @param {*} [options] Override http request option.
|
|
3068
|
+
* @throws {RequiredError}
|
|
3069
|
+
*/
|
|
3070
|
+
deleteElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3071
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3072
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
3073
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3074
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
3075
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
3076
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
3077
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
3078
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3079
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3080
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2814
3081
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2815
3082
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2816
3083
|
let baseOptions;
|
|
@@ -4238,7 +4505,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4238
4505
|
};
|
|
4239
4506
|
},
|
|
4240
4507
|
/**
|
|
4241
|
-
* 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
|
|
4508
|
+
* 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.
|
|
4242
4509
|
* @summary Explain cluster slow log template
|
|
4243
4510
|
* @param {string} orgName
|
|
4244
4511
|
* @param {string} clusterName
|
|
@@ -5017,21 +5284,20 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5017
5284
|
},
|
|
5018
5285
|
/**
|
|
5019
5286
|
*
|
|
5020
|
-
* @summary
|
|
5287
|
+
* @summary Get backup
|
|
5021
5288
|
* @param {string} orgName name of the Org
|
|
5022
|
-
* @param {string}
|
|
5289
|
+
* @param {string} backupId id of the Backup
|
|
5023
5290
|
* @param {*} [options] Override http request option.
|
|
5024
|
-
* @deprecated
|
|
5025
5291
|
* @throws {RequiredError}
|
|
5026
5292
|
*/
|
|
5027
|
-
|
|
5293
|
+
getBackup: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5028
5294
|
// verify required parameter 'orgName' is not null or undefined
|
|
5029
|
-
assertParamExists('
|
|
5030
|
-
// verify required parameter '
|
|
5031
|
-
assertParamExists('
|
|
5032
|
-
const localVarPath = `/api/v1/organizations/{orgName}/
|
|
5295
|
+
assertParamExists('getBackup', 'orgName', orgName)
|
|
5296
|
+
// verify required parameter 'backupId' is not null or undefined
|
|
5297
|
+
assertParamExists('getBackup', 'backupId', backupId)
|
|
5298
|
+
const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}`
|
|
5033
5299
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5034
|
-
.replace(`{${"
|
|
5300
|
+
.replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
|
|
5035
5301
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5036
5302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5037
5303
|
let baseOptions;
|
|
@@ -5063,18 +5329,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5063
5329
|
},
|
|
5064
5330
|
/**
|
|
5065
5331
|
*
|
|
5066
|
-
* @summary Get backup
|
|
5332
|
+
* @summary Get backup log
|
|
5067
5333
|
* @param {string} orgName name of the Org
|
|
5068
5334
|
* @param {string} backupId id of the Backup
|
|
5069
5335
|
* @param {*} [options] Override http request option.
|
|
5070
5336
|
* @throws {RequiredError}
|
|
5071
5337
|
*/
|
|
5072
|
-
|
|
5338
|
+
getBackupLog: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5073
5339
|
// verify required parameter 'orgName' is not null or undefined
|
|
5074
|
-
assertParamExists('
|
|
5340
|
+
assertParamExists('getBackupLog', 'orgName', orgName)
|
|
5075
5341
|
// verify required parameter 'backupId' is not null or undefined
|
|
5076
|
-
assertParamExists('
|
|
5077
|
-
const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}`
|
|
5342
|
+
assertParamExists('getBackupLog', 'backupId', backupId)
|
|
5343
|
+
const localVarPath = `/api/v1/organizations/{orgName}/backups/{backupId}/logs`
|
|
5078
5344
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5079
5345
|
.replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
|
|
5080
5346
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5108,145 +5374,149 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5108
5374
|
},
|
|
5109
5375
|
/**
|
|
5110
5376
|
*
|
|
5111
|
-
* @summary
|
|
5377
|
+
* @summary get backup method
|
|
5378
|
+
* @param {string} orgName name of the org
|
|
5379
|
+
* @param {string} engineName engine name
|
|
5380
|
+
* @param {string} [clusterID] clusterID is required when you want to get the backup method of a existing cluster
|
|
5381
|
+
* @param {boolean} [enablePITR] define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
|
|
5382
|
+
* @param {boolean} [withRebuildInstance] defined whether to search for rebuilding instance.
|
|
5383
|
+
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
5384
|
+
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
5385
|
+
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
5386
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
5387
|
+
* @param {*} [options] Override http request option.
|
|
5388
|
+
* @throws {RequiredError}
|
|
5389
|
+
*/
|
|
5390
|
+
getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5391
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5392
|
+
assertParamExists('getBackupMethod', 'orgName', orgName)
|
|
5393
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5394
|
+
assertParamExists('getBackupMethod', 'engineName', engineName)
|
|
5395
|
+
const localVarPath = `/api/v1/organizations/{orgName}/{engineName}/clusterBackupMethod`
|
|
5396
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5397
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
|
|
5398
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5399
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5400
|
+
let baseOptions;
|
|
5401
|
+
if (configuration) {
|
|
5402
|
+
baseOptions = configuration.baseOptions;
|
|
5403
|
+
}
|
|
5404
|
+
|
|
5405
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5406
|
+
const localVarHeaderParameter = {} as any;
|
|
5407
|
+
const localVarQueryParameter = {} as any;
|
|
5408
|
+
|
|
5409
|
+
// authentication BearerToken required
|
|
5410
|
+
// http bearer authentication required
|
|
5411
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5412
|
+
|
|
5413
|
+
// authentication DigestAuth required
|
|
5414
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5415
|
+
|
|
5416
|
+
if (clusterID !== undefined) {
|
|
5417
|
+
localVarQueryParameter['clusterID'] = clusterID;
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
if (enablePITR !== undefined) {
|
|
5421
|
+
localVarQueryParameter['enablePITR'] = enablePITR;
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
if (withRebuildInstance !== undefined) {
|
|
5425
|
+
localVarQueryParameter['withRebuildInstance'] = withRebuildInstance;
|
|
5426
|
+
}
|
|
5427
|
+
|
|
5428
|
+
if (withRestoreCluster !== undefined) {
|
|
5429
|
+
localVarQueryParameter['withRestoreCluster'] = withRestoreCluster;
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5432
|
+
if (withHScale !== undefined) {
|
|
5433
|
+
localVarQueryParameter['withHScale'] = withHScale;
|
|
5434
|
+
}
|
|
5435
|
+
|
|
5436
|
+
if (component !== undefined) {
|
|
5437
|
+
localVarQueryParameter['component'] = component;
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
if (mode !== undefined) {
|
|
5441
|
+
localVarQueryParameter['mode'] = mode;
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
|
|
5445
|
+
|
|
5446
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5448
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5449
|
+
|
|
5450
|
+
return {
|
|
5451
|
+
url: toPathString(localVarUrlObj),
|
|
5452
|
+
options: localVarRequestOptions,
|
|
5453
|
+
};
|
|
5454
|
+
},
|
|
5455
|
+
/**
|
|
5456
|
+
*
|
|
5457
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
5458
|
+
* @param {string} orgName
|
|
5459
|
+
* @param {string} clusterName
|
|
5460
|
+
* @param {string} roleName
|
|
5461
|
+
* @param {*} [options] Override http request option.
|
|
5462
|
+
* @throws {RequiredError}
|
|
5463
|
+
*/
|
|
5464
|
+
getClickhouseRoleGrants: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5465
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5466
|
+
assertParamExists('getClickhouseRoleGrants', 'orgName', orgName)
|
|
5467
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5468
|
+
assertParamExists('getClickhouseRoleGrants', 'clusterName', clusterName)
|
|
5469
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
5470
|
+
assertParamExists('getClickhouseRoleGrants', 'roleName', roleName)
|
|
5471
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
5472
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5473
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5474
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
5475
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5476
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5477
|
+
let baseOptions;
|
|
5478
|
+
if (configuration) {
|
|
5479
|
+
baseOptions = configuration.baseOptions;
|
|
5480
|
+
}
|
|
5481
|
+
|
|
5482
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5483
|
+
const localVarHeaderParameter = {} as any;
|
|
5484
|
+
const localVarQueryParameter = {} as any;
|
|
5485
|
+
|
|
5486
|
+
// authentication BearerToken required
|
|
5487
|
+
// http bearer authentication required
|
|
5488
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5489
|
+
|
|
5490
|
+
// authentication DigestAuth required
|
|
5491
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5492
|
+
|
|
5493
|
+
|
|
5494
|
+
|
|
5495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5497
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5498
|
+
|
|
5499
|
+
return {
|
|
5500
|
+
url: toPathString(localVarUrlObj),
|
|
5501
|
+
options: localVarRequestOptions,
|
|
5502
|
+
};
|
|
5503
|
+
},
|
|
5504
|
+
/**
|
|
5505
|
+
*
|
|
5506
|
+
* @summary Get cluster details
|
|
5112
5507
|
* @param {string} orgName name of the Org
|
|
5113
|
-
* @param {string}
|
|
5508
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
5114
5509
|
* @param {*} [options] Override http request option.
|
|
5115
5510
|
* @throws {RequiredError}
|
|
5116
5511
|
*/
|
|
5117
|
-
|
|
5512
|
+
getCluster: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5118
5513
|
// verify required parameter 'orgName' is not null or undefined
|
|
5119
|
-
assertParamExists('
|
|
5120
|
-
// verify required parameter '
|
|
5121
|
-
assertParamExists('
|
|
5122
|
-
const localVarPath = `/api/v1/organizations/{orgName}/
|
|
5514
|
+
assertParamExists('getCluster', 'orgName', orgName)
|
|
5515
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5516
|
+
assertParamExists('getCluster', 'clusterName', clusterName)
|
|
5517
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
5123
5518
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5124
|
-
.replace(`{${"
|
|
5125
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5126
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5127
|
-
let baseOptions;
|
|
5128
|
-
if (configuration) {
|
|
5129
|
-
baseOptions = configuration.baseOptions;
|
|
5130
|
-
}
|
|
5131
|
-
|
|
5132
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5133
|
-
const localVarHeaderParameter = {} as any;
|
|
5134
|
-
const localVarQueryParameter = {} as any;
|
|
5135
|
-
|
|
5136
|
-
// authentication BearerToken required
|
|
5137
|
-
// http bearer authentication required
|
|
5138
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5139
|
-
|
|
5140
|
-
// authentication DigestAuth required
|
|
5141
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5146
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5147
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5148
|
-
|
|
5149
|
-
return {
|
|
5150
|
-
url: toPathString(localVarUrlObj),
|
|
5151
|
-
options: localVarRequestOptions,
|
|
5152
|
-
};
|
|
5153
|
-
},
|
|
5154
|
-
/**
|
|
5155
|
-
*
|
|
5156
|
-
* @summary get backup method
|
|
5157
|
-
* @param {string} orgName name of the org
|
|
5158
|
-
* @param {string} engineName engine name
|
|
5159
|
-
* @param {string} [clusterID] clusterID is required when you want to get the backup method of a existing cluster
|
|
5160
|
-
* @param {boolean} [enablePITR] define whether to enable PITR (Point-In-Time Recovery). This setting is required when clusterId is not empty.
|
|
5161
|
-
* @param {boolean} [withRebuildInstance] defined whether to search for rebuilding instance.
|
|
5162
|
-
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
5163
|
-
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
5164
|
-
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
5165
|
-
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
5166
|
-
* @param {*} [options] Override http request option.
|
|
5167
|
-
* @throws {RequiredError}
|
|
5168
|
-
*/
|
|
5169
|
-
getBackupMethod: async (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5170
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
5171
|
-
assertParamExists('getBackupMethod', 'orgName', orgName)
|
|
5172
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
5173
|
-
assertParamExists('getBackupMethod', 'engineName', engineName)
|
|
5174
|
-
const localVarPath = `/api/v1/organizations/{orgName}/{engineName}/clusterBackupMethod`
|
|
5175
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5176
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)));
|
|
5177
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5178
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5179
|
-
let baseOptions;
|
|
5180
|
-
if (configuration) {
|
|
5181
|
-
baseOptions = configuration.baseOptions;
|
|
5182
|
-
}
|
|
5183
|
-
|
|
5184
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5185
|
-
const localVarHeaderParameter = {} as any;
|
|
5186
|
-
const localVarQueryParameter = {} as any;
|
|
5187
|
-
|
|
5188
|
-
// authentication BearerToken required
|
|
5189
|
-
// http bearer authentication required
|
|
5190
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5191
|
-
|
|
5192
|
-
// authentication DigestAuth required
|
|
5193
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5194
|
-
|
|
5195
|
-
if (clusterID !== undefined) {
|
|
5196
|
-
localVarQueryParameter['clusterID'] = clusterID;
|
|
5197
|
-
}
|
|
5198
|
-
|
|
5199
|
-
if (enablePITR !== undefined) {
|
|
5200
|
-
localVarQueryParameter['enablePITR'] = enablePITR;
|
|
5201
|
-
}
|
|
5202
|
-
|
|
5203
|
-
if (withRebuildInstance !== undefined) {
|
|
5204
|
-
localVarQueryParameter['withRebuildInstance'] = withRebuildInstance;
|
|
5205
|
-
}
|
|
5206
|
-
|
|
5207
|
-
if (withRestoreCluster !== undefined) {
|
|
5208
|
-
localVarQueryParameter['withRestoreCluster'] = withRestoreCluster;
|
|
5209
|
-
}
|
|
5210
|
-
|
|
5211
|
-
if (withHScale !== undefined) {
|
|
5212
|
-
localVarQueryParameter['withHScale'] = withHScale;
|
|
5213
|
-
}
|
|
5214
|
-
|
|
5215
|
-
if (component !== undefined) {
|
|
5216
|
-
localVarQueryParameter['component'] = component;
|
|
5217
|
-
}
|
|
5218
|
-
|
|
5219
|
-
if (mode !== undefined) {
|
|
5220
|
-
localVarQueryParameter['mode'] = mode;
|
|
5221
|
-
}
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5226
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5227
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5228
|
-
|
|
5229
|
-
return {
|
|
5230
|
-
url: toPathString(localVarUrlObj),
|
|
5231
|
-
options: localVarRequestOptions,
|
|
5232
|
-
};
|
|
5233
|
-
},
|
|
5234
|
-
/**
|
|
5235
|
-
*
|
|
5236
|
-
* @summary Get cluster details
|
|
5237
|
-
* @param {string} orgName name of the Org
|
|
5238
|
-
* @param {string} clusterName name of the KubeBlocks cluster
|
|
5239
|
-
* @param {*} [options] Override http request option.
|
|
5240
|
-
* @throws {RequiredError}
|
|
5241
|
-
*/
|
|
5242
|
-
getCluster: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5243
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
5244
|
-
assertParamExists('getCluster', 'orgName', orgName)
|
|
5245
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
5246
|
-
assertParamExists('getCluster', 'clusterName', clusterName)
|
|
5247
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
5248
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5249
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5519
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5250
5520
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5251
5521
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5252
5522
|
let baseOptions;
|
|
@@ -7912,6 +8182,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7912
8182
|
options: localVarRequestOptions,
|
|
7913
8183
|
};
|
|
7914
8184
|
},
|
|
8185
|
+
/**
|
|
8186
|
+
*
|
|
8187
|
+
* @summary Grant privileges to a ClickHouse role
|
|
8188
|
+
* @param {string} orgName
|
|
8189
|
+
* @param {string} clusterName
|
|
8190
|
+
* @param {string} roleName
|
|
8191
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
8192
|
+
* @param {*} [options] Override http request option.
|
|
8193
|
+
* @throws {RequiredError}
|
|
8194
|
+
*/
|
|
8195
|
+
grantClickhouseRolePrivileges: async (orgName: string, clusterName: string, roleName: string, body: ListClickhouseAccountRoles200ResponsePrivilegesInner, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8196
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8197
|
+
assertParamExists('grantClickhouseRolePrivileges', 'orgName', orgName)
|
|
8198
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8199
|
+
assertParamExists('grantClickhouseRolePrivileges', 'clusterName', clusterName)
|
|
8200
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
8201
|
+
assertParamExists('grantClickhouseRolePrivileges', 'roleName', roleName)
|
|
8202
|
+
// verify required parameter 'body' is not null or undefined
|
|
8203
|
+
assertParamExists('grantClickhouseRolePrivileges', 'body', body)
|
|
8204
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
8205
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8206
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8207
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
8208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8210
|
+
let baseOptions;
|
|
8211
|
+
if (configuration) {
|
|
8212
|
+
baseOptions = configuration.baseOptions;
|
|
8213
|
+
}
|
|
8214
|
+
|
|
8215
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8216
|
+
const localVarHeaderParameter = {} as any;
|
|
8217
|
+
const localVarQueryParameter = {} as any;
|
|
8218
|
+
|
|
8219
|
+
// authentication BearerToken required
|
|
8220
|
+
// http bearer authentication required
|
|
8221
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8222
|
+
|
|
8223
|
+
// authentication DigestAuth required
|
|
8224
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8225
|
+
|
|
8226
|
+
|
|
8227
|
+
|
|
8228
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8229
|
+
|
|
8230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8232
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8233
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
8234
|
+
|
|
8235
|
+
return {
|
|
8236
|
+
url: toPathString(localVarUrlObj),
|
|
8237
|
+
options: localVarRequestOptions,
|
|
8238
|
+
};
|
|
8239
|
+
},
|
|
7915
8240
|
/**
|
|
7916
8241
|
*
|
|
7917
8242
|
* @summary Horizontal scale cluster
|
|
@@ -8277,27 +8602,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8277
8602
|
},
|
|
8278
8603
|
/**
|
|
8279
8604
|
*
|
|
8280
|
-
* @summary List
|
|
8281
|
-
* @param {string} orgName
|
|
8282
|
-
* @param {string}
|
|
8283
|
-
* @param {string}
|
|
8284
|
-
* @param {EnvironmentType} [environmentType] Environment Type
|
|
8285
|
-
* @param {string} [tagKey] Tag key; this parameter is deprecated, use tagKeys instead
|
|
8286
|
-
* @param {string} [tagValue] Tag value; this parameter is deprecated, use tagValues instead
|
|
8287
|
-
* @param {Array<string>} [tagKeys] A list of tags\' keys
|
|
8288
|
-
* @param {Array<string>} [tagValues] A list of tags\' values corresponding to the tagKeys
|
|
8289
|
-
* @param {number} [licenseId] license id
|
|
8290
|
-
* @param {string} [refClusterName] list clusters referenced by this cluster
|
|
8291
|
-
* @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
|
|
8292
|
-
* @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
|
|
8605
|
+
* @summary List the roles granted to a ClickHouse account
|
|
8606
|
+
* @param {string} orgName
|
|
8607
|
+
* @param {string} clusterName
|
|
8608
|
+
* @param {string} accountName
|
|
8293
8609
|
* @param {*} [options] Override http request option.
|
|
8294
8610
|
* @throws {RequiredError}
|
|
8295
8611
|
*/
|
|
8296
|
-
|
|
8612
|
+
listClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8297
8613
|
// verify required parameter 'orgName' is not null or undefined
|
|
8298
|
-
assertParamExists('
|
|
8299
|
-
|
|
8300
|
-
|
|
8614
|
+
assertParamExists('listClickhouseAccountRoles', 'orgName', orgName)
|
|
8615
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8616
|
+
assertParamExists('listClickhouseAccountRoles', 'clusterName', clusterName)
|
|
8617
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
8618
|
+
assertParamExists('listClickhouseAccountRoles', 'accountName', accountName)
|
|
8619
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
8620
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8621
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8622
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
8301
8623
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8302
8624
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8303
8625
|
let baseOptions;
|
|
@@ -8316,50 +8638,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8316
8638
|
// authentication DigestAuth required
|
|
8317
8639
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8318
8640
|
|
|
8319
|
-
if (clusterDefinition !== undefined) {
|
|
8320
|
-
localVarQueryParameter['clusterDefinition'] = clusterDefinition;
|
|
8321
|
-
}
|
|
8322
|
-
|
|
8323
|
-
if (environmentName !== undefined) {
|
|
8324
|
-
localVarQueryParameter['environmentName'] = environmentName;
|
|
8325
|
-
}
|
|
8326
|
-
|
|
8327
|
-
if (environmentType !== undefined) {
|
|
8328
|
-
localVarQueryParameter['environmentType'] = environmentType;
|
|
8329
|
-
}
|
|
8330
|
-
|
|
8331
|
-
if (tagKey !== undefined) {
|
|
8332
|
-
localVarQueryParameter['tagKey'] = tagKey;
|
|
8333
|
-
}
|
|
8334
|
-
|
|
8335
|
-
if (tagValue !== undefined) {
|
|
8336
|
-
localVarQueryParameter['tagValue'] = tagValue;
|
|
8337
|
-
}
|
|
8338
|
-
|
|
8339
|
-
if (tagKeys) {
|
|
8340
|
-
localVarQueryParameter['tagKeys'] = tagKeys;
|
|
8341
|
-
}
|
|
8342
|
-
|
|
8343
|
-
if (tagValues) {
|
|
8344
|
-
localVarQueryParameter['tagValues'] = tagValues;
|
|
8345
|
-
}
|
|
8346
|
-
|
|
8347
|
-
if (licenseId !== undefined) {
|
|
8348
|
-
localVarQueryParameter['licenseId'] = licenseId;
|
|
8349
|
-
}
|
|
8350
|
-
|
|
8351
|
-
if (refClusterName !== undefined) {
|
|
8352
|
-
localVarQueryParameter['refClusterName'] = refClusterName;
|
|
8353
|
-
}
|
|
8354
|
-
|
|
8355
|
-
if (endpointHost !== undefined) {
|
|
8356
|
-
localVarQueryParameter['endpointHost'] = endpointHost;
|
|
8357
|
-
}
|
|
8358
|
-
|
|
8359
|
-
if (includeEndpoints !== undefined) {
|
|
8360
|
-
localVarQueryParameter['includeEndpoints'] = includeEndpoints;
|
|
8361
|
-
}
|
|
8362
|
-
|
|
8363
8641
|
|
|
8364
8642
|
|
|
8365
8643
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8373,18 +8651,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8373
8651
|
},
|
|
8374
8652
|
/**
|
|
8375
8653
|
*
|
|
8376
|
-
* @summary List
|
|
8377
|
-
* @param {string} orgName
|
|
8378
|
-
* @param {string} clusterName
|
|
8654
|
+
* @summary List ClickHouse accounts
|
|
8655
|
+
* @param {string} orgName
|
|
8656
|
+
* @param {string} clusterName
|
|
8379
8657
|
* @param {*} [options] Override http request option.
|
|
8380
8658
|
* @throws {RequiredError}
|
|
8381
8659
|
*/
|
|
8382
|
-
|
|
8660
|
+
listClickhouseAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8383
8661
|
// verify required parameter 'orgName' is not null or undefined
|
|
8384
|
-
assertParamExists('
|
|
8662
|
+
assertParamExists('listClickhouseAccounts', 'orgName', orgName)
|
|
8385
8663
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8386
|
-
assertParamExists('
|
|
8387
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
8664
|
+
assertParamExists('listClickhouseAccounts', 'clusterName', clusterName)
|
|
8665
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8388
8666
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8389
8667
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8390
8668
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8418,18 +8696,254 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8418
8696
|
},
|
|
8419
8697
|
/**
|
|
8420
8698
|
*
|
|
8421
|
-
* @summary
|
|
8422
|
-
* @param {string} orgName
|
|
8423
|
-
* @param {string} clusterName
|
|
8699
|
+
* @summary List privileges supported by the ClickHouse server
|
|
8700
|
+
* @param {string} orgName
|
|
8701
|
+
* @param {string} clusterName
|
|
8424
8702
|
* @param {*} [options] Override http request option.
|
|
8425
8703
|
* @throws {RequiredError}
|
|
8426
8704
|
*/
|
|
8427
|
-
|
|
8705
|
+
listClickhousePrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8428
8706
|
// verify required parameter 'orgName' is not null or undefined
|
|
8429
|
-
assertParamExists('
|
|
8707
|
+
assertParamExists('listClickhousePrivileges', 'orgName', orgName)
|
|
8430
8708
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8431
|
-
assertParamExists('
|
|
8432
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
8709
|
+
assertParamExists('listClickhousePrivileges', 'clusterName', clusterName)
|
|
8710
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/privileges`
|
|
8711
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8712
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8713
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8714
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8715
|
+
let baseOptions;
|
|
8716
|
+
if (configuration) {
|
|
8717
|
+
baseOptions = configuration.baseOptions;
|
|
8718
|
+
}
|
|
8719
|
+
|
|
8720
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8721
|
+
const localVarHeaderParameter = {} as any;
|
|
8722
|
+
const localVarQueryParameter = {} as any;
|
|
8723
|
+
|
|
8724
|
+
// authentication BearerToken required
|
|
8725
|
+
// http bearer authentication required
|
|
8726
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8727
|
+
|
|
8728
|
+
// authentication DigestAuth required
|
|
8729
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8730
|
+
|
|
8731
|
+
|
|
8732
|
+
|
|
8733
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8734
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8735
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8736
|
+
|
|
8737
|
+
return {
|
|
8738
|
+
url: toPathString(localVarUrlObj),
|
|
8739
|
+
options: localVarRequestOptions,
|
|
8740
|
+
};
|
|
8741
|
+
},
|
|
8742
|
+
/**
|
|
8743
|
+
*
|
|
8744
|
+
* @summary List ClickHouse roles
|
|
8745
|
+
* @param {string} orgName
|
|
8746
|
+
* @param {string} clusterName
|
|
8747
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
8748
|
+
* @param {*} [options] Override http request option.
|
|
8749
|
+
* @throws {RequiredError}
|
|
8750
|
+
*/
|
|
8751
|
+
listClickhouseRoles: async (orgName: string, clusterName: string, forCreateUser?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8752
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8753
|
+
assertParamExists('listClickhouseRoles', 'orgName', orgName)
|
|
8754
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8755
|
+
assertParamExists('listClickhouseRoles', 'clusterName', clusterName)
|
|
8756
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
8757
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8758
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8759
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8760
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8761
|
+
let baseOptions;
|
|
8762
|
+
if (configuration) {
|
|
8763
|
+
baseOptions = configuration.baseOptions;
|
|
8764
|
+
}
|
|
8765
|
+
|
|
8766
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8767
|
+
const localVarHeaderParameter = {} as any;
|
|
8768
|
+
const localVarQueryParameter = {} as any;
|
|
8769
|
+
|
|
8770
|
+
// authentication BearerToken required
|
|
8771
|
+
// http bearer authentication required
|
|
8772
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8773
|
+
|
|
8774
|
+
// authentication DigestAuth required
|
|
8775
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8776
|
+
|
|
8777
|
+
if (forCreateUser !== undefined) {
|
|
8778
|
+
localVarQueryParameter['forCreateUser'] = forCreateUser;
|
|
8779
|
+
}
|
|
8780
|
+
|
|
8781
|
+
|
|
8782
|
+
|
|
8783
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8784
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8785
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8786
|
+
|
|
8787
|
+
return {
|
|
8788
|
+
url: toPathString(localVarUrlObj),
|
|
8789
|
+
options: localVarRequestOptions,
|
|
8790
|
+
};
|
|
8791
|
+
},
|
|
8792
|
+
/**
|
|
8793
|
+
*
|
|
8794
|
+
* @summary List clusters in the Org
|
|
8795
|
+
* @param {string} orgName name of the Org
|
|
8796
|
+
* @param {string} [clusterDefinition] The clusterDefinition in the List request
|
|
8797
|
+
* @param {string} [environmentName] Environment Type
|
|
8798
|
+
* @param {EnvironmentType} [environmentType] Environment Type
|
|
8799
|
+
* @param {string} [tagKey] Tag key; this parameter is deprecated, use tagKeys instead
|
|
8800
|
+
* @param {string} [tagValue] Tag value; this parameter is deprecated, use tagValues instead
|
|
8801
|
+
* @param {Array<string>} [tagKeys] A list of tags\' keys
|
|
8802
|
+
* @param {Array<string>} [tagValues] A list of tags\' values corresponding to the tagKeys
|
|
8803
|
+
* @param {number} [licenseId] license id
|
|
8804
|
+
* @param {string} [refClusterName] list clusters referenced by this cluster
|
|
8805
|
+
* @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
|
|
8806
|
+
* @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
|
|
8807
|
+
* @param {*} [options] Override http request option.
|
|
8808
|
+
* @throws {RequiredError}
|
|
8809
|
+
*/
|
|
8810
|
+
listCluster: async (orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, endpointHost?: string, includeEndpoints?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8811
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8812
|
+
assertParamExists('listCluster', 'orgName', orgName)
|
|
8813
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters`
|
|
8814
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
8815
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8816
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8817
|
+
let baseOptions;
|
|
8818
|
+
if (configuration) {
|
|
8819
|
+
baseOptions = configuration.baseOptions;
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8822
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8823
|
+
const localVarHeaderParameter = {} as any;
|
|
8824
|
+
const localVarQueryParameter = {} as any;
|
|
8825
|
+
|
|
8826
|
+
// authentication BearerToken required
|
|
8827
|
+
// http bearer authentication required
|
|
8828
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8829
|
+
|
|
8830
|
+
// authentication DigestAuth required
|
|
8831
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8832
|
+
|
|
8833
|
+
if (clusterDefinition !== undefined) {
|
|
8834
|
+
localVarQueryParameter['clusterDefinition'] = clusterDefinition;
|
|
8835
|
+
}
|
|
8836
|
+
|
|
8837
|
+
if (environmentName !== undefined) {
|
|
8838
|
+
localVarQueryParameter['environmentName'] = environmentName;
|
|
8839
|
+
}
|
|
8840
|
+
|
|
8841
|
+
if (environmentType !== undefined) {
|
|
8842
|
+
localVarQueryParameter['environmentType'] = environmentType;
|
|
8843
|
+
}
|
|
8844
|
+
|
|
8845
|
+
if (tagKey !== undefined) {
|
|
8846
|
+
localVarQueryParameter['tagKey'] = tagKey;
|
|
8847
|
+
}
|
|
8848
|
+
|
|
8849
|
+
if (tagValue !== undefined) {
|
|
8850
|
+
localVarQueryParameter['tagValue'] = tagValue;
|
|
8851
|
+
}
|
|
8852
|
+
|
|
8853
|
+
if (tagKeys) {
|
|
8854
|
+
localVarQueryParameter['tagKeys'] = tagKeys;
|
|
8855
|
+
}
|
|
8856
|
+
|
|
8857
|
+
if (tagValues) {
|
|
8858
|
+
localVarQueryParameter['tagValues'] = tagValues;
|
|
8859
|
+
}
|
|
8860
|
+
|
|
8861
|
+
if (licenseId !== undefined) {
|
|
8862
|
+
localVarQueryParameter['licenseId'] = licenseId;
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
if (refClusterName !== undefined) {
|
|
8866
|
+
localVarQueryParameter['refClusterName'] = refClusterName;
|
|
8867
|
+
}
|
|
8868
|
+
|
|
8869
|
+
if (endpointHost !== undefined) {
|
|
8870
|
+
localVarQueryParameter['endpointHost'] = endpointHost;
|
|
8871
|
+
}
|
|
8872
|
+
|
|
8873
|
+
if (includeEndpoints !== undefined) {
|
|
8874
|
+
localVarQueryParameter['includeEndpoints'] = includeEndpoints;
|
|
8875
|
+
}
|
|
8876
|
+
|
|
8877
|
+
|
|
8878
|
+
|
|
8879
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8880
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8881
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8882
|
+
|
|
8883
|
+
return {
|
|
8884
|
+
url: toPathString(localVarUrlObj),
|
|
8885
|
+
options: localVarRequestOptions,
|
|
8886
|
+
};
|
|
8887
|
+
},
|
|
8888
|
+
/**
|
|
8889
|
+
*
|
|
8890
|
+
* @summary List restore tasks
|
|
8891
|
+
* @param {string} orgName name of the Org
|
|
8892
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
8893
|
+
* @param {*} [options] Override http request option.
|
|
8894
|
+
* @throws {RequiredError}
|
|
8895
|
+
*/
|
|
8896
|
+
listClusterRestore: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8897
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8898
|
+
assertParamExists('listClusterRestore', 'orgName', orgName)
|
|
8899
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8900
|
+
assertParamExists('listClusterRestore', 'clusterName', clusterName)
|
|
8901
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/restore`
|
|
8902
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8903
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8904
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8905
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8906
|
+
let baseOptions;
|
|
8907
|
+
if (configuration) {
|
|
8908
|
+
baseOptions = configuration.baseOptions;
|
|
8909
|
+
}
|
|
8910
|
+
|
|
8911
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8912
|
+
const localVarHeaderParameter = {} as any;
|
|
8913
|
+
const localVarQueryParameter = {} as any;
|
|
8914
|
+
|
|
8915
|
+
// authentication BearerToken required
|
|
8916
|
+
// http bearer authentication required
|
|
8917
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8918
|
+
|
|
8919
|
+
// authentication DigestAuth required
|
|
8920
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8921
|
+
|
|
8922
|
+
|
|
8923
|
+
|
|
8924
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8925
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8926
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8927
|
+
|
|
8928
|
+
return {
|
|
8929
|
+
url: toPathString(localVarUrlObj),
|
|
8930
|
+
options: localVarRequestOptions,
|
|
8931
|
+
};
|
|
8932
|
+
},
|
|
8933
|
+
/**
|
|
8934
|
+
*
|
|
8935
|
+
* @summary list the datasource of a cluster
|
|
8936
|
+
* @param {string} orgName name of the Org
|
|
8937
|
+
* @param {string} clusterName name of the cluster
|
|
8938
|
+
* @param {*} [options] Override http request option.
|
|
8939
|
+
* @throws {RequiredError}
|
|
8940
|
+
*/
|
|
8941
|
+
listDataSourceV2: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8942
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8943
|
+
assertParamExists('listDataSourceV2', 'orgName', orgName)
|
|
8944
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8945
|
+
assertParamExists('listDataSourceV2', 'clusterName', clusterName)
|
|
8946
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
|
|
8433
8947
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8434
8948
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8435
8949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -11592,61 +12106,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11592
12106
|
|
|
11593
12107
|
|
|
11594
12108
|
|
|
11595
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11596
|
-
|
|
11597
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11598
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11599
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11600
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
11601
|
-
|
|
11602
|
-
return {
|
|
11603
|
-
url: toPathString(localVarUrlObj),
|
|
11604
|
-
options: localVarRequestOptions,
|
|
11605
|
-
};
|
|
11606
|
-
},
|
|
11607
|
-
/**
|
|
11608
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
11609
|
-
* @summary Put Milvus role
|
|
11610
|
-
* @param {string} orgName name of the Org
|
|
11611
|
-
* @param {string} clusterName name of the Cluster
|
|
11612
|
-
* @param {string} roleName name of the Milvus role
|
|
11613
|
-
* @param {MilvusRoleRequest} body
|
|
11614
|
-
* @param {*} [options] Override http request option.
|
|
11615
|
-
* @throws {RequiredError}
|
|
11616
|
-
*/
|
|
11617
|
-
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11618
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
11619
|
-
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
11620
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
11621
|
-
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
11622
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
11623
|
-
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
11624
|
-
// verify required parameter 'body' is not null or undefined
|
|
11625
|
-
assertParamExists('putMilvusRole', 'body', body)
|
|
11626
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
11627
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11628
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11629
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11630
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11631
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11632
|
-
let baseOptions;
|
|
11633
|
-
if (configuration) {
|
|
11634
|
-
baseOptions = configuration.baseOptions;
|
|
11635
|
-
}
|
|
11636
|
-
|
|
11637
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11638
|
-
const localVarHeaderParameter = {} as any;
|
|
11639
|
-
const localVarQueryParameter = {} as any;
|
|
11640
|
-
|
|
11641
|
-
// authentication BearerToken required
|
|
11642
|
-
// http bearer authentication required
|
|
11643
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11644
|
-
|
|
11645
|
-
// authentication DigestAuth required
|
|
11646
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
12109
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11651
12110
|
|
|
11652
12111
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13688,6 +14147,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13688
14147
|
options: localVarRequestOptions,
|
|
13689
14148
|
};
|
|
13690
14149
|
},
|
|
14150
|
+
/**
|
|
14151
|
+
*
|
|
14152
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
14153
|
+
* @param {string} orgName
|
|
14154
|
+
* @param {string} clusterName
|
|
14155
|
+
* @param {string} roleName
|
|
14156
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
14157
|
+
* @param {*} [options] Override http request option.
|
|
14158
|
+
* @throws {RequiredError}
|
|
14159
|
+
*/
|
|
14160
|
+
revokeClickhouseRolePrivileges: async (orgName: string, clusterName: string, roleName: string, body: RevokeClickhouseRolePrivilegesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14161
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14162
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'orgName', orgName)
|
|
14163
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14164
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'clusterName', clusterName)
|
|
14165
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
14166
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'roleName', roleName)
|
|
14167
|
+
// verify required parameter 'body' is not null or undefined
|
|
14168
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'body', body)
|
|
14169
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
14170
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14171
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14172
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
14173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14175
|
+
let baseOptions;
|
|
14176
|
+
if (configuration) {
|
|
14177
|
+
baseOptions = configuration.baseOptions;
|
|
14178
|
+
}
|
|
14179
|
+
|
|
14180
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14181
|
+
const localVarHeaderParameter = {} as any;
|
|
14182
|
+
const localVarQueryParameter = {} as any;
|
|
14183
|
+
|
|
14184
|
+
// authentication BearerToken required
|
|
14185
|
+
// http bearer authentication required
|
|
14186
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14187
|
+
|
|
14188
|
+
// authentication DigestAuth required
|
|
14189
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14190
|
+
|
|
14191
|
+
|
|
14192
|
+
|
|
14193
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14194
|
+
|
|
14195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14197
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14198
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
14199
|
+
|
|
14200
|
+
return {
|
|
14201
|
+
url: toPathString(localVarUrlObj),
|
|
14202
|
+
options: localVarRequestOptions,
|
|
14203
|
+
};
|
|
14204
|
+
},
|
|
13691
14205
|
/**
|
|
13692
14206
|
*
|
|
13693
14207
|
* @summary Set alert config
|
|
@@ -14770,6 +15284,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14770
15284
|
|
|
14771
15285
|
|
|
14772
15286
|
|
|
15287
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15288
|
+
|
|
15289
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15290
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15291
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15292
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15293
|
+
|
|
15294
|
+
return {
|
|
15295
|
+
url: toPathString(localVarUrlObj),
|
|
15296
|
+
options: localVarRequestOptions,
|
|
15297
|
+
};
|
|
15298
|
+
},
|
|
15299
|
+
/**
|
|
15300
|
+
*
|
|
15301
|
+
* @summary Update a ClickHouse account password
|
|
15302
|
+
* @param {string} orgName
|
|
15303
|
+
* @param {string} clusterName
|
|
15304
|
+
* @param {string} accountName
|
|
15305
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
15306
|
+
* @param {*} [options] Override http request option.
|
|
15307
|
+
* @throws {RequiredError}
|
|
15308
|
+
*/
|
|
15309
|
+
updateClickhouseAccountPassword: async (orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15310
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15311
|
+
assertParamExists('updateClickhouseAccountPassword', 'orgName', orgName)
|
|
15312
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15313
|
+
assertParamExists('updateClickhouseAccountPassword', 'clusterName', clusterName)
|
|
15314
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15315
|
+
assertParamExists('updateClickhouseAccountPassword', 'accountName', accountName)
|
|
15316
|
+
// verify required parameter 'body' is not null or undefined
|
|
15317
|
+
assertParamExists('updateClickhouseAccountPassword', 'body', body)
|
|
15318
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
15319
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15320
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15321
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15324
|
+
let baseOptions;
|
|
15325
|
+
if (configuration) {
|
|
15326
|
+
baseOptions = configuration.baseOptions;
|
|
15327
|
+
}
|
|
15328
|
+
|
|
15329
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
15330
|
+
const localVarHeaderParameter = {} as any;
|
|
15331
|
+
const localVarQueryParameter = {} as any;
|
|
15332
|
+
|
|
15333
|
+
// authentication BearerToken required
|
|
15334
|
+
// http bearer authentication required
|
|
15335
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15336
|
+
|
|
15337
|
+
// authentication DigestAuth required
|
|
15338
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15339
|
+
|
|
15340
|
+
|
|
15341
|
+
|
|
15342
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15343
|
+
|
|
15344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15347
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15348
|
+
|
|
15349
|
+
return {
|
|
15350
|
+
url: toPathString(localVarUrlObj),
|
|
15351
|
+
options: localVarRequestOptions,
|
|
15352
|
+
};
|
|
15353
|
+
},
|
|
15354
|
+
/**
|
|
15355
|
+
*
|
|
15356
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
15357
|
+
* @param {string} orgName
|
|
15358
|
+
* @param {string} clusterName
|
|
15359
|
+
* @param {string} accountName
|
|
15360
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
15361
|
+
* @param {*} [options] Override http request option.
|
|
15362
|
+
* @throws {RequiredError}
|
|
15363
|
+
*/
|
|
15364
|
+
updateClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountRolesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15365
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15366
|
+
assertParamExists('updateClickhouseAccountRoles', 'orgName', orgName)
|
|
15367
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15368
|
+
assertParamExists('updateClickhouseAccountRoles', 'clusterName', clusterName)
|
|
15369
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15370
|
+
assertParamExists('updateClickhouseAccountRoles', 'accountName', accountName)
|
|
15371
|
+
// verify required parameter 'body' is not null or undefined
|
|
15372
|
+
assertParamExists('updateClickhouseAccountRoles', 'body', body)
|
|
15373
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
15374
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15375
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15376
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15379
|
+
let baseOptions;
|
|
15380
|
+
if (configuration) {
|
|
15381
|
+
baseOptions = configuration.baseOptions;
|
|
15382
|
+
}
|
|
15383
|
+
|
|
15384
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15385
|
+
const localVarHeaderParameter = {} as any;
|
|
15386
|
+
const localVarQueryParameter = {} as any;
|
|
15387
|
+
|
|
15388
|
+
// authentication BearerToken required
|
|
15389
|
+
// http bearer authentication required
|
|
15390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15391
|
+
|
|
15392
|
+
// authentication DigestAuth required
|
|
15393
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15394
|
+
|
|
15395
|
+
|
|
15396
|
+
|
|
14773
15397
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14774
15398
|
|
|
14775
15399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15363,6 +15987,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15363
15987
|
|
|
15364
15988
|
|
|
15365
15989
|
|
|
15990
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15991
|
+
|
|
15992
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15994
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15995
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15996
|
+
|
|
15997
|
+
return {
|
|
15998
|
+
url: toPathString(localVarUrlObj),
|
|
15999
|
+
options: localVarRequestOptions,
|
|
16000
|
+
};
|
|
16001
|
+
},
|
|
16002
|
+
/**
|
|
16003
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
16004
|
+
* @summary Update Milvus role
|
|
16005
|
+
* @param {string} orgName name of the Org
|
|
16006
|
+
* @param {string} clusterName name of the Cluster
|
|
16007
|
+
* @param {string} roleName name of the Milvus role
|
|
16008
|
+
* @param {MilvusRoleRequest} body
|
|
16009
|
+
* @param {*} [options] Override http request option.
|
|
16010
|
+
* @throws {RequiredError}
|
|
16011
|
+
*/
|
|
16012
|
+
updateMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16013
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
16014
|
+
assertParamExists('updateMilvusRole', 'orgName', orgName)
|
|
16015
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
16016
|
+
assertParamExists('updateMilvusRole', 'clusterName', clusterName)
|
|
16017
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
16018
|
+
assertParamExists('updateMilvusRole', 'roleName', roleName)
|
|
16019
|
+
// verify required parameter 'body' is not null or undefined
|
|
16020
|
+
assertParamExists('updateMilvusRole', 'body', body)
|
|
16021
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
16022
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16023
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
16024
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
16025
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16027
|
+
let baseOptions;
|
|
16028
|
+
if (configuration) {
|
|
16029
|
+
baseOptions = configuration.baseOptions;
|
|
16030
|
+
}
|
|
16031
|
+
|
|
16032
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16033
|
+
const localVarHeaderParameter = {} as any;
|
|
16034
|
+
const localVarQueryParameter = {} as any;
|
|
16035
|
+
|
|
16036
|
+
// authentication BearerToken required
|
|
16037
|
+
// http bearer authentication required
|
|
16038
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16039
|
+
|
|
16040
|
+
// authentication DigestAuth required
|
|
16041
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16042
|
+
|
|
16043
|
+
|
|
16044
|
+
|
|
15366
16045
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15367
16046
|
|
|
15368
16047
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15430,19 +16109,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15430
16109
|
* @param {string} orgName name of the Org
|
|
15431
16110
|
* @param {string} clusterName name of the Cluster
|
|
15432
16111
|
* @param {string} accountName name of the Account
|
|
15433
|
-
* @param {
|
|
16112
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
15434
16113
|
* @param {*} [options] Override http request option.
|
|
15435
16114
|
* @throws {RequiredError}
|
|
15436
16115
|
*/
|
|
15437
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
16116
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15438
16117
|
// verify required parameter 'orgName' is not null or undefined
|
|
15439
16118
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
15440
16119
|
// verify required parameter 'clusterName' is not null or undefined
|
|
15441
16120
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
15442
16121
|
// verify required parameter 'accountName' is not null or undefined
|
|
15443
16122
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
15444
|
-
// verify required parameter '
|
|
15445
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
16123
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
16124
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
15446
16125
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
15447
16126
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15448
16127
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -15472,7 +16151,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15472
16151
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15473
16152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15474
16153
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15475
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16154
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
15476
16155
|
|
|
15477
16156
|
return {
|
|
15478
16157
|
url: toPathString(localVarUrlObj),
|
|
@@ -16348,6 +17027,36 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16348
17027
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
16349
17028
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16350
17029
|
},
|
|
17030
|
+
/**
|
|
17031
|
+
*
|
|
17032
|
+
* @summary Create a ClickHouse account with optional roles
|
|
17033
|
+
* @param {string} orgName
|
|
17034
|
+
* @param {string} clusterName
|
|
17035
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
17036
|
+
* @param {*} [options] Override http request option.
|
|
17037
|
+
* @throws {RequiredError}
|
|
17038
|
+
*/
|
|
17039
|
+
async createClickhouseAccount(orgName: string, clusterName: string, body: CreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17040
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseAccount(orgName, clusterName, body, options);
|
|
17041
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17042
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createClickhouseAccount']?.[localVarOperationServerIndex]?.url;
|
|
17043
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17044
|
+
},
|
|
17045
|
+
/**
|
|
17046
|
+
*
|
|
17047
|
+
* @summary Create a ClickHouse role with privileges
|
|
17048
|
+
* @param {string} orgName
|
|
17049
|
+
* @param {string} clusterName
|
|
17050
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
17051
|
+
* @param {*} [options] Override http request option.
|
|
17052
|
+
* @throws {RequiredError}
|
|
17053
|
+
*/
|
|
17054
|
+
async createClickhouseRole(orgName: string, clusterName: string, body: ListClickhouseAccountRoles200Response, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseRole(orgName, clusterName, body, options);
|
|
17056
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17057
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createClickhouseRole']?.[localVarOperationServerIndex]?.url;
|
|
17058
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17059
|
+
},
|
|
16351
17060
|
/**
|
|
16352
17061
|
*
|
|
16353
17062
|
* @summary Create new cluster
|
|
@@ -16484,6 +17193,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16484
17193
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
16485
17194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16486
17195
|
},
|
|
17196
|
+
/**
|
|
17197
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
17198
|
+
* @summary Create Milvus role
|
|
17199
|
+
* @param {string} orgName name of the Org
|
|
17200
|
+
* @param {string} clusterName name of the Cluster
|
|
17201
|
+
* @param {MilvusRoleCreateRequest} body
|
|
17202
|
+
* @param {*} [options] Override http request option.
|
|
17203
|
+
* @throws {RequiredError}
|
|
17204
|
+
*/
|
|
17205
|
+
async createMilvusRole(orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
17207
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17208
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17209
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17210
|
+
},
|
|
16487
17211
|
/**
|
|
16488
17212
|
* create an account in mongodb
|
|
16489
17213
|
* @summary Create mongodb account
|
|
@@ -16749,6 +17473,36 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16749
17473
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
16750
17474
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16751
17475
|
},
|
|
17476
|
+
/**
|
|
17477
|
+
*
|
|
17478
|
+
* @summary Delete a ClickHouse account
|
|
17479
|
+
* @param {string} orgName
|
|
17480
|
+
* @param {string} clusterName
|
|
17481
|
+
* @param {string} accountName
|
|
17482
|
+
* @param {*} [options] Override http request option.
|
|
17483
|
+
* @throws {RequiredError}
|
|
17484
|
+
*/
|
|
17485
|
+
async deleteClickhouseAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17486
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseAccount(orgName, clusterName, accountName, options);
|
|
17487
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17488
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClickhouseAccount']?.[localVarOperationServerIndex]?.url;
|
|
17489
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17490
|
+
},
|
|
17491
|
+
/**
|
|
17492
|
+
*
|
|
17493
|
+
* @summary Delete a ClickHouse role
|
|
17494
|
+
* @param {string} orgName
|
|
17495
|
+
* @param {string} clusterName
|
|
17496
|
+
* @param {string} roleName
|
|
17497
|
+
* @param {*} [options] Override http request option.
|
|
17498
|
+
* @throws {RequiredError}
|
|
17499
|
+
*/
|
|
17500
|
+
async deleteClickhouseRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17501
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseRole(orgName, clusterName, roleName, options);
|
|
17502
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17503
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClickhouseRole']?.[localVarOperationServerIndex]?.url;
|
|
17504
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17505
|
+
},
|
|
16752
17506
|
/**
|
|
16753
17507
|
*
|
|
16754
17508
|
* @summary Delete cluster
|
|
@@ -17246,7 +18000,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17246
18000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17247
18001
|
},
|
|
17248
18002
|
/**
|
|
17249
|
-
* 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
|
|
18003
|
+
* 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.
|
|
17250
18004
|
* @summary Explain cluster slow log template
|
|
17251
18005
|
* @param {string} orgName
|
|
17252
18006
|
* @param {string} clusterName
|
|
@@ -17453,21 +18207,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17453
18207
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getAlertRule']?.[localVarOperationServerIndex]?.url;
|
|
17454
18208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17455
18209
|
},
|
|
17456
|
-
/**
|
|
17457
|
-
*
|
|
17458
|
-
* @summary list autohealing job
|
|
17459
|
-
* @param {string} orgName name of the Org
|
|
17460
|
-
* @param {string} clusterName name of the Cluster
|
|
17461
|
-
* @param {*} [options] Override http request option.
|
|
17462
|
-
* @deprecated
|
|
17463
|
-
* @throws {RequiredError}
|
|
17464
|
-
*/
|
|
17465
|
-
async getAutohealing(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutohealingListInner>>> {
|
|
17466
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
|
|
17467
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17468
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.getAutohealing']?.[localVarOperationServerIndex]?.url;
|
|
17469
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17470
|
-
},
|
|
17471
18210
|
/**
|
|
17472
18211
|
*
|
|
17473
18212
|
* @summary Get backup
|
|
@@ -17517,6 +18256,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17517
18256
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getBackupMethod']?.[localVarOperationServerIndex]?.url;
|
|
17518
18257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17519
18258
|
},
|
|
18259
|
+
/**
|
|
18260
|
+
*
|
|
18261
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
18262
|
+
* @param {string} orgName
|
|
18263
|
+
* @param {string} clusterName
|
|
18264
|
+
* @param {string} roleName
|
|
18265
|
+
* @param {*} [options] Override http request option.
|
|
18266
|
+
* @throws {RequiredError}
|
|
18267
|
+
*/
|
|
18268
|
+
async getClickhouseRoleGrants(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>>> {
|
|
18269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClickhouseRoleGrants(orgName, clusterName, roleName, options);
|
|
18270
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18271
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClickhouseRoleGrants']?.[localVarOperationServerIndex]?.url;
|
|
18272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18273
|
+
},
|
|
17520
18274
|
/**
|
|
17521
18275
|
*
|
|
17522
18276
|
* @summary Get cluster details
|
|
@@ -18298,6 +19052,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18298
19052
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getTenant']?.[localVarOperationServerIndex]?.url;
|
|
18299
19053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18300
19054
|
},
|
|
19055
|
+
/**
|
|
19056
|
+
*
|
|
19057
|
+
* @summary Grant privileges to a ClickHouse role
|
|
19058
|
+
* @param {string} orgName
|
|
19059
|
+
* @param {string} clusterName
|
|
19060
|
+
* @param {string} roleName
|
|
19061
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
19062
|
+
* @param {*} [options] Override http request option.
|
|
19063
|
+
* @throws {RequiredError}
|
|
19064
|
+
*/
|
|
19065
|
+
async grantClickhouseRolePrivileges(orgName: string, clusterName: string, roleName: string, body: ListClickhouseAccountRoles200ResponsePrivilegesInner, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
19067
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19068
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.grantClickhouseRolePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19070
|
+
},
|
|
18301
19071
|
/**
|
|
18302
19072
|
*
|
|
18303
19073
|
* @summary Horizontal scale cluster
|
|
@@ -18405,6 +19175,64 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18405
19175
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listBackupSchedules']?.[localVarOperationServerIndex]?.url;
|
|
18406
19176
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18407
19177
|
},
|
|
19178
|
+
/**
|
|
19179
|
+
*
|
|
19180
|
+
* @summary List the roles granted to a ClickHouse account
|
|
19181
|
+
* @param {string} orgName
|
|
19182
|
+
* @param {string} clusterName
|
|
19183
|
+
* @param {string} accountName
|
|
19184
|
+
* @param {*} [options] Override http request option.
|
|
19185
|
+
* @throws {RequiredError}
|
|
19186
|
+
*/
|
|
19187
|
+
async listClickhouseAccountRoles(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClickhouseAccountRoles200Response>> {
|
|
19188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccountRoles(orgName, clusterName, accountName, options);
|
|
19189
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19190
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
19191
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19192
|
+
},
|
|
19193
|
+
/**
|
|
19194
|
+
*
|
|
19195
|
+
* @summary List ClickHouse accounts
|
|
19196
|
+
* @param {string} orgName
|
|
19197
|
+
* @param {string} clusterName
|
|
19198
|
+
* @param {*} [options] Override http request option.
|
|
19199
|
+
* @throws {RequiredError}
|
|
19200
|
+
*/
|
|
19201
|
+
async listClickhouseAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CkAccount>> {
|
|
19202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccounts(orgName, clusterName, options);
|
|
19203
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19204
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseAccounts']?.[localVarOperationServerIndex]?.url;
|
|
19205
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19206
|
+
},
|
|
19207
|
+
/**
|
|
19208
|
+
*
|
|
19209
|
+
* @summary List privileges supported by the ClickHouse server
|
|
19210
|
+
* @param {string} orgName
|
|
19211
|
+
* @param {string} clusterName
|
|
19212
|
+
* @param {*} [options] Override http request option.
|
|
19213
|
+
* @throws {RequiredError}
|
|
19214
|
+
*/
|
|
19215
|
+
async listClickhousePrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
19216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhousePrivileges(orgName, clusterName, options);
|
|
19217
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19218
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhousePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19219
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19220
|
+
},
|
|
19221
|
+
/**
|
|
19222
|
+
*
|
|
19223
|
+
* @summary List ClickHouse roles
|
|
19224
|
+
* @param {string} orgName
|
|
19225
|
+
* @param {string} clusterName
|
|
19226
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
19227
|
+
* @param {*} [options] Override http request option.
|
|
19228
|
+
* @throws {RequiredError}
|
|
19229
|
+
*/
|
|
19230
|
+
async listClickhouseRoles(orgName: string, clusterName: string, forCreateUser?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListClickhouseAccountRoles200Response>>> {
|
|
19231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseRoles(orgName, clusterName, forCreateUser, options);
|
|
19232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19233
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseRoles']?.[localVarOperationServerIndex]?.url;
|
|
19234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19235
|
+
},
|
|
18408
19236
|
/**
|
|
18409
19237
|
*
|
|
18410
19238
|
* @summary List clusters in the Org
|
|
@@ -19397,22 +20225,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19397
20225
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
19398
20226
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19399
20227
|
},
|
|
19400
|
-
/**
|
|
19401
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
19402
|
-
* @summary Put Milvus role
|
|
19403
|
-
* @param {string} orgName name of the Org
|
|
19404
|
-
* @param {string} clusterName name of the Cluster
|
|
19405
|
-
* @param {string} roleName name of the Milvus role
|
|
19406
|
-
* @param {MilvusRoleRequest} body
|
|
19407
|
-
* @param {*} [options] Override http request option.
|
|
19408
|
-
* @throws {RequiredError}
|
|
19409
|
-
*/
|
|
19410
|
-
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
19411
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
19412
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19413
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
19414
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19415
|
-
},
|
|
19416
20228
|
/**
|
|
19417
20229
|
*
|
|
19418
20230
|
* @summary create a SQL query
|
|
@@ -19935,6 +20747,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19935
20747
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
19936
20748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19937
20749
|
},
|
|
20750
|
+
/**
|
|
20751
|
+
*
|
|
20752
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
20753
|
+
* @param {string} orgName
|
|
20754
|
+
* @param {string} clusterName
|
|
20755
|
+
* @param {string} roleName
|
|
20756
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
20757
|
+
* @param {*} [options] Override http request option.
|
|
20758
|
+
* @throws {RequiredError}
|
|
20759
|
+
*/
|
|
20760
|
+
async revokeClickhouseRolePrivileges(orgName: string, clusterName: string, roleName: string, body: RevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
20761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
20762
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20763
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.revokeClickhouseRolePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
20764
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20765
|
+
},
|
|
19938
20766
|
/**
|
|
19939
20767
|
*
|
|
19940
20768
|
* @summary Set alert config
|
|
@@ -20259,6 +21087,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20259
21087
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
20260
21088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20261
21089
|
},
|
|
21090
|
+
/**
|
|
21091
|
+
*
|
|
21092
|
+
* @summary Update a ClickHouse account password
|
|
21093
|
+
* @param {string} orgName
|
|
21094
|
+
* @param {string} clusterName
|
|
21095
|
+
* @param {string} accountName
|
|
21096
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
21097
|
+
* @param {*} [options] Override http request option.
|
|
21098
|
+
* @throws {RequiredError}
|
|
21099
|
+
*/
|
|
21100
|
+
async updateClickhouseAccountPassword(orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21101
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options);
|
|
21102
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21103
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateClickhouseAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
21104
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21105
|
+
},
|
|
21106
|
+
/**
|
|
21107
|
+
*
|
|
21108
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
21109
|
+
* @param {string} orgName
|
|
21110
|
+
* @param {string} clusterName
|
|
21111
|
+
* @param {string} accountName
|
|
21112
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
21113
|
+
* @param {*} [options] Override http request option.
|
|
21114
|
+
* @throws {RequiredError}
|
|
21115
|
+
*/
|
|
21116
|
+
async updateClickhouseAccountRoles(orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21117
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options);
|
|
21118
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21119
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateClickhouseAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
21120
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21121
|
+
},
|
|
20262
21122
|
/**
|
|
20263
21123
|
*
|
|
20264
21124
|
* @summary Update the cluster license
|
|
@@ -20433,6 +21293,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20433
21293
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
20434
21294
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20435
21295
|
},
|
|
21296
|
+
/**
|
|
21297
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21298
|
+
* @summary Update Milvus role
|
|
21299
|
+
* @param {string} orgName name of the Org
|
|
21300
|
+
* @param {string} clusterName name of the Cluster
|
|
21301
|
+
* @param {string} roleName name of the Milvus role
|
|
21302
|
+
* @param {MilvusRoleRequest} body
|
|
21303
|
+
* @param {*} [options] Override http request option.
|
|
21304
|
+
* @throws {RequiredError}
|
|
21305
|
+
*/
|
|
21306
|
+
async updateMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
21307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
21308
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21309
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
21310
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21311
|
+
},
|
|
20436
21312
|
/**
|
|
20437
21313
|
*
|
|
20438
21314
|
* @summary update mssql account compatible with windows account
|
|
@@ -20454,12 +21330,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20454
21330
|
* @param {string} orgName name of the Org
|
|
20455
21331
|
* @param {string} clusterName name of the Cluster
|
|
20456
21332
|
* @param {string} accountName name of the Account
|
|
20457
|
-
* @param {
|
|
21333
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
20458
21334
|
* @param {*} [options] Override http request option.
|
|
20459
21335
|
* @throws {RequiredError}
|
|
20460
21336
|
*/
|
|
20461
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
20462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
21337
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
20463
21339
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20464
21340
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
20465
21341
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20789,6 +21665,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20789
21665
|
createBackupSchedule(requestParameters: SharedApiCreateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule> {
|
|
20790
21666
|
return localVarFp.createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20791
21667
|
},
|
|
21668
|
+
/**
|
|
21669
|
+
*
|
|
21670
|
+
* @summary Create a ClickHouse account with optional roles
|
|
21671
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
21672
|
+
* @param {*} [options] Override http request option.
|
|
21673
|
+
* @throws {RequiredError}
|
|
21674
|
+
*/
|
|
21675
|
+
createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21676
|
+
return localVarFp.createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21677
|
+
},
|
|
21678
|
+
/**
|
|
21679
|
+
*
|
|
21680
|
+
* @summary Create a ClickHouse role with privileges
|
|
21681
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
21682
|
+
* @param {*} [options] Override http request option.
|
|
21683
|
+
* @throws {RequiredError}
|
|
21684
|
+
*/
|
|
21685
|
+
createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21686
|
+
return localVarFp.createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21687
|
+
},
|
|
20792
21688
|
/**
|
|
20793
21689
|
*
|
|
20794
21690
|
* @summary Create new cluster
|
|
@@ -20879,6 +21775,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20879
21775
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
|
|
20880
21776
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
20881
21777
|
},
|
|
21778
|
+
/**
|
|
21779
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
21780
|
+
* @summary Create Milvus role
|
|
21781
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
21782
|
+
* @param {*} [options] Override http request option.
|
|
21783
|
+
* @throws {RequiredError}
|
|
21784
|
+
*/
|
|
21785
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21786
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21787
|
+
},
|
|
20882
21788
|
/**
|
|
20883
21789
|
* create an account in mongodb
|
|
20884
21790
|
* @summary Create mongodb account
|
|
@@ -21059,6 +21965,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21059
21965
|
deleteBackupSchedule(requestParameters: SharedApiDeleteBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21060
21966
|
return localVarFp.deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(axios, basePath));
|
|
21061
21967
|
},
|
|
21968
|
+
/**
|
|
21969
|
+
*
|
|
21970
|
+
* @summary Delete a ClickHouse account
|
|
21971
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
21972
|
+
* @param {*} [options] Override http request option.
|
|
21973
|
+
* @throws {RequiredError}
|
|
21974
|
+
*/
|
|
21975
|
+
deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21976
|
+
return localVarFp.deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
21977
|
+
},
|
|
21978
|
+
/**
|
|
21979
|
+
*
|
|
21980
|
+
* @summary Delete a ClickHouse role
|
|
21981
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
21982
|
+
* @param {*} [options] Override http request option.
|
|
21983
|
+
* @throws {RequiredError}
|
|
21984
|
+
*/
|
|
21985
|
+
deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21986
|
+
return localVarFp.deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
21987
|
+
},
|
|
21062
21988
|
/**
|
|
21063
21989
|
*
|
|
21064
21990
|
* @summary Delete cluster
|
|
@@ -21390,7 +22316,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21390
22316
|
return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
|
|
21391
22317
|
},
|
|
21392
22318
|
/**
|
|
21393
|
-
* 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
|
|
22319
|
+
* 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.
|
|
21394
22320
|
* @summary Explain cluster slow log template
|
|
21395
22321
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
21396
22322
|
* @param {*} [options] Override http request option.
|
|
@@ -21498,17 +22424,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21498
22424
|
getAlertRule(requestParameters: SharedApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule> {
|
|
21499
22425
|
return localVarFp.getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(axios, basePath));
|
|
21500
22426
|
},
|
|
21501
|
-
/**
|
|
21502
|
-
*
|
|
21503
|
-
* @summary list autohealing job
|
|
21504
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
21505
|
-
* @param {*} [options] Override http request option.
|
|
21506
|
-
* @deprecated
|
|
21507
|
-
* @throws {RequiredError}
|
|
21508
|
-
*/
|
|
21509
|
-
getAutohealing(requestParameters: SharedApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>> {
|
|
21510
|
-
return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21511
|
-
},
|
|
21512
22427
|
/**
|
|
21513
22428
|
*
|
|
21514
22429
|
* @summary Get backup
|
|
@@ -21539,6 +22454,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21539
22454
|
getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod> {
|
|
21540
22455
|
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));
|
|
21541
22456
|
},
|
|
22457
|
+
/**
|
|
22458
|
+
*
|
|
22459
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
22460
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
22461
|
+
* @param {*} [options] Override http request option.
|
|
22462
|
+
* @throws {RequiredError}
|
|
22463
|
+
*/
|
|
22464
|
+
getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>> {
|
|
22465
|
+
return localVarFp.getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
22466
|
+
},
|
|
21542
22467
|
/**
|
|
21543
22468
|
*
|
|
21544
22469
|
* @summary Get cluster details
|
|
@@ -22028,6 +22953,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22028
22953
|
getTenant(requestParameters: SharedApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tenant> {
|
|
22029
22954
|
return localVarFp.getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(axios, basePath));
|
|
22030
22955
|
},
|
|
22956
|
+
/**
|
|
22957
|
+
*
|
|
22958
|
+
* @summary Grant privileges to a ClickHouse role
|
|
22959
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
22960
|
+
* @param {*} [options] Override http request option.
|
|
22961
|
+
* @throws {RequiredError}
|
|
22962
|
+
*/
|
|
22963
|
+
grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22964
|
+
return localVarFp.grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22965
|
+
},
|
|
22031
22966
|
/**
|
|
22032
22967
|
*
|
|
22033
22968
|
* @summary Horizontal scale cluster
|
|
@@ -22098,6 +23033,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22098
23033
|
listBackupSchedules(requestParameters: SharedApiListBackupSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupScheduleList> {
|
|
22099
23034
|
return localVarFp.listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(axios, basePath));
|
|
22100
23035
|
},
|
|
23036
|
+
/**
|
|
23037
|
+
*
|
|
23038
|
+
* @summary List the roles granted to a ClickHouse account
|
|
23039
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
23040
|
+
* @param {*} [options] Override http request option.
|
|
23041
|
+
* @throws {RequiredError}
|
|
23042
|
+
*/
|
|
23043
|
+
listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClickhouseAccountRoles200Response> {
|
|
23044
|
+
return localVarFp.listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
23045
|
+
},
|
|
23046
|
+
/**
|
|
23047
|
+
*
|
|
23048
|
+
* @summary List ClickHouse accounts
|
|
23049
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
23050
|
+
* @param {*} [options] Override http request option.
|
|
23051
|
+
* @throws {RequiredError}
|
|
23052
|
+
*/
|
|
23053
|
+
listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CkAccount> {
|
|
23054
|
+
return localVarFp.listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23055
|
+
},
|
|
23056
|
+
/**
|
|
23057
|
+
*
|
|
23058
|
+
* @summary List privileges supported by the ClickHouse server
|
|
23059
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
23060
|
+
* @param {*} [options] Override http request option.
|
|
23061
|
+
* @throws {RequiredError}
|
|
23062
|
+
*/
|
|
23063
|
+
listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
23064
|
+
return localVarFp.listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23065
|
+
},
|
|
23066
|
+
/**
|
|
23067
|
+
*
|
|
23068
|
+
* @summary List ClickHouse roles
|
|
23069
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
23070
|
+
* @param {*} [options] Override http request option.
|
|
23071
|
+
* @throws {RequiredError}
|
|
23072
|
+
*/
|
|
23073
|
+
listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListClickhouseAccountRoles200Response>> {
|
|
23074
|
+
return localVarFp.listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(axios, basePath));
|
|
23075
|
+
},
|
|
22101
23076
|
/**
|
|
22102
23077
|
*
|
|
22103
23078
|
* @summary List clusters in the Org
|
|
@@ -22756,16 +23731,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22756
23731
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22757
23732
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22758
23733
|
},
|
|
22759
|
-
/**
|
|
22760
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
22761
|
-
* @summary Put Milvus role
|
|
22762
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
22763
|
-
* @param {*} [options] Override http request option.
|
|
22764
|
-
* @throws {RequiredError}
|
|
22765
|
-
*/
|
|
22766
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
22767
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22768
|
-
},
|
|
22769
23734
|
/**
|
|
22770
23735
|
*
|
|
22771
23736
|
* @summary create a SQL query
|
|
@@ -23025,6 +23990,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23025
23990
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
23026
23991
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23027
23992
|
},
|
|
23993
|
+
/**
|
|
23994
|
+
*
|
|
23995
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
23996
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
23997
|
+
* @param {*} [options] Override http request option.
|
|
23998
|
+
* @throws {RequiredError}
|
|
23999
|
+
*/
|
|
24000
|
+
revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24001
|
+
return localVarFp.revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24002
|
+
},
|
|
23028
24003
|
/**
|
|
23029
24004
|
*
|
|
23030
24005
|
* @summary Set alert config
|
|
@@ -23235,6 +24210,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23235
24210
|
updateBackupSchedule(requestParameters: SharedApiUpdateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule> {
|
|
23236
24211
|
return localVarFp.updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23237
24212
|
},
|
|
24213
|
+
/**
|
|
24214
|
+
*
|
|
24215
|
+
* @summary Update a ClickHouse account password
|
|
24216
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
24217
|
+
* @param {*} [options] Override http request option.
|
|
24218
|
+
* @throws {RequiredError}
|
|
24219
|
+
*/
|
|
24220
|
+
updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24221
|
+
return localVarFp.updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24222
|
+
},
|
|
24223
|
+
/**
|
|
24224
|
+
*
|
|
24225
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
24226
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
24227
|
+
* @param {*} [options] Override http request option.
|
|
24228
|
+
* @throws {RequiredError}
|
|
24229
|
+
*/
|
|
24230
|
+
updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24231
|
+
return localVarFp.updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24232
|
+
},
|
|
23238
24233
|
/**
|
|
23239
24234
|
*
|
|
23240
24235
|
* @summary Update the cluster license
|
|
@@ -23345,6 +24340,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23345
24340
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23346
24341
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23347
24342
|
},
|
|
24343
|
+
/**
|
|
24344
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24345
|
+
* @summary Update Milvus role
|
|
24346
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24347
|
+
* @param {*} [options] Override http request option.
|
|
24348
|
+
* @throws {RequiredError}
|
|
24349
|
+
*/
|
|
24350
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
24351
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24352
|
+
},
|
|
23348
24353
|
/**
|
|
23349
24354
|
*
|
|
23350
24355
|
* @summary update mssql account compatible with windows account
|
|
@@ -23363,7 +24368,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23363
24368
|
* @throws {RequiredError}
|
|
23364
24369
|
*/
|
|
23365
24370
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23366
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24371
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
23367
24372
|
},
|
|
23368
24373
|
/**
|
|
23369
24374
|
* Update a RabbitMQ account privileges
|
|
@@ -23624,6 +24629,26 @@ export interface SharedApiInterface {
|
|
|
23624
24629
|
*/
|
|
23625
24630
|
createBackupSchedule(requestParameters: SharedApiCreateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule>;
|
|
23626
24631
|
|
|
24632
|
+
/**
|
|
24633
|
+
*
|
|
24634
|
+
* @summary Create a ClickHouse account with optional roles
|
|
24635
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
24636
|
+
* @param {*} [options] Override http request option.
|
|
24637
|
+
* @throws {RequiredError}
|
|
24638
|
+
* @memberof SharedApiInterface
|
|
24639
|
+
*/
|
|
24640
|
+
createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24641
|
+
|
|
24642
|
+
/**
|
|
24643
|
+
*
|
|
24644
|
+
* @summary Create a ClickHouse role with privileges
|
|
24645
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
24646
|
+
* @param {*} [options] Override http request option.
|
|
24647
|
+
* @throws {RequiredError}
|
|
24648
|
+
* @memberof SharedApiInterface
|
|
24649
|
+
*/
|
|
24650
|
+
createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24651
|
+
|
|
23627
24652
|
/**
|
|
23628
24653
|
*
|
|
23629
24654
|
* @summary Create new cluster
|
|
@@ -23714,6 +24739,16 @@ export interface SharedApiInterface {
|
|
|
23714
24739
|
*/
|
|
23715
24740
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
|
|
23716
24741
|
|
|
24742
|
+
/**
|
|
24743
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
24744
|
+
* @summary Create Milvus role
|
|
24745
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
24746
|
+
* @param {*} [options] Override http request option.
|
|
24747
|
+
* @throws {RequiredError}
|
|
24748
|
+
* @memberof SharedApiInterface
|
|
24749
|
+
*/
|
|
24750
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24751
|
+
|
|
23717
24752
|
/**
|
|
23718
24753
|
* create an account in mongodb
|
|
23719
24754
|
* @summary Create mongodb account
|
|
@@ -23894,6 +24929,26 @@ export interface SharedApiInterface {
|
|
|
23894
24929
|
*/
|
|
23895
24930
|
deleteBackupSchedule(requestParameters: SharedApiDeleteBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23896
24931
|
|
|
24932
|
+
/**
|
|
24933
|
+
*
|
|
24934
|
+
* @summary Delete a ClickHouse account
|
|
24935
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
24936
|
+
* @param {*} [options] Override http request option.
|
|
24937
|
+
* @throws {RequiredError}
|
|
24938
|
+
* @memberof SharedApiInterface
|
|
24939
|
+
*/
|
|
24940
|
+
deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24941
|
+
|
|
24942
|
+
/**
|
|
24943
|
+
*
|
|
24944
|
+
* @summary Delete a ClickHouse role
|
|
24945
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
24946
|
+
* @param {*} [options] Override http request option.
|
|
24947
|
+
* @throws {RequiredError}
|
|
24948
|
+
* @memberof SharedApiInterface
|
|
24949
|
+
*/
|
|
24950
|
+
deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24951
|
+
|
|
23897
24952
|
/**
|
|
23898
24953
|
*
|
|
23899
24954
|
* @summary Delete cluster
|
|
@@ -24225,7 +25280,7 @@ export interface SharedApiInterface {
|
|
|
24225
25280
|
explainSlowLog(requestParameters: SharedApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
|
|
24226
25281
|
|
|
24227
25282
|
/**
|
|
24228
|
-
* 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
|
|
25283
|
+
* 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.
|
|
24229
25284
|
* @summary Explain cluster slow log template
|
|
24230
25285
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
24231
25286
|
* @param {*} [options] Override http request option.
|
|
@@ -24333,17 +25388,6 @@ export interface SharedApiInterface {
|
|
|
24333
25388
|
*/
|
|
24334
25389
|
getAlertRule(requestParameters: SharedApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
|
|
24335
25390
|
|
|
24336
|
-
/**
|
|
24337
|
-
*
|
|
24338
|
-
* @summary list autohealing job
|
|
24339
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
24340
|
-
* @param {*} [options] Override http request option.
|
|
24341
|
-
* @deprecated
|
|
24342
|
-
* @throws {RequiredError}
|
|
24343
|
-
* @memberof SharedApiInterface
|
|
24344
|
-
*/
|
|
24345
|
-
getAutohealing(requestParameters: SharedApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>>;
|
|
24346
|
-
|
|
24347
25391
|
/**
|
|
24348
25392
|
*
|
|
24349
25393
|
* @summary Get backup
|
|
@@ -24374,6 +25418,16 @@ export interface SharedApiInterface {
|
|
|
24374
25418
|
*/
|
|
24375
25419
|
getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod>;
|
|
24376
25420
|
|
|
25421
|
+
/**
|
|
25422
|
+
*
|
|
25423
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
25424
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
25425
|
+
* @param {*} [options] Override http request option.
|
|
25426
|
+
* @throws {RequiredError}
|
|
25427
|
+
* @memberof SharedApiInterface
|
|
25428
|
+
*/
|
|
25429
|
+
getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>>;
|
|
25430
|
+
|
|
24377
25431
|
/**
|
|
24378
25432
|
*
|
|
24379
25433
|
* @summary Get cluster details
|
|
@@ -24863,6 +25917,16 @@ export interface SharedApiInterface {
|
|
|
24863
25917
|
*/
|
|
24864
25918
|
getTenant(requestParameters: SharedApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
|
|
24865
25919
|
|
|
25920
|
+
/**
|
|
25921
|
+
*
|
|
25922
|
+
* @summary Grant privileges to a ClickHouse role
|
|
25923
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
25924
|
+
* @param {*} [options] Override http request option.
|
|
25925
|
+
* @throws {RequiredError}
|
|
25926
|
+
* @memberof SharedApiInterface
|
|
25927
|
+
*/
|
|
25928
|
+
grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25929
|
+
|
|
24866
25930
|
/**
|
|
24867
25931
|
*
|
|
24868
25932
|
* @summary Horizontal scale cluster
|
|
@@ -24933,6 +25997,46 @@ export interface SharedApiInterface {
|
|
|
24933
25997
|
*/
|
|
24934
25998
|
listBackupSchedules(requestParameters: SharedApiListBackupSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupScheduleList>;
|
|
24935
25999
|
|
|
26000
|
+
/**
|
|
26001
|
+
*
|
|
26002
|
+
* @summary List the roles granted to a ClickHouse account
|
|
26003
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
26004
|
+
* @param {*} [options] Override http request option.
|
|
26005
|
+
* @throws {RequiredError}
|
|
26006
|
+
* @memberof SharedApiInterface
|
|
26007
|
+
*/
|
|
26008
|
+
listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClickhouseAccountRoles200Response>;
|
|
26009
|
+
|
|
26010
|
+
/**
|
|
26011
|
+
*
|
|
26012
|
+
* @summary List ClickHouse accounts
|
|
26013
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
26014
|
+
* @param {*} [options] Override http request option.
|
|
26015
|
+
* @throws {RequiredError}
|
|
26016
|
+
* @memberof SharedApiInterface
|
|
26017
|
+
*/
|
|
26018
|
+
listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CkAccount>;
|
|
26019
|
+
|
|
26020
|
+
/**
|
|
26021
|
+
*
|
|
26022
|
+
* @summary List privileges supported by the ClickHouse server
|
|
26023
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
26024
|
+
* @param {*} [options] Override http request option.
|
|
26025
|
+
* @throws {RequiredError}
|
|
26026
|
+
* @memberof SharedApiInterface
|
|
26027
|
+
*/
|
|
26028
|
+
listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
26029
|
+
|
|
26030
|
+
/**
|
|
26031
|
+
*
|
|
26032
|
+
* @summary List ClickHouse roles
|
|
26033
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
26034
|
+
* @param {*} [options] Override http request option.
|
|
26035
|
+
* @throws {RequiredError}
|
|
26036
|
+
* @memberof SharedApiInterface
|
|
26037
|
+
*/
|
|
26038
|
+
listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListClickhouseAccountRoles200Response>>;
|
|
26039
|
+
|
|
24936
26040
|
/**
|
|
24937
26041
|
*
|
|
24938
26042
|
* @summary List clusters in the Org
|
|
@@ -25591,16 +26695,6 @@ export interface SharedApiInterface {
|
|
|
25591
26695
|
*/
|
|
25592
26696
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25593
26697
|
|
|
25594
|
-
/**
|
|
25595
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
25596
|
-
* @summary Put Milvus role
|
|
25597
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
25598
|
-
* @param {*} [options] Override http request option.
|
|
25599
|
-
* @throws {RequiredError}
|
|
25600
|
-
* @memberof SharedApiInterface
|
|
25601
|
-
*/
|
|
25602
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
25603
|
-
|
|
25604
26698
|
/**
|
|
25605
26699
|
*
|
|
25606
26700
|
* @summary create a SQL query
|
|
@@ -25860,6 +26954,16 @@ export interface SharedApiInterface {
|
|
|
25860
26954
|
*/
|
|
25861
26955
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
25862
26956
|
|
|
26957
|
+
/**
|
|
26958
|
+
*
|
|
26959
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
26960
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
26961
|
+
* @param {*} [options] Override http request option.
|
|
26962
|
+
* @throws {RequiredError}
|
|
26963
|
+
* @memberof SharedApiInterface
|
|
26964
|
+
*/
|
|
26965
|
+
revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26966
|
+
|
|
25863
26967
|
/**
|
|
25864
26968
|
*
|
|
25865
26969
|
* @summary Set alert config
|
|
@@ -26070,6 +27174,26 @@ export interface SharedApiInterface {
|
|
|
26070
27174
|
*/
|
|
26071
27175
|
updateBackupSchedule(requestParameters: SharedApiUpdateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule>;
|
|
26072
27176
|
|
|
27177
|
+
/**
|
|
27178
|
+
*
|
|
27179
|
+
* @summary Update a ClickHouse account password
|
|
27180
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
27181
|
+
* @param {*} [options] Override http request option.
|
|
27182
|
+
* @throws {RequiredError}
|
|
27183
|
+
* @memberof SharedApiInterface
|
|
27184
|
+
*/
|
|
27185
|
+
updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27186
|
+
|
|
27187
|
+
/**
|
|
27188
|
+
*
|
|
27189
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
27190
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
27191
|
+
* @param {*} [options] Override http request option.
|
|
27192
|
+
* @throws {RequiredError}
|
|
27193
|
+
* @memberof SharedApiInterface
|
|
27194
|
+
*/
|
|
27195
|
+
updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27196
|
+
|
|
26073
27197
|
/**
|
|
26074
27198
|
*
|
|
26075
27199
|
* @summary Update the cluster license
|
|
@@ -26180,6 +27304,16 @@ export interface SharedApiInterface {
|
|
|
26180
27304
|
*/
|
|
26181
27305
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26182
27306
|
|
|
27307
|
+
/**
|
|
27308
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
27309
|
+
* @summary Update Milvus role
|
|
27310
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
27311
|
+
* @param {*} [options] Override http request option.
|
|
27312
|
+
* @throws {RequiredError}
|
|
27313
|
+
* @memberof SharedApiInterface
|
|
27314
|
+
*/
|
|
27315
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
27316
|
+
|
|
26183
27317
|
/**
|
|
26184
27318
|
*
|
|
26185
27319
|
* @summary update mssql account compatible with windows account
|
|
@@ -26916,6 +28050,62 @@ export interface SharedApiCreateBackupScheduleRequest {
|
|
|
26916
28050
|
readonly body: BackupScheduleCreate
|
|
26917
28051
|
}
|
|
26918
28052
|
|
|
28053
|
+
/**
|
|
28054
|
+
* Request parameters for createClickhouseAccount operation in SharedApi.
|
|
28055
|
+
* @export
|
|
28056
|
+
* @interface SharedApiCreateClickhouseAccountRequest
|
|
28057
|
+
*/
|
|
28058
|
+
export interface SharedApiCreateClickhouseAccountRequest {
|
|
28059
|
+
/**
|
|
28060
|
+
*
|
|
28061
|
+
* @type {string}
|
|
28062
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28063
|
+
*/
|
|
28064
|
+
readonly orgName: string
|
|
28065
|
+
|
|
28066
|
+
/**
|
|
28067
|
+
*
|
|
28068
|
+
* @type {string}
|
|
28069
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28070
|
+
*/
|
|
28071
|
+
readonly clusterName: string
|
|
28072
|
+
|
|
28073
|
+
/**
|
|
28074
|
+
*
|
|
28075
|
+
* @type {CreateClickhouseAccountRequest}
|
|
28076
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28077
|
+
*/
|
|
28078
|
+
readonly body: CreateClickhouseAccountRequest
|
|
28079
|
+
}
|
|
28080
|
+
|
|
28081
|
+
/**
|
|
28082
|
+
* Request parameters for createClickhouseRole operation in SharedApi.
|
|
28083
|
+
* @export
|
|
28084
|
+
* @interface SharedApiCreateClickhouseRoleRequest
|
|
28085
|
+
*/
|
|
28086
|
+
export interface SharedApiCreateClickhouseRoleRequest {
|
|
28087
|
+
/**
|
|
28088
|
+
*
|
|
28089
|
+
* @type {string}
|
|
28090
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28091
|
+
*/
|
|
28092
|
+
readonly orgName: string
|
|
28093
|
+
|
|
28094
|
+
/**
|
|
28095
|
+
*
|
|
28096
|
+
* @type {string}
|
|
28097
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28098
|
+
*/
|
|
28099
|
+
readonly clusterName: string
|
|
28100
|
+
|
|
28101
|
+
/**
|
|
28102
|
+
*
|
|
28103
|
+
* @type {ListClickhouseAccountRoles200Response}
|
|
28104
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28105
|
+
*/
|
|
28106
|
+
readonly body: ListClickhouseAccountRoles200Response
|
|
28107
|
+
}
|
|
28108
|
+
|
|
26919
28109
|
/**
|
|
26920
28110
|
* Request parameters for createCluster operation in SharedApi.
|
|
26921
28111
|
* @export
|
|
@@ -27175,6 +28365,34 @@ export interface SharedApiCreateKafkaTopicRequest {
|
|
|
27175
28365
|
readonly createTopicRequest: CreateTopicRequest
|
|
27176
28366
|
}
|
|
27177
28367
|
|
|
28368
|
+
/**
|
|
28369
|
+
* Request parameters for createMilvusRole operation in SharedApi.
|
|
28370
|
+
* @export
|
|
28371
|
+
* @interface SharedApiCreateMilvusRoleRequest
|
|
28372
|
+
*/
|
|
28373
|
+
export interface SharedApiCreateMilvusRoleRequest {
|
|
28374
|
+
/**
|
|
28375
|
+
* name of the Org
|
|
28376
|
+
* @type {string}
|
|
28377
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28378
|
+
*/
|
|
28379
|
+
readonly orgName: string
|
|
28380
|
+
|
|
28381
|
+
/**
|
|
28382
|
+
* name of the Cluster
|
|
28383
|
+
* @type {string}
|
|
28384
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28385
|
+
*/
|
|
28386
|
+
readonly clusterName: string
|
|
28387
|
+
|
|
28388
|
+
/**
|
|
28389
|
+
*
|
|
28390
|
+
* @type {MilvusRoleCreateRequest}
|
|
28391
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28392
|
+
*/
|
|
28393
|
+
readonly body: MilvusRoleCreateRequest
|
|
28394
|
+
}
|
|
28395
|
+
|
|
27178
28396
|
/**
|
|
27179
28397
|
* Request parameters for createMongoDBAccount operation in SharedApi.
|
|
27180
28398
|
* @export
|
|
@@ -27644,6 +28862,62 @@ export interface SharedApiDeleteBackupScheduleRequest {
|
|
|
27644
28862
|
readonly scheduleName: string
|
|
27645
28863
|
}
|
|
27646
28864
|
|
|
28865
|
+
/**
|
|
28866
|
+
* Request parameters for deleteClickhouseAccount operation in SharedApi.
|
|
28867
|
+
* @export
|
|
28868
|
+
* @interface SharedApiDeleteClickhouseAccountRequest
|
|
28869
|
+
*/
|
|
28870
|
+
export interface SharedApiDeleteClickhouseAccountRequest {
|
|
28871
|
+
/**
|
|
28872
|
+
*
|
|
28873
|
+
* @type {string}
|
|
28874
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28875
|
+
*/
|
|
28876
|
+
readonly orgName: string
|
|
28877
|
+
|
|
28878
|
+
/**
|
|
28879
|
+
*
|
|
28880
|
+
* @type {string}
|
|
28881
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28882
|
+
*/
|
|
28883
|
+
readonly clusterName: string
|
|
28884
|
+
|
|
28885
|
+
/**
|
|
28886
|
+
*
|
|
28887
|
+
* @type {string}
|
|
28888
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28889
|
+
*/
|
|
28890
|
+
readonly accountName: string
|
|
28891
|
+
}
|
|
28892
|
+
|
|
28893
|
+
/**
|
|
28894
|
+
* Request parameters for deleteClickhouseRole operation in SharedApi.
|
|
28895
|
+
* @export
|
|
28896
|
+
* @interface SharedApiDeleteClickhouseRoleRequest
|
|
28897
|
+
*/
|
|
28898
|
+
export interface SharedApiDeleteClickhouseRoleRequest {
|
|
28899
|
+
/**
|
|
28900
|
+
*
|
|
28901
|
+
* @type {string}
|
|
28902
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28903
|
+
*/
|
|
28904
|
+
readonly orgName: string
|
|
28905
|
+
|
|
28906
|
+
/**
|
|
28907
|
+
*
|
|
28908
|
+
* @type {string}
|
|
28909
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28910
|
+
*/
|
|
28911
|
+
readonly clusterName: string
|
|
28912
|
+
|
|
28913
|
+
/**
|
|
28914
|
+
*
|
|
28915
|
+
* @type {string}
|
|
28916
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28917
|
+
*/
|
|
28918
|
+
readonly roleName: string
|
|
28919
|
+
}
|
|
28920
|
+
|
|
27647
28921
|
/**
|
|
27648
28922
|
* Request parameters for deleteCluster operation in SharedApi.
|
|
27649
28923
|
* @export
|
|
@@ -29191,27 +30465,6 @@ export interface SharedApiGetAlertRuleRequest {
|
|
|
29191
30465
|
readonly alertName: string
|
|
29192
30466
|
}
|
|
29193
30467
|
|
|
29194
|
-
/**
|
|
29195
|
-
* Request parameters for getAutohealing operation in SharedApi.
|
|
29196
|
-
* @export
|
|
29197
|
-
* @interface SharedApiGetAutohealingRequest
|
|
29198
|
-
*/
|
|
29199
|
-
export interface SharedApiGetAutohealingRequest {
|
|
29200
|
-
/**
|
|
29201
|
-
* name of the Org
|
|
29202
|
-
* @type {string}
|
|
29203
|
-
* @memberof SharedApiGetAutohealing
|
|
29204
|
-
*/
|
|
29205
|
-
readonly orgName: string
|
|
29206
|
-
|
|
29207
|
-
/**
|
|
29208
|
-
* name of the Cluster
|
|
29209
|
-
* @type {string}
|
|
29210
|
-
* @memberof SharedApiGetAutohealing
|
|
29211
|
-
*/
|
|
29212
|
-
readonly clusterName: string
|
|
29213
|
-
}
|
|
29214
|
-
|
|
29215
30468
|
/**
|
|
29216
30469
|
* Request parameters for getBackup operation in SharedApi.
|
|
29217
30470
|
* @export
|
|
@@ -29324,6 +30577,34 @@ export interface SharedApiGetBackupMethodRequest {
|
|
|
29324
30577
|
readonly mode?: string
|
|
29325
30578
|
}
|
|
29326
30579
|
|
|
30580
|
+
/**
|
|
30581
|
+
* Request parameters for getClickhouseRoleGrants operation in SharedApi.
|
|
30582
|
+
* @export
|
|
30583
|
+
* @interface SharedApiGetClickhouseRoleGrantsRequest
|
|
30584
|
+
*/
|
|
30585
|
+
export interface SharedApiGetClickhouseRoleGrantsRequest {
|
|
30586
|
+
/**
|
|
30587
|
+
*
|
|
30588
|
+
* @type {string}
|
|
30589
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30590
|
+
*/
|
|
30591
|
+
readonly orgName: string
|
|
30592
|
+
|
|
30593
|
+
/**
|
|
30594
|
+
*
|
|
30595
|
+
* @type {string}
|
|
30596
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30597
|
+
*/
|
|
30598
|
+
readonly clusterName: string
|
|
30599
|
+
|
|
30600
|
+
/**
|
|
30601
|
+
*
|
|
30602
|
+
* @type {string}
|
|
30603
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30604
|
+
*/
|
|
30605
|
+
readonly roleName: string
|
|
30606
|
+
}
|
|
30607
|
+
|
|
29327
30608
|
/**
|
|
29328
30609
|
* Request parameters for getCluster operation in SharedApi.
|
|
29329
30610
|
* @export
|
|
@@ -31025,6 +32306,41 @@ export interface SharedApiGetTenantRequest {
|
|
|
31025
32306
|
readonly tenantId: string
|
|
31026
32307
|
}
|
|
31027
32308
|
|
|
32309
|
+
/**
|
|
32310
|
+
* Request parameters for grantClickhouseRolePrivileges operation in SharedApi.
|
|
32311
|
+
* @export
|
|
32312
|
+
* @interface SharedApiGrantClickhouseRolePrivilegesRequest
|
|
32313
|
+
*/
|
|
32314
|
+
export interface SharedApiGrantClickhouseRolePrivilegesRequest {
|
|
32315
|
+
/**
|
|
32316
|
+
*
|
|
32317
|
+
* @type {string}
|
|
32318
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32319
|
+
*/
|
|
32320
|
+
readonly orgName: string
|
|
32321
|
+
|
|
32322
|
+
/**
|
|
32323
|
+
*
|
|
32324
|
+
* @type {string}
|
|
32325
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32326
|
+
*/
|
|
32327
|
+
readonly clusterName: string
|
|
32328
|
+
|
|
32329
|
+
/**
|
|
32330
|
+
*
|
|
32331
|
+
* @type {string}
|
|
32332
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32333
|
+
*/
|
|
32334
|
+
readonly roleName: string
|
|
32335
|
+
|
|
32336
|
+
/**
|
|
32337
|
+
*
|
|
32338
|
+
* @type {ListClickhouseAccountRoles200ResponsePrivilegesInner}
|
|
32339
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32340
|
+
*/
|
|
32341
|
+
readonly body: ListClickhouseAccountRoles200ResponsePrivilegesInner
|
|
32342
|
+
}
|
|
32343
|
+
|
|
31028
32344
|
/**
|
|
31029
32345
|
* Request parameters for horizontalScaleCluster operation in SharedApi.
|
|
31030
32346
|
* @export
|
|
@@ -31235,6 +32551,104 @@ export interface SharedApiListBackupSchedulesRequest {
|
|
|
31235
32551
|
readonly backupMethod?: string
|
|
31236
32552
|
}
|
|
31237
32553
|
|
|
32554
|
+
/**
|
|
32555
|
+
* Request parameters for listClickhouseAccountRoles operation in SharedApi.
|
|
32556
|
+
* @export
|
|
32557
|
+
* @interface SharedApiListClickhouseAccountRolesRequest
|
|
32558
|
+
*/
|
|
32559
|
+
export interface SharedApiListClickhouseAccountRolesRequest {
|
|
32560
|
+
/**
|
|
32561
|
+
*
|
|
32562
|
+
* @type {string}
|
|
32563
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32564
|
+
*/
|
|
32565
|
+
readonly orgName: string
|
|
32566
|
+
|
|
32567
|
+
/**
|
|
32568
|
+
*
|
|
32569
|
+
* @type {string}
|
|
32570
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32571
|
+
*/
|
|
32572
|
+
readonly clusterName: string
|
|
32573
|
+
|
|
32574
|
+
/**
|
|
32575
|
+
*
|
|
32576
|
+
* @type {string}
|
|
32577
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32578
|
+
*/
|
|
32579
|
+
readonly accountName: string
|
|
32580
|
+
}
|
|
32581
|
+
|
|
32582
|
+
/**
|
|
32583
|
+
* Request parameters for listClickhouseAccounts operation in SharedApi.
|
|
32584
|
+
* @export
|
|
32585
|
+
* @interface SharedApiListClickhouseAccountsRequest
|
|
32586
|
+
*/
|
|
32587
|
+
export interface SharedApiListClickhouseAccountsRequest {
|
|
32588
|
+
/**
|
|
32589
|
+
*
|
|
32590
|
+
* @type {string}
|
|
32591
|
+
* @memberof SharedApiListClickhouseAccounts
|
|
32592
|
+
*/
|
|
32593
|
+
readonly orgName: string
|
|
32594
|
+
|
|
32595
|
+
/**
|
|
32596
|
+
*
|
|
32597
|
+
* @type {string}
|
|
32598
|
+
* @memberof SharedApiListClickhouseAccounts
|
|
32599
|
+
*/
|
|
32600
|
+
readonly clusterName: string
|
|
32601
|
+
}
|
|
32602
|
+
|
|
32603
|
+
/**
|
|
32604
|
+
* Request parameters for listClickhousePrivileges operation in SharedApi.
|
|
32605
|
+
* @export
|
|
32606
|
+
* @interface SharedApiListClickhousePrivilegesRequest
|
|
32607
|
+
*/
|
|
32608
|
+
export interface SharedApiListClickhousePrivilegesRequest {
|
|
32609
|
+
/**
|
|
32610
|
+
*
|
|
32611
|
+
* @type {string}
|
|
32612
|
+
* @memberof SharedApiListClickhousePrivileges
|
|
32613
|
+
*/
|
|
32614
|
+
readonly orgName: string
|
|
32615
|
+
|
|
32616
|
+
/**
|
|
32617
|
+
*
|
|
32618
|
+
* @type {string}
|
|
32619
|
+
* @memberof SharedApiListClickhousePrivileges
|
|
32620
|
+
*/
|
|
32621
|
+
readonly clusterName: string
|
|
32622
|
+
}
|
|
32623
|
+
|
|
32624
|
+
/**
|
|
32625
|
+
* Request parameters for listClickhouseRoles operation in SharedApi.
|
|
32626
|
+
* @export
|
|
32627
|
+
* @interface SharedApiListClickhouseRolesRequest
|
|
32628
|
+
*/
|
|
32629
|
+
export interface SharedApiListClickhouseRolesRequest {
|
|
32630
|
+
/**
|
|
32631
|
+
*
|
|
32632
|
+
* @type {string}
|
|
32633
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32634
|
+
*/
|
|
32635
|
+
readonly orgName: string
|
|
32636
|
+
|
|
32637
|
+
/**
|
|
32638
|
+
*
|
|
32639
|
+
* @type {string}
|
|
32640
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32641
|
+
*/
|
|
32642
|
+
readonly clusterName: string
|
|
32643
|
+
|
|
32644
|
+
/**
|
|
32645
|
+
* Whether to include built-in privilege roles for creating an account.
|
|
32646
|
+
* @type {boolean}
|
|
32647
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32648
|
+
*/
|
|
32649
|
+
readonly forCreateUser?: boolean
|
|
32650
|
+
}
|
|
32651
|
+
|
|
31238
32652
|
/**
|
|
31239
32653
|
* Request parameters for listCluster operation in SharedApi.
|
|
31240
32654
|
* @export
|
|
@@ -33069,41 +34483,6 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
33069
34483
|
readonly body: ESPutSecurityUserRequest
|
|
33070
34484
|
}
|
|
33071
34485
|
|
|
33072
|
-
/**
|
|
33073
|
-
* Request parameters for putMilvusRole operation in SharedApi.
|
|
33074
|
-
* @export
|
|
33075
|
-
* @interface SharedApiPutMilvusRoleRequest
|
|
33076
|
-
*/
|
|
33077
|
-
export interface SharedApiPutMilvusRoleRequest {
|
|
33078
|
-
/**
|
|
33079
|
-
* name of the Org
|
|
33080
|
-
* @type {string}
|
|
33081
|
-
* @memberof SharedApiPutMilvusRole
|
|
33082
|
-
*/
|
|
33083
|
-
readonly orgName: string
|
|
33084
|
-
|
|
33085
|
-
/**
|
|
33086
|
-
* name of the Cluster
|
|
33087
|
-
* @type {string}
|
|
33088
|
-
* @memberof SharedApiPutMilvusRole
|
|
33089
|
-
*/
|
|
33090
|
-
readonly clusterName: string
|
|
33091
|
-
|
|
33092
|
-
/**
|
|
33093
|
-
* name of the Milvus role
|
|
33094
|
-
* @type {string}
|
|
33095
|
-
* @memberof SharedApiPutMilvusRole
|
|
33096
|
-
*/
|
|
33097
|
-
readonly roleName: string
|
|
33098
|
-
|
|
33099
|
-
/**
|
|
33100
|
-
*
|
|
33101
|
-
* @type {MilvusRoleRequest}
|
|
33102
|
-
* @memberof SharedApiPutMilvusRole
|
|
33103
|
-
*/
|
|
33104
|
-
readonly body: MilvusRoleRequest
|
|
33105
|
-
}
|
|
33106
|
-
|
|
33107
34486
|
/**
|
|
33108
34487
|
* Request parameters for query operation in SharedApi.
|
|
33109
34488
|
* @export
|
|
@@ -34749,6 +36128,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
|
|
|
34749
36128
|
readonly clusterName: string
|
|
34750
36129
|
}
|
|
34751
36130
|
|
|
36131
|
+
/**
|
|
36132
|
+
* Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
|
|
36133
|
+
* @export
|
|
36134
|
+
* @interface SharedApiRevokeClickhouseRolePrivilegesRequest
|
|
36135
|
+
*/
|
|
36136
|
+
export interface SharedApiRevokeClickhouseRolePrivilegesRequest {
|
|
36137
|
+
/**
|
|
36138
|
+
*
|
|
36139
|
+
* @type {string}
|
|
36140
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36141
|
+
*/
|
|
36142
|
+
readonly orgName: string
|
|
36143
|
+
|
|
36144
|
+
/**
|
|
36145
|
+
*
|
|
36146
|
+
* @type {string}
|
|
36147
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36148
|
+
*/
|
|
36149
|
+
readonly clusterName: string
|
|
36150
|
+
|
|
36151
|
+
/**
|
|
36152
|
+
*
|
|
36153
|
+
* @type {string}
|
|
36154
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36155
|
+
*/
|
|
36156
|
+
readonly roleName: string
|
|
36157
|
+
|
|
36158
|
+
/**
|
|
36159
|
+
*
|
|
36160
|
+
* @type {RevokeClickhouseRolePrivilegesRequest}
|
|
36161
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36162
|
+
*/
|
|
36163
|
+
readonly body: RevokeClickhouseRolePrivilegesRequest
|
|
36164
|
+
}
|
|
36165
|
+
|
|
34752
36166
|
/**
|
|
34753
36167
|
* Request parameters for setAlertConfig operation in SharedApi.
|
|
34754
36168
|
* @export
|
|
@@ -35400,6 +36814,76 @@ export interface SharedApiUpdateBackupScheduleRequest {
|
|
|
35400
36814
|
readonly body: BackupScheduleUpdate
|
|
35401
36815
|
}
|
|
35402
36816
|
|
|
36817
|
+
/**
|
|
36818
|
+
* Request parameters for updateClickhouseAccountPassword operation in SharedApi.
|
|
36819
|
+
* @export
|
|
36820
|
+
* @interface SharedApiUpdateClickhouseAccountPasswordRequest
|
|
36821
|
+
*/
|
|
36822
|
+
export interface SharedApiUpdateClickhouseAccountPasswordRequest {
|
|
36823
|
+
/**
|
|
36824
|
+
*
|
|
36825
|
+
* @type {string}
|
|
36826
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36827
|
+
*/
|
|
36828
|
+
readonly orgName: string
|
|
36829
|
+
|
|
36830
|
+
/**
|
|
36831
|
+
*
|
|
36832
|
+
* @type {string}
|
|
36833
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36834
|
+
*/
|
|
36835
|
+
readonly clusterName: string
|
|
36836
|
+
|
|
36837
|
+
/**
|
|
36838
|
+
*
|
|
36839
|
+
* @type {string}
|
|
36840
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36841
|
+
*/
|
|
36842
|
+
readonly accountName: string
|
|
36843
|
+
|
|
36844
|
+
/**
|
|
36845
|
+
*
|
|
36846
|
+
* @type {UpdateClickhouseAccountPasswordRequest}
|
|
36847
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36848
|
+
*/
|
|
36849
|
+
readonly body: UpdateClickhouseAccountPasswordRequest
|
|
36850
|
+
}
|
|
36851
|
+
|
|
36852
|
+
/**
|
|
36853
|
+
* Request parameters for updateClickhouseAccountRoles operation in SharedApi.
|
|
36854
|
+
* @export
|
|
36855
|
+
* @interface SharedApiUpdateClickhouseAccountRolesRequest
|
|
36856
|
+
*/
|
|
36857
|
+
export interface SharedApiUpdateClickhouseAccountRolesRequest {
|
|
36858
|
+
/**
|
|
36859
|
+
*
|
|
36860
|
+
* @type {string}
|
|
36861
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36862
|
+
*/
|
|
36863
|
+
readonly orgName: string
|
|
36864
|
+
|
|
36865
|
+
/**
|
|
36866
|
+
*
|
|
36867
|
+
* @type {string}
|
|
36868
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36869
|
+
*/
|
|
36870
|
+
readonly clusterName: string
|
|
36871
|
+
|
|
36872
|
+
/**
|
|
36873
|
+
*
|
|
36874
|
+
* @type {string}
|
|
36875
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36876
|
+
*/
|
|
36877
|
+
readonly accountName: string
|
|
36878
|
+
|
|
36879
|
+
/**
|
|
36880
|
+
*
|
|
36881
|
+
* @type {UpdateClickhouseAccountRolesRequest}
|
|
36882
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36883
|
+
*/
|
|
36884
|
+
readonly body: UpdateClickhouseAccountRolesRequest
|
|
36885
|
+
}
|
|
36886
|
+
|
|
35403
36887
|
/**
|
|
35404
36888
|
* Request parameters for updateClusterLicense operation in SharedApi.
|
|
35405
36889
|
* @export
|
|
@@ -35771,6 +37255,41 @@ export interface SharedApiUpdateMilvusAccountRolesRequest {
|
|
|
35771
37255
|
readonly body: MilvusAccountRoles
|
|
35772
37256
|
}
|
|
35773
37257
|
|
|
37258
|
+
/**
|
|
37259
|
+
* Request parameters for updateMilvusRole operation in SharedApi.
|
|
37260
|
+
* @export
|
|
37261
|
+
* @interface SharedApiUpdateMilvusRoleRequest
|
|
37262
|
+
*/
|
|
37263
|
+
export interface SharedApiUpdateMilvusRoleRequest {
|
|
37264
|
+
/**
|
|
37265
|
+
* name of the Org
|
|
37266
|
+
* @type {string}
|
|
37267
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37268
|
+
*/
|
|
37269
|
+
readonly orgName: string
|
|
37270
|
+
|
|
37271
|
+
/**
|
|
37272
|
+
* name of the Cluster
|
|
37273
|
+
* @type {string}
|
|
37274
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37275
|
+
*/
|
|
37276
|
+
readonly clusterName: string
|
|
37277
|
+
|
|
37278
|
+
/**
|
|
37279
|
+
* name of the Milvus role
|
|
37280
|
+
* @type {string}
|
|
37281
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37282
|
+
*/
|
|
37283
|
+
readonly roleName: string
|
|
37284
|
+
|
|
37285
|
+
/**
|
|
37286
|
+
*
|
|
37287
|
+
* @type {MilvusRoleRequest}
|
|
37288
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37289
|
+
*/
|
|
37290
|
+
readonly body: MilvusRoleRequest
|
|
37291
|
+
}
|
|
37292
|
+
|
|
35774
37293
|
/**
|
|
35775
37294
|
* Request parameters for updateMssqlAccount operation in SharedApi.
|
|
35776
37295
|
* @export
|
|
@@ -35828,10 +37347,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
35828
37347
|
|
|
35829
37348
|
/**
|
|
35830
37349
|
*
|
|
35831
|
-
* @type {
|
|
37350
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
35832
37351
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
35833
37352
|
*/
|
|
35834
|
-
readonly
|
|
37353
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
35835
37354
|
}
|
|
35836
37355
|
|
|
35837
37356
|
/**
|
|
@@ -36369,6 +37888,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36369
37888
|
return SharedApiFp(this.configuration).createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36370
37889
|
}
|
|
36371
37890
|
|
|
37891
|
+
/**
|
|
37892
|
+
*
|
|
37893
|
+
* @summary Create a ClickHouse account with optional roles
|
|
37894
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
37895
|
+
* @param {*} [options] Override http request option.
|
|
37896
|
+
* @throws {RequiredError}
|
|
37897
|
+
* @memberof SharedApi
|
|
37898
|
+
*/
|
|
37899
|
+
public createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig) {
|
|
37900
|
+
return SharedApiFp(this.configuration).createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37901
|
+
}
|
|
37902
|
+
|
|
37903
|
+
/**
|
|
37904
|
+
*
|
|
37905
|
+
* @summary Create a ClickHouse role with privileges
|
|
37906
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
37907
|
+
* @param {*} [options] Override http request option.
|
|
37908
|
+
* @throws {RequiredError}
|
|
37909
|
+
* @memberof SharedApi
|
|
37910
|
+
*/
|
|
37911
|
+
public createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig) {
|
|
37912
|
+
return SharedApiFp(this.configuration).createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37913
|
+
}
|
|
37914
|
+
|
|
36372
37915
|
/**
|
|
36373
37916
|
*
|
|
36374
37917
|
* @summary Create new cluster
|
|
@@ -36477,6 +38020,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36477
38020
|
return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36478
38021
|
}
|
|
36479
38022
|
|
|
38023
|
+
/**
|
|
38024
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
38025
|
+
* @summary Create Milvus role
|
|
38026
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
38027
|
+
* @param {*} [options] Override http request option.
|
|
38028
|
+
* @throws {RequiredError}
|
|
38029
|
+
* @memberof SharedApi
|
|
38030
|
+
*/
|
|
38031
|
+
public createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38032
|
+
return SharedApiFp(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38033
|
+
}
|
|
38034
|
+
|
|
36480
38035
|
/**
|
|
36481
38036
|
* create an account in mongodb
|
|
36482
38037
|
* @summary Create mongodb account
|
|
@@ -36693,6 +38248,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36693
38248
|
return SharedApiFp(this.configuration).deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(this.axios, this.basePath));
|
|
36694
38249
|
}
|
|
36695
38250
|
|
|
38251
|
+
/**
|
|
38252
|
+
*
|
|
38253
|
+
* @summary Delete a ClickHouse account
|
|
38254
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
38255
|
+
* @param {*} [options] Override http request option.
|
|
38256
|
+
* @throws {RequiredError}
|
|
38257
|
+
* @memberof SharedApi
|
|
38258
|
+
*/
|
|
38259
|
+
public deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig) {
|
|
38260
|
+
return SharedApiFp(this.configuration).deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
38261
|
+
}
|
|
38262
|
+
|
|
38263
|
+
/**
|
|
38264
|
+
*
|
|
38265
|
+
* @summary Delete a ClickHouse role
|
|
38266
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
38267
|
+
* @param {*} [options] Override http request option.
|
|
38268
|
+
* @throws {RequiredError}
|
|
38269
|
+
* @memberof SharedApi
|
|
38270
|
+
*/
|
|
38271
|
+
public deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38272
|
+
return SharedApiFp(this.configuration).deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38273
|
+
}
|
|
38274
|
+
|
|
36696
38275
|
/**
|
|
36697
38276
|
*
|
|
36698
38277
|
* @summary Delete cluster
|
|
@@ -37090,7 +38669,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37090
38669
|
}
|
|
37091
38670
|
|
|
37092
38671
|
/**
|
|
37093
|
-
* 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
|
|
38672
|
+
* 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.
|
|
37094
38673
|
* @summary Explain cluster slow log template
|
|
37095
38674
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
37096
38675
|
* @param {*} [options] Override http request option.
|
|
@@ -37220,19 +38799,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37220
38799
|
return SharedApiFp(this.configuration).getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(this.axios, this.basePath));
|
|
37221
38800
|
}
|
|
37222
38801
|
|
|
37223
|
-
/**
|
|
37224
|
-
*
|
|
37225
|
-
* @summary list autohealing job
|
|
37226
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
37227
|
-
* @param {*} [options] Override http request option.
|
|
37228
|
-
* @deprecated
|
|
37229
|
-
* @throws {RequiredError}
|
|
37230
|
-
* @memberof SharedApi
|
|
37231
|
-
*/
|
|
37232
|
-
public getAutohealing(requestParameters: SharedApiGetAutohealingRequest, options?: RawAxiosRequestConfig) {
|
|
37233
|
-
return SharedApiFp(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
37234
|
-
}
|
|
37235
|
-
|
|
37236
38802
|
/**
|
|
37237
38803
|
*
|
|
37238
38804
|
* @summary Get backup
|
|
@@ -37269,6 +38835,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37269
38835
|
return 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));
|
|
37270
38836
|
}
|
|
37271
38837
|
|
|
38838
|
+
/**
|
|
38839
|
+
*
|
|
38840
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
38841
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
38842
|
+
* @param {*} [options] Override http request option.
|
|
38843
|
+
* @throws {RequiredError}
|
|
38844
|
+
* @memberof SharedApi
|
|
38845
|
+
*/
|
|
38846
|
+
public getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig) {
|
|
38847
|
+
return SharedApiFp(this.configuration).getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38848
|
+
}
|
|
38849
|
+
|
|
37272
38850
|
/**
|
|
37273
38851
|
*
|
|
37274
38852
|
* @summary Get cluster details
|
|
@@ -37856,6 +39434,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37856
39434
|
return SharedApiFp(this.configuration).getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(this.axios, this.basePath));
|
|
37857
39435
|
}
|
|
37858
39436
|
|
|
39437
|
+
/**
|
|
39438
|
+
*
|
|
39439
|
+
* @summary Grant privileges to a ClickHouse role
|
|
39440
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
39441
|
+
* @param {*} [options] Override http request option.
|
|
39442
|
+
* @throws {RequiredError}
|
|
39443
|
+
* @memberof SharedApi
|
|
39444
|
+
*/
|
|
39445
|
+
public grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
39446
|
+
return SharedApiFp(this.configuration).grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39447
|
+
}
|
|
39448
|
+
|
|
37859
39449
|
/**
|
|
37860
39450
|
*
|
|
37861
39451
|
* @summary Horizontal scale cluster
|
|
@@ -37940,6 +39530,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37940
39530
|
return SharedApiFp(this.configuration).listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(this.axios, this.basePath));
|
|
37941
39531
|
}
|
|
37942
39532
|
|
|
39533
|
+
/**
|
|
39534
|
+
*
|
|
39535
|
+
* @summary List the roles granted to a ClickHouse account
|
|
39536
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
39537
|
+
* @param {*} [options] Override http request option.
|
|
39538
|
+
* @throws {RequiredError}
|
|
39539
|
+
* @memberof SharedApi
|
|
39540
|
+
*/
|
|
39541
|
+
public listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
39542
|
+
return SharedApiFp(this.configuration).listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
39543
|
+
}
|
|
39544
|
+
|
|
39545
|
+
/**
|
|
39546
|
+
*
|
|
39547
|
+
* @summary List ClickHouse accounts
|
|
39548
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
39549
|
+
* @param {*} [options] Override http request option.
|
|
39550
|
+
* @throws {RequiredError}
|
|
39551
|
+
* @memberof SharedApi
|
|
39552
|
+
*/
|
|
39553
|
+
public listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
39554
|
+
return SharedApiFp(this.configuration).listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39555
|
+
}
|
|
39556
|
+
|
|
39557
|
+
/**
|
|
39558
|
+
*
|
|
39559
|
+
* @summary List privileges supported by the ClickHouse server
|
|
39560
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
39561
|
+
* @param {*} [options] Override http request option.
|
|
39562
|
+
* @throws {RequiredError}
|
|
39563
|
+
* @memberof SharedApi
|
|
39564
|
+
*/
|
|
39565
|
+
public listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
39566
|
+
return SharedApiFp(this.configuration).listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39567
|
+
}
|
|
39568
|
+
|
|
39569
|
+
/**
|
|
39570
|
+
*
|
|
39571
|
+
* @summary List ClickHouse roles
|
|
39572
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
39573
|
+
* @param {*} [options] Override http request option.
|
|
39574
|
+
* @throws {RequiredError}
|
|
39575
|
+
* @memberof SharedApi
|
|
39576
|
+
*/
|
|
39577
|
+
public listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig) {
|
|
39578
|
+
return SharedApiFp(this.configuration).listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(this.axios, this.basePath));
|
|
39579
|
+
}
|
|
39580
|
+
|
|
37943
39581
|
/**
|
|
37944
39582
|
*
|
|
37945
39583
|
* @summary List clusters in the Org
|
|
@@ -38730,18 +40368,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38730
40368
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38731
40369
|
}
|
|
38732
40370
|
|
|
38733
|
-
/**
|
|
38734
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
38735
|
-
* @summary Put Milvus role
|
|
38736
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
38737
|
-
* @param {*} [options] Override http request option.
|
|
38738
|
-
* @throws {RequiredError}
|
|
38739
|
-
* @memberof SharedApi
|
|
38740
|
-
*/
|
|
38741
|
-
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38742
|
-
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38743
|
-
}
|
|
38744
|
-
|
|
38745
40371
|
/**
|
|
38746
40372
|
*
|
|
38747
40373
|
* @summary create a SQL query
|
|
@@ -39053,6 +40679,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39053
40679
|
return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39054
40680
|
}
|
|
39055
40681
|
|
|
40682
|
+
/**
|
|
40683
|
+
*
|
|
40684
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
40685
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
40686
|
+
* @param {*} [options] Override http request option.
|
|
40687
|
+
* @throws {RequiredError}
|
|
40688
|
+
* @memberof SharedApi
|
|
40689
|
+
*/
|
|
40690
|
+
public revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
40691
|
+
return SharedApiFp(this.configuration).revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40692
|
+
}
|
|
40693
|
+
|
|
39056
40694
|
/**
|
|
39057
40695
|
*
|
|
39058
40696
|
* @summary Set alert config
|
|
@@ -39305,6 +40943,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39305
40943
|
return SharedApiFp(this.configuration).updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39306
40944
|
}
|
|
39307
40945
|
|
|
40946
|
+
/**
|
|
40947
|
+
*
|
|
40948
|
+
* @summary Update a ClickHouse account password
|
|
40949
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
40950
|
+
* @param {*} [options] Override http request option.
|
|
40951
|
+
* @throws {RequiredError}
|
|
40952
|
+
* @memberof SharedApi
|
|
40953
|
+
*/
|
|
40954
|
+
public updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
40955
|
+
return SharedApiFp(this.configuration).updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40956
|
+
}
|
|
40957
|
+
|
|
40958
|
+
/**
|
|
40959
|
+
*
|
|
40960
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
40961
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
40962
|
+
* @param {*} [options] Override http request option.
|
|
40963
|
+
* @throws {RequiredError}
|
|
40964
|
+
* @memberof SharedApi
|
|
40965
|
+
*/
|
|
40966
|
+
public updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
40967
|
+
return SharedApiFp(this.configuration).updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40968
|
+
}
|
|
40969
|
+
|
|
39308
40970
|
/**
|
|
39309
40971
|
*
|
|
39310
40972
|
* @summary Update the cluster license
|
|
@@ -39437,6 +41099,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39437
41099
|
return SharedApiFp(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39438
41100
|
}
|
|
39439
41101
|
|
|
41102
|
+
/**
|
|
41103
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
41104
|
+
* @summary Update Milvus role
|
|
41105
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
41106
|
+
* @param {*} [options] Override http request option.
|
|
41107
|
+
* @throws {RequiredError}
|
|
41108
|
+
* @memberof SharedApi
|
|
41109
|
+
*/
|
|
41110
|
+
public updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
41111
|
+
return SharedApiFp(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
41112
|
+
}
|
|
41113
|
+
|
|
39440
41114
|
/**
|
|
39441
41115
|
*
|
|
39442
41116
|
* @summary update mssql account compatible with windows account
|
|
@@ -39458,7 +41132,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39458
41132
|
* @memberof SharedApi
|
|
39459
41133
|
*/
|
|
39460
41134
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
39461
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
41135
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39462
41136
|
}
|
|
39463
41137
|
|
|
39464
41138
|
/**
|