kb-cloud-client-typescript 2.4.0-alpha.2 → 2.4.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/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/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/diagnostics-api.d.ts +3 -3
- package/dist/adminapi/apis/diagnostics-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/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 +1147 -128
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1228 -105
- 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/ck-account.js +16 -0
- 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.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/dms-ob-parameter.d.ts +4 -2
- package/dist/adminapi/models/dms-ob-parameter.d.ts.map +1 -1
- 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/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 +15 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +15 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +1 -1
- 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-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 +20 -0
- package/dist/adminapi/models/mode-service-ref.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-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 +14 -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/system-component-scheduler-policy.d.ts +22 -0
- package/dist/adminapi/models/system-component-scheduler-policy.d.ts.map +1 -0
- package/dist/adminapi/models/system-component-scheduler-policy.js +26 -0
- package/dist/adminapi/models/system-component-scheduler-policy.js.map +1 -0
- 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/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.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 +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/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/diagnostics-api.d.ts +3 -3
- package/dist/openapi/apis/diagnostics-api.js +2 -2
- 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/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 +1143 -124
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1228 -105
- 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/ck-account.js +16 -0
- 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.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/data-check-create.d.ts +6 -0
- package/dist/openapi/models/data-check-create.d.ts.map +1 -1
- package/dist/openapi/models/dms-ob-parameter.d.ts +4 -2
- package/dist/openapi/models/dms-ob-parameter.d.ts.map +1 -1
- 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/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 +14 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +14 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +1 -1
- 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-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 +20 -0
- package/dist/openapi/models/mode-service-ref.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-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/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +16 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +280 -152
- package/src/adminapi/apis/clickhouse-api.ts +1735 -0
- package/src/adminapi/apis/diagnostics-api.ts +3 -3
- package/src/adminapi/apis/milvus-api.ts +242 -114
- package/src/adminapi/apis/rabbit-mqapi.ts +14 -14
- package/src/adminapi/apis/shared-api.ts +2059 -266
- 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.ts +5 -2
- package/src/adminapi/models/create-clickhouse-account-request.ts +42 -0
- package/src/adminapi/models/dms-ob-parameter.ts +2 -2
- package/src/adminapi/models/engine-mapping.ts +9 -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 +15 -0
- package/src/adminapi/models/inspection-task-item.ts +1 -1
- 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-service-ref-helm-value-path.ts +6 -0
- package/src/adminapi/models/mode-service-ref.ts +18 -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-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 +18 -0
- package/src/adminapi/models/service-ref.ts +6 -0
- package/src/adminapi/models/system-component-scheduler-policy.ts +31 -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.yaml +852 -14
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/models/cluster-reference.ts +36 -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 +19 -1
- package/src/openapi/.openapi-generator/FILES +15 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +280 -152
- package/src/openapi/apis/clickhouse-api.ts +1735 -0
- package/src/openapi/apis/diagnostics-api.ts +3 -3
- package/src/openapi/apis/milvus-api.ts +242 -114
- package/src/openapi/apis/rabbit-mqapi.ts +14 -14
- package/src/openapi/apis/shared-api.ts +2059 -266
- 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.ts +5 -2
- package/src/openapi/models/create-clickhouse-account-request.ts +42 -0
- package/src/openapi/models/data-check-create.ts +6 -0
- package/src/openapi/models/dms-ob-parameter.ts +2 -2
- package/src/openapi/models/engine-mapping.ts +9 -0
- 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 +14 -0
- package/src/openapi/models/inspection-task-item.ts +1 -1
- 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-service-ref-helm-value-path.ts +6 -0
- package/src/openapi/models/mode-service-ref.ts +18 -0
- package/src/openapi/models/rbmq-password-update-request.ts +30 -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.yaml +838 -14
|
@@ -76,6 +76,8 @@ import type { BuildBackupObjRequest } from '../models';
|
|
|
76
76
|
// @ts-ignore
|
|
77
77
|
import type { CheckAPIKey } from '../models';
|
|
78
78
|
// @ts-ignore
|
|
79
|
+
import type { CkAccount } from '../models';
|
|
80
|
+
// @ts-ignore
|
|
79
81
|
import type { Class } from '../models';
|
|
80
82
|
// @ts-ignore
|
|
81
83
|
import type { Cluster } from '../models';
|
|
@@ -120,6 +122,8 @@ import type { ConsumerGroup } from '../models';
|
|
|
120
122
|
// @ts-ignore
|
|
121
123
|
import type { ConsumerGroupDescribe } from '../models';
|
|
122
124
|
// @ts-ignore
|
|
125
|
+
import type { CreateClickhouseAccountRequest } from '../models';
|
|
126
|
+
// @ts-ignore
|
|
123
127
|
import type { CreateIPWhitelistRequest } from '../models';
|
|
124
128
|
// @ts-ignore
|
|
125
129
|
import type { CreateTopicRequest } from '../models';
|
|
@@ -218,6 +222,8 @@ import type { FeatureList } from '../models';
|
|
|
218
222
|
// @ts-ignore
|
|
219
223
|
import type { FileEntryList } from '../models';
|
|
220
224
|
// @ts-ignore
|
|
225
|
+
import type { GetClickhouseRoleGrants200ResponseInner } from '../models';
|
|
226
|
+
// @ts-ignore
|
|
221
227
|
import type { HaHistoryList } from '../models';
|
|
222
228
|
// @ts-ignore
|
|
223
229
|
import type { ImportOpsType } from '../models';
|
|
@@ -246,6 +252,10 @@ import type { IpWhitelistList } from '../models';
|
|
|
246
252
|
// @ts-ignore
|
|
247
253
|
import type { KeyList } from '../models';
|
|
248
254
|
// @ts-ignore
|
|
255
|
+
import type { ListClickhouseAccountRoles200Response } from '../models';
|
|
256
|
+
// @ts-ignore
|
|
257
|
+
import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
|
|
258
|
+
// @ts-ignore
|
|
249
259
|
import type { Llm } from '../models';
|
|
250
260
|
// @ts-ignore
|
|
251
261
|
import type { MetricsQueryType } from '../models';
|
|
@@ -256,6 +266,8 @@ import type { MilvusAccountRoles } from '../models';
|
|
|
256
266
|
// @ts-ignore
|
|
257
267
|
import type { MilvusRole } from '../models';
|
|
258
268
|
// @ts-ignore
|
|
269
|
+
import type { MilvusRoleCreateRequest } from '../models';
|
|
270
|
+
// @ts-ignore
|
|
259
271
|
import type { MilvusRoleList } from '../models';
|
|
260
272
|
// @ts-ignore
|
|
261
273
|
import type { MilvusRoleRequest } from '../models';
|
|
@@ -338,9 +350,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
338
350
|
// @ts-ignore
|
|
339
351
|
import type { RbmqExchange } from '../models';
|
|
340
352
|
// @ts-ignore
|
|
341
|
-
import type {
|
|
353
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
342
354
|
// @ts-ignore
|
|
343
|
-
import type {
|
|
355
|
+
import type { RbmqPermission } from '../models';
|
|
344
356
|
// @ts-ignore
|
|
345
357
|
import type { RbmqVHost } from '../models';
|
|
346
358
|
// @ts-ignore
|
|
@@ -364,6 +376,8 @@ import type { RestoreList } from '../models';
|
|
|
364
376
|
// @ts-ignore
|
|
365
377
|
import type { RestoreLog } from '../models';
|
|
366
378
|
// @ts-ignore
|
|
379
|
+
import type { RevokeClickhouseRolePrivilegesRequest } from '../models';
|
|
380
|
+
// @ts-ignore
|
|
367
381
|
import type { Role } from '../models';
|
|
368
382
|
// @ts-ignore
|
|
369
383
|
import type { RoleCreate } from '../models';
|
|
@@ -420,6 +434,10 @@ import type { URLCheck } from '../models';
|
|
|
420
434
|
// @ts-ignore
|
|
421
435
|
import type { UpdateBrokerConfigRequest } from '../models';
|
|
422
436
|
// @ts-ignore
|
|
437
|
+
import type { UpdateClickhouseAccountPasswordRequest } from '../models';
|
|
438
|
+
// @ts-ignore
|
|
439
|
+
import type { UpdateClickhouseAccountRolesRequest } from '../models';
|
|
440
|
+
// @ts-ignore
|
|
423
441
|
import type { UpdateTopicConfigRequest } from '../models';
|
|
424
442
|
/**
|
|
425
443
|
* SharedApi - axios parameter creator
|
|
@@ -1325,6 +1343,108 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1325
1343
|
|
|
1326
1344
|
|
|
1327
1345
|
|
|
1346
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1347
|
+
|
|
1348
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1350
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1351
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1352
|
+
|
|
1353
|
+
return {
|
|
1354
|
+
url: toPathString(localVarUrlObj),
|
|
1355
|
+
options: localVarRequestOptions,
|
|
1356
|
+
};
|
|
1357
|
+
},
|
|
1358
|
+
/**
|
|
1359
|
+
*
|
|
1360
|
+
* @summary Create a ClickHouse account with optional roles
|
|
1361
|
+
* @param {string} orgName
|
|
1362
|
+
* @param {string} clusterName
|
|
1363
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
1364
|
+
* @param {*} [options] Override http request option.
|
|
1365
|
+
* @throws {RequiredError}
|
|
1366
|
+
*/
|
|
1367
|
+
createClickhouseAccount: async (orgName: string, clusterName: string, body: CreateClickhouseAccountRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1368
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1369
|
+
assertParamExists('createClickhouseAccount', 'orgName', orgName)
|
|
1370
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1371
|
+
assertParamExists('createClickhouseAccount', 'clusterName', clusterName)
|
|
1372
|
+
// verify required parameter 'body' is not null or undefined
|
|
1373
|
+
assertParamExists('createClickhouseAccount', 'body', body)
|
|
1374
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1375
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1376
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1379
|
+
let baseOptions;
|
|
1380
|
+
if (configuration) {
|
|
1381
|
+
baseOptions = configuration.baseOptions;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1385
|
+
const localVarHeaderParameter = {} as any;
|
|
1386
|
+
const localVarQueryParameter = {} as any;
|
|
1387
|
+
|
|
1388
|
+
// authentication BearerToken required
|
|
1389
|
+
// http bearer authentication required
|
|
1390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1391
|
+
|
|
1392
|
+
// authentication DigestAuth required
|
|
1393
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1398
|
+
|
|
1399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1401
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1402
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1403
|
+
|
|
1404
|
+
return {
|
|
1405
|
+
url: toPathString(localVarUrlObj),
|
|
1406
|
+
options: localVarRequestOptions,
|
|
1407
|
+
};
|
|
1408
|
+
},
|
|
1409
|
+
/**
|
|
1410
|
+
*
|
|
1411
|
+
* @summary Create a ClickHouse role with privileges
|
|
1412
|
+
* @param {string} orgName
|
|
1413
|
+
* @param {string} clusterName
|
|
1414
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
1415
|
+
* @param {*} [options] Override http request option.
|
|
1416
|
+
* @throws {RequiredError}
|
|
1417
|
+
*/
|
|
1418
|
+
createClickhouseRole: async (orgName: string, clusterName: string, body: ListClickhouseAccountRoles200Response, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1419
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1420
|
+
assertParamExists('createClickhouseRole', 'orgName', orgName)
|
|
1421
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1422
|
+
assertParamExists('createClickhouseRole', 'clusterName', clusterName)
|
|
1423
|
+
// verify required parameter 'body' is not null or undefined
|
|
1424
|
+
assertParamExists('createClickhouseRole', 'body', body)
|
|
1425
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1426
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1427
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1428
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1429
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1430
|
+
let baseOptions;
|
|
1431
|
+
if (configuration) {
|
|
1432
|
+
baseOptions = configuration.baseOptions;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1436
|
+
const localVarHeaderParameter = {} as any;
|
|
1437
|
+
const localVarQueryParameter = {} as any;
|
|
1438
|
+
|
|
1439
|
+
// authentication BearerToken required
|
|
1440
|
+
// http bearer authentication required
|
|
1441
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1442
|
+
|
|
1443
|
+
// authentication DigestAuth required
|
|
1444
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1328
1448
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1329
1449
|
|
|
1330
1450
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1801,6 +1921,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1801
1921
|
options: localVarRequestOptions,
|
|
1802
1922
|
};
|
|
1803
1923
|
},
|
|
1924
|
+
/**
|
|
1925
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1926
|
+
* @summary Create Milvus role
|
|
1927
|
+
* @param {string} orgName name of the Org
|
|
1928
|
+
* @param {string} clusterName name of the Cluster
|
|
1929
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1930
|
+
* @param {*} [options] Override http request option.
|
|
1931
|
+
* @throws {RequiredError}
|
|
1932
|
+
*/
|
|
1933
|
+
createMilvusRole: async (orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1934
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1935
|
+
assertParamExists('createMilvusRole', 'orgName', orgName)
|
|
1936
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1937
|
+
assertParamExists('createMilvusRole', 'clusterName', clusterName)
|
|
1938
|
+
// verify required parameter 'body' is not null or undefined
|
|
1939
|
+
assertParamExists('createMilvusRole', 'body', body)
|
|
1940
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1941
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1942
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1945
|
+
let baseOptions;
|
|
1946
|
+
if (configuration) {
|
|
1947
|
+
baseOptions = configuration.baseOptions;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1951
|
+
const localVarHeaderParameter = {} as any;
|
|
1952
|
+
const localVarQueryParameter = {} as any;
|
|
1953
|
+
|
|
1954
|
+
// authentication BearerToken required
|
|
1955
|
+
// http bearer authentication required
|
|
1956
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1957
|
+
|
|
1958
|
+
// authentication DigestAuth required
|
|
1959
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1964
|
+
|
|
1965
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1966
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1967
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1968
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1969
|
+
|
|
1970
|
+
return {
|
|
1971
|
+
url: toPathString(localVarUrlObj),
|
|
1972
|
+
options: localVarRequestOptions,
|
|
1973
|
+
};
|
|
1974
|
+
},
|
|
1804
1975
|
/**
|
|
1805
1976
|
* create an account in mongodb
|
|
1806
1977
|
* @summary Create mongodb account
|
|
@@ -2552,127 +2723,225 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2552
2723
|
},
|
|
2553
2724
|
/**
|
|
2554
2725
|
*
|
|
2555
|
-
* @summary Delete
|
|
2556
|
-
* @param {string} orgName
|
|
2557
|
-
* @param {string} clusterName
|
|
2558
|
-
* @param {
|
|
2559
|
-
* @param {*} [options] Override http request option.
|
|
2560
|
-
* @throws {RequiredError}
|
|
2561
|
-
*/
|
|
2562
|
-
deleteCluster: async (orgName: string, clusterName: string, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2563
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
2564
|
-
assertParamExists('deleteCluster', 'orgName', orgName)
|
|
2565
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
2566
|
-
assertParamExists('deleteCluster', 'clusterName', clusterName)
|
|
2567
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
2568
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2569
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2570
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2571
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2572
|
-
let baseOptions;
|
|
2573
|
-
if (configuration) {
|
|
2574
|
-
baseOptions = configuration.baseOptions;
|
|
2575
|
-
}
|
|
2576
|
-
|
|
2577
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2578
|
-
const localVarHeaderParameter = {} as any;
|
|
2579
|
-
const localVarQueryParameter = {} as any;
|
|
2580
|
-
|
|
2581
|
-
// authentication BearerToken required
|
|
2582
|
-
// http bearer authentication required
|
|
2583
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2584
|
-
|
|
2585
|
-
// authentication DigestAuth required
|
|
2586
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2587
|
-
|
|
2588
|
-
if (force !== undefined) {
|
|
2589
|
-
localVarQueryParameter['force'] = force;
|
|
2590
|
-
}
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2595
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2596
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2597
|
-
|
|
2598
|
-
return {
|
|
2599
|
-
url: toPathString(localVarUrlObj),
|
|
2600
|
-
options: localVarRequestOptions,
|
|
2601
|
-
};
|
|
2602
|
-
},
|
|
2603
|
-
/**
|
|
2604
|
-
*
|
|
2605
|
-
* @summary delete the datasource
|
|
2606
|
-
* @param {string} orgName name of the Org
|
|
2607
|
-
* @param {string} clusterName name of the cluster
|
|
2608
|
-
* @param {string} id id of the datasource
|
|
2609
|
-
* @param {*} [options] Override http request option.
|
|
2610
|
-
* @throws {RequiredError}
|
|
2611
|
-
*/
|
|
2612
|
-
deleteDataSourceV2: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2613
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
2614
|
-
assertParamExists('deleteDataSourceV2', 'orgName', orgName)
|
|
2615
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
2616
|
-
assertParamExists('deleteDataSourceV2', 'clusterName', clusterName)
|
|
2617
|
-
// verify required parameter 'id' is not null or undefined
|
|
2618
|
-
assertParamExists('deleteDataSourceV2', 'id', id)
|
|
2619
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
|
|
2620
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2621
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2622
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2623
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2624
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2625
|
-
let baseOptions;
|
|
2626
|
-
if (configuration) {
|
|
2627
|
-
baseOptions = configuration.baseOptions;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2631
|
-
const localVarHeaderParameter = {} as any;
|
|
2632
|
-
const localVarQueryParameter = {} as any;
|
|
2633
|
-
|
|
2634
|
-
// authentication BearerToken required
|
|
2635
|
-
// http bearer authentication required
|
|
2636
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2637
|
-
|
|
2638
|
-
// authentication DigestAuth required
|
|
2639
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2644
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2645
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2646
|
-
|
|
2647
|
-
return {
|
|
2648
|
-
url: toPathString(localVarUrlObj),
|
|
2649
|
-
options: localVarRequestOptions,
|
|
2650
|
-
};
|
|
2651
|
-
},
|
|
2652
|
-
/**
|
|
2653
|
-
* delete a database in cluster
|
|
2654
|
-
* @summary Delete cluster database
|
|
2655
|
-
* @param {string} engineName name of the engine
|
|
2656
|
-
* @param {string} orgName name of the Org
|
|
2657
|
-
* @param {string} clusterName name of the Cluster
|
|
2658
|
-
* @param {string} databaseName name of database
|
|
2726
|
+
* @summary Delete a ClickHouse account
|
|
2727
|
+
* @param {string} orgName
|
|
2728
|
+
* @param {string} clusterName
|
|
2729
|
+
* @param {string} accountName
|
|
2659
2730
|
* @param {*} [options] Override http request option.
|
|
2660
2731
|
* @throws {RequiredError}
|
|
2661
2732
|
*/
|
|
2662
|
-
|
|
2663
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
2664
|
-
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2733
|
+
deleteClickhouseAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2665
2734
|
// verify required parameter 'orgName' is not null or undefined
|
|
2666
|
-
assertParamExists('
|
|
2735
|
+
assertParamExists('deleteClickhouseAccount', 'orgName', orgName)
|
|
2667
2736
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2668
|
-
assertParamExists('
|
|
2669
|
-
// verify required parameter '
|
|
2670
|
-
assertParamExists('
|
|
2671
|
-
const localVarPath = `/admin/v1/data/
|
|
2672
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2737
|
+
assertParamExists('deleteClickhouseAccount', 'clusterName', clusterName)
|
|
2738
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2739
|
+
assertParamExists('deleteClickhouseAccount', 'accountName', accountName)
|
|
2740
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
2673
2741
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2674
2742
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2675
|
-
.replace(`{${"
|
|
2743
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2744
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2745
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2746
|
+
let baseOptions;
|
|
2747
|
+
if (configuration) {
|
|
2748
|
+
baseOptions = configuration.baseOptions;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2752
|
+
const localVarHeaderParameter = {} as any;
|
|
2753
|
+
const localVarQueryParameter = {} as any;
|
|
2754
|
+
|
|
2755
|
+
// authentication BearerToken required
|
|
2756
|
+
// http bearer authentication required
|
|
2757
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2758
|
+
|
|
2759
|
+
// authentication DigestAuth required
|
|
2760
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2766
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2767
|
+
|
|
2768
|
+
return {
|
|
2769
|
+
url: toPathString(localVarUrlObj),
|
|
2770
|
+
options: localVarRequestOptions,
|
|
2771
|
+
};
|
|
2772
|
+
},
|
|
2773
|
+
/**
|
|
2774
|
+
*
|
|
2775
|
+
* @summary Delete a ClickHouse role
|
|
2776
|
+
* @param {string} orgName
|
|
2777
|
+
* @param {string} clusterName
|
|
2778
|
+
* @param {string} roleName
|
|
2779
|
+
* @param {*} [options] Override http request option.
|
|
2780
|
+
* @throws {RequiredError}
|
|
2781
|
+
*/
|
|
2782
|
+
deleteClickhouseRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2783
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2784
|
+
assertParamExists('deleteClickhouseRole', 'orgName', orgName)
|
|
2785
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2786
|
+
assertParamExists('deleteClickhouseRole', 'clusterName', clusterName)
|
|
2787
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2788
|
+
assertParamExists('deleteClickhouseRole', 'roleName', roleName)
|
|
2789
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2790
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2791
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2792
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2793
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2794
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2795
|
+
let baseOptions;
|
|
2796
|
+
if (configuration) {
|
|
2797
|
+
baseOptions = configuration.baseOptions;
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2801
|
+
const localVarHeaderParameter = {} as any;
|
|
2802
|
+
const localVarQueryParameter = {} as any;
|
|
2803
|
+
|
|
2804
|
+
// authentication BearerToken required
|
|
2805
|
+
// http bearer authentication required
|
|
2806
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2807
|
+
|
|
2808
|
+
// authentication DigestAuth required
|
|
2809
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
|
|
2813
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2814
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2815
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2816
|
+
|
|
2817
|
+
return {
|
|
2818
|
+
url: toPathString(localVarUrlObj),
|
|
2819
|
+
options: localVarRequestOptions,
|
|
2820
|
+
};
|
|
2821
|
+
},
|
|
2822
|
+
/**
|
|
2823
|
+
*
|
|
2824
|
+
* @summary Delete cluster
|
|
2825
|
+
* @param {string} orgName name of the Org
|
|
2826
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2827
|
+
* @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.
|
|
2828
|
+
* @param {*} [options] Override http request option.
|
|
2829
|
+
* @throws {RequiredError}
|
|
2830
|
+
*/
|
|
2831
|
+
deleteCluster: async (orgName: string, clusterName: string, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2832
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2833
|
+
assertParamExists('deleteCluster', 'orgName', orgName)
|
|
2834
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2835
|
+
assertParamExists('deleteCluster', 'clusterName', clusterName)
|
|
2836
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
2837
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2838
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2839
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2840
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2841
|
+
let baseOptions;
|
|
2842
|
+
if (configuration) {
|
|
2843
|
+
baseOptions = configuration.baseOptions;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2847
|
+
const localVarHeaderParameter = {} as any;
|
|
2848
|
+
const localVarQueryParameter = {} as any;
|
|
2849
|
+
|
|
2850
|
+
// authentication BearerToken required
|
|
2851
|
+
// http bearer authentication required
|
|
2852
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2853
|
+
|
|
2854
|
+
// authentication DigestAuth required
|
|
2855
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2856
|
+
|
|
2857
|
+
if (force !== undefined) {
|
|
2858
|
+
localVarQueryParameter['force'] = force;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2864
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2865
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2866
|
+
|
|
2867
|
+
return {
|
|
2868
|
+
url: toPathString(localVarUrlObj),
|
|
2869
|
+
options: localVarRequestOptions,
|
|
2870
|
+
};
|
|
2871
|
+
},
|
|
2872
|
+
/**
|
|
2873
|
+
*
|
|
2874
|
+
* @summary delete the datasource
|
|
2875
|
+
* @param {string} orgName name of the Org
|
|
2876
|
+
* @param {string} clusterName name of the cluster
|
|
2877
|
+
* @param {string} id id of the datasource
|
|
2878
|
+
* @param {*} [options] Override http request option.
|
|
2879
|
+
* @throws {RequiredError}
|
|
2880
|
+
*/
|
|
2881
|
+
deleteDataSourceV2: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2882
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2883
|
+
assertParamExists('deleteDataSourceV2', 'orgName', orgName)
|
|
2884
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2885
|
+
assertParamExists('deleteDataSourceV2', 'clusterName', clusterName)
|
|
2886
|
+
// verify required parameter 'id' is not null or undefined
|
|
2887
|
+
assertParamExists('deleteDataSourceV2', 'id', id)
|
|
2888
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
|
|
2889
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2890
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2891
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2892
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2893
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2894
|
+
let baseOptions;
|
|
2895
|
+
if (configuration) {
|
|
2896
|
+
baseOptions = configuration.baseOptions;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2900
|
+
const localVarHeaderParameter = {} as any;
|
|
2901
|
+
const localVarQueryParameter = {} as any;
|
|
2902
|
+
|
|
2903
|
+
// authentication BearerToken required
|
|
2904
|
+
// http bearer authentication required
|
|
2905
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2906
|
+
|
|
2907
|
+
// authentication DigestAuth required
|
|
2908
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2914
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2915
|
+
|
|
2916
|
+
return {
|
|
2917
|
+
url: toPathString(localVarUrlObj),
|
|
2918
|
+
options: localVarRequestOptions,
|
|
2919
|
+
};
|
|
2920
|
+
},
|
|
2921
|
+
/**
|
|
2922
|
+
* delete a database in cluster
|
|
2923
|
+
* @summary Delete cluster database
|
|
2924
|
+
* @param {string} engineName name of the engine
|
|
2925
|
+
* @param {string} orgName name of the Org
|
|
2926
|
+
* @param {string} clusterName name of the Cluster
|
|
2927
|
+
* @param {string} databaseName name of database
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
*/
|
|
2931
|
+
deleteDatabase: async (engineName: string, orgName: string, clusterName: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2932
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2933
|
+
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2934
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2935
|
+
assertParamExists('deleteDatabase', 'orgName', orgName)
|
|
2936
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2937
|
+
assertParamExists('deleteDatabase', 'clusterName', clusterName)
|
|
2938
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
2939
|
+
assertParamExists('deleteDatabase', 'databaseName', databaseName)
|
|
2940
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
|
|
2941
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2942
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2943
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2944
|
+
.replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
|
|
2676
2945
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2677
2946
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2678
2947
|
let baseOptions;
|
|
@@ -4940,6 +5209,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4940
5209
|
|
|
4941
5210
|
|
|
4942
5211
|
|
|
5212
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5214
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5215
|
+
|
|
5216
|
+
return {
|
|
5217
|
+
url: toPathString(localVarUrlObj),
|
|
5218
|
+
options: localVarRequestOptions,
|
|
5219
|
+
};
|
|
5220
|
+
},
|
|
5221
|
+
/**
|
|
5222
|
+
*
|
|
5223
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
5224
|
+
* @param {string} orgName
|
|
5225
|
+
* @param {string} clusterName
|
|
5226
|
+
* @param {string} roleName
|
|
5227
|
+
* @param {*} [options] Override http request option.
|
|
5228
|
+
* @throws {RequiredError}
|
|
5229
|
+
*/
|
|
5230
|
+
getClickhouseRoleGrants: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5231
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5232
|
+
assertParamExists('getClickhouseRoleGrants', 'orgName', orgName)
|
|
5233
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5234
|
+
assertParamExists('getClickhouseRoleGrants', 'clusterName', clusterName)
|
|
5235
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
5236
|
+
assertParamExists('getClickhouseRoleGrants', 'roleName', roleName)
|
|
5237
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
5238
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5239
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5240
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
5241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5242
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5243
|
+
let baseOptions;
|
|
5244
|
+
if (configuration) {
|
|
5245
|
+
baseOptions = configuration.baseOptions;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5249
|
+
const localVarHeaderParameter = {} as any;
|
|
5250
|
+
const localVarQueryParameter = {} as any;
|
|
5251
|
+
|
|
5252
|
+
// authentication BearerToken required
|
|
5253
|
+
// http bearer authentication required
|
|
5254
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5255
|
+
|
|
5256
|
+
// authentication DigestAuth required
|
|
5257
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5258
|
+
|
|
5259
|
+
|
|
5260
|
+
|
|
4943
5261
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4944
5262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4945
5263
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7676,6 +7994,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7676
7994
|
options: localVarRequestOptions,
|
|
7677
7995
|
};
|
|
7678
7996
|
},
|
|
7997
|
+
/**
|
|
7998
|
+
*
|
|
7999
|
+
* @summary Grant privileges to a ClickHouse role
|
|
8000
|
+
* @param {string} orgName
|
|
8001
|
+
* @param {string} clusterName
|
|
8002
|
+
* @param {string} roleName
|
|
8003
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
8004
|
+
* @param {*} [options] Override http request option.
|
|
8005
|
+
* @throws {RequiredError}
|
|
8006
|
+
*/
|
|
8007
|
+
grantClickhouseRolePrivileges: async (orgName: string, clusterName: string, roleName: string, body: ListClickhouseAccountRoles200ResponsePrivilegesInner, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8008
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8009
|
+
assertParamExists('grantClickhouseRolePrivileges', 'orgName', orgName)
|
|
8010
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8011
|
+
assertParamExists('grantClickhouseRolePrivileges', 'clusterName', clusterName)
|
|
8012
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
8013
|
+
assertParamExists('grantClickhouseRolePrivileges', 'roleName', roleName)
|
|
8014
|
+
// verify required parameter 'body' is not null or undefined
|
|
8015
|
+
assertParamExists('grantClickhouseRolePrivileges', 'body', body)
|
|
8016
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
8017
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8018
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8019
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
8020
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8021
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8022
|
+
let baseOptions;
|
|
8023
|
+
if (configuration) {
|
|
8024
|
+
baseOptions = configuration.baseOptions;
|
|
8025
|
+
}
|
|
8026
|
+
|
|
8027
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8028
|
+
const localVarHeaderParameter = {} as any;
|
|
8029
|
+
const localVarQueryParameter = {} as any;
|
|
8030
|
+
|
|
8031
|
+
// authentication BearerToken required
|
|
8032
|
+
// http bearer authentication required
|
|
8033
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8034
|
+
|
|
8035
|
+
// authentication DigestAuth required
|
|
8036
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
|
|
8040
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8041
|
+
|
|
8042
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8043
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8044
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8045
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
8046
|
+
|
|
8047
|
+
return {
|
|
8048
|
+
url: toPathString(localVarUrlObj),
|
|
8049
|
+
options: localVarRequestOptions,
|
|
8050
|
+
};
|
|
8051
|
+
},
|
|
7679
8052
|
/**
|
|
7680
8053
|
*
|
|
7681
8054
|
* @summary Horizontal scale cluster
|
|
@@ -8109,6 +8482,195 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8109
8482
|
|
|
8110
8483
|
|
|
8111
8484
|
|
|
8485
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8486
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8487
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8488
|
+
|
|
8489
|
+
return {
|
|
8490
|
+
url: toPathString(localVarUrlObj),
|
|
8491
|
+
options: localVarRequestOptions,
|
|
8492
|
+
};
|
|
8493
|
+
},
|
|
8494
|
+
/**
|
|
8495
|
+
*
|
|
8496
|
+
* @summary List the roles granted to a ClickHouse account
|
|
8497
|
+
* @param {string} orgName
|
|
8498
|
+
* @param {string} clusterName
|
|
8499
|
+
* @param {string} accountName
|
|
8500
|
+
* @param {*} [options] Override http request option.
|
|
8501
|
+
* @throws {RequiredError}
|
|
8502
|
+
*/
|
|
8503
|
+
listClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8504
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8505
|
+
assertParamExists('listClickhouseAccountRoles', 'orgName', orgName)
|
|
8506
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8507
|
+
assertParamExists('listClickhouseAccountRoles', 'clusterName', clusterName)
|
|
8508
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
8509
|
+
assertParamExists('listClickhouseAccountRoles', 'accountName', accountName)
|
|
8510
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
8511
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8512
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8513
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
8514
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8515
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8516
|
+
let baseOptions;
|
|
8517
|
+
if (configuration) {
|
|
8518
|
+
baseOptions = configuration.baseOptions;
|
|
8519
|
+
}
|
|
8520
|
+
|
|
8521
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8522
|
+
const localVarHeaderParameter = {} as any;
|
|
8523
|
+
const localVarQueryParameter = {} as any;
|
|
8524
|
+
|
|
8525
|
+
// authentication BearerToken required
|
|
8526
|
+
// http bearer authentication required
|
|
8527
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8528
|
+
|
|
8529
|
+
// authentication DigestAuth required
|
|
8530
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8531
|
+
|
|
8532
|
+
|
|
8533
|
+
|
|
8534
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8535
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8536
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8537
|
+
|
|
8538
|
+
return {
|
|
8539
|
+
url: toPathString(localVarUrlObj),
|
|
8540
|
+
options: localVarRequestOptions,
|
|
8541
|
+
};
|
|
8542
|
+
},
|
|
8543
|
+
/**
|
|
8544
|
+
*
|
|
8545
|
+
* @summary List ClickHouse accounts
|
|
8546
|
+
* @param {string} orgName
|
|
8547
|
+
* @param {string} clusterName
|
|
8548
|
+
* @param {*} [options] Override http request option.
|
|
8549
|
+
* @throws {RequiredError}
|
|
8550
|
+
*/
|
|
8551
|
+
listClickhouseAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8552
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8553
|
+
assertParamExists('listClickhouseAccounts', 'orgName', orgName)
|
|
8554
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8555
|
+
assertParamExists('listClickhouseAccounts', 'clusterName', clusterName)
|
|
8556
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8557
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8558
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8559
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8560
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8561
|
+
let baseOptions;
|
|
8562
|
+
if (configuration) {
|
|
8563
|
+
baseOptions = configuration.baseOptions;
|
|
8564
|
+
}
|
|
8565
|
+
|
|
8566
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8567
|
+
const localVarHeaderParameter = {} as any;
|
|
8568
|
+
const localVarQueryParameter = {} as any;
|
|
8569
|
+
|
|
8570
|
+
// authentication BearerToken required
|
|
8571
|
+
// http bearer authentication required
|
|
8572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8573
|
+
|
|
8574
|
+
// authentication DigestAuth required
|
|
8575
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8576
|
+
|
|
8577
|
+
|
|
8578
|
+
|
|
8579
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8580
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8581
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8582
|
+
|
|
8583
|
+
return {
|
|
8584
|
+
url: toPathString(localVarUrlObj),
|
|
8585
|
+
options: localVarRequestOptions,
|
|
8586
|
+
};
|
|
8587
|
+
},
|
|
8588
|
+
/**
|
|
8589
|
+
*
|
|
8590
|
+
* @summary List privileges supported by the ClickHouse server
|
|
8591
|
+
* @param {string} orgName
|
|
8592
|
+
* @param {string} clusterName
|
|
8593
|
+
* @param {*} [options] Override http request option.
|
|
8594
|
+
* @throws {RequiredError}
|
|
8595
|
+
*/
|
|
8596
|
+
listClickhousePrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8597
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8598
|
+
assertParamExists('listClickhousePrivileges', 'orgName', orgName)
|
|
8599
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8600
|
+
assertParamExists('listClickhousePrivileges', 'clusterName', clusterName)
|
|
8601
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/privileges`
|
|
8602
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8603
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8604
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8605
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8606
|
+
let baseOptions;
|
|
8607
|
+
if (configuration) {
|
|
8608
|
+
baseOptions = configuration.baseOptions;
|
|
8609
|
+
}
|
|
8610
|
+
|
|
8611
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8612
|
+
const localVarHeaderParameter = {} as any;
|
|
8613
|
+
const localVarQueryParameter = {} as any;
|
|
8614
|
+
|
|
8615
|
+
// authentication BearerToken required
|
|
8616
|
+
// http bearer authentication required
|
|
8617
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8618
|
+
|
|
8619
|
+
// authentication DigestAuth required
|
|
8620
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8621
|
+
|
|
8622
|
+
|
|
8623
|
+
|
|
8624
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8626
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8627
|
+
|
|
8628
|
+
return {
|
|
8629
|
+
url: toPathString(localVarUrlObj),
|
|
8630
|
+
options: localVarRequestOptions,
|
|
8631
|
+
};
|
|
8632
|
+
},
|
|
8633
|
+
/**
|
|
8634
|
+
*
|
|
8635
|
+
* @summary List ClickHouse roles
|
|
8636
|
+
* @param {string} orgName
|
|
8637
|
+
* @param {string} clusterName
|
|
8638
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
8639
|
+
* @param {*} [options] Override http request option.
|
|
8640
|
+
* @throws {RequiredError}
|
|
8641
|
+
*/
|
|
8642
|
+
listClickhouseRoles: async (orgName: string, clusterName: string, forCreateUser?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8643
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8644
|
+
assertParamExists('listClickhouseRoles', 'orgName', orgName)
|
|
8645
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8646
|
+
assertParamExists('listClickhouseRoles', 'clusterName', clusterName)
|
|
8647
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
8648
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8649
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8650
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8651
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8652
|
+
let baseOptions;
|
|
8653
|
+
if (configuration) {
|
|
8654
|
+
baseOptions = configuration.baseOptions;
|
|
8655
|
+
}
|
|
8656
|
+
|
|
8657
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8658
|
+
const localVarHeaderParameter = {} as any;
|
|
8659
|
+
const localVarQueryParameter = {} as any;
|
|
8660
|
+
|
|
8661
|
+
// authentication BearerToken required
|
|
8662
|
+
// http bearer authentication required
|
|
8663
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8664
|
+
|
|
8665
|
+
// authentication DigestAuth required
|
|
8666
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8667
|
+
|
|
8668
|
+
if (forCreateUser !== undefined) {
|
|
8669
|
+
localVarQueryParameter['forCreateUser'] = forCreateUser;
|
|
8670
|
+
}
|
|
8671
|
+
|
|
8672
|
+
|
|
8673
|
+
|
|
8112
8674
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8113
8675
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8114
8676
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11675,61 +12237,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11675
12237
|
|
|
11676
12238
|
|
|
11677
12239
|
|
|
11678
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11679
|
-
|
|
11680
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11681
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11682
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11683
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
11684
|
-
|
|
11685
|
-
return {
|
|
11686
|
-
url: toPathString(localVarUrlObj),
|
|
11687
|
-
options: localVarRequestOptions,
|
|
11688
|
-
};
|
|
11689
|
-
},
|
|
11690
|
-
/**
|
|
11691
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
11692
|
-
* @summary Put Milvus role
|
|
11693
|
-
* @param {string} orgName name of the Org
|
|
11694
|
-
* @param {string} clusterName name of the Cluster
|
|
11695
|
-
* @param {string} roleName name of the Milvus role
|
|
11696
|
-
* @param {MilvusRoleRequest} body
|
|
11697
|
-
* @param {*} [options] Override http request option.
|
|
11698
|
-
* @throws {RequiredError}
|
|
11699
|
-
*/
|
|
11700
|
-
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11701
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
11702
|
-
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
11703
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
11704
|
-
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
11705
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
11706
|
-
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
11707
|
-
// verify required parameter 'body' is not null or undefined
|
|
11708
|
-
assertParamExists('putMilvusRole', 'body', body)
|
|
11709
|
-
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
11710
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11711
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11712
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11713
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11714
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11715
|
-
let baseOptions;
|
|
11716
|
-
if (configuration) {
|
|
11717
|
-
baseOptions = configuration.baseOptions;
|
|
11718
|
-
}
|
|
11719
|
-
|
|
11720
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11721
|
-
const localVarHeaderParameter = {} as any;
|
|
11722
|
-
const localVarQueryParameter = {} as any;
|
|
11723
|
-
|
|
11724
|
-
// authentication BearerToken required
|
|
11725
|
-
// http bearer authentication required
|
|
11726
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11727
|
-
|
|
11728
|
-
// authentication DigestAuth required
|
|
11729
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
12240
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11734
12241
|
|
|
11735
12242
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13771,6 +14278,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13771
14278
|
options: localVarRequestOptions,
|
|
13772
14279
|
};
|
|
13773
14280
|
},
|
|
14281
|
+
/**
|
|
14282
|
+
*
|
|
14283
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
14284
|
+
* @param {string} orgName
|
|
14285
|
+
* @param {string} clusterName
|
|
14286
|
+
* @param {string} roleName
|
|
14287
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
14288
|
+
* @param {*} [options] Override http request option.
|
|
14289
|
+
* @throws {RequiredError}
|
|
14290
|
+
*/
|
|
14291
|
+
revokeClickhouseRolePrivileges: async (orgName: string, clusterName: string, roleName: string, body: RevokeClickhouseRolePrivilegesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14292
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14293
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'orgName', orgName)
|
|
14294
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14295
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'clusterName', clusterName)
|
|
14296
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
14297
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'roleName', roleName)
|
|
14298
|
+
// verify required parameter 'body' is not null or undefined
|
|
14299
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'body', body)
|
|
14300
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
14301
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14302
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14303
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
14304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14305
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14306
|
+
let baseOptions;
|
|
14307
|
+
if (configuration) {
|
|
14308
|
+
baseOptions = configuration.baseOptions;
|
|
14309
|
+
}
|
|
14310
|
+
|
|
14311
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14312
|
+
const localVarHeaderParameter = {} as any;
|
|
14313
|
+
const localVarQueryParameter = {} as any;
|
|
14314
|
+
|
|
14315
|
+
// authentication BearerToken required
|
|
14316
|
+
// http bearer authentication required
|
|
14317
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14318
|
+
|
|
14319
|
+
// authentication DigestAuth required
|
|
14320
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14321
|
+
|
|
14322
|
+
|
|
14323
|
+
|
|
14324
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14325
|
+
|
|
14326
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14327
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14328
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14329
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
14330
|
+
|
|
14331
|
+
return {
|
|
14332
|
+
url: toPathString(localVarUrlObj),
|
|
14333
|
+
options: localVarRequestOptions,
|
|
14334
|
+
};
|
|
14335
|
+
},
|
|
13774
14336
|
/**
|
|
13775
14337
|
*
|
|
13776
14338
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -14705,6 +15267,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14705
15267
|
|
|
14706
15268
|
|
|
14707
15269
|
|
|
15270
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15271
|
+
|
|
15272
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15273
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15274
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15275
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15276
|
+
|
|
15277
|
+
return {
|
|
15278
|
+
url: toPathString(localVarUrlObj),
|
|
15279
|
+
options: localVarRequestOptions,
|
|
15280
|
+
};
|
|
15281
|
+
},
|
|
15282
|
+
/**
|
|
15283
|
+
*
|
|
15284
|
+
* @summary Update a ClickHouse account password
|
|
15285
|
+
* @param {string} orgName
|
|
15286
|
+
* @param {string} clusterName
|
|
15287
|
+
* @param {string} accountName
|
|
15288
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
15289
|
+
* @param {*} [options] Override http request option.
|
|
15290
|
+
* @throws {RequiredError}
|
|
15291
|
+
*/
|
|
15292
|
+
updateClickhouseAccountPassword: async (orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15293
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15294
|
+
assertParamExists('updateClickhouseAccountPassword', 'orgName', orgName)
|
|
15295
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15296
|
+
assertParamExists('updateClickhouseAccountPassword', 'clusterName', clusterName)
|
|
15297
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15298
|
+
assertParamExists('updateClickhouseAccountPassword', 'accountName', accountName)
|
|
15299
|
+
// verify required parameter 'body' is not null or undefined
|
|
15300
|
+
assertParamExists('updateClickhouseAccountPassword', 'body', body)
|
|
15301
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
15302
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15303
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15304
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15307
|
+
let baseOptions;
|
|
15308
|
+
if (configuration) {
|
|
15309
|
+
baseOptions = configuration.baseOptions;
|
|
15310
|
+
}
|
|
15311
|
+
|
|
15312
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
15313
|
+
const localVarHeaderParameter = {} as any;
|
|
15314
|
+
const localVarQueryParameter = {} as any;
|
|
15315
|
+
|
|
15316
|
+
// authentication BearerToken required
|
|
15317
|
+
// http bearer authentication required
|
|
15318
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15319
|
+
|
|
15320
|
+
// authentication DigestAuth required
|
|
15321
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15322
|
+
|
|
15323
|
+
|
|
15324
|
+
|
|
15325
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15326
|
+
|
|
15327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15329
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15330
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15331
|
+
|
|
15332
|
+
return {
|
|
15333
|
+
url: toPathString(localVarUrlObj),
|
|
15334
|
+
options: localVarRequestOptions,
|
|
15335
|
+
};
|
|
15336
|
+
},
|
|
15337
|
+
/**
|
|
15338
|
+
*
|
|
15339
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
15340
|
+
* @param {string} orgName
|
|
15341
|
+
* @param {string} clusterName
|
|
15342
|
+
* @param {string} accountName
|
|
15343
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
15344
|
+
* @param {*} [options] Override http request option.
|
|
15345
|
+
* @throws {RequiredError}
|
|
15346
|
+
*/
|
|
15347
|
+
updateClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountRolesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15348
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15349
|
+
assertParamExists('updateClickhouseAccountRoles', 'orgName', orgName)
|
|
15350
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15351
|
+
assertParamExists('updateClickhouseAccountRoles', 'clusterName', clusterName)
|
|
15352
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15353
|
+
assertParamExists('updateClickhouseAccountRoles', 'accountName', accountName)
|
|
15354
|
+
// verify required parameter 'body' is not null or undefined
|
|
15355
|
+
assertParamExists('updateClickhouseAccountRoles', 'body', body)
|
|
15356
|
+
const localVarPath = `/admin/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
15357
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15358
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15359
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15362
|
+
let baseOptions;
|
|
15363
|
+
if (configuration) {
|
|
15364
|
+
baseOptions = configuration.baseOptions;
|
|
15365
|
+
}
|
|
15366
|
+
|
|
15367
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15368
|
+
const localVarHeaderParameter = {} as any;
|
|
15369
|
+
const localVarQueryParameter = {} as any;
|
|
15370
|
+
|
|
15371
|
+
// authentication BearerToken required
|
|
15372
|
+
// http bearer authentication required
|
|
15373
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15374
|
+
|
|
15375
|
+
// authentication DigestAuth required
|
|
15376
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15377
|
+
|
|
15378
|
+
|
|
15379
|
+
|
|
14708
15380
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14709
15381
|
|
|
14710
15382
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15298,6 +15970,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15298
15970
|
|
|
15299
15971
|
|
|
15300
15972
|
|
|
15973
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15974
|
+
|
|
15975
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15976
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15977
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15978
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15979
|
+
|
|
15980
|
+
return {
|
|
15981
|
+
url: toPathString(localVarUrlObj),
|
|
15982
|
+
options: localVarRequestOptions,
|
|
15983
|
+
};
|
|
15984
|
+
},
|
|
15985
|
+
/**
|
|
15986
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
15987
|
+
* @summary Update Milvus role
|
|
15988
|
+
* @param {string} orgName name of the Org
|
|
15989
|
+
* @param {string} clusterName name of the Cluster
|
|
15990
|
+
* @param {string} roleName name of the Milvus role
|
|
15991
|
+
* @param {MilvusRoleRequest} body
|
|
15992
|
+
* @param {*} [options] Override http request option.
|
|
15993
|
+
* @throws {RequiredError}
|
|
15994
|
+
*/
|
|
15995
|
+
updateMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15996
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15997
|
+
assertParamExists('updateMilvusRole', 'orgName', orgName)
|
|
15998
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15999
|
+
assertParamExists('updateMilvusRole', 'clusterName', clusterName)
|
|
16000
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
16001
|
+
assertParamExists('updateMilvusRole', 'roleName', roleName)
|
|
16002
|
+
// verify required parameter 'body' is not null or undefined
|
|
16003
|
+
assertParamExists('updateMilvusRole', 'body', body)
|
|
16004
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
16005
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16006
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
16007
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
16008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16010
|
+
let baseOptions;
|
|
16011
|
+
if (configuration) {
|
|
16012
|
+
baseOptions = configuration.baseOptions;
|
|
16013
|
+
}
|
|
16014
|
+
|
|
16015
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16016
|
+
const localVarHeaderParameter = {} as any;
|
|
16017
|
+
const localVarQueryParameter = {} as any;
|
|
16018
|
+
|
|
16019
|
+
// authentication BearerToken required
|
|
16020
|
+
// http bearer authentication required
|
|
16021
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16022
|
+
|
|
16023
|
+
// authentication DigestAuth required
|
|
16024
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16025
|
+
|
|
16026
|
+
|
|
16027
|
+
|
|
15301
16028
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15302
16029
|
|
|
15303
16030
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15365,19 +16092,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15365
16092
|
* @param {string} orgName name of the Org
|
|
15366
16093
|
* @param {string} clusterName name of the Cluster
|
|
15367
16094
|
* @param {string} accountName name of the Account
|
|
15368
|
-
* @param {
|
|
16095
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
15369
16096
|
* @param {*} [options] Override http request option.
|
|
15370
16097
|
* @throws {RequiredError}
|
|
15371
16098
|
*/
|
|
15372
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
16099
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15373
16100
|
// verify required parameter 'orgName' is not null or undefined
|
|
15374
16101
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
15375
16102
|
// verify required parameter 'clusterName' is not null or undefined
|
|
15376
16103
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
15377
16104
|
// verify required parameter 'accountName' is not null or undefined
|
|
15378
16105
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
15379
|
-
// verify required parameter '
|
|
15380
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
16106
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
16107
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
15381
16108
|
const localVarPath = `/admin/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
15382
16109
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15383
16110
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -15407,7 +16134,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15407
16134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15408
16135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15409
16136
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15410
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16137
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
15411
16138
|
|
|
15412
16139
|
return {
|
|
15413
16140
|
url: toPathString(localVarUrlObj),
|
|
@@ -16313,6 +17040,36 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16313
17040
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
16314
17041
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16315
17042
|
},
|
|
17043
|
+
/**
|
|
17044
|
+
*
|
|
17045
|
+
* @summary Create a ClickHouse account with optional roles
|
|
17046
|
+
* @param {string} orgName
|
|
17047
|
+
* @param {string} clusterName
|
|
17048
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
17049
|
+
* @param {*} [options] Override http request option.
|
|
17050
|
+
* @throws {RequiredError}
|
|
17051
|
+
*/
|
|
17052
|
+
async createClickhouseAccount(orgName: string, clusterName: string, body: CreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseAccount(orgName, clusterName, body, options);
|
|
17054
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17055
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createClickhouseAccount']?.[localVarOperationServerIndex]?.url;
|
|
17056
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17057
|
+
},
|
|
17058
|
+
/**
|
|
17059
|
+
*
|
|
17060
|
+
* @summary Create a ClickHouse role with privileges
|
|
17061
|
+
* @param {string} orgName
|
|
17062
|
+
* @param {string} clusterName
|
|
17063
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
17064
|
+
* @param {*} [options] Override http request option.
|
|
17065
|
+
* @throws {RequiredError}
|
|
17066
|
+
*/
|
|
17067
|
+
async createClickhouseRole(orgName: string, clusterName: string, body: ListClickhouseAccountRoles200Response, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17068
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseRole(orgName, clusterName, body, options);
|
|
17069
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17070
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createClickhouseRole']?.[localVarOperationServerIndex]?.url;
|
|
17071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17072
|
+
},
|
|
16316
17073
|
/**
|
|
16317
17074
|
*
|
|
16318
17075
|
* @summary Create new cluster
|
|
@@ -16449,6 +17206,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16449
17206
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
16450
17207
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16451
17208
|
},
|
|
17209
|
+
/**
|
|
17210
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
17211
|
+
* @summary Create Milvus role
|
|
17212
|
+
* @param {string} orgName name of the Org
|
|
17213
|
+
* @param {string} clusterName name of the Cluster
|
|
17214
|
+
* @param {MilvusRoleCreateRequest} body
|
|
17215
|
+
* @param {*} [options] Override http request option.
|
|
17216
|
+
* @throws {RequiredError}
|
|
17217
|
+
*/
|
|
17218
|
+
async createMilvusRole(orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
17220
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17221
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17223
|
+
},
|
|
16452
17224
|
/**
|
|
16453
17225
|
* create an account in mongodb
|
|
16454
17226
|
* @summary Create mongodb account
|
|
@@ -16672,6 +17444,36 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16672
17444
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
16673
17445
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16674
17446
|
},
|
|
17447
|
+
/**
|
|
17448
|
+
*
|
|
17449
|
+
* @summary Delete a ClickHouse account
|
|
17450
|
+
* @param {string} orgName
|
|
17451
|
+
* @param {string} clusterName
|
|
17452
|
+
* @param {string} accountName
|
|
17453
|
+
* @param {*} [options] Override http request option.
|
|
17454
|
+
* @throws {RequiredError}
|
|
17455
|
+
*/
|
|
17456
|
+
async deleteClickhouseAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17457
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseAccount(orgName, clusterName, accountName, options);
|
|
17458
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17459
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClickhouseAccount']?.[localVarOperationServerIndex]?.url;
|
|
17460
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17461
|
+
},
|
|
17462
|
+
/**
|
|
17463
|
+
*
|
|
17464
|
+
* @summary Delete a ClickHouse role
|
|
17465
|
+
* @param {string} orgName
|
|
17466
|
+
* @param {string} clusterName
|
|
17467
|
+
* @param {string} roleName
|
|
17468
|
+
* @param {*} [options] Override http request option.
|
|
17469
|
+
* @throws {RequiredError}
|
|
17470
|
+
*/
|
|
17471
|
+
async deleteClickhouseRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17472
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseRole(orgName, clusterName, roleName, options);
|
|
17473
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17474
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClickhouseRole']?.[localVarOperationServerIndex]?.url;
|
|
17475
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17476
|
+
},
|
|
16675
17477
|
/**
|
|
16676
17478
|
*
|
|
16677
17479
|
* @summary Delete cluster
|
|
@@ -17378,6 +18180,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17378
18180
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getBackupRepo']?.[localVarOperationServerIndex]?.url;
|
|
17379
18181
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17380
18182
|
},
|
|
18183
|
+
/**
|
|
18184
|
+
*
|
|
18185
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
18186
|
+
* @param {string} orgName
|
|
18187
|
+
* @param {string} clusterName
|
|
18188
|
+
* @param {string} roleName
|
|
18189
|
+
* @param {*} [options] Override http request option.
|
|
18190
|
+
* @throws {RequiredError}
|
|
18191
|
+
*/
|
|
18192
|
+
async getClickhouseRoleGrants(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>>> {
|
|
18193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClickhouseRoleGrants(orgName, clusterName, roleName, options);
|
|
18194
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18195
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClickhouseRoleGrants']?.[localVarOperationServerIndex]?.url;
|
|
18196
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18197
|
+
},
|
|
17381
18198
|
/**
|
|
17382
18199
|
*
|
|
17383
18200
|
* @summary Get cluster details
|
|
@@ -18173,6 +18990,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18173
18990
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getTenant']?.[localVarOperationServerIndex]?.url;
|
|
18174
18991
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18175
18992
|
},
|
|
18993
|
+
/**
|
|
18994
|
+
*
|
|
18995
|
+
* @summary Grant privileges to a ClickHouse role
|
|
18996
|
+
* @param {string} orgName
|
|
18997
|
+
* @param {string} clusterName
|
|
18998
|
+
* @param {string} roleName
|
|
18999
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
19000
|
+
* @param {*} [options] Override http request option.
|
|
19001
|
+
* @throws {RequiredError}
|
|
19002
|
+
*/
|
|
19003
|
+
async grantClickhouseRolePrivileges(orgName: string, clusterName: string, roleName: string, body: ListClickhouseAccountRoles200ResponsePrivilegesInner, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
19005
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19006
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.grantClickhouseRolePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19007
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19008
|
+
},
|
|
18176
19009
|
/**
|
|
18177
19010
|
*
|
|
18178
19011
|
* @summary Horizontal scale cluster
|
|
@@ -18305,6 +19138,64 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18305
19138
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClasses']?.[localVarOperationServerIndex]?.url;
|
|
18306
19139
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18307
19140
|
},
|
|
19141
|
+
/**
|
|
19142
|
+
*
|
|
19143
|
+
* @summary List the roles granted to a ClickHouse account
|
|
19144
|
+
* @param {string} orgName
|
|
19145
|
+
* @param {string} clusterName
|
|
19146
|
+
* @param {string} accountName
|
|
19147
|
+
* @param {*} [options] Override http request option.
|
|
19148
|
+
* @throws {RequiredError}
|
|
19149
|
+
*/
|
|
19150
|
+
async listClickhouseAccountRoles(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClickhouseAccountRoles200Response>> {
|
|
19151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccountRoles(orgName, clusterName, accountName, options);
|
|
19152
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19153
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
19154
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19155
|
+
},
|
|
19156
|
+
/**
|
|
19157
|
+
*
|
|
19158
|
+
* @summary List ClickHouse accounts
|
|
19159
|
+
* @param {string} orgName
|
|
19160
|
+
* @param {string} clusterName
|
|
19161
|
+
* @param {*} [options] Override http request option.
|
|
19162
|
+
* @throws {RequiredError}
|
|
19163
|
+
*/
|
|
19164
|
+
async listClickhouseAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CkAccount>> {
|
|
19165
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccounts(orgName, clusterName, options);
|
|
19166
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19167
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseAccounts']?.[localVarOperationServerIndex]?.url;
|
|
19168
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19169
|
+
},
|
|
19170
|
+
/**
|
|
19171
|
+
*
|
|
19172
|
+
* @summary List privileges supported by the ClickHouse server
|
|
19173
|
+
* @param {string} orgName
|
|
19174
|
+
* @param {string} clusterName
|
|
19175
|
+
* @param {*} [options] Override http request option.
|
|
19176
|
+
* @throws {RequiredError}
|
|
19177
|
+
*/
|
|
19178
|
+
async listClickhousePrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
19179
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhousePrivileges(orgName, clusterName, options);
|
|
19180
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19181
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhousePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19182
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19183
|
+
},
|
|
19184
|
+
/**
|
|
19185
|
+
*
|
|
19186
|
+
* @summary List ClickHouse roles
|
|
19187
|
+
* @param {string} orgName
|
|
19188
|
+
* @param {string} clusterName
|
|
19189
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
19190
|
+
* @param {*} [options] Override http request option.
|
|
19191
|
+
* @throws {RequiredError}
|
|
19192
|
+
*/
|
|
19193
|
+
async listClickhouseRoles(orgName: string, clusterName: string, forCreateUser?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListClickhouseAccountRoles200Response>>> {
|
|
19194
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseRoles(orgName, clusterName, forCreateUser, options);
|
|
19195
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19196
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseRoles']?.[localVarOperationServerIndex]?.url;
|
|
19197
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19198
|
+
},
|
|
18308
19199
|
/**
|
|
18309
19200
|
*
|
|
18310
19201
|
* @summary List clusters in the Org
|
|
@@ -19368,22 +20259,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19368
20259
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
19369
20260
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19370
20261
|
},
|
|
19371
|
-
/**
|
|
19372
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
19373
|
-
* @summary Put Milvus role
|
|
19374
|
-
* @param {string} orgName name of the Org
|
|
19375
|
-
* @param {string} clusterName name of the Cluster
|
|
19376
|
-
* @param {string} roleName name of the Milvus role
|
|
19377
|
-
* @param {MilvusRoleRequest} body
|
|
19378
|
-
* @param {*} [options] Override http request option.
|
|
19379
|
-
* @throws {RequiredError}
|
|
19380
|
-
*/
|
|
19381
|
-
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
19382
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
19383
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19384
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
19385
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19386
|
-
},
|
|
19387
20262
|
/**
|
|
19388
20263
|
*
|
|
19389
20264
|
* @summary create a SQL query
|
|
@@ -19906,6 +20781,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19906
20781
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
19907
20782
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19908
20783
|
},
|
|
20784
|
+
/**
|
|
20785
|
+
*
|
|
20786
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
20787
|
+
* @param {string} orgName
|
|
20788
|
+
* @param {string} clusterName
|
|
20789
|
+
* @param {string} roleName
|
|
20790
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
20791
|
+
* @param {*} [options] Override http request option.
|
|
20792
|
+
* @throws {RequiredError}
|
|
20793
|
+
*/
|
|
20794
|
+
async revokeClickhouseRolePrivileges(orgName: string, clusterName: string, roleName: string, body: RevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
20795
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
20796
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20797
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.revokeClickhouseRolePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
20798
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20799
|
+
},
|
|
19909
20800
|
/**
|
|
19910
20801
|
*
|
|
19911
20802
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -20186,6 +21077,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20186
21077
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
20187
21078
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20188
21079
|
},
|
|
21080
|
+
/**
|
|
21081
|
+
*
|
|
21082
|
+
* @summary Update a ClickHouse account password
|
|
21083
|
+
* @param {string} orgName
|
|
21084
|
+
* @param {string} clusterName
|
|
21085
|
+
* @param {string} accountName
|
|
21086
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
21087
|
+
* @param {*} [options] Override http request option.
|
|
21088
|
+
* @throws {RequiredError}
|
|
21089
|
+
*/
|
|
21090
|
+
async updateClickhouseAccountPassword(orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options);
|
|
21092
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21093
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateClickhouseAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
21094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21095
|
+
},
|
|
21096
|
+
/**
|
|
21097
|
+
*
|
|
21098
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
21099
|
+
* @param {string} orgName
|
|
21100
|
+
* @param {string} clusterName
|
|
21101
|
+
* @param {string} accountName
|
|
21102
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
21103
|
+
* @param {*} [options] Override http request option.
|
|
21104
|
+
* @throws {RequiredError}
|
|
21105
|
+
*/
|
|
21106
|
+
async updateClickhouseAccountRoles(orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options);
|
|
21108
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21109
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateClickhouseAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
21110
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21111
|
+
},
|
|
20189
21112
|
/**
|
|
20190
21113
|
*
|
|
20191
21114
|
* @summary Update the cluster license
|
|
@@ -20360,6 +21283,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20360
21283
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
20361
21284
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20362
21285
|
},
|
|
21286
|
+
/**
|
|
21287
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21288
|
+
* @summary Update Milvus role
|
|
21289
|
+
* @param {string} orgName name of the Org
|
|
21290
|
+
* @param {string} clusterName name of the Cluster
|
|
21291
|
+
* @param {string} roleName name of the Milvus role
|
|
21292
|
+
* @param {MilvusRoleRequest} body
|
|
21293
|
+
* @param {*} [options] Override http request option.
|
|
21294
|
+
* @throws {RequiredError}
|
|
21295
|
+
*/
|
|
21296
|
+
async updateMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
21297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
21298
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21299
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
21300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21301
|
+
},
|
|
20363
21302
|
/**
|
|
20364
21303
|
*
|
|
20365
21304
|
* @summary update mssql account compatible with windows account
|
|
@@ -20381,12 +21320,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20381
21320
|
* @param {string} orgName name of the Org
|
|
20382
21321
|
* @param {string} clusterName name of the Cluster
|
|
20383
21322
|
* @param {string} accountName name of the Account
|
|
20384
|
-
* @param {
|
|
21323
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
20385
21324
|
* @param {*} [options] Override http request option.
|
|
20386
21325
|
* @throws {RequiredError}
|
|
20387
21326
|
*/
|
|
20388
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
20389
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
21327
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
20390
21329
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20391
21330
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
20392
21331
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20745,6 +21684,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20745
21684
|
createBackupSchedule(requestParameters: SharedApiCreateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule> {
|
|
20746
21685
|
return localVarFp.createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20747
21686
|
},
|
|
21687
|
+
/**
|
|
21688
|
+
*
|
|
21689
|
+
* @summary Create a ClickHouse account with optional roles
|
|
21690
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
21691
|
+
* @param {*} [options] Override http request option.
|
|
21692
|
+
* @throws {RequiredError}
|
|
21693
|
+
*/
|
|
21694
|
+
createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21695
|
+
return localVarFp.createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21696
|
+
},
|
|
21697
|
+
/**
|
|
21698
|
+
*
|
|
21699
|
+
* @summary Create a ClickHouse role with privileges
|
|
21700
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
21701
|
+
* @param {*} [options] Override http request option.
|
|
21702
|
+
* @throws {RequiredError}
|
|
21703
|
+
*/
|
|
21704
|
+
createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21705
|
+
return localVarFp.createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21706
|
+
},
|
|
20748
21707
|
/**
|
|
20749
21708
|
*
|
|
20750
21709
|
* @summary Create new cluster
|
|
@@ -20835,6 +21794,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20835
21794
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
|
|
20836
21795
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
20837
21796
|
},
|
|
21797
|
+
/**
|
|
21798
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
21799
|
+
* @summary Create Milvus role
|
|
21800
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
21801
|
+
* @param {*} [options] Override http request option.
|
|
21802
|
+
* @throws {RequiredError}
|
|
21803
|
+
*/
|
|
21804
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21805
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21806
|
+
},
|
|
20838
21807
|
/**
|
|
20839
21808
|
* create an account in mongodb
|
|
20840
21809
|
* @summary Create mongodb account
|
|
@@ -20985,6 +21954,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20985
21954
|
deleteBackupSchedule(requestParameters: SharedApiDeleteBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20986
21955
|
return localVarFp.deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(axios, basePath));
|
|
20987
21956
|
},
|
|
21957
|
+
/**
|
|
21958
|
+
*
|
|
21959
|
+
* @summary Delete a ClickHouse account
|
|
21960
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
21961
|
+
* @param {*} [options] Override http request option.
|
|
21962
|
+
* @throws {RequiredError}
|
|
21963
|
+
*/
|
|
21964
|
+
deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21965
|
+
return localVarFp.deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
21966
|
+
},
|
|
21967
|
+
/**
|
|
21968
|
+
*
|
|
21969
|
+
* @summary Delete a ClickHouse role
|
|
21970
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
21971
|
+
* @param {*} [options] Override http request option.
|
|
21972
|
+
* @throws {RequiredError}
|
|
21973
|
+
*/
|
|
21974
|
+
deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21975
|
+
return localVarFp.deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
21976
|
+
},
|
|
20988
21977
|
/**
|
|
20989
21978
|
*
|
|
20990
21979
|
* @summary Delete cluster
|
|
@@ -21436,6 +22425,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21436
22425
|
getBackupRepo(requestParameters: SharedApiGetBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo> {
|
|
21437
22426
|
return localVarFp.getBackupRepo(requestParameters.environmentName, requestParameters.backupRepoName, requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
21438
22427
|
},
|
|
22428
|
+
/**
|
|
22429
|
+
*
|
|
22430
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
22431
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
22432
|
+
* @param {*} [options] Override http request option.
|
|
22433
|
+
* @throws {RequiredError}
|
|
22434
|
+
*/
|
|
22435
|
+
getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>> {
|
|
22436
|
+
return localVarFp.getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
22437
|
+
},
|
|
21439
22438
|
/**
|
|
21440
22439
|
*
|
|
21441
22440
|
* @summary Get cluster details
|
|
@@ -21935,6 +22934,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21935
22934
|
getTenant(requestParameters: SharedApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tenant> {
|
|
21936
22935
|
return localVarFp.getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(axios, basePath));
|
|
21937
22936
|
},
|
|
22937
|
+
/**
|
|
22938
|
+
*
|
|
22939
|
+
* @summary Grant privileges to a ClickHouse role
|
|
22940
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
22941
|
+
* @param {*} [options] Override http request option.
|
|
22942
|
+
* @throws {RequiredError}
|
|
22943
|
+
*/
|
|
22944
|
+
grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22945
|
+
return localVarFp.grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22946
|
+
},
|
|
21938
22947
|
/**
|
|
21939
22948
|
*
|
|
21940
22949
|
* @summary Horizontal scale cluster
|
|
@@ -22024,6 +23033,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22024
23033
|
listClasses(requestParameters: SharedApiListClassesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Array<Class>> {
|
|
22025
23034
|
return localVarFp.listClasses(requestParameters.engineName, options).then((request) => request(axios, basePath));
|
|
22026
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
|
+
},
|
|
22027
23076
|
/**
|
|
22028
23077
|
*
|
|
22029
23078
|
* @summary List clusters in the Org
|
|
@@ -22731,16 +23780,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22731
23780
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22732
23781
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22733
23782
|
},
|
|
22734
|
-
/**
|
|
22735
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
22736
|
-
* @summary Put Milvus role
|
|
22737
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
22738
|
-
* @param {*} [options] Override http request option.
|
|
22739
|
-
* @throws {RequiredError}
|
|
22740
|
-
*/
|
|
22741
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
22742
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22743
|
-
},
|
|
22744
23783
|
/**
|
|
22745
23784
|
*
|
|
22746
23785
|
* @summary create a SQL query
|
|
@@ -23000,6 +24039,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23000
24039
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
23001
24040
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23002
24041
|
},
|
|
24042
|
+
/**
|
|
24043
|
+
*
|
|
24044
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
24045
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
24046
|
+
* @param {*} [options] Override http request option.
|
|
24047
|
+
* @throws {RequiredError}
|
|
24048
|
+
*/
|
|
24049
|
+
revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24050
|
+
return localVarFp.revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24051
|
+
},
|
|
23003
24052
|
/**
|
|
23004
24053
|
*
|
|
23005
24054
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -23180,6 +24229,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23180
24229
|
updateBackupSchedule(requestParameters: SharedApiUpdateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule> {
|
|
23181
24230
|
return localVarFp.updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23182
24231
|
},
|
|
24232
|
+
/**
|
|
24233
|
+
*
|
|
24234
|
+
* @summary Update a ClickHouse account password
|
|
24235
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
24236
|
+
* @param {*} [options] Override http request option.
|
|
24237
|
+
* @throws {RequiredError}
|
|
24238
|
+
*/
|
|
24239
|
+
updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24240
|
+
return localVarFp.updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24241
|
+
},
|
|
24242
|
+
/**
|
|
24243
|
+
*
|
|
24244
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
24245
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
24246
|
+
* @param {*} [options] Override http request option.
|
|
24247
|
+
* @throws {RequiredError}
|
|
24248
|
+
*/
|
|
24249
|
+
updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24250
|
+
return localVarFp.updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24251
|
+
},
|
|
23183
24252
|
/**
|
|
23184
24253
|
*
|
|
23185
24254
|
* @summary Update the cluster license
|
|
@@ -23290,6 +24359,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23290
24359
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23291
24360
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23292
24361
|
},
|
|
24362
|
+
/**
|
|
24363
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24364
|
+
* @summary Update Milvus role
|
|
24365
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24366
|
+
* @param {*} [options] Override http request option.
|
|
24367
|
+
* @throws {RequiredError}
|
|
24368
|
+
*/
|
|
24369
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
24370
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24371
|
+
},
|
|
23293
24372
|
/**
|
|
23294
24373
|
*
|
|
23295
24374
|
* @summary update mssql account compatible with windows account
|
|
@@ -23308,7 +24387,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23308
24387
|
* @throws {RequiredError}
|
|
23309
24388
|
*/
|
|
23310
24389
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23311
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24390
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
23312
24391
|
},
|
|
23313
24392
|
/**
|
|
23314
24393
|
* Update a RabbitMQ account privileges
|
|
@@ -23598,6 +24677,26 @@ export interface SharedApiInterface {
|
|
|
23598
24677
|
*/
|
|
23599
24678
|
createBackupSchedule(requestParameters: SharedApiCreateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule>;
|
|
23600
24679
|
|
|
24680
|
+
/**
|
|
24681
|
+
*
|
|
24682
|
+
* @summary Create a ClickHouse account with optional roles
|
|
24683
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
24684
|
+
* @param {*} [options] Override http request option.
|
|
24685
|
+
* @throws {RequiredError}
|
|
24686
|
+
* @memberof SharedApiInterface
|
|
24687
|
+
*/
|
|
24688
|
+
createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24689
|
+
|
|
24690
|
+
/**
|
|
24691
|
+
*
|
|
24692
|
+
* @summary Create a ClickHouse role with privileges
|
|
24693
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
24694
|
+
* @param {*} [options] Override http request option.
|
|
24695
|
+
* @throws {RequiredError}
|
|
24696
|
+
* @memberof SharedApiInterface
|
|
24697
|
+
*/
|
|
24698
|
+
createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24699
|
+
|
|
23601
24700
|
/**
|
|
23602
24701
|
*
|
|
23603
24702
|
* @summary Create new cluster
|
|
@@ -23688,6 +24787,16 @@ export interface SharedApiInterface {
|
|
|
23688
24787
|
*/
|
|
23689
24788
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
|
|
23690
24789
|
|
|
24790
|
+
/**
|
|
24791
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
24792
|
+
* @summary Create Milvus role
|
|
24793
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
24794
|
+
* @param {*} [options] Override http request option.
|
|
24795
|
+
* @throws {RequiredError}
|
|
24796
|
+
* @memberof SharedApiInterface
|
|
24797
|
+
*/
|
|
24798
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24799
|
+
|
|
23691
24800
|
/**
|
|
23692
24801
|
* create an account in mongodb
|
|
23693
24802
|
* @summary Create mongodb account
|
|
@@ -23838,6 +24947,26 @@ export interface SharedApiInterface {
|
|
|
23838
24947
|
*/
|
|
23839
24948
|
deleteBackupSchedule(requestParameters: SharedApiDeleteBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23840
24949
|
|
|
24950
|
+
/**
|
|
24951
|
+
*
|
|
24952
|
+
* @summary Delete a ClickHouse account
|
|
24953
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
24954
|
+
* @param {*} [options] Override http request option.
|
|
24955
|
+
* @throws {RequiredError}
|
|
24956
|
+
* @memberof SharedApiInterface
|
|
24957
|
+
*/
|
|
24958
|
+
deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24959
|
+
|
|
24960
|
+
/**
|
|
24961
|
+
*
|
|
24962
|
+
* @summary Delete a ClickHouse role
|
|
24963
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
24964
|
+
* @param {*} [options] Override http request option.
|
|
24965
|
+
* @throws {RequiredError}
|
|
24966
|
+
* @memberof SharedApiInterface
|
|
24967
|
+
*/
|
|
24968
|
+
deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24969
|
+
|
|
23841
24970
|
/**
|
|
23842
24971
|
*
|
|
23843
24972
|
* @summary Delete cluster
|
|
@@ -24289,6 +25418,16 @@ export interface SharedApiInterface {
|
|
|
24289
25418
|
*/
|
|
24290
25419
|
getBackupRepo(requestParameters: SharedApiGetBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo>;
|
|
24291
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
|
+
|
|
24292
25431
|
/**
|
|
24293
25432
|
*
|
|
24294
25433
|
* @summary Get cluster details
|
|
@@ -24788,6 +25927,16 @@ export interface SharedApiInterface {
|
|
|
24788
25927
|
*/
|
|
24789
25928
|
getTenant(requestParameters: SharedApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
|
|
24790
25929
|
|
|
25930
|
+
/**
|
|
25931
|
+
*
|
|
25932
|
+
* @summary Grant privileges to a ClickHouse role
|
|
25933
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
25934
|
+
* @param {*} [options] Override http request option.
|
|
25935
|
+
* @throws {RequiredError}
|
|
25936
|
+
* @memberof SharedApiInterface
|
|
25937
|
+
*/
|
|
25938
|
+
grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25939
|
+
|
|
24791
25940
|
/**
|
|
24792
25941
|
*
|
|
24793
25942
|
* @summary Horizontal scale cluster
|
|
@@ -24877,6 +26026,46 @@ export interface SharedApiInterface {
|
|
|
24877
26026
|
*/
|
|
24878
26027
|
listClasses(requestParameters?: SharedApiListClassesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Class>>;
|
|
24879
26028
|
|
|
26029
|
+
/**
|
|
26030
|
+
*
|
|
26031
|
+
* @summary List the roles granted to a ClickHouse account
|
|
26032
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
26033
|
+
* @param {*} [options] Override http request option.
|
|
26034
|
+
* @throws {RequiredError}
|
|
26035
|
+
* @memberof SharedApiInterface
|
|
26036
|
+
*/
|
|
26037
|
+
listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClickhouseAccountRoles200Response>;
|
|
26038
|
+
|
|
26039
|
+
/**
|
|
26040
|
+
*
|
|
26041
|
+
* @summary List ClickHouse accounts
|
|
26042
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
26043
|
+
* @param {*} [options] Override http request option.
|
|
26044
|
+
* @throws {RequiredError}
|
|
26045
|
+
* @memberof SharedApiInterface
|
|
26046
|
+
*/
|
|
26047
|
+
listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CkAccount>;
|
|
26048
|
+
|
|
26049
|
+
/**
|
|
26050
|
+
*
|
|
26051
|
+
* @summary List privileges supported by the ClickHouse server
|
|
26052
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
26053
|
+
* @param {*} [options] Override http request option.
|
|
26054
|
+
* @throws {RequiredError}
|
|
26055
|
+
* @memberof SharedApiInterface
|
|
26056
|
+
*/
|
|
26057
|
+
listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
26058
|
+
|
|
26059
|
+
/**
|
|
26060
|
+
*
|
|
26061
|
+
* @summary List ClickHouse roles
|
|
26062
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
26063
|
+
* @param {*} [options] Override http request option.
|
|
26064
|
+
* @throws {RequiredError}
|
|
26065
|
+
* @memberof SharedApiInterface
|
|
26066
|
+
*/
|
|
26067
|
+
listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListClickhouseAccountRoles200Response>>;
|
|
26068
|
+
|
|
24880
26069
|
/**
|
|
24881
26070
|
*
|
|
24882
26071
|
* @summary List clusters in the Org
|
|
@@ -25584,16 +26773,6 @@ export interface SharedApiInterface {
|
|
|
25584
26773
|
*/
|
|
25585
26774
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25586
26775
|
|
|
25587
|
-
/**
|
|
25588
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
25589
|
-
* @summary Put Milvus role
|
|
25590
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
25591
|
-
* @param {*} [options] Override http request option.
|
|
25592
|
-
* @throws {RequiredError}
|
|
25593
|
-
* @memberof SharedApiInterface
|
|
25594
|
-
*/
|
|
25595
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
25596
|
-
|
|
25597
26776
|
/**
|
|
25598
26777
|
*
|
|
25599
26778
|
* @summary create a SQL query
|
|
@@ -25853,6 +27032,16 @@ export interface SharedApiInterface {
|
|
|
25853
27032
|
*/
|
|
25854
27033
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
25855
27034
|
|
|
27035
|
+
/**
|
|
27036
|
+
*
|
|
27037
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
27038
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
27039
|
+
* @param {*} [options] Override http request option.
|
|
27040
|
+
* @throws {RequiredError}
|
|
27041
|
+
* @memberof SharedApiInterface
|
|
27042
|
+
*/
|
|
27043
|
+
revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27044
|
+
|
|
25856
27045
|
/**
|
|
25857
27046
|
*
|
|
25858
27047
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -26033,6 +27222,26 @@ export interface SharedApiInterface {
|
|
|
26033
27222
|
*/
|
|
26034
27223
|
updateBackupSchedule(requestParameters: SharedApiUpdateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule>;
|
|
26035
27224
|
|
|
27225
|
+
/**
|
|
27226
|
+
*
|
|
27227
|
+
* @summary Update a ClickHouse account password
|
|
27228
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
27229
|
+
* @param {*} [options] Override http request option.
|
|
27230
|
+
* @throws {RequiredError}
|
|
27231
|
+
* @memberof SharedApiInterface
|
|
27232
|
+
*/
|
|
27233
|
+
updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27234
|
+
|
|
27235
|
+
/**
|
|
27236
|
+
*
|
|
27237
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
27238
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
27239
|
+
* @param {*} [options] Override http request option.
|
|
27240
|
+
* @throws {RequiredError}
|
|
27241
|
+
* @memberof SharedApiInterface
|
|
27242
|
+
*/
|
|
27243
|
+
updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27244
|
+
|
|
26036
27245
|
/**
|
|
26037
27246
|
*
|
|
26038
27247
|
* @summary Update the cluster license
|
|
@@ -26143,6 +27352,16 @@ export interface SharedApiInterface {
|
|
|
26143
27352
|
*/
|
|
26144
27353
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26145
27354
|
|
|
27355
|
+
/**
|
|
27356
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
27357
|
+
* @summary Update Milvus role
|
|
27358
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
27359
|
+
* @param {*} [options] Override http request option.
|
|
27360
|
+
* @throws {RequiredError}
|
|
27361
|
+
* @memberof SharedApiInterface
|
|
27362
|
+
*/
|
|
27363
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
27364
|
+
|
|
26146
27365
|
/**
|
|
26147
27366
|
*
|
|
26148
27367
|
* @summary update mssql account compatible with windows account
|
|
@@ -26851,6 +28070,62 @@ export interface SharedApiCreateBackupScheduleRequest {
|
|
|
26851
28070
|
readonly body: BackupScheduleCreate
|
|
26852
28071
|
}
|
|
26853
28072
|
|
|
28073
|
+
/**
|
|
28074
|
+
* Request parameters for createClickhouseAccount operation in SharedApi.
|
|
28075
|
+
* @export
|
|
28076
|
+
* @interface SharedApiCreateClickhouseAccountRequest
|
|
28077
|
+
*/
|
|
28078
|
+
export interface SharedApiCreateClickhouseAccountRequest {
|
|
28079
|
+
/**
|
|
28080
|
+
*
|
|
28081
|
+
* @type {string}
|
|
28082
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28083
|
+
*/
|
|
28084
|
+
readonly orgName: string
|
|
28085
|
+
|
|
28086
|
+
/**
|
|
28087
|
+
*
|
|
28088
|
+
* @type {string}
|
|
28089
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28090
|
+
*/
|
|
28091
|
+
readonly clusterName: string
|
|
28092
|
+
|
|
28093
|
+
/**
|
|
28094
|
+
*
|
|
28095
|
+
* @type {CreateClickhouseAccountRequest}
|
|
28096
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28097
|
+
*/
|
|
28098
|
+
readonly body: CreateClickhouseAccountRequest
|
|
28099
|
+
}
|
|
28100
|
+
|
|
28101
|
+
/**
|
|
28102
|
+
* Request parameters for createClickhouseRole operation in SharedApi.
|
|
28103
|
+
* @export
|
|
28104
|
+
* @interface SharedApiCreateClickhouseRoleRequest
|
|
28105
|
+
*/
|
|
28106
|
+
export interface SharedApiCreateClickhouseRoleRequest {
|
|
28107
|
+
/**
|
|
28108
|
+
*
|
|
28109
|
+
* @type {string}
|
|
28110
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28111
|
+
*/
|
|
28112
|
+
readonly orgName: string
|
|
28113
|
+
|
|
28114
|
+
/**
|
|
28115
|
+
*
|
|
28116
|
+
* @type {string}
|
|
28117
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28118
|
+
*/
|
|
28119
|
+
readonly clusterName: string
|
|
28120
|
+
|
|
28121
|
+
/**
|
|
28122
|
+
*
|
|
28123
|
+
* @type {ListClickhouseAccountRoles200Response}
|
|
28124
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28125
|
+
*/
|
|
28126
|
+
readonly body: ListClickhouseAccountRoles200Response
|
|
28127
|
+
}
|
|
28128
|
+
|
|
26854
28129
|
/**
|
|
26855
28130
|
* Request parameters for createCluster operation in SharedApi.
|
|
26856
28131
|
* @export
|
|
@@ -27110,6 +28385,34 @@ export interface SharedApiCreateKafkaTopicRequest {
|
|
|
27110
28385
|
readonly createTopicRequest: CreateTopicRequest
|
|
27111
28386
|
}
|
|
27112
28387
|
|
|
28388
|
+
/**
|
|
28389
|
+
* Request parameters for createMilvusRole operation in SharedApi.
|
|
28390
|
+
* @export
|
|
28391
|
+
* @interface SharedApiCreateMilvusRoleRequest
|
|
28392
|
+
*/
|
|
28393
|
+
export interface SharedApiCreateMilvusRoleRequest {
|
|
28394
|
+
/**
|
|
28395
|
+
* name of the Org
|
|
28396
|
+
* @type {string}
|
|
28397
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28398
|
+
*/
|
|
28399
|
+
readonly orgName: string
|
|
28400
|
+
|
|
28401
|
+
/**
|
|
28402
|
+
* name of the Cluster
|
|
28403
|
+
* @type {string}
|
|
28404
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28405
|
+
*/
|
|
28406
|
+
readonly clusterName: string
|
|
28407
|
+
|
|
28408
|
+
/**
|
|
28409
|
+
*
|
|
28410
|
+
* @type {MilvusRoleCreateRequest}
|
|
28411
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28412
|
+
*/
|
|
28413
|
+
readonly body: MilvusRoleCreateRequest
|
|
28414
|
+
}
|
|
28415
|
+
|
|
27113
28416
|
/**
|
|
27114
28417
|
* Request parameters for createMongoDBAccount operation in SharedApi.
|
|
27115
28418
|
* @export
|
|
@@ -27516,6 +28819,62 @@ export interface SharedApiDeleteBackupScheduleRequest {
|
|
|
27516
28819
|
readonly scheduleName: string
|
|
27517
28820
|
}
|
|
27518
28821
|
|
|
28822
|
+
/**
|
|
28823
|
+
* Request parameters for deleteClickhouseAccount operation in SharedApi.
|
|
28824
|
+
* @export
|
|
28825
|
+
* @interface SharedApiDeleteClickhouseAccountRequest
|
|
28826
|
+
*/
|
|
28827
|
+
export interface SharedApiDeleteClickhouseAccountRequest {
|
|
28828
|
+
/**
|
|
28829
|
+
*
|
|
28830
|
+
* @type {string}
|
|
28831
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28832
|
+
*/
|
|
28833
|
+
readonly orgName: string
|
|
28834
|
+
|
|
28835
|
+
/**
|
|
28836
|
+
*
|
|
28837
|
+
* @type {string}
|
|
28838
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28839
|
+
*/
|
|
28840
|
+
readonly clusterName: string
|
|
28841
|
+
|
|
28842
|
+
/**
|
|
28843
|
+
*
|
|
28844
|
+
* @type {string}
|
|
28845
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28846
|
+
*/
|
|
28847
|
+
readonly accountName: string
|
|
28848
|
+
}
|
|
28849
|
+
|
|
28850
|
+
/**
|
|
28851
|
+
* Request parameters for deleteClickhouseRole operation in SharedApi.
|
|
28852
|
+
* @export
|
|
28853
|
+
* @interface SharedApiDeleteClickhouseRoleRequest
|
|
28854
|
+
*/
|
|
28855
|
+
export interface SharedApiDeleteClickhouseRoleRequest {
|
|
28856
|
+
/**
|
|
28857
|
+
*
|
|
28858
|
+
* @type {string}
|
|
28859
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28860
|
+
*/
|
|
28861
|
+
readonly orgName: string
|
|
28862
|
+
|
|
28863
|
+
/**
|
|
28864
|
+
*
|
|
28865
|
+
* @type {string}
|
|
28866
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28867
|
+
*/
|
|
28868
|
+
readonly clusterName: string
|
|
28869
|
+
|
|
28870
|
+
/**
|
|
28871
|
+
*
|
|
28872
|
+
* @type {string}
|
|
28873
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28874
|
+
*/
|
|
28875
|
+
readonly roleName: string
|
|
28876
|
+
}
|
|
28877
|
+
|
|
27519
28878
|
/**
|
|
27520
28879
|
* Request parameters for deleteCluster operation in SharedApi.
|
|
27521
28880
|
* @export
|
|
@@ -28986,6 +30345,34 @@ export interface SharedApiGetBackupRepoRequest {
|
|
|
28986
30345
|
readonly orgName?: string
|
|
28987
30346
|
}
|
|
28988
30347
|
|
|
30348
|
+
/**
|
|
30349
|
+
* Request parameters for getClickhouseRoleGrants operation in SharedApi.
|
|
30350
|
+
* @export
|
|
30351
|
+
* @interface SharedApiGetClickhouseRoleGrantsRequest
|
|
30352
|
+
*/
|
|
30353
|
+
export interface SharedApiGetClickhouseRoleGrantsRequest {
|
|
30354
|
+
/**
|
|
30355
|
+
*
|
|
30356
|
+
* @type {string}
|
|
30357
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30358
|
+
*/
|
|
30359
|
+
readonly orgName: string
|
|
30360
|
+
|
|
30361
|
+
/**
|
|
30362
|
+
*
|
|
30363
|
+
* @type {string}
|
|
30364
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30365
|
+
*/
|
|
30366
|
+
readonly clusterName: string
|
|
30367
|
+
|
|
30368
|
+
/**
|
|
30369
|
+
*
|
|
30370
|
+
* @type {string}
|
|
30371
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30372
|
+
*/
|
|
30373
|
+
readonly roleName: string
|
|
30374
|
+
}
|
|
30375
|
+
|
|
28989
30376
|
/**
|
|
28990
30377
|
* Request parameters for getCluster operation in SharedApi.
|
|
28991
30378
|
* @export
|
|
@@ -30708,6 +32095,41 @@ export interface SharedApiGetTenantRequest {
|
|
|
30708
32095
|
readonly tenantId: string
|
|
30709
32096
|
}
|
|
30710
32097
|
|
|
32098
|
+
/**
|
|
32099
|
+
* Request parameters for grantClickhouseRolePrivileges operation in SharedApi.
|
|
32100
|
+
* @export
|
|
32101
|
+
* @interface SharedApiGrantClickhouseRolePrivilegesRequest
|
|
32102
|
+
*/
|
|
32103
|
+
export interface SharedApiGrantClickhouseRolePrivilegesRequest {
|
|
32104
|
+
/**
|
|
32105
|
+
*
|
|
32106
|
+
* @type {string}
|
|
32107
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32108
|
+
*/
|
|
32109
|
+
readonly orgName: string
|
|
32110
|
+
|
|
32111
|
+
/**
|
|
32112
|
+
*
|
|
32113
|
+
* @type {string}
|
|
32114
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32115
|
+
*/
|
|
32116
|
+
readonly clusterName: string
|
|
32117
|
+
|
|
32118
|
+
/**
|
|
32119
|
+
*
|
|
32120
|
+
* @type {string}
|
|
32121
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32122
|
+
*/
|
|
32123
|
+
readonly roleName: string
|
|
32124
|
+
|
|
32125
|
+
/**
|
|
32126
|
+
*
|
|
32127
|
+
* @type {ListClickhouseAccountRoles200ResponsePrivilegesInner}
|
|
32128
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32129
|
+
*/
|
|
32130
|
+
readonly body: ListClickhouseAccountRoles200ResponsePrivilegesInner
|
|
32131
|
+
}
|
|
32132
|
+
|
|
30711
32133
|
/**
|
|
30712
32134
|
* Request parameters for horizontalScaleCluster operation in SharedApi.
|
|
30713
32135
|
* @export
|
|
@@ -30932,6 +32354,104 @@ export interface SharedApiListClassesRequest {
|
|
|
30932
32354
|
readonly engineName?: string
|
|
30933
32355
|
}
|
|
30934
32356
|
|
|
32357
|
+
/**
|
|
32358
|
+
* Request parameters for listClickhouseAccountRoles operation in SharedApi.
|
|
32359
|
+
* @export
|
|
32360
|
+
* @interface SharedApiListClickhouseAccountRolesRequest
|
|
32361
|
+
*/
|
|
32362
|
+
export interface SharedApiListClickhouseAccountRolesRequest {
|
|
32363
|
+
/**
|
|
32364
|
+
*
|
|
32365
|
+
* @type {string}
|
|
32366
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32367
|
+
*/
|
|
32368
|
+
readonly orgName: string
|
|
32369
|
+
|
|
32370
|
+
/**
|
|
32371
|
+
*
|
|
32372
|
+
* @type {string}
|
|
32373
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32374
|
+
*/
|
|
32375
|
+
readonly clusterName: string
|
|
32376
|
+
|
|
32377
|
+
/**
|
|
32378
|
+
*
|
|
32379
|
+
* @type {string}
|
|
32380
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32381
|
+
*/
|
|
32382
|
+
readonly accountName: string
|
|
32383
|
+
}
|
|
32384
|
+
|
|
32385
|
+
/**
|
|
32386
|
+
* Request parameters for listClickhouseAccounts operation in SharedApi.
|
|
32387
|
+
* @export
|
|
32388
|
+
* @interface SharedApiListClickhouseAccountsRequest
|
|
32389
|
+
*/
|
|
32390
|
+
export interface SharedApiListClickhouseAccountsRequest {
|
|
32391
|
+
/**
|
|
32392
|
+
*
|
|
32393
|
+
* @type {string}
|
|
32394
|
+
* @memberof SharedApiListClickhouseAccounts
|
|
32395
|
+
*/
|
|
32396
|
+
readonly orgName: string
|
|
32397
|
+
|
|
32398
|
+
/**
|
|
32399
|
+
*
|
|
32400
|
+
* @type {string}
|
|
32401
|
+
* @memberof SharedApiListClickhouseAccounts
|
|
32402
|
+
*/
|
|
32403
|
+
readonly clusterName: string
|
|
32404
|
+
}
|
|
32405
|
+
|
|
32406
|
+
/**
|
|
32407
|
+
* Request parameters for listClickhousePrivileges operation in SharedApi.
|
|
32408
|
+
* @export
|
|
32409
|
+
* @interface SharedApiListClickhousePrivilegesRequest
|
|
32410
|
+
*/
|
|
32411
|
+
export interface SharedApiListClickhousePrivilegesRequest {
|
|
32412
|
+
/**
|
|
32413
|
+
*
|
|
32414
|
+
* @type {string}
|
|
32415
|
+
* @memberof SharedApiListClickhousePrivileges
|
|
32416
|
+
*/
|
|
32417
|
+
readonly orgName: string
|
|
32418
|
+
|
|
32419
|
+
/**
|
|
32420
|
+
*
|
|
32421
|
+
* @type {string}
|
|
32422
|
+
* @memberof SharedApiListClickhousePrivileges
|
|
32423
|
+
*/
|
|
32424
|
+
readonly clusterName: string
|
|
32425
|
+
}
|
|
32426
|
+
|
|
32427
|
+
/**
|
|
32428
|
+
* Request parameters for listClickhouseRoles operation in SharedApi.
|
|
32429
|
+
* @export
|
|
32430
|
+
* @interface SharedApiListClickhouseRolesRequest
|
|
32431
|
+
*/
|
|
32432
|
+
export interface SharedApiListClickhouseRolesRequest {
|
|
32433
|
+
/**
|
|
32434
|
+
*
|
|
32435
|
+
* @type {string}
|
|
32436
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32437
|
+
*/
|
|
32438
|
+
readonly orgName: string
|
|
32439
|
+
|
|
32440
|
+
/**
|
|
32441
|
+
*
|
|
32442
|
+
* @type {string}
|
|
32443
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32444
|
+
*/
|
|
32445
|
+
readonly clusterName: string
|
|
32446
|
+
|
|
32447
|
+
/**
|
|
32448
|
+
* Whether to include built-in privilege roles for creating an account.
|
|
32449
|
+
* @type {boolean}
|
|
32450
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32451
|
+
*/
|
|
32452
|
+
readonly forCreateUser?: boolean
|
|
32453
|
+
}
|
|
32454
|
+
|
|
30935
32455
|
/**
|
|
30936
32456
|
* Request parameters for listCluster operation in SharedApi.
|
|
30937
32457
|
* @export
|
|
@@ -32871,41 +34391,6 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
32871
34391
|
readonly body: ESPutSecurityUserRequest
|
|
32872
34392
|
}
|
|
32873
34393
|
|
|
32874
|
-
/**
|
|
32875
|
-
* Request parameters for putMilvusRole operation in SharedApi.
|
|
32876
|
-
* @export
|
|
32877
|
-
* @interface SharedApiPutMilvusRoleRequest
|
|
32878
|
-
*/
|
|
32879
|
-
export interface SharedApiPutMilvusRoleRequest {
|
|
32880
|
-
/**
|
|
32881
|
-
* name of the Org
|
|
32882
|
-
* @type {string}
|
|
32883
|
-
* @memberof SharedApiPutMilvusRole
|
|
32884
|
-
*/
|
|
32885
|
-
readonly orgName: string
|
|
32886
|
-
|
|
32887
|
-
/**
|
|
32888
|
-
* name of the Cluster
|
|
32889
|
-
* @type {string}
|
|
32890
|
-
* @memberof SharedApiPutMilvusRole
|
|
32891
|
-
*/
|
|
32892
|
-
readonly clusterName: string
|
|
32893
|
-
|
|
32894
|
-
/**
|
|
32895
|
-
* name of the Milvus role
|
|
32896
|
-
* @type {string}
|
|
32897
|
-
* @memberof SharedApiPutMilvusRole
|
|
32898
|
-
*/
|
|
32899
|
-
readonly roleName: string
|
|
32900
|
-
|
|
32901
|
-
/**
|
|
32902
|
-
*
|
|
32903
|
-
* @type {MilvusRoleRequest}
|
|
32904
|
-
* @memberof SharedApiPutMilvusRole
|
|
32905
|
-
*/
|
|
32906
|
-
readonly body: MilvusRoleRequest
|
|
32907
|
-
}
|
|
32908
|
-
|
|
32909
34394
|
/**
|
|
32910
34395
|
* Request parameters for query operation in SharedApi.
|
|
32911
34396
|
* @export
|
|
@@ -34551,6 +36036,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
|
|
|
34551
36036
|
readonly clusterName: string
|
|
34552
36037
|
}
|
|
34553
36038
|
|
|
36039
|
+
/**
|
|
36040
|
+
* Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
|
|
36041
|
+
* @export
|
|
36042
|
+
* @interface SharedApiRevokeClickhouseRolePrivilegesRequest
|
|
36043
|
+
*/
|
|
36044
|
+
export interface SharedApiRevokeClickhouseRolePrivilegesRequest {
|
|
36045
|
+
/**
|
|
36046
|
+
*
|
|
36047
|
+
* @type {string}
|
|
36048
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36049
|
+
*/
|
|
36050
|
+
readonly orgName: string
|
|
36051
|
+
|
|
36052
|
+
/**
|
|
36053
|
+
*
|
|
36054
|
+
* @type {string}
|
|
36055
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36056
|
+
*/
|
|
36057
|
+
readonly clusterName: string
|
|
36058
|
+
|
|
36059
|
+
/**
|
|
36060
|
+
*
|
|
36061
|
+
* @type {string}
|
|
36062
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36063
|
+
*/
|
|
36064
|
+
readonly roleName: string
|
|
36065
|
+
|
|
36066
|
+
/**
|
|
36067
|
+
*
|
|
36068
|
+
* @type {RevokeClickhouseRolePrivilegesRequest}
|
|
36069
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36070
|
+
*/
|
|
36071
|
+
readonly body: RevokeClickhouseRolePrivilegesRequest
|
|
36072
|
+
}
|
|
36073
|
+
|
|
34554
36074
|
/**
|
|
34555
36075
|
* Request parameters for setClusterAlertDisabled operation in SharedApi.
|
|
34556
36076
|
* @export
|
|
@@ -35125,6 +36645,76 @@ export interface SharedApiUpdateBackupScheduleRequest {
|
|
|
35125
36645
|
readonly body: BackupScheduleUpdate
|
|
35126
36646
|
}
|
|
35127
36647
|
|
|
36648
|
+
/**
|
|
36649
|
+
* Request parameters for updateClickhouseAccountPassword operation in SharedApi.
|
|
36650
|
+
* @export
|
|
36651
|
+
* @interface SharedApiUpdateClickhouseAccountPasswordRequest
|
|
36652
|
+
*/
|
|
36653
|
+
export interface SharedApiUpdateClickhouseAccountPasswordRequest {
|
|
36654
|
+
/**
|
|
36655
|
+
*
|
|
36656
|
+
* @type {string}
|
|
36657
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36658
|
+
*/
|
|
36659
|
+
readonly orgName: string
|
|
36660
|
+
|
|
36661
|
+
/**
|
|
36662
|
+
*
|
|
36663
|
+
* @type {string}
|
|
36664
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36665
|
+
*/
|
|
36666
|
+
readonly clusterName: string
|
|
36667
|
+
|
|
36668
|
+
/**
|
|
36669
|
+
*
|
|
36670
|
+
* @type {string}
|
|
36671
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36672
|
+
*/
|
|
36673
|
+
readonly accountName: string
|
|
36674
|
+
|
|
36675
|
+
/**
|
|
36676
|
+
*
|
|
36677
|
+
* @type {UpdateClickhouseAccountPasswordRequest}
|
|
36678
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36679
|
+
*/
|
|
36680
|
+
readonly body: UpdateClickhouseAccountPasswordRequest
|
|
36681
|
+
}
|
|
36682
|
+
|
|
36683
|
+
/**
|
|
36684
|
+
* Request parameters for updateClickhouseAccountRoles operation in SharedApi.
|
|
36685
|
+
* @export
|
|
36686
|
+
* @interface SharedApiUpdateClickhouseAccountRolesRequest
|
|
36687
|
+
*/
|
|
36688
|
+
export interface SharedApiUpdateClickhouseAccountRolesRequest {
|
|
36689
|
+
/**
|
|
36690
|
+
*
|
|
36691
|
+
* @type {string}
|
|
36692
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36693
|
+
*/
|
|
36694
|
+
readonly orgName: string
|
|
36695
|
+
|
|
36696
|
+
/**
|
|
36697
|
+
*
|
|
36698
|
+
* @type {string}
|
|
36699
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36700
|
+
*/
|
|
36701
|
+
readonly clusterName: string
|
|
36702
|
+
|
|
36703
|
+
/**
|
|
36704
|
+
*
|
|
36705
|
+
* @type {string}
|
|
36706
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36707
|
+
*/
|
|
36708
|
+
readonly accountName: string
|
|
36709
|
+
|
|
36710
|
+
/**
|
|
36711
|
+
*
|
|
36712
|
+
* @type {UpdateClickhouseAccountRolesRequest}
|
|
36713
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36714
|
+
*/
|
|
36715
|
+
readonly body: UpdateClickhouseAccountRolesRequest
|
|
36716
|
+
}
|
|
36717
|
+
|
|
35128
36718
|
/**
|
|
35129
36719
|
* Request parameters for updateClusterLicense operation in SharedApi.
|
|
35130
36720
|
* @export
|
|
@@ -35496,6 +37086,41 @@ export interface SharedApiUpdateMilvusAccountRolesRequest {
|
|
|
35496
37086
|
readonly body: MilvusAccountRoles
|
|
35497
37087
|
}
|
|
35498
37088
|
|
|
37089
|
+
/**
|
|
37090
|
+
* Request parameters for updateMilvusRole operation in SharedApi.
|
|
37091
|
+
* @export
|
|
37092
|
+
* @interface SharedApiUpdateMilvusRoleRequest
|
|
37093
|
+
*/
|
|
37094
|
+
export interface SharedApiUpdateMilvusRoleRequest {
|
|
37095
|
+
/**
|
|
37096
|
+
* name of the Org
|
|
37097
|
+
* @type {string}
|
|
37098
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37099
|
+
*/
|
|
37100
|
+
readonly orgName: string
|
|
37101
|
+
|
|
37102
|
+
/**
|
|
37103
|
+
* name of the Cluster
|
|
37104
|
+
* @type {string}
|
|
37105
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37106
|
+
*/
|
|
37107
|
+
readonly clusterName: string
|
|
37108
|
+
|
|
37109
|
+
/**
|
|
37110
|
+
* name of the Milvus role
|
|
37111
|
+
* @type {string}
|
|
37112
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37113
|
+
*/
|
|
37114
|
+
readonly roleName: string
|
|
37115
|
+
|
|
37116
|
+
/**
|
|
37117
|
+
*
|
|
37118
|
+
* @type {MilvusRoleRequest}
|
|
37119
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37120
|
+
*/
|
|
37121
|
+
readonly body: MilvusRoleRequest
|
|
37122
|
+
}
|
|
37123
|
+
|
|
35499
37124
|
/**
|
|
35500
37125
|
* Request parameters for updateMssqlAccount operation in SharedApi.
|
|
35501
37126
|
* @export
|
|
@@ -35553,10 +37178,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
35553
37178
|
|
|
35554
37179
|
/**
|
|
35555
37180
|
*
|
|
35556
|
-
* @type {
|
|
37181
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
35557
37182
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
35558
37183
|
*/
|
|
35559
|
-
readonly
|
|
37184
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
35560
37185
|
}
|
|
35561
37186
|
|
|
35562
37187
|
/**
|
|
@@ -36129,6 +37754,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36129
37754
|
return SharedApiFp(this.configuration).createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36130
37755
|
}
|
|
36131
37756
|
|
|
37757
|
+
/**
|
|
37758
|
+
*
|
|
37759
|
+
* @summary Create a ClickHouse account with optional roles
|
|
37760
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
37761
|
+
* @param {*} [options] Override http request option.
|
|
37762
|
+
* @throws {RequiredError}
|
|
37763
|
+
* @memberof SharedApi
|
|
37764
|
+
*/
|
|
37765
|
+
public createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig) {
|
|
37766
|
+
return SharedApiFp(this.configuration).createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37767
|
+
}
|
|
37768
|
+
|
|
37769
|
+
/**
|
|
37770
|
+
*
|
|
37771
|
+
* @summary Create a ClickHouse role with privileges
|
|
37772
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
37773
|
+
* @param {*} [options] Override http request option.
|
|
37774
|
+
* @throws {RequiredError}
|
|
37775
|
+
* @memberof SharedApi
|
|
37776
|
+
*/
|
|
37777
|
+
public createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig) {
|
|
37778
|
+
return SharedApiFp(this.configuration).createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37779
|
+
}
|
|
37780
|
+
|
|
36132
37781
|
/**
|
|
36133
37782
|
*
|
|
36134
37783
|
* @summary Create new cluster
|
|
@@ -36237,6 +37886,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36237
37886
|
return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36238
37887
|
}
|
|
36239
37888
|
|
|
37889
|
+
/**
|
|
37890
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
37891
|
+
* @summary Create Milvus role
|
|
37892
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
37893
|
+
* @param {*} [options] Override http request option.
|
|
37894
|
+
* @throws {RequiredError}
|
|
37895
|
+
* @memberof SharedApi
|
|
37896
|
+
*/
|
|
37897
|
+
public createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
37898
|
+
return SharedApiFp(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37899
|
+
}
|
|
37900
|
+
|
|
36240
37901
|
/**
|
|
36241
37902
|
* create an account in mongodb
|
|
36242
37903
|
* @summary Create mongodb account
|
|
@@ -36417,6 +38078,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36417
38078
|
return SharedApiFp(this.configuration).deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(this.axios, this.basePath));
|
|
36418
38079
|
}
|
|
36419
38080
|
|
|
38081
|
+
/**
|
|
38082
|
+
*
|
|
38083
|
+
* @summary Delete a ClickHouse account
|
|
38084
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
38085
|
+
* @param {*} [options] Override http request option.
|
|
38086
|
+
* @throws {RequiredError}
|
|
38087
|
+
* @memberof SharedApi
|
|
38088
|
+
*/
|
|
38089
|
+
public deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig) {
|
|
38090
|
+
return SharedApiFp(this.configuration).deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
38091
|
+
}
|
|
38092
|
+
|
|
38093
|
+
/**
|
|
38094
|
+
*
|
|
38095
|
+
* @summary Delete a ClickHouse role
|
|
38096
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
38097
|
+
* @param {*} [options] Override http request option.
|
|
38098
|
+
* @throws {RequiredError}
|
|
38099
|
+
* @memberof SharedApi
|
|
38100
|
+
*/
|
|
38101
|
+
public deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38102
|
+
return SharedApiFp(this.configuration).deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38103
|
+
}
|
|
38104
|
+
|
|
36420
38105
|
/**
|
|
36421
38106
|
*
|
|
36422
38107
|
* @summary Delete cluster
|
|
@@ -36958,6 +38643,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36958
38643
|
return SharedApiFp(this.configuration).getBackupRepo(requestParameters.environmentName, requestParameters.backupRepoName, requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
36959
38644
|
}
|
|
36960
38645
|
|
|
38646
|
+
/**
|
|
38647
|
+
*
|
|
38648
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
38649
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
38650
|
+
* @param {*} [options] Override http request option.
|
|
38651
|
+
* @throws {RequiredError}
|
|
38652
|
+
* @memberof SharedApi
|
|
38653
|
+
*/
|
|
38654
|
+
public getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig) {
|
|
38655
|
+
return SharedApiFp(this.configuration).getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38656
|
+
}
|
|
38657
|
+
|
|
36961
38658
|
/**
|
|
36962
38659
|
*
|
|
36963
38660
|
* @summary Get cluster details
|
|
@@ -37557,6 +39254,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37557
39254
|
return SharedApiFp(this.configuration).getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(this.axios, this.basePath));
|
|
37558
39255
|
}
|
|
37559
39256
|
|
|
39257
|
+
/**
|
|
39258
|
+
*
|
|
39259
|
+
* @summary Grant privileges to a ClickHouse role
|
|
39260
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
39261
|
+
* @param {*} [options] Override http request option.
|
|
39262
|
+
* @throws {RequiredError}
|
|
39263
|
+
* @memberof SharedApi
|
|
39264
|
+
*/
|
|
39265
|
+
public grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
39266
|
+
return SharedApiFp(this.configuration).grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39267
|
+
}
|
|
39268
|
+
|
|
37560
39269
|
/**
|
|
37561
39270
|
*
|
|
37562
39271
|
* @summary Horizontal scale cluster
|
|
@@ -37664,6 +39373,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37664
39373
|
return SharedApiFp(this.configuration).listClasses(requestParameters.engineName, options).then((request) => request(this.axios, this.basePath));
|
|
37665
39374
|
}
|
|
37666
39375
|
|
|
39376
|
+
/**
|
|
39377
|
+
*
|
|
39378
|
+
* @summary List the roles granted to a ClickHouse account
|
|
39379
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
39380
|
+
* @param {*} [options] Override http request option.
|
|
39381
|
+
* @throws {RequiredError}
|
|
39382
|
+
* @memberof SharedApi
|
|
39383
|
+
*/
|
|
39384
|
+
public listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
39385
|
+
return SharedApiFp(this.configuration).listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
39386
|
+
}
|
|
39387
|
+
|
|
39388
|
+
/**
|
|
39389
|
+
*
|
|
39390
|
+
* @summary List ClickHouse accounts
|
|
39391
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
39392
|
+
* @param {*} [options] Override http request option.
|
|
39393
|
+
* @throws {RequiredError}
|
|
39394
|
+
* @memberof SharedApi
|
|
39395
|
+
*/
|
|
39396
|
+
public listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
39397
|
+
return SharedApiFp(this.configuration).listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39398
|
+
}
|
|
39399
|
+
|
|
39400
|
+
/**
|
|
39401
|
+
*
|
|
39402
|
+
* @summary List privileges supported by the ClickHouse server
|
|
39403
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
39404
|
+
* @param {*} [options] Override http request option.
|
|
39405
|
+
* @throws {RequiredError}
|
|
39406
|
+
* @memberof SharedApi
|
|
39407
|
+
*/
|
|
39408
|
+
public listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
39409
|
+
return SharedApiFp(this.configuration).listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39410
|
+
}
|
|
39411
|
+
|
|
39412
|
+
/**
|
|
39413
|
+
*
|
|
39414
|
+
* @summary List ClickHouse roles
|
|
39415
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
39416
|
+
* @param {*} [options] Override http request option.
|
|
39417
|
+
* @throws {RequiredError}
|
|
39418
|
+
* @memberof SharedApi
|
|
39419
|
+
*/
|
|
39420
|
+
public listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig) {
|
|
39421
|
+
return SharedApiFp(this.configuration).listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(this.axios, this.basePath));
|
|
39422
|
+
}
|
|
39423
|
+
|
|
37667
39424
|
/**
|
|
37668
39425
|
*
|
|
37669
39426
|
* @summary List clusters in the Org
|
|
@@ -38513,18 +40270,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38513
40270
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38514
40271
|
}
|
|
38515
40272
|
|
|
38516
|
-
/**
|
|
38517
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
38518
|
-
* @summary Put Milvus role
|
|
38519
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
38520
|
-
* @param {*} [options] Override http request option.
|
|
38521
|
-
* @throws {RequiredError}
|
|
38522
|
-
* @memberof SharedApi
|
|
38523
|
-
*/
|
|
38524
|
-
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38525
|
-
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38526
|
-
}
|
|
38527
|
-
|
|
38528
40273
|
/**
|
|
38529
40274
|
*
|
|
38530
40275
|
* @summary create a SQL query
|
|
@@ -38836,6 +40581,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38836
40581
|
return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
38837
40582
|
}
|
|
38838
40583
|
|
|
40584
|
+
/**
|
|
40585
|
+
*
|
|
40586
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
40587
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
40588
|
+
* @param {*} [options] Override http request option.
|
|
40589
|
+
* @throws {RequiredError}
|
|
40590
|
+
* @memberof SharedApi
|
|
40591
|
+
*/
|
|
40592
|
+
public revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
40593
|
+
return SharedApiFp(this.configuration).revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40594
|
+
}
|
|
40595
|
+
|
|
38839
40596
|
/**
|
|
38840
40597
|
*
|
|
38841
40598
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -39052,6 +40809,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39052
40809
|
return SharedApiFp(this.configuration).updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39053
40810
|
}
|
|
39054
40811
|
|
|
40812
|
+
/**
|
|
40813
|
+
*
|
|
40814
|
+
* @summary Update a ClickHouse account password
|
|
40815
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
40816
|
+
* @param {*} [options] Override http request option.
|
|
40817
|
+
* @throws {RequiredError}
|
|
40818
|
+
* @memberof SharedApi
|
|
40819
|
+
*/
|
|
40820
|
+
public updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
40821
|
+
return SharedApiFp(this.configuration).updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40822
|
+
}
|
|
40823
|
+
|
|
40824
|
+
/**
|
|
40825
|
+
*
|
|
40826
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
40827
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
40828
|
+
* @param {*} [options] Override http request option.
|
|
40829
|
+
* @throws {RequiredError}
|
|
40830
|
+
* @memberof SharedApi
|
|
40831
|
+
*/
|
|
40832
|
+
public updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
40833
|
+
return SharedApiFp(this.configuration).updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40834
|
+
}
|
|
40835
|
+
|
|
39055
40836
|
/**
|
|
39056
40837
|
*
|
|
39057
40838
|
* @summary Update the cluster license
|
|
@@ -39184,6 +40965,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39184
40965
|
return SharedApiFp(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39185
40966
|
}
|
|
39186
40967
|
|
|
40968
|
+
/**
|
|
40969
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
40970
|
+
* @summary Update Milvus role
|
|
40971
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
40972
|
+
* @param {*} [options] Override http request option.
|
|
40973
|
+
* @throws {RequiredError}
|
|
40974
|
+
* @memberof SharedApi
|
|
40975
|
+
*/
|
|
40976
|
+
public updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
40977
|
+
return SharedApiFp(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40978
|
+
}
|
|
40979
|
+
|
|
39187
40980
|
/**
|
|
39188
40981
|
*
|
|
39189
40982
|
* @summary update mssql account compatible with windows account
|
|
@@ -39205,7 +40998,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39205
40998
|
* @memberof SharedApi
|
|
39206
40999
|
*/
|
|
39207
41000
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
39208
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
41001
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39209
41002
|
}
|
|
39210
41003
|
|
|
39211
41004
|
/**
|