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
|
@@ -78,6 +78,8 @@ import type { Broker } from '../models';
|
|
|
78
78
|
// @ts-ignore
|
|
79
79
|
import type { BuildBackupObjRequest } from '../models';
|
|
80
80
|
// @ts-ignore
|
|
81
|
+
import type { CkAccount } from '../models';
|
|
82
|
+
// @ts-ignore
|
|
81
83
|
import type { Cluster } from '../models';
|
|
82
84
|
// @ts-ignore
|
|
83
85
|
import type { ClusterBackupMethod } 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';
|
|
@@ -210,6 +214,8 @@ import type { FeatureList } from '../models';
|
|
|
210
214
|
// @ts-ignore
|
|
211
215
|
import type { FileEntryList } from '../models';
|
|
212
216
|
// @ts-ignore
|
|
217
|
+
import type { GetClickhouseRoleGrants200ResponseInner } from '../models';
|
|
218
|
+
// @ts-ignore
|
|
213
219
|
import type { HaHistoryList } from '../models';
|
|
214
220
|
// @ts-ignore
|
|
215
221
|
import type { ImportOpsType } from '../models';
|
|
@@ -236,6 +242,10 @@ import type { IpWhitelist } from '../models';
|
|
|
236
242
|
// @ts-ignore
|
|
237
243
|
import type { IpWhitelistList } from '../models';
|
|
238
244
|
// @ts-ignore
|
|
245
|
+
import type { ListClickhouseAccountRoles200Response } from '../models';
|
|
246
|
+
// @ts-ignore
|
|
247
|
+
import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
|
|
248
|
+
// @ts-ignore
|
|
239
249
|
import type { MetricsQueryType } from '../models';
|
|
240
250
|
// @ts-ignore
|
|
241
251
|
import type { MilvusAccountPassword } from '../models';
|
|
@@ -244,6 +254,8 @@ import type { MilvusAccountRoles } from '../models';
|
|
|
244
254
|
// @ts-ignore
|
|
245
255
|
import type { MilvusRole } from '../models';
|
|
246
256
|
// @ts-ignore
|
|
257
|
+
import type { MilvusRoleCreateRequest } from '../models';
|
|
258
|
+
// @ts-ignore
|
|
247
259
|
import type { MilvusRoleList } from '../models';
|
|
248
260
|
// @ts-ignore
|
|
249
261
|
import type { MilvusRoleRequest } from '../models';
|
|
@@ -326,9 +338,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
326
338
|
// @ts-ignore
|
|
327
339
|
import type { RbmqExchange } from '../models';
|
|
328
340
|
// @ts-ignore
|
|
329
|
-
import type {
|
|
341
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
330
342
|
// @ts-ignore
|
|
331
|
-
import type {
|
|
343
|
+
import type { RbmqPermission } from '../models';
|
|
332
344
|
// @ts-ignore
|
|
333
345
|
import type { RbmqVHost } from '../models';
|
|
334
346
|
// @ts-ignore
|
|
@@ -350,6 +362,8 @@ import type { RestoreList } from '../models';
|
|
|
350
362
|
// @ts-ignore
|
|
351
363
|
import type { RestoreLog } from '../models';
|
|
352
364
|
// @ts-ignore
|
|
365
|
+
import type { RevokeClickhouseRolePrivilegesRequest } from '../models';
|
|
366
|
+
// @ts-ignore
|
|
353
367
|
import type { Role } from '../models';
|
|
354
368
|
// @ts-ignore
|
|
355
369
|
import type { RoleCreate } from '../models';
|
|
@@ -404,6 +418,10 @@ import type { TopicOffset } from '../models';
|
|
|
404
418
|
// @ts-ignore
|
|
405
419
|
import type { UpdateBrokerConfigRequest } from '../models';
|
|
406
420
|
// @ts-ignore
|
|
421
|
+
import type { UpdateClickhouseAccountPasswordRequest } from '../models';
|
|
422
|
+
// @ts-ignore
|
|
423
|
+
import type { UpdateClickhouseAccountRolesRequest } from '../models';
|
|
424
|
+
// @ts-ignore
|
|
407
425
|
import type { UpdateTopicConfigRequest } from '../models';
|
|
408
426
|
/**
|
|
409
427
|
* SharedApi - axios parameter creator
|
|
@@ -1230,6 +1248,108 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1230
1248
|
|
|
1231
1249
|
|
|
1232
1250
|
|
|
1251
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1252
|
+
|
|
1253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1255
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1256
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1257
|
+
|
|
1258
|
+
return {
|
|
1259
|
+
url: toPathString(localVarUrlObj),
|
|
1260
|
+
options: localVarRequestOptions,
|
|
1261
|
+
};
|
|
1262
|
+
},
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @summary Create a ClickHouse account with optional roles
|
|
1266
|
+
* @param {string} orgName
|
|
1267
|
+
* @param {string} clusterName
|
|
1268
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
1269
|
+
* @param {*} [options] Override http request option.
|
|
1270
|
+
* @throws {RequiredError}
|
|
1271
|
+
*/
|
|
1272
|
+
createClickhouseAccount: async (orgName: string, clusterName: string, body: CreateClickhouseAccountRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1273
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1274
|
+
assertParamExists('createClickhouseAccount', 'orgName', orgName)
|
|
1275
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1276
|
+
assertParamExists('createClickhouseAccount', 'clusterName', clusterName)
|
|
1277
|
+
// verify required parameter 'body' is not null or undefined
|
|
1278
|
+
assertParamExists('createClickhouseAccount', 'body', body)
|
|
1279
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1280
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1281
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1282
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1283
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1284
|
+
let baseOptions;
|
|
1285
|
+
if (configuration) {
|
|
1286
|
+
baseOptions = configuration.baseOptions;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1290
|
+
const localVarHeaderParameter = {} as any;
|
|
1291
|
+
const localVarQueryParameter = {} as any;
|
|
1292
|
+
|
|
1293
|
+
// authentication BearerToken required
|
|
1294
|
+
// http bearer authentication required
|
|
1295
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1296
|
+
|
|
1297
|
+
// authentication DigestAuth required
|
|
1298
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1303
|
+
|
|
1304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1307
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1308
|
+
|
|
1309
|
+
return {
|
|
1310
|
+
url: toPathString(localVarUrlObj),
|
|
1311
|
+
options: localVarRequestOptions,
|
|
1312
|
+
};
|
|
1313
|
+
},
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @summary Create a ClickHouse role with privileges
|
|
1317
|
+
* @param {string} orgName
|
|
1318
|
+
* @param {string} clusterName
|
|
1319
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
*/
|
|
1323
|
+
createClickhouseRole: async (orgName: string, clusterName: string, body: ListClickhouseAccountRoles200Response, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1324
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1325
|
+
assertParamExists('createClickhouseRole', 'orgName', orgName)
|
|
1326
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1327
|
+
assertParamExists('createClickhouseRole', 'clusterName', clusterName)
|
|
1328
|
+
// verify required parameter 'body' is not null or undefined
|
|
1329
|
+
assertParamExists('createClickhouseRole', 'body', body)
|
|
1330
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1331
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1332
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1335
|
+
let baseOptions;
|
|
1336
|
+
if (configuration) {
|
|
1337
|
+
baseOptions = configuration.baseOptions;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1341
|
+
const localVarHeaderParameter = {} as any;
|
|
1342
|
+
const localVarQueryParameter = {} as any;
|
|
1343
|
+
|
|
1344
|
+
// authentication BearerToken required
|
|
1345
|
+
// http bearer authentication required
|
|
1346
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1347
|
+
|
|
1348
|
+
// authentication DigestAuth required
|
|
1349
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
|
|
1233
1353
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1234
1354
|
|
|
1235
1355
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1706,6 +1826,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1706
1826
|
options: localVarRequestOptions,
|
|
1707
1827
|
};
|
|
1708
1828
|
},
|
|
1829
|
+
/**
|
|
1830
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1831
|
+
* @summary Create Milvus role
|
|
1832
|
+
* @param {string} orgName name of the Org
|
|
1833
|
+
* @param {string} clusterName name of the Cluster
|
|
1834
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1835
|
+
* @param {*} [options] Override http request option.
|
|
1836
|
+
* @throws {RequiredError}
|
|
1837
|
+
*/
|
|
1838
|
+
createMilvusRole: async (orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1839
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1840
|
+
assertParamExists('createMilvusRole', 'orgName', orgName)
|
|
1841
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1842
|
+
assertParamExists('createMilvusRole', 'clusterName', clusterName)
|
|
1843
|
+
// verify required parameter 'body' is not null or undefined
|
|
1844
|
+
assertParamExists('createMilvusRole', 'body', body)
|
|
1845
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1846
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1847
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1850
|
+
let baseOptions;
|
|
1851
|
+
if (configuration) {
|
|
1852
|
+
baseOptions = configuration.baseOptions;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1856
|
+
const localVarHeaderParameter = {} as any;
|
|
1857
|
+
const localVarQueryParameter = {} as any;
|
|
1858
|
+
|
|
1859
|
+
// authentication BearerToken required
|
|
1860
|
+
// http bearer authentication required
|
|
1861
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1862
|
+
|
|
1863
|
+
// authentication DigestAuth required
|
|
1864
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1869
|
+
|
|
1870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1872
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1873
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1874
|
+
|
|
1875
|
+
return {
|
|
1876
|
+
url: toPathString(localVarUrlObj),
|
|
1877
|
+
options: localVarRequestOptions,
|
|
1878
|
+
};
|
|
1879
|
+
},
|
|
1709
1880
|
/**
|
|
1710
1881
|
* create an account in mongodb
|
|
1711
1882
|
* @summary Create mongodb account
|
|
@@ -2592,127 +2763,225 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2592
2763
|
},
|
|
2593
2764
|
/**
|
|
2594
2765
|
*
|
|
2595
|
-
* @summary Delete
|
|
2596
|
-
* @param {string} orgName
|
|
2597
|
-
* @param {string} clusterName
|
|
2598
|
-
* @param {
|
|
2599
|
-
* @param {*} [options] Override http request option.
|
|
2600
|
-
* @throws {RequiredError}
|
|
2601
|
-
*/
|
|
2602
|
-
deleteCluster: async (orgName: string, clusterName: string, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2603
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
2604
|
-
assertParamExists('deleteCluster', 'orgName', orgName)
|
|
2605
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
2606
|
-
assertParamExists('deleteCluster', 'clusterName', clusterName)
|
|
2607
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
2608
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2609
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2610
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2611
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2612
|
-
let baseOptions;
|
|
2613
|
-
if (configuration) {
|
|
2614
|
-
baseOptions = configuration.baseOptions;
|
|
2615
|
-
}
|
|
2616
|
-
|
|
2617
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2618
|
-
const localVarHeaderParameter = {} as any;
|
|
2619
|
-
const localVarQueryParameter = {} as any;
|
|
2620
|
-
|
|
2621
|
-
// authentication BearerToken required
|
|
2622
|
-
// http bearer authentication required
|
|
2623
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2624
|
-
|
|
2625
|
-
// authentication DigestAuth required
|
|
2626
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2627
|
-
|
|
2628
|
-
if (force !== undefined) {
|
|
2629
|
-
localVarQueryParameter['force'] = force;
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2635
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2636
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2637
|
-
|
|
2638
|
-
return {
|
|
2639
|
-
url: toPathString(localVarUrlObj),
|
|
2640
|
-
options: localVarRequestOptions,
|
|
2641
|
-
};
|
|
2642
|
-
},
|
|
2643
|
-
/**
|
|
2644
|
-
*
|
|
2645
|
-
* @summary delete the datasource
|
|
2646
|
-
* @param {string} orgName name of the Org
|
|
2647
|
-
* @param {string} clusterName name of the cluster
|
|
2648
|
-
* @param {string} id id of the datasource
|
|
2649
|
-
* @param {*} [options] Override http request option.
|
|
2650
|
-
* @throws {RequiredError}
|
|
2651
|
-
*/
|
|
2652
|
-
deleteDataSourceV2: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2653
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
2654
|
-
assertParamExists('deleteDataSourceV2', 'orgName', orgName)
|
|
2655
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
2656
|
-
assertParamExists('deleteDataSourceV2', 'clusterName', clusterName)
|
|
2657
|
-
// verify required parameter 'id' is not null or undefined
|
|
2658
|
-
assertParamExists('deleteDataSourceV2', 'id', id)
|
|
2659
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
|
|
2660
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2661
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2662
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2663
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2664
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2665
|
-
let baseOptions;
|
|
2666
|
-
if (configuration) {
|
|
2667
|
-
baseOptions = configuration.baseOptions;
|
|
2668
|
-
}
|
|
2669
|
-
|
|
2670
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2671
|
-
const localVarHeaderParameter = {} as any;
|
|
2672
|
-
const localVarQueryParameter = {} as any;
|
|
2673
|
-
|
|
2674
|
-
// authentication BearerToken required
|
|
2675
|
-
// http bearer authentication required
|
|
2676
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2677
|
-
|
|
2678
|
-
// authentication DigestAuth required
|
|
2679
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2684
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2685
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2686
|
-
|
|
2687
|
-
return {
|
|
2688
|
-
url: toPathString(localVarUrlObj),
|
|
2689
|
-
options: localVarRequestOptions,
|
|
2690
|
-
};
|
|
2691
|
-
},
|
|
2692
|
-
/**
|
|
2693
|
-
* delete a database in cluster
|
|
2694
|
-
* @summary Delete cluster database
|
|
2695
|
-
* @param {string} engineName name of the engine
|
|
2696
|
-
* @param {string} orgName name of the Org
|
|
2697
|
-
* @param {string} clusterName name of the Cluster
|
|
2698
|
-
* @param {string} databaseName name of database
|
|
2766
|
+
* @summary Delete a ClickHouse account
|
|
2767
|
+
* @param {string} orgName
|
|
2768
|
+
* @param {string} clusterName
|
|
2769
|
+
* @param {string} accountName
|
|
2699
2770
|
* @param {*} [options] Override http request option.
|
|
2700
2771
|
* @throws {RequiredError}
|
|
2701
2772
|
*/
|
|
2702
|
-
|
|
2703
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
2704
|
-
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2773
|
+
deleteClickhouseAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2705
2774
|
// verify required parameter 'orgName' is not null or undefined
|
|
2706
|
-
assertParamExists('
|
|
2775
|
+
assertParamExists('deleteClickhouseAccount', 'orgName', orgName)
|
|
2707
2776
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2708
|
-
assertParamExists('
|
|
2709
|
-
// verify required parameter '
|
|
2710
|
-
assertParamExists('
|
|
2711
|
-
const localVarPath = `/api/v1/data/
|
|
2712
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2777
|
+
assertParamExists('deleteClickhouseAccount', 'clusterName', clusterName)
|
|
2778
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2779
|
+
assertParamExists('deleteClickhouseAccount', 'accountName', accountName)
|
|
2780
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
2713
2781
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2714
2782
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2715
|
-
.replace(`{${"
|
|
2783
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2784
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2785
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2786
|
+
let baseOptions;
|
|
2787
|
+
if (configuration) {
|
|
2788
|
+
baseOptions = configuration.baseOptions;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2792
|
+
const localVarHeaderParameter = {} as any;
|
|
2793
|
+
const localVarQueryParameter = {} as any;
|
|
2794
|
+
|
|
2795
|
+
// authentication BearerToken required
|
|
2796
|
+
// http bearer authentication required
|
|
2797
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2798
|
+
|
|
2799
|
+
// authentication DigestAuth required
|
|
2800
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2806
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2807
|
+
|
|
2808
|
+
return {
|
|
2809
|
+
url: toPathString(localVarUrlObj),
|
|
2810
|
+
options: localVarRequestOptions,
|
|
2811
|
+
};
|
|
2812
|
+
},
|
|
2813
|
+
/**
|
|
2814
|
+
*
|
|
2815
|
+
* @summary Delete a ClickHouse role
|
|
2816
|
+
* @param {string} orgName
|
|
2817
|
+
* @param {string} clusterName
|
|
2818
|
+
* @param {string} roleName
|
|
2819
|
+
* @param {*} [options] Override http request option.
|
|
2820
|
+
* @throws {RequiredError}
|
|
2821
|
+
*/
|
|
2822
|
+
deleteClickhouseRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2823
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2824
|
+
assertParamExists('deleteClickhouseRole', 'orgName', orgName)
|
|
2825
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2826
|
+
assertParamExists('deleteClickhouseRole', 'clusterName', clusterName)
|
|
2827
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2828
|
+
assertParamExists('deleteClickhouseRole', 'roleName', roleName)
|
|
2829
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2830
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2831
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2832
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2833
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2834
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2835
|
+
let baseOptions;
|
|
2836
|
+
if (configuration) {
|
|
2837
|
+
baseOptions = configuration.baseOptions;
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2841
|
+
const localVarHeaderParameter = {} as any;
|
|
2842
|
+
const localVarQueryParameter = {} as any;
|
|
2843
|
+
|
|
2844
|
+
// authentication BearerToken required
|
|
2845
|
+
// http bearer authentication required
|
|
2846
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2847
|
+
|
|
2848
|
+
// authentication DigestAuth required
|
|
2849
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2854
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2855
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2856
|
+
|
|
2857
|
+
return {
|
|
2858
|
+
url: toPathString(localVarUrlObj),
|
|
2859
|
+
options: localVarRequestOptions,
|
|
2860
|
+
};
|
|
2861
|
+
},
|
|
2862
|
+
/**
|
|
2863
|
+
*
|
|
2864
|
+
* @summary Delete cluster
|
|
2865
|
+
* @param {string} orgName name of the Org
|
|
2866
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2867
|
+
* @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.
|
|
2868
|
+
* @param {*} [options] Override http request option.
|
|
2869
|
+
* @throws {RequiredError}
|
|
2870
|
+
*/
|
|
2871
|
+
deleteCluster: async (orgName: string, clusterName: string, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2872
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2873
|
+
assertParamExists('deleteCluster', 'orgName', orgName)
|
|
2874
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2875
|
+
assertParamExists('deleteCluster', 'clusterName', clusterName)
|
|
2876
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
2877
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2878
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2879
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2880
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2881
|
+
let baseOptions;
|
|
2882
|
+
if (configuration) {
|
|
2883
|
+
baseOptions = configuration.baseOptions;
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2887
|
+
const localVarHeaderParameter = {} as any;
|
|
2888
|
+
const localVarQueryParameter = {} as any;
|
|
2889
|
+
|
|
2890
|
+
// authentication BearerToken required
|
|
2891
|
+
// http bearer authentication required
|
|
2892
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2893
|
+
|
|
2894
|
+
// authentication DigestAuth required
|
|
2895
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2896
|
+
|
|
2897
|
+
if (force !== undefined) {
|
|
2898
|
+
localVarQueryParameter['force'] = force;
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2904
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2905
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2906
|
+
|
|
2907
|
+
return {
|
|
2908
|
+
url: toPathString(localVarUrlObj),
|
|
2909
|
+
options: localVarRequestOptions,
|
|
2910
|
+
};
|
|
2911
|
+
},
|
|
2912
|
+
/**
|
|
2913
|
+
*
|
|
2914
|
+
* @summary delete the datasource
|
|
2915
|
+
* @param {string} orgName name of the Org
|
|
2916
|
+
* @param {string} clusterName name of the cluster
|
|
2917
|
+
* @param {string} id id of the datasource
|
|
2918
|
+
* @param {*} [options] Override http request option.
|
|
2919
|
+
* @throws {RequiredError}
|
|
2920
|
+
*/
|
|
2921
|
+
deleteDataSourceV2: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2922
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2923
|
+
assertParamExists('deleteDataSourceV2', 'orgName', orgName)
|
|
2924
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2925
|
+
assertParamExists('deleteDataSourceV2', 'clusterName', clusterName)
|
|
2926
|
+
// verify required parameter 'id' is not null or undefined
|
|
2927
|
+
assertParamExists('deleteDataSourceV2', 'id', id)
|
|
2928
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
|
|
2929
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2930
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2931
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2934
|
+
let baseOptions;
|
|
2935
|
+
if (configuration) {
|
|
2936
|
+
baseOptions = configuration.baseOptions;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2940
|
+
const localVarHeaderParameter = {} as any;
|
|
2941
|
+
const localVarQueryParameter = {} as any;
|
|
2942
|
+
|
|
2943
|
+
// authentication BearerToken required
|
|
2944
|
+
// http bearer authentication required
|
|
2945
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2946
|
+
|
|
2947
|
+
// authentication DigestAuth required
|
|
2948
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2953
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2954
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2955
|
+
|
|
2956
|
+
return {
|
|
2957
|
+
url: toPathString(localVarUrlObj),
|
|
2958
|
+
options: localVarRequestOptions,
|
|
2959
|
+
};
|
|
2960
|
+
},
|
|
2961
|
+
/**
|
|
2962
|
+
* delete a database in cluster
|
|
2963
|
+
* @summary Delete cluster database
|
|
2964
|
+
* @param {string} engineName name of the engine
|
|
2965
|
+
* @param {string} orgName name of the Org
|
|
2966
|
+
* @param {string} clusterName name of the Cluster
|
|
2967
|
+
* @param {string} databaseName name of database
|
|
2968
|
+
* @param {*} [options] Override http request option.
|
|
2969
|
+
* @throws {RequiredError}
|
|
2970
|
+
*/
|
|
2971
|
+
deleteDatabase: async (engineName: string, orgName: string, clusterName: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2972
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2973
|
+
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2974
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2975
|
+
assertParamExists('deleteDatabase', 'orgName', orgName)
|
|
2976
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2977
|
+
assertParamExists('deleteDatabase', 'clusterName', clusterName)
|
|
2978
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
2979
|
+
assertParamExists('deleteDatabase', 'databaseName', databaseName)
|
|
2980
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
|
|
2981
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2982
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2983
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2984
|
+
.replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
|
|
2716
2985
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2717
2986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2718
2987
|
let baseOptions;
|
|
@@ -5222,6 +5491,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5222
5491
|
|
|
5223
5492
|
|
|
5224
5493
|
|
|
5494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5496
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5497
|
+
|
|
5498
|
+
return {
|
|
5499
|
+
url: toPathString(localVarUrlObj),
|
|
5500
|
+
options: localVarRequestOptions,
|
|
5501
|
+
};
|
|
5502
|
+
},
|
|
5503
|
+
/**
|
|
5504
|
+
*
|
|
5505
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
5506
|
+
* @param {string} orgName
|
|
5507
|
+
* @param {string} clusterName
|
|
5508
|
+
* @param {string} roleName
|
|
5509
|
+
* @param {*} [options] Override http request option.
|
|
5510
|
+
* @throws {RequiredError}
|
|
5511
|
+
*/
|
|
5512
|
+
getClickhouseRoleGrants: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5513
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5514
|
+
assertParamExists('getClickhouseRoleGrants', 'orgName', orgName)
|
|
5515
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5516
|
+
assertParamExists('getClickhouseRoleGrants', 'clusterName', clusterName)
|
|
5517
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
5518
|
+
assertParamExists('getClickhouseRoleGrants', 'roleName', roleName)
|
|
5519
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
5520
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5521
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
5522
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
5523
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5524
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5525
|
+
let baseOptions;
|
|
5526
|
+
if (configuration) {
|
|
5527
|
+
baseOptions = configuration.baseOptions;
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5530
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5531
|
+
const localVarHeaderParameter = {} as any;
|
|
5532
|
+
const localVarQueryParameter = {} as any;
|
|
5533
|
+
|
|
5534
|
+
// authentication BearerToken required
|
|
5535
|
+
// http bearer authentication required
|
|
5536
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5537
|
+
|
|
5538
|
+
// authentication DigestAuth required
|
|
5539
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5540
|
+
|
|
5541
|
+
|
|
5542
|
+
|
|
5225
5543
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5226
5544
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5227
5545
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7912,6 +8230,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7912
8230
|
options: localVarRequestOptions,
|
|
7913
8231
|
};
|
|
7914
8232
|
},
|
|
8233
|
+
/**
|
|
8234
|
+
*
|
|
8235
|
+
* @summary Grant privileges to a ClickHouse role
|
|
8236
|
+
* @param {string} orgName
|
|
8237
|
+
* @param {string} clusterName
|
|
8238
|
+
* @param {string} roleName
|
|
8239
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
8240
|
+
* @param {*} [options] Override http request option.
|
|
8241
|
+
* @throws {RequiredError}
|
|
8242
|
+
*/
|
|
8243
|
+
grantClickhouseRolePrivileges: async (orgName: string, clusterName: string, roleName: string, body: ListClickhouseAccountRoles200ResponsePrivilegesInner, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8244
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8245
|
+
assertParamExists('grantClickhouseRolePrivileges', 'orgName', orgName)
|
|
8246
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8247
|
+
assertParamExists('grantClickhouseRolePrivileges', 'clusterName', clusterName)
|
|
8248
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
8249
|
+
assertParamExists('grantClickhouseRolePrivileges', 'roleName', roleName)
|
|
8250
|
+
// verify required parameter 'body' is not null or undefined
|
|
8251
|
+
assertParamExists('grantClickhouseRolePrivileges', 'body', body)
|
|
8252
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
8253
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8254
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8255
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
8256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8258
|
+
let baseOptions;
|
|
8259
|
+
if (configuration) {
|
|
8260
|
+
baseOptions = configuration.baseOptions;
|
|
8261
|
+
}
|
|
8262
|
+
|
|
8263
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8264
|
+
const localVarHeaderParameter = {} as any;
|
|
8265
|
+
const localVarQueryParameter = {} as any;
|
|
8266
|
+
|
|
8267
|
+
// authentication BearerToken required
|
|
8268
|
+
// http bearer authentication required
|
|
8269
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8270
|
+
|
|
8271
|
+
// authentication DigestAuth required
|
|
8272
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8273
|
+
|
|
8274
|
+
|
|
8275
|
+
|
|
8276
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8277
|
+
|
|
8278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8280
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8281
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
8282
|
+
|
|
8283
|
+
return {
|
|
8284
|
+
url: toPathString(localVarUrlObj),
|
|
8285
|
+
options: localVarRequestOptions,
|
|
8286
|
+
};
|
|
8287
|
+
},
|
|
7915
8288
|
/**
|
|
7916
8289
|
*
|
|
7917
8290
|
* @summary Horizontal scale cluster
|
|
@@ -8266,6 +8639,195 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8266
8639
|
|
|
8267
8640
|
|
|
8268
8641
|
|
|
8642
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8643
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8644
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8645
|
+
|
|
8646
|
+
return {
|
|
8647
|
+
url: toPathString(localVarUrlObj),
|
|
8648
|
+
options: localVarRequestOptions,
|
|
8649
|
+
};
|
|
8650
|
+
},
|
|
8651
|
+
/**
|
|
8652
|
+
*
|
|
8653
|
+
* @summary List the roles granted to a ClickHouse account
|
|
8654
|
+
* @param {string} orgName
|
|
8655
|
+
* @param {string} clusterName
|
|
8656
|
+
* @param {string} accountName
|
|
8657
|
+
* @param {*} [options] Override http request option.
|
|
8658
|
+
* @throws {RequiredError}
|
|
8659
|
+
*/
|
|
8660
|
+
listClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8661
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8662
|
+
assertParamExists('listClickhouseAccountRoles', 'orgName', orgName)
|
|
8663
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8664
|
+
assertParamExists('listClickhouseAccountRoles', 'clusterName', clusterName)
|
|
8665
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
8666
|
+
assertParamExists('listClickhouseAccountRoles', 'accountName', accountName)
|
|
8667
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
8668
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8669
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8670
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
8671
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8672
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8673
|
+
let baseOptions;
|
|
8674
|
+
if (configuration) {
|
|
8675
|
+
baseOptions = configuration.baseOptions;
|
|
8676
|
+
}
|
|
8677
|
+
|
|
8678
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8679
|
+
const localVarHeaderParameter = {} as any;
|
|
8680
|
+
const localVarQueryParameter = {} as any;
|
|
8681
|
+
|
|
8682
|
+
// authentication BearerToken required
|
|
8683
|
+
// http bearer authentication required
|
|
8684
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8685
|
+
|
|
8686
|
+
// authentication DigestAuth required
|
|
8687
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8688
|
+
|
|
8689
|
+
|
|
8690
|
+
|
|
8691
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8692
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8693
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8694
|
+
|
|
8695
|
+
return {
|
|
8696
|
+
url: toPathString(localVarUrlObj),
|
|
8697
|
+
options: localVarRequestOptions,
|
|
8698
|
+
};
|
|
8699
|
+
},
|
|
8700
|
+
/**
|
|
8701
|
+
*
|
|
8702
|
+
* @summary List ClickHouse accounts
|
|
8703
|
+
* @param {string} orgName
|
|
8704
|
+
* @param {string} clusterName
|
|
8705
|
+
* @param {*} [options] Override http request option.
|
|
8706
|
+
* @throws {RequiredError}
|
|
8707
|
+
*/
|
|
8708
|
+
listClickhouseAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8709
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8710
|
+
assertParamExists('listClickhouseAccounts', 'orgName', orgName)
|
|
8711
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8712
|
+
assertParamExists('listClickhouseAccounts', 'clusterName', clusterName)
|
|
8713
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8714
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8715
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8718
|
+
let baseOptions;
|
|
8719
|
+
if (configuration) {
|
|
8720
|
+
baseOptions = configuration.baseOptions;
|
|
8721
|
+
}
|
|
8722
|
+
|
|
8723
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8724
|
+
const localVarHeaderParameter = {} as any;
|
|
8725
|
+
const localVarQueryParameter = {} as any;
|
|
8726
|
+
|
|
8727
|
+
// authentication BearerToken required
|
|
8728
|
+
// http bearer authentication required
|
|
8729
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8730
|
+
|
|
8731
|
+
// authentication DigestAuth required
|
|
8732
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8733
|
+
|
|
8734
|
+
|
|
8735
|
+
|
|
8736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8738
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8739
|
+
|
|
8740
|
+
return {
|
|
8741
|
+
url: toPathString(localVarUrlObj),
|
|
8742
|
+
options: localVarRequestOptions,
|
|
8743
|
+
};
|
|
8744
|
+
},
|
|
8745
|
+
/**
|
|
8746
|
+
*
|
|
8747
|
+
* @summary List privileges supported by the ClickHouse server
|
|
8748
|
+
* @param {string} orgName
|
|
8749
|
+
* @param {string} clusterName
|
|
8750
|
+
* @param {*} [options] Override http request option.
|
|
8751
|
+
* @throws {RequiredError}
|
|
8752
|
+
*/
|
|
8753
|
+
listClickhousePrivileges: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8754
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8755
|
+
assertParamExists('listClickhousePrivileges', 'orgName', orgName)
|
|
8756
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8757
|
+
assertParamExists('listClickhousePrivileges', 'clusterName', clusterName)
|
|
8758
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/privileges`
|
|
8759
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8760
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8761
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8763
|
+
let baseOptions;
|
|
8764
|
+
if (configuration) {
|
|
8765
|
+
baseOptions = configuration.baseOptions;
|
|
8766
|
+
}
|
|
8767
|
+
|
|
8768
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8769
|
+
const localVarHeaderParameter = {} as any;
|
|
8770
|
+
const localVarQueryParameter = {} as any;
|
|
8771
|
+
|
|
8772
|
+
// authentication BearerToken required
|
|
8773
|
+
// http bearer authentication required
|
|
8774
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8775
|
+
|
|
8776
|
+
// authentication DigestAuth required
|
|
8777
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8778
|
+
|
|
8779
|
+
|
|
8780
|
+
|
|
8781
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8783
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8784
|
+
|
|
8785
|
+
return {
|
|
8786
|
+
url: toPathString(localVarUrlObj),
|
|
8787
|
+
options: localVarRequestOptions,
|
|
8788
|
+
};
|
|
8789
|
+
},
|
|
8790
|
+
/**
|
|
8791
|
+
*
|
|
8792
|
+
* @summary List ClickHouse roles
|
|
8793
|
+
* @param {string} orgName
|
|
8794
|
+
* @param {string} clusterName
|
|
8795
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
8796
|
+
* @param {*} [options] Override http request option.
|
|
8797
|
+
* @throws {RequiredError}
|
|
8798
|
+
*/
|
|
8799
|
+
listClickhouseRoles: async (orgName: string, clusterName: string, forCreateUser?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8800
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8801
|
+
assertParamExists('listClickhouseRoles', 'orgName', orgName)
|
|
8802
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8803
|
+
assertParamExists('listClickhouseRoles', 'clusterName', clusterName)
|
|
8804
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
8805
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8806
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8807
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8808
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8809
|
+
let baseOptions;
|
|
8810
|
+
if (configuration) {
|
|
8811
|
+
baseOptions = configuration.baseOptions;
|
|
8812
|
+
}
|
|
8813
|
+
|
|
8814
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8815
|
+
const localVarHeaderParameter = {} as any;
|
|
8816
|
+
const localVarQueryParameter = {} as any;
|
|
8817
|
+
|
|
8818
|
+
// authentication BearerToken required
|
|
8819
|
+
// http bearer authentication required
|
|
8820
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8821
|
+
|
|
8822
|
+
// authentication DigestAuth required
|
|
8823
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8824
|
+
|
|
8825
|
+
if (forCreateUser !== undefined) {
|
|
8826
|
+
localVarQueryParameter['forCreateUser'] = forCreateUser;
|
|
8827
|
+
}
|
|
8828
|
+
|
|
8829
|
+
|
|
8830
|
+
|
|
8269
8831
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8270
8832
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8271
8833
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11592,61 +12154,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11592
12154
|
|
|
11593
12155
|
|
|
11594
12156
|
|
|
11595
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11596
|
-
|
|
11597
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11598
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11599
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11600
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
11601
|
-
|
|
11602
|
-
return {
|
|
11603
|
-
url: toPathString(localVarUrlObj),
|
|
11604
|
-
options: localVarRequestOptions,
|
|
11605
|
-
};
|
|
11606
|
-
},
|
|
11607
|
-
/**
|
|
11608
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
11609
|
-
* @summary Put Milvus role
|
|
11610
|
-
* @param {string} orgName name of the Org
|
|
11611
|
-
* @param {string} clusterName name of the Cluster
|
|
11612
|
-
* @param {string} roleName name of the Milvus role
|
|
11613
|
-
* @param {MilvusRoleRequest} body
|
|
11614
|
-
* @param {*} [options] Override http request option.
|
|
11615
|
-
* @throws {RequiredError}
|
|
11616
|
-
*/
|
|
11617
|
-
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11618
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
11619
|
-
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
11620
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
11621
|
-
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
11622
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
11623
|
-
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
11624
|
-
// verify required parameter 'body' is not null or undefined
|
|
11625
|
-
assertParamExists('putMilvusRole', 'body', body)
|
|
11626
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
11627
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11628
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11629
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11630
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11631
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11632
|
-
let baseOptions;
|
|
11633
|
-
if (configuration) {
|
|
11634
|
-
baseOptions = configuration.baseOptions;
|
|
11635
|
-
}
|
|
11636
|
-
|
|
11637
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11638
|
-
const localVarHeaderParameter = {} as any;
|
|
11639
|
-
const localVarQueryParameter = {} as any;
|
|
11640
|
-
|
|
11641
|
-
// authentication BearerToken required
|
|
11642
|
-
// http bearer authentication required
|
|
11643
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11644
|
-
|
|
11645
|
-
// authentication DigestAuth required
|
|
11646
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
12157
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11651
12158
|
|
|
11652
12159
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13688,6 +14195,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13688
14195
|
options: localVarRequestOptions,
|
|
13689
14196
|
};
|
|
13690
14197
|
},
|
|
14198
|
+
/**
|
|
14199
|
+
*
|
|
14200
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
14201
|
+
* @param {string} orgName
|
|
14202
|
+
* @param {string} clusterName
|
|
14203
|
+
* @param {string} roleName
|
|
14204
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
14205
|
+
* @param {*} [options] Override http request option.
|
|
14206
|
+
* @throws {RequiredError}
|
|
14207
|
+
*/
|
|
14208
|
+
revokeClickhouseRolePrivileges: async (orgName: string, clusterName: string, roleName: string, body: RevokeClickhouseRolePrivilegesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14209
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14210
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'orgName', orgName)
|
|
14211
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14212
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'clusterName', clusterName)
|
|
14213
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
14214
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'roleName', roleName)
|
|
14215
|
+
// verify required parameter 'body' is not null or undefined
|
|
14216
|
+
assertParamExists('revokeClickhouseRolePrivileges', 'body', body)
|
|
14217
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
14218
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14219
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14220
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
14221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14223
|
+
let baseOptions;
|
|
14224
|
+
if (configuration) {
|
|
14225
|
+
baseOptions = configuration.baseOptions;
|
|
14226
|
+
}
|
|
14227
|
+
|
|
14228
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14229
|
+
const localVarHeaderParameter = {} as any;
|
|
14230
|
+
const localVarQueryParameter = {} as any;
|
|
14231
|
+
|
|
14232
|
+
// authentication BearerToken required
|
|
14233
|
+
// http bearer authentication required
|
|
14234
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14235
|
+
|
|
14236
|
+
// authentication DigestAuth required
|
|
14237
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14238
|
+
|
|
14239
|
+
|
|
14240
|
+
|
|
14241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14242
|
+
|
|
14243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14246
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
14247
|
+
|
|
14248
|
+
return {
|
|
14249
|
+
url: toPathString(localVarUrlObj),
|
|
14250
|
+
options: localVarRequestOptions,
|
|
14251
|
+
};
|
|
14252
|
+
},
|
|
13691
14253
|
/**
|
|
13692
14254
|
*
|
|
13693
14255
|
* @summary Set alert config
|
|
@@ -14770,6 +15332,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14770
15332
|
|
|
14771
15333
|
|
|
14772
15334
|
|
|
15335
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15336
|
+
|
|
15337
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15339
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15340
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15341
|
+
|
|
15342
|
+
return {
|
|
15343
|
+
url: toPathString(localVarUrlObj),
|
|
15344
|
+
options: localVarRequestOptions,
|
|
15345
|
+
};
|
|
15346
|
+
},
|
|
15347
|
+
/**
|
|
15348
|
+
*
|
|
15349
|
+
* @summary Update a ClickHouse account password
|
|
15350
|
+
* @param {string} orgName
|
|
15351
|
+
* @param {string} clusterName
|
|
15352
|
+
* @param {string} accountName
|
|
15353
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
15354
|
+
* @param {*} [options] Override http request option.
|
|
15355
|
+
* @throws {RequiredError}
|
|
15356
|
+
*/
|
|
15357
|
+
updateClickhouseAccountPassword: async (orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15358
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15359
|
+
assertParamExists('updateClickhouseAccountPassword', 'orgName', orgName)
|
|
15360
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15361
|
+
assertParamExists('updateClickhouseAccountPassword', 'clusterName', clusterName)
|
|
15362
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15363
|
+
assertParamExists('updateClickhouseAccountPassword', 'accountName', accountName)
|
|
15364
|
+
// verify required parameter 'body' is not null or undefined
|
|
15365
|
+
assertParamExists('updateClickhouseAccountPassword', 'body', body)
|
|
15366
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
15367
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15368
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15369
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15372
|
+
let baseOptions;
|
|
15373
|
+
if (configuration) {
|
|
15374
|
+
baseOptions = configuration.baseOptions;
|
|
15375
|
+
}
|
|
15376
|
+
|
|
15377
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
15378
|
+
const localVarHeaderParameter = {} as any;
|
|
15379
|
+
const localVarQueryParameter = {} as any;
|
|
15380
|
+
|
|
15381
|
+
// authentication BearerToken required
|
|
15382
|
+
// http bearer authentication required
|
|
15383
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15384
|
+
|
|
15385
|
+
// authentication DigestAuth required
|
|
15386
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15387
|
+
|
|
15388
|
+
|
|
15389
|
+
|
|
15390
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15391
|
+
|
|
15392
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15393
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15394
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15395
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15396
|
+
|
|
15397
|
+
return {
|
|
15398
|
+
url: toPathString(localVarUrlObj),
|
|
15399
|
+
options: localVarRequestOptions,
|
|
15400
|
+
};
|
|
15401
|
+
},
|
|
15402
|
+
/**
|
|
15403
|
+
*
|
|
15404
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
15405
|
+
* @param {string} orgName
|
|
15406
|
+
* @param {string} clusterName
|
|
15407
|
+
* @param {string} accountName
|
|
15408
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
15409
|
+
* @param {*} [options] Override http request option.
|
|
15410
|
+
* @throws {RequiredError}
|
|
15411
|
+
*/
|
|
15412
|
+
updateClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountRolesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15413
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15414
|
+
assertParamExists('updateClickhouseAccountRoles', 'orgName', orgName)
|
|
15415
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15416
|
+
assertParamExists('updateClickhouseAccountRoles', 'clusterName', clusterName)
|
|
15417
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
15418
|
+
assertParamExists('updateClickhouseAccountRoles', 'accountName', accountName)
|
|
15419
|
+
// verify required parameter 'body' is not null or undefined
|
|
15420
|
+
assertParamExists('updateClickhouseAccountRoles', 'body', body)
|
|
15421
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
15422
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15423
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15424
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
15425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15427
|
+
let baseOptions;
|
|
15428
|
+
if (configuration) {
|
|
15429
|
+
baseOptions = configuration.baseOptions;
|
|
15430
|
+
}
|
|
15431
|
+
|
|
15432
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15433
|
+
const localVarHeaderParameter = {} as any;
|
|
15434
|
+
const localVarQueryParameter = {} as any;
|
|
15435
|
+
|
|
15436
|
+
// authentication BearerToken required
|
|
15437
|
+
// http bearer authentication required
|
|
15438
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15439
|
+
|
|
15440
|
+
// authentication DigestAuth required
|
|
15441
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15442
|
+
|
|
15443
|
+
|
|
15444
|
+
|
|
14773
15445
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14774
15446
|
|
|
14775
15447
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15363,6 +16035,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15363
16035
|
|
|
15364
16036
|
|
|
15365
16037
|
|
|
16038
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16039
|
+
|
|
16040
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16041
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16042
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16043
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
16044
|
+
|
|
16045
|
+
return {
|
|
16046
|
+
url: toPathString(localVarUrlObj),
|
|
16047
|
+
options: localVarRequestOptions,
|
|
16048
|
+
};
|
|
16049
|
+
},
|
|
16050
|
+
/**
|
|
16051
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
16052
|
+
* @summary Update Milvus role
|
|
16053
|
+
* @param {string} orgName name of the Org
|
|
16054
|
+
* @param {string} clusterName name of the Cluster
|
|
16055
|
+
* @param {string} roleName name of the Milvus role
|
|
16056
|
+
* @param {MilvusRoleRequest} body
|
|
16057
|
+
* @param {*} [options] Override http request option.
|
|
16058
|
+
* @throws {RequiredError}
|
|
16059
|
+
*/
|
|
16060
|
+
updateMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16061
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
16062
|
+
assertParamExists('updateMilvusRole', 'orgName', orgName)
|
|
16063
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
16064
|
+
assertParamExists('updateMilvusRole', 'clusterName', clusterName)
|
|
16065
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
16066
|
+
assertParamExists('updateMilvusRole', 'roleName', roleName)
|
|
16067
|
+
// verify required parameter 'body' is not null or undefined
|
|
16068
|
+
assertParamExists('updateMilvusRole', 'body', body)
|
|
16069
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
16070
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16071
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
16072
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
16073
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16074
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16075
|
+
let baseOptions;
|
|
16076
|
+
if (configuration) {
|
|
16077
|
+
baseOptions = configuration.baseOptions;
|
|
16078
|
+
}
|
|
16079
|
+
|
|
16080
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16081
|
+
const localVarHeaderParameter = {} as any;
|
|
16082
|
+
const localVarQueryParameter = {} as any;
|
|
16083
|
+
|
|
16084
|
+
// authentication BearerToken required
|
|
16085
|
+
// http bearer authentication required
|
|
16086
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16087
|
+
|
|
16088
|
+
// authentication DigestAuth required
|
|
16089
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16090
|
+
|
|
16091
|
+
|
|
16092
|
+
|
|
15366
16093
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15367
16094
|
|
|
15368
16095
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15430,19 +16157,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15430
16157
|
* @param {string} orgName name of the Org
|
|
15431
16158
|
* @param {string} clusterName name of the Cluster
|
|
15432
16159
|
* @param {string} accountName name of the Account
|
|
15433
|
-
* @param {
|
|
16160
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
15434
16161
|
* @param {*} [options] Override http request option.
|
|
15435
16162
|
* @throws {RequiredError}
|
|
15436
16163
|
*/
|
|
15437
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
16164
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15438
16165
|
// verify required parameter 'orgName' is not null or undefined
|
|
15439
16166
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
15440
16167
|
// verify required parameter 'clusterName' is not null or undefined
|
|
15441
16168
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
15442
16169
|
// verify required parameter 'accountName' is not null or undefined
|
|
15443
16170
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
15444
|
-
// verify required parameter '
|
|
15445
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
16171
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
16172
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
15446
16173
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
15447
16174
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15448
16175
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -15472,7 +16199,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15472
16199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15473
16200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15474
16201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15475
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
15476
16203
|
|
|
15477
16204
|
return {
|
|
15478
16205
|
url: toPathString(localVarUrlObj),
|
|
@@ -16348,6 +17075,36 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16348
17075
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
16349
17076
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16350
17077
|
},
|
|
17078
|
+
/**
|
|
17079
|
+
*
|
|
17080
|
+
* @summary Create a ClickHouse account with optional roles
|
|
17081
|
+
* @param {string} orgName
|
|
17082
|
+
* @param {string} clusterName
|
|
17083
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
17084
|
+
* @param {*} [options] Override http request option.
|
|
17085
|
+
* @throws {RequiredError}
|
|
17086
|
+
*/
|
|
17087
|
+
async createClickhouseAccount(orgName: string, clusterName: string, body: CreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17088
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseAccount(orgName, clusterName, body, options);
|
|
17089
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17090
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createClickhouseAccount']?.[localVarOperationServerIndex]?.url;
|
|
17091
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17092
|
+
},
|
|
17093
|
+
/**
|
|
17094
|
+
*
|
|
17095
|
+
* @summary Create a ClickHouse role with privileges
|
|
17096
|
+
* @param {string} orgName
|
|
17097
|
+
* @param {string} clusterName
|
|
17098
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
17099
|
+
* @param {*} [options] Override http request option.
|
|
17100
|
+
* @throws {RequiredError}
|
|
17101
|
+
*/
|
|
17102
|
+
async createClickhouseRole(orgName: string, clusterName: string, body: ListClickhouseAccountRoles200Response, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseRole(orgName, clusterName, body, options);
|
|
17104
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17105
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createClickhouseRole']?.[localVarOperationServerIndex]?.url;
|
|
17106
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17107
|
+
},
|
|
16351
17108
|
/**
|
|
16352
17109
|
*
|
|
16353
17110
|
* @summary Create new cluster
|
|
@@ -16484,6 +17241,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16484
17241
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
16485
17242
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16486
17243
|
},
|
|
17244
|
+
/**
|
|
17245
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
17246
|
+
* @summary Create Milvus role
|
|
17247
|
+
* @param {string} orgName name of the Org
|
|
17248
|
+
* @param {string} clusterName name of the Cluster
|
|
17249
|
+
* @param {MilvusRoleCreateRequest} body
|
|
17250
|
+
* @param {*} [options] Override http request option.
|
|
17251
|
+
* @throws {RequiredError}
|
|
17252
|
+
*/
|
|
17253
|
+
async createMilvusRole(orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
17255
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17256
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17257
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17258
|
+
},
|
|
16487
17259
|
/**
|
|
16488
17260
|
* create an account in mongodb
|
|
16489
17261
|
* @summary Create mongodb account
|
|
@@ -16749,6 +17521,36 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16749
17521
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
16750
17522
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16751
17523
|
},
|
|
17524
|
+
/**
|
|
17525
|
+
*
|
|
17526
|
+
* @summary Delete a ClickHouse account
|
|
17527
|
+
* @param {string} orgName
|
|
17528
|
+
* @param {string} clusterName
|
|
17529
|
+
* @param {string} accountName
|
|
17530
|
+
* @param {*} [options] Override http request option.
|
|
17531
|
+
* @throws {RequiredError}
|
|
17532
|
+
*/
|
|
17533
|
+
async deleteClickhouseAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseAccount(orgName, clusterName, accountName, options);
|
|
17535
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17536
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClickhouseAccount']?.[localVarOperationServerIndex]?.url;
|
|
17537
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17538
|
+
},
|
|
17539
|
+
/**
|
|
17540
|
+
*
|
|
17541
|
+
* @summary Delete a ClickHouse role
|
|
17542
|
+
* @param {string} orgName
|
|
17543
|
+
* @param {string} clusterName
|
|
17544
|
+
* @param {string} roleName
|
|
17545
|
+
* @param {*} [options] Override http request option.
|
|
17546
|
+
* @throws {RequiredError}
|
|
17547
|
+
*/
|
|
17548
|
+
async deleteClickhouseRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseRole(orgName, clusterName, roleName, options);
|
|
17550
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17551
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClickhouseRole']?.[localVarOperationServerIndex]?.url;
|
|
17552
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17553
|
+
},
|
|
16752
17554
|
/**
|
|
16753
17555
|
*
|
|
16754
17556
|
* @summary Delete cluster
|
|
@@ -17517,6 +18319,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17517
18319
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getBackupMethod']?.[localVarOperationServerIndex]?.url;
|
|
17518
18320
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17519
18321
|
},
|
|
18322
|
+
/**
|
|
18323
|
+
*
|
|
18324
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
18325
|
+
* @param {string} orgName
|
|
18326
|
+
* @param {string} clusterName
|
|
18327
|
+
* @param {string} roleName
|
|
18328
|
+
* @param {*} [options] Override http request option.
|
|
18329
|
+
* @throws {RequiredError}
|
|
18330
|
+
*/
|
|
18331
|
+
async getClickhouseRoleGrants(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>>> {
|
|
18332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClickhouseRoleGrants(orgName, clusterName, roleName, options);
|
|
18333
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18334
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClickhouseRoleGrants']?.[localVarOperationServerIndex]?.url;
|
|
18335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18336
|
+
},
|
|
17520
18337
|
/**
|
|
17521
18338
|
*
|
|
17522
18339
|
* @summary Get cluster details
|
|
@@ -18298,6 +19115,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18298
19115
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getTenant']?.[localVarOperationServerIndex]?.url;
|
|
18299
19116
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18300
19117
|
},
|
|
19118
|
+
/**
|
|
19119
|
+
*
|
|
19120
|
+
* @summary Grant privileges to a ClickHouse role
|
|
19121
|
+
* @param {string} orgName
|
|
19122
|
+
* @param {string} clusterName
|
|
19123
|
+
* @param {string} roleName
|
|
19124
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
19125
|
+
* @param {*} [options] Override http request option.
|
|
19126
|
+
* @throws {RequiredError}
|
|
19127
|
+
*/
|
|
19128
|
+
async grantClickhouseRolePrivileges(orgName: string, clusterName: string, roleName: string, body: ListClickhouseAccountRoles200ResponsePrivilegesInner, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
19129
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
19130
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19131
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.grantClickhouseRolePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19132
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19133
|
+
},
|
|
18301
19134
|
/**
|
|
18302
19135
|
*
|
|
18303
19136
|
* @summary Horizontal scale cluster
|
|
@@ -18405,6 +19238,64 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18405
19238
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listBackupSchedules']?.[localVarOperationServerIndex]?.url;
|
|
18406
19239
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18407
19240
|
},
|
|
19241
|
+
/**
|
|
19242
|
+
*
|
|
19243
|
+
* @summary List the roles granted to a ClickHouse account
|
|
19244
|
+
* @param {string} orgName
|
|
19245
|
+
* @param {string} clusterName
|
|
19246
|
+
* @param {string} accountName
|
|
19247
|
+
* @param {*} [options] Override http request option.
|
|
19248
|
+
* @throws {RequiredError}
|
|
19249
|
+
*/
|
|
19250
|
+
async listClickhouseAccountRoles(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClickhouseAccountRoles200Response>> {
|
|
19251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccountRoles(orgName, clusterName, accountName, options);
|
|
19252
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19253
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
19254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19255
|
+
},
|
|
19256
|
+
/**
|
|
19257
|
+
*
|
|
19258
|
+
* @summary List ClickHouse accounts
|
|
19259
|
+
* @param {string} orgName
|
|
19260
|
+
* @param {string} clusterName
|
|
19261
|
+
* @param {*} [options] Override http request option.
|
|
19262
|
+
* @throws {RequiredError}
|
|
19263
|
+
*/
|
|
19264
|
+
async listClickhouseAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CkAccount>> {
|
|
19265
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccounts(orgName, clusterName, options);
|
|
19266
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19267
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseAccounts']?.[localVarOperationServerIndex]?.url;
|
|
19268
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19269
|
+
},
|
|
19270
|
+
/**
|
|
19271
|
+
*
|
|
19272
|
+
* @summary List privileges supported by the ClickHouse server
|
|
19273
|
+
* @param {string} orgName
|
|
19274
|
+
* @param {string} clusterName
|
|
19275
|
+
* @param {*} [options] Override http request option.
|
|
19276
|
+
* @throws {RequiredError}
|
|
19277
|
+
*/
|
|
19278
|
+
async listClickhousePrivileges(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
19279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhousePrivileges(orgName, clusterName, options);
|
|
19280
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19281
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhousePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
19282
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19283
|
+
},
|
|
19284
|
+
/**
|
|
19285
|
+
*
|
|
19286
|
+
* @summary List ClickHouse roles
|
|
19287
|
+
* @param {string} orgName
|
|
19288
|
+
* @param {string} clusterName
|
|
19289
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
19290
|
+
* @param {*} [options] Override http request option.
|
|
19291
|
+
* @throws {RequiredError}
|
|
19292
|
+
*/
|
|
19293
|
+
async listClickhouseRoles(orgName: string, clusterName: string, forCreateUser?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListClickhouseAccountRoles200Response>>> {
|
|
19294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseRoles(orgName, clusterName, forCreateUser, options);
|
|
19295
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19296
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClickhouseRoles']?.[localVarOperationServerIndex]?.url;
|
|
19297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19298
|
+
},
|
|
18408
19299
|
/**
|
|
18409
19300
|
*
|
|
18410
19301
|
* @summary List clusters in the Org
|
|
@@ -19397,22 +20288,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19397
20288
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
19398
20289
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19399
20290
|
},
|
|
19400
|
-
/**
|
|
19401
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
19402
|
-
* @summary Put Milvus role
|
|
19403
|
-
* @param {string} orgName name of the Org
|
|
19404
|
-
* @param {string} clusterName name of the Cluster
|
|
19405
|
-
* @param {string} roleName name of the Milvus role
|
|
19406
|
-
* @param {MilvusRoleRequest} body
|
|
19407
|
-
* @param {*} [options] Override http request option.
|
|
19408
|
-
* @throws {RequiredError}
|
|
19409
|
-
*/
|
|
19410
|
-
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
19411
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
19412
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19413
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
19414
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19415
|
-
},
|
|
19416
20291
|
/**
|
|
19417
20292
|
*
|
|
19418
20293
|
* @summary create a SQL query
|
|
@@ -19935,6 +20810,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19935
20810
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
19936
20811
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19937
20812
|
},
|
|
20813
|
+
/**
|
|
20814
|
+
*
|
|
20815
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
20816
|
+
* @param {string} orgName
|
|
20817
|
+
* @param {string} clusterName
|
|
20818
|
+
* @param {string} roleName
|
|
20819
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
20820
|
+
* @param {*} [options] Override http request option.
|
|
20821
|
+
* @throws {RequiredError}
|
|
20822
|
+
*/
|
|
20823
|
+
async revokeClickhouseRolePrivileges(orgName: string, clusterName: string, roleName: string, body: RevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
20824
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
20825
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20826
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.revokeClickhouseRolePrivileges']?.[localVarOperationServerIndex]?.url;
|
|
20827
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20828
|
+
},
|
|
19938
20829
|
/**
|
|
19939
20830
|
*
|
|
19940
20831
|
* @summary Set alert config
|
|
@@ -20259,6 +21150,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20259
21150
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateBackupSchedule']?.[localVarOperationServerIndex]?.url;
|
|
20260
21151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20261
21152
|
},
|
|
21153
|
+
/**
|
|
21154
|
+
*
|
|
21155
|
+
* @summary Update a ClickHouse account password
|
|
21156
|
+
* @param {string} orgName
|
|
21157
|
+
* @param {string} clusterName
|
|
21158
|
+
* @param {string} accountName
|
|
21159
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
21160
|
+
* @param {*} [options] Override http request option.
|
|
21161
|
+
* @throws {RequiredError}
|
|
21162
|
+
*/
|
|
21163
|
+
async updateClickhouseAccountPassword(orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options);
|
|
21165
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21166
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateClickhouseAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
21167
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21168
|
+
},
|
|
21169
|
+
/**
|
|
21170
|
+
*
|
|
21171
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
21172
|
+
* @param {string} orgName
|
|
21173
|
+
* @param {string} clusterName
|
|
21174
|
+
* @param {string} accountName
|
|
21175
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
21176
|
+
* @param {*} [options] Override http request option.
|
|
21177
|
+
* @throws {RequiredError}
|
|
21178
|
+
*/
|
|
21179
|
+
async updateClickhouseAccountRoles(orgName: string, clusterName: string, accountName: string, body: UpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options);
|
|
21181
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21182
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateClickhouseAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
21183
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21184
|
+
},
|
|
20262
21185
|
/**
|
|
20263
21186
|
*
|
|
20264
21187
|
* @summary Update the cluster license
|
|
@@ -20433,6 +21356,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20433
21356
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
20434
21357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20435
21358
|
},
|
|
21359
|
+
/**
|
|
21360
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21361
|
+
* @summary Update Milvus role
|
|
21362
|
+
* @param {string} orgName name of the Org
|
|
21363
|
+
* @param {string} clusterName name of the Cluster
|
|
21364
|
+
* @param {string} roleName name of the Milvus role
|
|
21365
|
+
* @param {MilvusRoleRequest} body
|
|
21366
|
+
* @param {*} [options] Override http request option.
|
|
21367
|
+
* @throws {RequiredError}
|
|
21368
|
+
*/
|
|
21369
|
+
async updateMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
21370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
21371
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21372
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
21373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21374
|
+
},
|
|
20436
21375
|
/**
|
|
20437
21376
|
*
|
|
20438
21377
|
* @summary update mssql account compatible with windows account
|
|
@@ -20454,12 +21393,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20454
21393
|
* @param {string} orgName name of the Org
|
|
20455
21394
|
* @param {string} clusterName name of the Cluster
|
|
20456
21395
|
* @param {string} accountName name of the Account
|
|
20457
|
-
* @param {
|
|
21396
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
20458
21397
|
* @param {*} [options] Override http request option.
|
|
20459
21398
|
* @throws {RequiredError}
|
|
20460
21399
|
*/
|
|
20461
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
20462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
21400
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
20463
21402
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20464
21403
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
20465
21404
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20789,6 +21728,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20789
21728
|
createBackupSchedule(requestParameters: SharedApiCreateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule> {
|
|
20790
21729
|
return localVarFp.createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20791
21730
|
},
|
|
21731
|
+
/**
|
|
21732
|
+
*
|
|
21733
|
+
* @summary Create a ClickHouse account with optional roles
|
|
21734
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
21735
|
+
* @param {*} [options] Override http request option.
|
|
21736
|
+
* @throws {RequiredError}
|
|
21737
|
+
*/
|
|
21738
|
+
createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21739
|
+
return localVarFp.createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21740
|
+
},
|
|
21741
|
+
/**
|
|
21742
|
+
*
|
|
21743
|
+
* @summary Create a ClickHouse role with privileges
|
|
21744
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
21745
|
+
* @param {*} [options] Override http request option.
|
|
21746
|
+
* @throws {RequiredError}
|
|
21747
|
+
*/
|
|
21748
|
+
createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21749
|
+
return localVarFp.createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21750
|
+
},
|
|
20792
21751
|
/**
|
|
20793
21752
|
*
|
|
20794
21753
|
* @summary Create new cluster
|
|
@@ -20879,6 +21838,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20879
21838
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
|
|
20880
21839
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
20881
21840
|
},
|
|
21841
|
+
/**
|
|
21842
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
21843
|
+
* @summary Create Milvus role
|
|
21844
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
21845
|
+
* @param {*} [options] Override http request option.
|
|
21846
|
+
* @throws {RequiredError}
|
|
21847
|
+
*/
|
|
21848
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21849
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21850
|
+
},
|
|
20882
21851
|
/**
|
|
20883
21852
|
* create an account in mongodb
|
|
20884
21853
|
* @summary Create mongodb account
|
|
@@ -21059,6 +22028,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21059
22028
|
deleteBackupSchedule(requestParameters: SharedApiDeleteBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21060
22029
|
return localVarFp.deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(axios, basePath));
|
|
21061
22030
|
},
|
|
22031
|
+
/**
|
|
22032
|
+
*
|
|
22033
|
+
* @summary Delete a ClickHouse account
|
|
22034
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
22035
|
+
* @param {*} [options] Override http request option.
|
|
22036
|
+
* @throws {RequiredError}
|
|
22037
|
+
*/
|
|
22038
|
+
deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22039
|
+
return localVarFp.deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
22040
|
+
},
|
|
22041
|
+
/**
|
|
22042
|
+
*
|
|
22043
|
+
* @summary Delete a ClickHouse role
|
|
22044
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
22045
|
+
* @param {*} [options] Override http request option.
|
|
22046
|
+
* @throws {RequiredError}
|
|
22047
|
+
*/
|
|
22048
|
+
deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22049
|
+
return localVarFp.deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
22050
|
+
},
|
|
21062
22051
|
/**
|
|
21063
22052
|
*
|
|
21064
22053
|
* @summary Delete cluster
|
|
@@ -21539,6 +22528,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21539
22528
|
getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod> {
|
|
21540
22529
|
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
21541
22530
|
},
|
|
22531
|
+
/**
|
|
22532
|
+
*
|
|
22533
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
22534
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
22535
|
+
* @param {*} [options] Override http request option.
|
|
22536
|
+
* @throws {RequiredError}
|
|
22537
|
+
*/
|
|
22538
|
+
getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>> {
|
|
22539
|
+
return localVarFp.getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
22540
|
+
},
|
|
21542
22541
|
/**
|
|
21543
22542
|
*
|
|
21544
22543
|
* @summary Get cluster details
|
|
@@ -22028,6 +23027,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22028
23027
|
getTenant(requestParameters: SharedApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tenant> {
|
|
22029
23028
|
return localVarFp.getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(axios, basePath));
|
|
22030
23029
|
},
|
|
23030
|
+
/**
|
|
23031
|
+
*
|
|
23032
|
+
* @summary Grant privileges to a ClickHouse role
|
|
23033
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
23034
|
+
* @param {*} [options] Override http request option.
|
|
23035
|
+
* @throws {RequiredError}
|
|
23036
|
+
*/
|
|
23037
|
+
grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23038
|
+
return localVarFp.grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23039
|
+
},
|
|
22031
23040
|
/**
|
|
22032
23041
|
*
|
|
22033
23042
|
* @summary Horizontal scale cluster
|
|
@@ -22098,6 +23107,46 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22098
23107
|
listBackupSchedules(requestParameters: SharedApiListBackupSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupScheduleList> {
|
|
22099
23108
|
return localVarFp.listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(axios, basePath));
|
|
22100
23109
|
},
|
|
23110
|
+
/**
|
|
23111
|
+
*
|
|
23112
|
+
* @summary List the roles granted to a ClickHouse account
|
|
23113
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
23114
|
+
* @param {*} [options] Override http request option.
|
|
23115
|
+
* @throws {RequiredError}
|
|
23116
|
+
*/
|
|
23117
|
+
listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClickhouseAccountRoles200Response> {
|
|
23118
|
+
return localVarFp.listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
23119
|
+
},
|
|
23120
|
+
/**
|
|
23121
|
+
*
|
|
23122
|
+
* @summary List ClickHouse accounts
|
|
23123
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
23124
|
+
* @param {*} [options] Override http request option.
|
|
23125
|
+
* @throws {RequiredError}
|
|
23126
|
+
*/
|
|
23127
|
+
listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CkAccount> {
|
|
23128
|
+
return localVarFp.listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23129
|
+
},
|
|
23130
|
+
/**
|
|
23131
|
+
*
|
|
23132
|
+
* @summary List privileges supported by the ClickHouse server
|
|
23133
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
23134
|
+
* @param {*} [options] Override http request option.
|
|
23135
|
+
* @throws {RequiredError}
|
|
23136
|
+
*/
|
|
23137
|
+
listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
23138
|
+
return localVarFp.listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23139
|
+
},
|
|
23140
|
+
/**
|
|
23141
|
+
*
|
|
23142
|
+
* @summary List ClickHouse roles
|
|
23143
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
23144
|
+
* @param {*} [options] Override http request option.
|
|
23145
|
+
* @throws {RequiredError}
|
|
23146
|
+
*/
|
|
23147
|
+
listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListClickhouseAccountRoles200Response>> {
|
|
23148
|
+
return localVarFp.listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(axios, basePath));
|
|
23149
|
+
},
|
|
22101
23150
|
/**
|
|
22102
23151
|
*
|
|
22103
23152
|
* @summary List clusters in the Org
|
|
@@ -22756,16 +23805,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22756
23805
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22757
23806
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22758
23807
|
},
|
|
22759
|
-
/**
|
|
22760
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
22761
|
-
* @summary Put Milvus role
|
|
22762
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
22763
|
-
* @param {*} [options] Override http request option.
|
|
22764
|
-
* @throws {RequiredError}
|
|
22765
|
-
*/
|
|
22766
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
22767
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22768
|
-
},
|
|
22769
23808
|
/**
|
|
22770
23809
|
*
|
|
22771
23810
|
* @summary create a SQL query
|
|
@@ -23025,6 +24064,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23025
24064
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
23026
24065
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23027
24066
|
},
|
|
24067
|
+
/**
|
|
24068
|
+
*
|
|
24069
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
24070
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
24071
|
+
* @param {*} [options] Override http request option.
|
|
24072
|
+
* @throws {RequiredError}
|
|
24073
|
+
*/
|
|
24074
|
+
revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24075
|
+
return localVarFp.revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24076
|
+
},
|
|
23028
24077
|
/**
|
|
23029
24078
|
*
|
|
23030
24079
|
* @summary Set alert config
|
|
@@ -23235,6 +24284,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23235
24284
|
updateBackupSchedule(requestParameters: SharedApiUpdateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule> {
|
|
23236
24285
|
return localVarFp.updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23237
24286
|
},
|
|
24287
|
+
/**
|
|
24288
|
+
*
|
|
24289
|
+
* @summary Update a ClickHouse account password
|
|
24290
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
24291
|
+
* @param {*} [options] Override http request option.
|
|
24292
|
+
* @throws {RequiredError}
|
|
24293
|
+
*/
|
|
24294
|
+
updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24295
|
+
return localVarFp.updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24296
|
+
},
|
|
24297
|
+
/**
|
|
24298
|
+
*
|
|
24299
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
24300
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
24301
|
+
* @param {*} [options] Override http request option.
|
|
24302
|
+
* @throws {RequiredError}
|
|
24303
|
+
*/
|
|
24304
|
+
updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24305
|
+
return localVarFp.updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24306
|
+
},
|
|
23238
24307
|
/**
|
|
23239
24308
|
*
|
|
23240
24309
|
* @summary Update the cluster license
|
|
@@ -23345,6 +24414,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23345
24414
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23346
24415
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23347
24416
|
},
|
|
24417
|
+
/**
|
|
24418
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24419
|
+
* @summary Update Milvus role
|
|
24420
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24421
|
+
* @param {*} [options] Override http request option.
|
|
24422
|
+
* @throws {RequiredError}
|
|
24423
|
+
*/
|
|
24424
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
24425
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24426
|
+
},
|
|
23348
24427
|
/**
|
|
23349
24428
|
*
|
|
23350
24429
|
* @summary update mssql account compatible with windows account
|
|
@@ -23363,7 +24442,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23363
24442
|
* @throws {RequiredError}
|
|
23364
24443
|
*/
|
|
23365
24444
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23366
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24445
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
23367
24446
|
},
|
|
23368
24447
|
/**
|
|
23369
24448
|
* Update a RabbitMQ account privileges
|
|
@@ -23624,6 +24703,26 @@ export interface SharedApiInterface {
|
|
|
23624
24703
|
*/
|
|
23625
24704
|
createBackupSchedule(requestParameters: SharedApiCreateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule>;
|
|
23626
24705
|
|
|
24706
|
+
/**
|
|
24707
|
+
*
|
|
24708
|
+
* @summary Create a ClickHouse account with optional roles
|
|
24709
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
24710
|
+
* @param {*} [options] Override http request option.
|
|
24711
|
+
* @throws {RequiredError}
|
|
24712
|
+
* @memberof SharedApiInterface
|
|
24713
|
+
*/
|
|
24714
|
+
createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24715
|
+
|
|
24716
|
+
/**
|
|
24717
|
+
*
|
|
24718
|
+
* @summary Create a ClickHouse role with privileges
|
|
24719
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
24720
|
+
* @param {*} [options] Override http request option.
|
|
24721
|
+
* @throws {RequiredError}
|
|
24722
|
+
* @memberof SharedApiInterface
|
|
24723
|
+
*/
|
|
24724
|
+
createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24725
|
+
|
|
23627
24726
|
/**
|
|
23628
24727
|
*
|
|
23629
24728
|
* @summary Create new cluster
|
|
@@ -23714,6 +24813,16 @@ export interface SharedApiInterface {
|
|
|
23714
24813
|
*/
|
|
23715
24814
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
|
|
23716
24815
|
|
|
24816
|
+
/**
|
|
24817
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
24818
|
+
* @summary Create Milvus role
|
|
24819
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
24820
|
+
* @param {*} [options] Override http request option.
|
|
24821
|
+
* @throws {RequiredError}
|
|
24822
|
+
* @memberof SharedApiInterface
|
|
24823
|
+
*/
|
|
24824
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24825
|
+
|
|
23717
24826
|
/**
|
|
23718
24827
|
* create an account in mongodb
|
|
23719
24828
|
* @summary Create mongodb account
|
|
@@ -23894,6 +25003,26 @@ export interface SharedApiInterface {
|
|
|
23894
25003
|
*/
|
|
23895
25004
|
deleteBackupSchedule(requestParameters: SharedApiDeleteBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23896
25005
|
|
|
25006
|
+
/**
|
|
25007
|
+
*
|
|
25008
|
+
* @summary Delete a ClickHouse account
|
|
25009
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
25010
|
+
* @param {*} [options] Override http request option.
|
|
25011
|
+
* @throws {RequiredError}
|
|
25012
|
+
* @memberof SharedApiInterface
|
|
25013
|
+
*/
|
|
25014
|
+
deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25015
|
+
|
|
25016
|
+
/**
|
|
25017
|
+
*
|
|
25018
|
+
* @summary Delete a ClickHouse role
|
|
25019
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
25020
|
+
* @param {*} [options] Override http request option.
|
|
25021
|
+
* @throws {RequiredError}
|
|
25022
|
+
* @memberof SharedApiInterface
|
|
25023
|
+
*/
|
|
25024
|
+
deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25025
|
+
|
|
23897
25026
|
/**
|
|
23898
25027
|
*
|
|
23899
25028
|
* @summary Delete cluster
|
|
@@ -24374,6 +25503,16 @@ export interface SharedApiInterface {
|
|
|
24374
25503
|
*/
|
|
24375
25504
|
getBackupMethod(requestParameters: SharedApiGetBackupMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterBackupMethod>;
|
|
24376
25505
|
|
|
25506
|
+
/**
|
|
25507
|
+
*
|
|
25508
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
25509
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
25510
|
+
* @param {*} [options] Override http request option.
|
|
25511
|
+
* @throws {RequiredError}
|
|
25512
|
+
* @memberof SharedApiInterface
|
|
25513
|
+
*/
|
|
25514
|
+
getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<GetClickhouseRoleGrants200ResponseInner>>;
|
|
25515
|
+
|
|
24377
25516
|
/**
|
|
24378
25517
|
*
|
|
24379
25518
|
* @summary Get cluster details
|
|
@@ -24863,6 +26002,16 @@ export interface SharedApiInterface {
|
|
|
24863
26002
|
*/
|
|
24864
26003
|
getTenant(requestParameters: SharedApiGetTenantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Tenant>;
|
|
24865
26004
|
|
|
26005
|
+
/**
|
|
26006
|
+
*
|
|
26007
|
+
* @summary Grant privileges to a ClickHouse role
|
|
26008
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
26009
|
+
* @param {*} [options] Override http request option.
|
|
26010
|
+
* @throws {RequiredError}
|
|
26011
|
+
* @memberof SharedApiInterface
|
|
26012
|
+
*/
|
|
26013
|
+
grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26014
|
+
|
|
24866
26015
|
/**
|
|
24867
26016
|
*
|
|
24868
26017
|
* @summary Horizontal scale cluster
|
|
@@ -24933,6 +26082,46 @@ export interface SharedApiInterface {
|
|
|
24933
26082
|
*/
|
|
24934
26083
|
listBackupSchedules(requestParameters: SharedApiListBackupSchedulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupScheduleList>;
|
|
24935
26084
|
|
|
26085
|
+
/**
|
|
26086
|
+
*
|
|
26087
|
+
* @summary List the roles granted to a ClickHouse account
|
|
26088
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
26089
|
+
* @param {*} [options] Override http request option.
|
|
26090
|
+
* @throws {RequiredError}
|
|
26091
|
+
* @memberof SharedApiInterface
|
|
26092
|
+
*/
|
|
26093
|
+
listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListClickhouseAccountRoles200Response>;
|
|
26094
|
+
|
|
26095
|
+
/**
|
|
26096
|
+
*
|
|
26097
|
+
* @summary List ClickHouse accounts
|
|
26098
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
26099
|
+
* @param {*} [options] Override http request option.
|
|
26100
|
+
* @throws {RequiredError}
|
|
26101
|
+
* @memberof SharedApiInterface
|
|
26102
|
+
*/
|
|
26103
|
+
listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CkAccount>;
|
|
26104
|
+
|
|
26105
|
+
/**
|
|
26106
|
+
*
|
|
26107
|
+
* @summary List privileges supported by the ClickHouse server
|
|
26108
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
26109
|
+
* @param {*} [options] Override http request option.
|
|
26110
|
+
* @throws {RequiredError}
|
|
26111
|
+
* @memberof SharedApiInterface
|
|
26112
|
+
*/
|
|
26113
|
+
listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
26114
|
+
|
|
26115
|
+
/**
|
|
26116
|
+
*
|
|
26117
|
+
* @summary List ClickHouse roles
|
|
26118
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
26119
|
+
* @param {*} [options] Override http request option.
|
|
26120
|
+
* @throws {RequiredError}
|
|
26121
|
+
* @memberof SharedApiInterface
|
|
26122
|
+
*/
|
|
26123
|
+
listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListClickhouseAccountRoles200Response>>;
|
|
26124
|
+
|
|
24936
26125
|
/**
|
|
24937
26126
|
*
|
|
24938
26127
|
* @summary List clusters in the Org
|
|
@@ -25591,16 +26780,6 @@ export interface SharedApiInterface {
|
|
|
25591
26780
|
*/
|
|
25592
26781
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25593
26782
|
|
|
25594
|
-
/**
|
|
25595
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
25596
|
-
* @summary Put Milvus role
|
|
25597
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
25598
|
-
* @param {*} [options] Override http request option.
|
|
25599
|
-
* @throws {RequiredError}
|
|
25600
|
-
* @memberof SharedApiInterface
|
|
25601
|
-
*/
|
|
25602
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
25603
|
-
|
|
25604
26783
|
/**
|
|
25605
26784
|
*
|
|
25606
26785
|
* @summary create a SQL query
|
|
@@ -25860,6 +27039,16 @@ export interface SharedApiInterface {
|
|
|
25860
27039
|
*/
|
|
25861
27040
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
25862
27041
|
|
|
27042
|
+
/**
|
|
27043
|
+
*
|
|
27044
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
27045
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
27046
|
+
* @param {*} [options] Override http request option.
|
|
27047
|
+
* @throws {RequiredError}
|
|
27048
|
+
* @memberof SharedApiInterface
|
|
27049
|
+
*/
|
|
27050
|
+
revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27051
|
+
|
|
25863
27052
|
/**
|
|
25864
27053
|
*
|
|
25865
27054
|
* @summary Set alert config
|
|
@@ -26070,6 +27259,26 @@ export interface SharedApiInterface {
|
|
|
26070
27259
|
*/
|
|
26071
27260
|
updateBackupSchedule(requestParameters: SharedApiUpdateBackupScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupSchedule>;
|
|
26072
27261
|
|
|
27262
|
+
/**
|
|
27263
|
+
*
|
|
27264
|
+
* @summary Update a ClickHouse account password
|
|
27265
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
27266
|
+
* @param {*} [options] Override http request option.
|
|
27267
|
+
* @throws {RequiredError}
|
|
27268
|
+
* @memberof SharedApiInterface
|
|
27269
|
+
*/
|
|
27270
|
+
updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27271
|
+
|
|
27272
|
+
/**
|
|
27273
|
+
*
|
|
27274
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
27275
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
27276
|
+
* @param {*} [options] Override http request option.
|
|
27277
|
+
* @throws {RequiredError}
|
|
27278
|
+
* @memberof SharedApiInterface
|
|
27279
|
+
*/
|
|
27280
|
+
updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27281
|
+
|
|
26073
27282
|
/**
|
|
26074
27283
|
*
|
|
26075
27284
|
* @summary Update the cluster license
|
|
@@ -26180,6 +27389,16 @@ export interface SharedApiInterface {
|
|
|
26180
27389
|
*/
|
|
26181
27390
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26182
27391
|
|
|
27392
|
+
/**
|
|
27393
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
27394
|
+
* @summary Update Milvus role
|
|
27395
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
27396
|
+
* @param {*} [options] Override http request option.
|
|
27397
|
+
* @throws {RequiredError}
|
|
27398
|
+
* @memberof SharedApiInterface
|
|
27399
|
+
*/
|
|
27400
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
27401
|
+
|
|
26183
27402
|
/**
|
|
26184
27403
|
*
|
|
26185
27404
|
* @summary update mssql account compatible with windows account
|
|
@@ -26916,6 +28135,62 @@ export interface SharedApiCreateBackupScheduleRequest {
|
|
|
26916
28135
|
readonly body: BackupScheduleCreate
|
|
26917
28136
|
}
|
|
26918
28137
|
|
|
28138
|
+
/**
|
|
28139
|
+
* Request parameters for createClickhouseAccount operation in SharedApi.
|
|
28140
|
+
* @export
|
|
28141
|
+
* @interface SharedApiCreateClickhouseAccountRequest
|
|
28142
|
+
*/
|
|
28143
|
+
export interface SharedApiCreateClickhouseAccountRequest {
|
|
28144
|
+
/**
|
|
28145
|
+
*
|
|
28146
|
+
* @type {string}
|
|
28147
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28148
|
+
*/
|
|
28149
|
+
readonly orgName: string
|
|
28150
|
+
|
|
28151
|
+
/**
|
|
28152
|
+
*
|
|
28153
|
+
* @type {string}
|
|
28154
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28155
|
+
*/
|
|
28156
|
+
readonly clusterName: string
|
|
28157
|
+
|
|
28158
|
+
/**
|
|
28159
|
+
*
|
|
28160
|
+
* @type {CreateClickhouseAccountRequest}
|
|
28161
|
+
* @memberof SharedApiCreateClickhouseAccount
|
|
28162
|
+
*/
|
|
28163
|
+
readonly body: CreateClickhouseAccountRequest
|
|
28164
|
+
}
|
|
28165
|
+
|
|
28166
|
+
/**
|
|
28167
|
+
* Request parameters for createClickhouseRole operation in SharedApi.
|
|
28168
|
+
* @export
|
|
28169
|
+
* @interface SharedApiCreateClickhouseRoleRequest
|
|
28170
|
+
*/
|
|
28171
|
+
export interface SharedApiCreateClickhouseRoleRequest {
|
|
28172
|
+
/**
|
|
28173
|
+
*
|
|
28174
|
+
* @type {string}
|
|
28175
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28176
|
+
*/
|
|
28177
|
+
readonly orgName: string
|
|
28178
|
+
|
|
28179
|
+
/**
|
|
28180
|
+
*
|
|
28181
|
+
* @type {string}
|
|
28182
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28183
|
+
*/
|
|
28184
|
+
readonly clusterName: string
|
|
28185
|
+
|
|
28186
|
+
/**
|
|
28187
|
+
*
|
|
28188
|
+
* @type {ListClickhouseAccountRoles200Response}
|
|
28189
|
+
* @memberof SharedApiCreateClickhouseRole
|
|
28190
|
+
*/
|
|
28191
|
+
readonly body: ListClickhouseAccountRoles200Response
|
|
28192
|
+
}
|
|
28193
|
+
|
|
26919
28194
|
/**
|
|
26920
28195
|
* Request parameters for createCluster operation in SharedApi.
|
|
26921
28196
|
* @export
|
|
@@ -27175,6 +28450,34 @@ export interface SharedApiCreateKafkaTopicRequest {
|
|
|
27175
28450
|
readonly createTopicRequest: CreateTopicRequest
|
|
27176
28451
|
}
|
|
27177
28452
|
|
|
28453
|
+
/**
|
|
28454
|
+
* Request parameters for createMilvusRole operation in SharedApi.
|
|
28455
|
+
* @export
|
|
28456
|
+
* @interface SharedApiCreateMilvusRoleRequest
|
|
28457
|
+
*/
|
|
28458
|
+
export interface SharedApiCreateMilvusRoleRequest {
|
|
28459
|
+
/**
|
|
28460
|
+
* name of the Org
|
|
28461
|
+
* @type {string}
|
|
28462
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28463
|
+
*/
|
|
28464
|
+
readonly orgName: string
|
|
28465
|
+
|
|
28466
|
+
/**
|
|
28467
|
+
* name of the Cluster
|
|
28468
|
+
* @type {string}
|
|
28469
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28470
|
+
*/
|
|
28471
|
+
readonly clusterName: string
|
|
28472
|
+
|
|
28473
|
+
/**
|
|
28474
|
+
*
|
|
28475
|
+
* @type {MilvusRoleCreateRequest}
|
|
28476
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28477
|
+
*/
|
|
28478
|
+
readonly body: MilvusRoleCreateRequest
|
|
28479
|
+
}
|
|
28480
|
+
|
|
27178
28481
|
/**
|
|
27179
28482
|
* Request parameters for createMongoDBAccount operation in SharedApi.
|
|
27180
28483
|
* @export
|
|
@@ -27644,6 +28947,62 @@ export interface SharedApiDeleteBackupScheduleRequest {
|
|
|
27644
28947
|
readonly scheduleName: string
|
|
27645
28948
|
}
|
|
27646
28949
|
|
|
28950
|
+
/**
|
|
28951
|
+
* Request parameters for deleteClickhouseAccount operation in SharedApi.
|
|
28952
|
+
* @export
|
|
28953
|
+
* @interface SharedApiDeleteClickhouseAccountRequest
|
|
28954
|
+
*/
|
|
28955
|
+
export interface SharedApiDeleteClickhouseAccountRequest {
|
|
28956
|
+
/**
|
|
28957
|
+
*
|
|
28958
|
+
* @type {string}
|
|
28959
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28960
|
+
*/
|
|
28961
|
+
readonly orgName: string
|
|
28962
|
+
|
|
28963
|
+
/**
|
|
28964
|
+
*
|
|
28965
|
+
* @type {string}
|
|
28966
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28967
|
+
*/
|
|
28968
|
+
readonly clusterName: string
|
|
28969
|
+
|
|
28970
|
+
/**
|
|
28971
|
+
*
|
|
28972
|
+
* @type {string}
|
|
28973
|
+
* @memberof SharedApiDeleteClickhouseAccount
|
|
28974
|
+
*/
|
|
28975
|
+
readonly accountName: string
|
|
28976
|
+
}
|
|
28977
|
+
|
|
28978
|
+
/**
|
|
28979
|
+
* Request parameters for deleteClickhouseRole operation in SharedApi.
|
|
28980
|
+
* @export
|
|
28981
|
+
* @interface SharedApiDeleteClickhouseRoleRequest
|
|
28982
|
+
*/
|
|
28983
|
+
export interface SharedApiDeleteClickhouseRoleRequest {
|
|
28984
|
+
/**
|
|
28985
|
+
*
|
|
28986
|
+
* @type {string}
|
|
28987
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28988
|
+
*/
|
|
28989
|
+
readonly orgName: string
|
|
28990
|
+
|
|
28991
|
+
/**
|
|
28992
|
+
*
|
|
28993
|
+
* @type {string}
|
|
28994
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
28995
|
+
*/
|
|
28996
|
+
readonly clusterName: string
|
|
28997
|
+
|
|
28998
|
+
/**
|
|
28999
|
+
*
|
|
29000
|
+
* @type {string}
|
|
29001
|
+
* @memberof SharedApiDeleteClickhouseRole
|
|
29002
|
+
*/
|
|
29003
|
+
readonly roleName: string
|
|
29004
|
+
}
|
|
29005
|
+
|
|
27647
29006
|
/**
|
|
27648
29007
|
* Request parameters for deleteCluster operation in SharedApi.
|
|
27649
29008
|
* @export
|
|
@@ -29324,6 +30683,34 @@ export interface SharedApiGetBackupMethodRequest {
|
|
|
29324
30683
|
readonly mode?: string
|
|
29325
30684
|
}
|
|
29326
30685
|
|
|
30686
|
+
/**
|
|
30687
|
+
* Request parameters for getClickhouseRoleGrants operation in SharedApi.
|
|
30688
|
+
* @export
|
|
30689
|
+
* @interface SharedApiGetClickhouseRoleGrantsRequest
|
|
30690
|
+
*/
|
|
30691
|
+
export interface SharedApiGetClickhouseRoleGrantsRequest {
|
|
30692
|
+
/**
|
|
30693
|
+
*
|
|
30694
|
+
* @type {string}
|
|
30695
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30696
|
+
*/
|
|
30697
|
+
readonly orgName: string
|
|
30698
|
+
|
|
30699
|
+
/**
|
|
30700
|
+
*
|
|
30701
|
+
* @type {string}
|
|
30702
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30703
|
+
*/
|
|
30704
|
+
readonly clusterName: string
|
|
30705
|
+
|
|
30706
|
+
/**
|
|
30707
|
+
*
|
|
30708
|
+
* @type {string}
|
|
30709
|
+
* @memberof SharedApiGetClickhouseRoleGrants
|
|
30710
|
+
*/
|
|
30711
|
+
readonly roleName: string
|
|
30712
|
+
}
|
|
30713
|
+
|
|
29327
30714
|
/**
|
|
29328
30715
|
* Request parameters for getCluster operation in SharedApi.
|
|
29329
30716
|
* @export
|
|
@@ -31025,6 +32412,41 @@ export interface SharedApiGetTenantRequest {
|
|
|
31025
32412
|
readonly tenantId: string
|
|
31026
32413
|
}
|
|
31027
32414
|
|
|
32415
|
+
/**
|
|
32416
|
+
* Request parameters for grantClickhouseRolePrivileges operation in SharedApi.
|
|
32417
|
+
* @export
|
|
32418
|
+
* @interface SharedApiGrantClickhouseRolePrivilegesRequest
|
|
32419
|
+
*/
|
|
32420
|
+
export interface SharedApiGrantClickhouseRolePrivilegesRequest {
|
|
32421
|
+
/**
|
|
32422
|
+
*
|
|
32423
|
+
* @type {string}
|
|
32424
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32425
|
+
*/
|
|
32426
|
+
readonly orgName: string
|
|
32427
|
+
|
|
32428
|
+
/**
|
|
32429
|
+
*
|
|
32430
|
+
* @type {string}
|
|
32431
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32432
|
+
*/
|
|
32433
|
+
readonly clusterName: string
|
|
32434
|
+
|
|
32435
|
+
/**
|
|
32436
|
+
*
|
|
32437
|
+
* @type {string}
|
|
32438
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32439
|
+
*/
|
|
32440
|
+
readonly roleName: string
|
|
32441
|
+
|
|
32442
|
+
/**
|
|
32443
|
+
*
|
|
32444
|
+
* @type {ListClickhouseAccountRoles200ResponsePrivilegesInner}
|
|
32445
|
+
* @memberof SharedApiGrantClickhouseRolePrivileges
|
|
32446
|
+
*/
|
|
32447
|
+
readonly body: ListClickhouseAccountRoles200ResponsePrivilegesInner
|
|
32448
|
+
}
|
|
32449
|
+
|
|
31028
32450
|
/**
|
|
31029
32451
|
* Request parameters for horizontalScaleCluster operation in SharedApi.
|
|
31030
32452
|
* @export
|
|
@@ -31235,6 +32657,104 @@ export interface SharedApiListBackupSchedulesRequest {
|
|
|
31235
32657
|
readonly backupMethod?: string
|
|
31236
32658
|
}
|
|
31237
32659
|
|
|
32660
|
+
/**
|
|
32661
|
+
* Request parameters for listClickhouseAccountRoles operation in SharedApi.
|
|
32662
|
+
* @export
|
|
32663
|
+
* @interface SharedApiListClickhouseAccountRolesRequest
|
|
32664
|
+
*/
|
|
32665
|
+
export interface SharedApiListClickhouseAccountRolesRequest {
|
|
32666
|
+
/**
|
|
32667
|
+
*
|
|
32668
|
+
* @type {string}
|
|
32669
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32670
|
+
*/
|
|
32671
|
+
readonly orgName: string
|
|
32672
|
+
|
|
32673
|
+
/**
|
|
32674
|
+
*
|
|
32675
|
+
* @type {string}
|
|
32676
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32677
|
+
*/
|
|
32678
|
+
readonly clusterName: string
|
|
32679
|
+
|
|
32680
|
+
/**
|
|
32681
|
+
*
|
|
32682
|
+
* @type {string}
|
|
32683
|
+
* @memberof SharedApiListClickhouseAccountRoles
|
|
32684
|
+
*/
|
|
32685
|
+
readonly accountName: string
|
|
32686
|
+
}
|
|
32687
|
+
|
|
32688
|
+
/**
|
|
32689
|
+
* Request parameters for listClickhouseAccounts operation in SharedApi.
|
|
32690
|
+
* @export
|
|
32691
|
+
* @interface SharedApiListClickhouseAccountsRequest
|
|
32692
|
+
*/
|
|
32693
|
+
export interface SharedApiListClickhouseAccountsRequest {
|
|
32694
|
+
/**
|
|
32695
|
+
*
|
|
32696
|
+
* @type {string}
|
|
32697
|
+
* @memberof SharedApiListClickhouseAccounts
|
|
32698
|
+
*/
|
|
32699
|
+
readonly orgName: string
|
|
32700
|
+
|
|
32701
|
+
/**
|
|
32702
|
+
*
|
|
32703
|
+
* @type {string}
|
|
32704
|
+
* @memberof SharedApiListClickhouseAccounts
|
|
32705
|
+
*/
|
|
32706
|
+
readonly clusterName: string
|
|
32707
|
+
}
|
|
32708
|
+
|
|
32709
|
+
/**
|
|
32710
|
+
* Request parameters for listClickhousePrivileges operation in SharedApi.
|
|
32711
|
+
* @export
|
|
32712
|
+
* @interface SharedApiListClickhousePrivilegesRequest
|
|
32713
|
+
*/
|
|
32714
|
+
export interface SharedApiListClickhousePrivilegesRequest {
|
|
32715
|
+
/**
|
|
32716
|
+
*
|
|
32717
|
+
* @type {string}
|
|
32718
|
+
* @memberof SharedApiListClickhousePrivileges
|
|
32719
|
+
*/
|
|
32720
|
+
readonly orgName: string
|
|
32721
|
+
|
|
32722
|
+
/**
|
|
32723
|
+
*
|
|
32724
|
+
* @type {string}
|
|
32725
|
+
* @memberof SharedApiListClickhousePrivileges
|
|
32726
|
+
*/
|
|
32727
|
+
readonly clusterName: string
|
|
32728
|
+
}
|
|
32729
|
+
|
|
32730
|
+
/**
|
|
32731
|
+
* Request parameters for listClickhouseRoles operation in SharedApi.
|
|
32732
|
+
* @export
|
|
32733
|
+
* @interface SharedApiListClickhouseRolesRequest
|
|
32734
|
+
*/
|
|
32735
|
+
export interface SharedApiListClickhouseRolesRequest {
|
|
32736
|
+
/**
|
|
32737
|
+
*
|
|
32738
|
+
* @type {string}
|
|
32739
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32740
|
+
*/
|
|
32741
|
+
readonly orgName: string
|
|
32742
|
+
|
|
32743
|
+
/**
|
|
32744
|
+
*
|
|
32745
|
+
* @type {string}
|
|
32746
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32747
|
+
*/
|
|
32748
|
+
readonly clusterName: string
|
|
32749
|
+
|
|
32750
|
+
/**
|
|
32751
|
+
* Whether to include built-in privilege roles for creating an account.
|
|
32752
|
+
* @type {boolean}
|
|
32753
|
+
* @memberof SharedApiListClickhouseRoles
|
|
32754
|
+
*/
|
|
32755
|
+
readonly forCreateUser?: boolean
|
|
32756
|
+
}
|
|
32757
|
+
|
|
31238
32758
|
/**
|
|
31239
32759
|
* Request parameters for listCluster operation in SharedApi.
|
|
31240
32760
|
* @export
|
|
@@ -33069,41 +34589,6 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
33069
34589
|
readonly body: ESPutSecurityUserRequest
|
|
33070
34590
|
}
|
|
33071
34591
|
|
|
33072
|
-
/**
|
|
33073
|
-
* Request parameters for putMilvusRole operation in SharedApi.
|
|
33074
|
-
* @export
|
|
33075
|
-
* @interface SharedApiPutMilvusRoleRequest
|
|
33076
|
-
*/
|
|
33077
|
-
export interface SharedApiPutMilvusRoleRequest {
|
|
33078
|
-
/**
|
|
33079
|
-
* name of the Org
|
|
33080
|
-
* @type {string}
|
|
33081
|
-
* @memberof SharedApiPutMilvusRole
|
|
33082
|
-
*/
|
|
33083
|
-
readonly orgName: string
|
|
33084
|
-
|
|
33085
|
-
/**
|
|
33086
|
-
* name of the Cluster
|
|
33087
|
-
* @type {string}
|
|
33088
|
-
* @memberof SharedApiPutMilvusRole
|
|
33089
|
-
*/
|
|
33090
|
-
readonly clusterName: string
|
|
33091
|
-
|
|
33092
|
-
/**
|
|
33093
|
-
* name of the Milvus role
|
|
33094
|
-
* @type {string}
|
|
33095
|
-
* @memberof SharedApiPutMilvusRole
|
|
33096
|
-
*/
|
|
33097
|
-
readonly roleName: string
|
|
33098
|
-
|
|
33099
|
-
/**
|
|
33100
|
-
*
|
|
33101
|
-
* @type {MilvusRoleRequest}
|
|
33102
|
-
* @memberof SharedApiPutMilvusRole
|
|
33103
|
-
*/
|
|
33104
|
-
readonly body: MilvusRoleRequest
|
|
33105
|
-
}
|
|
33106
|
-
|
|
33107
34592
|
/**
|
|
33108
34593
|
* Request parameters for query operation in SharedApi.
|
|
33109
34594
|
* @export
|
|
@@ -34749,6 +36234,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
|
|
|
34749
36234
|
readonly clusterName: string
|
|
34750
36235
|
}
|
|
34751
36236
|
|
|
36237
|
+
/**
|
|
36238
|
+
* Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
|
|
36239
|
+
* @export
|
|
36240
|
+
* @interface SharedApiRevokeClickhouseRolePrivilegesRequest
|
|
36241
|
+
*/
|
|
36242
|
+
export interface SharedApiRevokeClickhouseRolePrivilegesRequest {
|
|
36243
|
+
/**
|
|
36244
|
+
*
|
|
36245
|
+
* @type {string}
|
|
36246
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36247
|
+
*/
|
|
36248
|
+
readonly orgName: string
|
|
36249
|
+
|
|
36250
|
+
/**
|
|
36251
|
+
*
|
|
36252
|
+
* @type {string}
|
|
36253
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36254
|
+
*/
|
|
36255
|
+
readonly clusterName: string
|
|
36256
|
+
|
|
36257
|
+
/**
|
|
36258
|
+
*
|
|
36259
|
+
* @type {string}
|
|
36260
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36261
|
+
*/
|
|
36262
|
+
readonly roleName: string
|
|
36263
|
+
|
|
36264
|
+
/**
|
|
36265
|
+
*
|
|
36266
|
+
* @type {RevokeClickhouseRolePrivilegesRequest}
|
|
36267
|
+
* @memberof SharedApiRevokeClickhouseRolePrivileges
|
|
36268
|
+
*/
|
|
36269
|
+
readonly body: RevokeClickhouseRolePrivilegesRequest
|
|
36270
|
+
}
|
|
36271
|
+
|
|
34752
36272
|
/**
|
|
34753
36273
|
* Request parameters for setAlertConfig operation in SharedApi.
|
|
34754
36274
|
* @export
|
|
@@ -35400,6 +36920,76 @@ export interface SharedApiUpdateBackupScheduleRequest {
|
|
|
35400
36920
|
readonly body: BackupScheduleUpdate
|
|
35401
36921
|
}
|
|
35402
36922
|
|
|
36923
|
+
/**
|
|
36924
|
+
* Request parameters for updateClickhouseAccountPassword operation in SharedApi.
|
|
36925
|
+
* @export
|
|
36926
|
+
* @interface SharedApiUpdateClickhouseAccountPasswordRequest
|
|
36927
|
+
*/
|
|
36928
|
+
export interface SharedApiUpdateClickhouseAccountPasswordRequest {
|
|
36929
|
+
/**
|
|
36930
|
+
*
|
|
36931
|
+
* @type {string}
|
|
36932
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36933
|
+
*/
|
|
36934
|
+
readonly orgName: string
|
|
36935
|
+
|
|
36936
|
+
/**
|
|
36937
|
+
*
|
|
36938
|
+
* @type {string}
|
|
36939
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36940
|
+
*/
|
|
36941
|
+
readonly clusterName: string
|
|
36942
|
+
|
|
36943
|
+
/**
|
|
36944
|
+
*
|
|
36945
|
+
* @type {string}
|
|
36946
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36947
|
+
*/
|
|
36948
|
+
readonly accountName: string
|
|
36949
|
+
|
|
36950
|
+
/**
|
|
36951
|
+
*
|
|
36952
|
+
* @type {UpdateClickhouseAccountPasswordRequest}
|
|
36953
|
+
* @memberof SharedApiUpdateClickhouseAccountPassword
|
|
36954
|
+
*/
|
|
36955
|
+
readonly body: UpdateClickhouseAccountPasswordRequest
|
|
36956
|
+
}
|
|
36957
|
+
|
|
36958
|
+
/**
|
|
36959
|
+
* Request parameters for updateClickhouseAccountRoles operation in SharedApi.
|
|
36960
|
+
* @export
|
|
36961
|
+
* @interface SharedApiUpdateClickhouseAccountRolesRequest
|
|
36962
|
+
*/
|
|
36963
|
+
export interface SharedApiUpdateClickhouseAccountRolesRequest {
|
|
36964
|
+
/**
|
|
36965
|
+
*
|
|
36966
|
+
* @type {string}
|
|
36967
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36968
|
+
*/
|
|
36969
|
+
readonly orgName: string
|
|
36970
|
+
|
|
36971
|
+
/**
|
|
36972
|
+
*
|
|
36973
|
+
* @type {string}
|
|
36974
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36975
|
+
*/
|
|
36976
|
+
readonly clusterName: string
|
|
36977
|
+
|
|
36978
|
+
/**
|
|
36979
|
+
*
|
|
36980
|
+
* @type {string}
|
|
36981
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36982
|
+
*/
|
|
36983
|
+
readonly accountName: string
|
|
36984
|
+
|
|
36985
|
+
/**
|
|
36986
|
+
*
|
|
36987
|
+
* @type {UpdateClickhouseAccountRolesRequest}
|
|
36988
|
+
* @memberof SharedApiUpdateClickhouseAccountRoles
|
|
36989
|
+
*/
|
|
36990
|
+
readonly body: UpdateClickhouseAccountRolesRequest
|
|
36991
|
+
}
|
|
36992
|
+
|
|
35403
36993
|
/**
|
|
35404
36994
|
* Request parameters for updateClusterLicense operation in SharedApi.
|
|
35405
36995
|
* @export
|
|
@@ -35771,6 +37361,41 @@ export interface SharedApiUpdateMilvusAccountRolesRequest {
|
|
|
35771
37361
|
readonly body: MilvusAccountRoles
|
|
35772
37362
|
}
|
|
35773
37363
|
|
|
37364
|
+
/**
|
|
37365
|
+
* Request parameters for updateMilvusRole operation in SharedApi.
|
|
37366
|
+
* @export
|
|
37367
|
+
* @interface SharedApiUpdateMilvusRoleRequest
|
|
37368
|
+
*/
|
|
37369
|
+
export interface SharedApiUpdateMilvusRoleRequest {
|
|
37370
|
+
/**
|
|
37371
|
+
* name of the Org
|
|
37372
|
+
* @type {string}
|
|
37373
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37374
|
+
*/
|
|
37375
|
+
readonly orgName: string
|
|
37376
|
+
|
|
37377
|
+
/**
|
|
37378
|
+
* name of the Cluster
|
|
37379
|
+
* @type {string}
|
|
37380
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37381
|
+
*/
|
|
37382
|
+
readonly clusterName: string
|
|
37383
|
+
|
|
37384
|
+
/**
|
|
37385
|
+
* name of the Milvus role
|
|
37386
|
+
* @type {string}
|
|
37387
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37388
|
+
*/
|
|
37389
|
+
readonly roleName: string
|
|
37390
|
+
|
|
37391
|
+
/**
|
|
37392
|
+
*
|
|
37393
|
+
* @type {MilvusRoleRequest}
|
|
37394
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37395
|
+
*/
|
|
37396
|
+
readonly body: MilvusRoleRequest
|
|
37397
|
+
}
|
|
37398
|
+
|
|
35774
37399
|
/**
|
|
35775
37400
|
* Request parameters for updateMssqlAccount operation in SharedApi.
|
|
35776
37401
|
* @export
|
|
@@ -35828,10 +37453,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
35828
37453
|
|
|
35829
37454
|
/**
|
|
35830
37455
|
*
|
|
35831
|
-
* @type {
|
|
37456
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
35832
37457
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
35833
37458
|
*/
|
|
35834
|
-
readonly
|
|
37459
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
35835
37460
|
}
|
|
35836
37461
|
|
|
35837
37462
|
/**
|
|
@@ -36369,6 +37994,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36369
37994
|
return SharedApiFp(this.configuration).createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36370
37995
|
}
|
|
36371
37996
|
|
|
37997
|
+
/**
|
|
37998
|
+
*
|
|
37999
|
+
* @summary Create a ClickHouse account with optional roles
|
|
38000
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
38001
|
+
* @param {*} [options] Override http request option.
|
|
38002
|
+
* @throws {RequiredError}
|
|
38003
|
+
* @memberof SharedApi
|
|
38004
|
+
*/
|
|
38005
|
+
public createClickhouseAccount(requestParameters: SharedApiCreateClickhouseAccountRequest, options?: RawAxiosRequestConfig) {
|
|
38006
|
+
return SharedApiFp(this.configuration).createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38007
|
+
}
|
|
38008
|
+
|
|
38009
|
+
/**
|
|
38010
|
+
*
|
|
38011
|
+
* @summary Create a ClickHouse role with privileges
|
|
38012
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
38013
|
+
* @param {*} [options] Override http request option.
|
|
38014
|
+
* @throws {RequiredError}
|
|
38015
|
+
* @memberof SharedApi
|
|
38016
|
+
*/
|
|
38017
|
+
public createClickhouseRole(requestParameters: SharedApiCreateClickhouseRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38018
|
+
return SharedApiFp(this.configuration).createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38019
|
+
}
|
|
38020
|
+
|
|
36372
38021
|
/**
|
|
36373
38022
|
*
|
|
36374
38023
|
* @summary Create new cluster
|
|
@@ -36477,6 +38126,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36477
38126
|
return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36478
38127
|
}
|
|
36479
38128
|
|
|
38129
|
+
/**
|
|
38130
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
38131
|
+
* @summary Create Milvus role
|
|
38132
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
38133
|
+
* @param {*} [options] Override http request option.
|
|
38134
|
+
* @throws {RequiredError}
|
|
38135
|
+
* @memberof SharedApi
|
|
38136
|
+
*/
|
|
38137
|
+
public createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38138
|
+
return SharedApiFp(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38139
|
+
}
|
|
38140
|
+
|
|
36480
38141
|
/**
|
|
36481
38142
|
* create an account in mongodb
|
|
36482
38143
|
* @summary Create mongodb account
|
|
@@ -36693,6 +38354,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36693
38354
|
return SharedApiFp(this.configuration).deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(this.axios, this.basePath));
|
|
36694
38355
|
}
|
|
36695
38356
|
|
|
38357
|
+
/**
|
|
38358
|
+
*
|
|
38359
|
+
* @summary Delete a ClickHouse account
|
|
38360
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
38361
|
+
* @param {*} [options] Override http request option.
|
|
38362
|
+
* @throws {RequiredError}
|
|
38363
|
+
* @memberof SharedApi
|
|
38364
|
+
*/
|
|
38365
|
+
public deleteClickhouseAccount(requestParameters: SharedApiDeleteClickhouseAccountRequest, options?: RawAxiosRequestConfig) {
|
|
38366
|
+
return SharedApiFp(this.configuration).deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
38367
|
+
}
|
|
38368
|
+
|
|
38369
|
+
/**
|
|
38370
|
+
*
|
|
38371
|
+
* @summary Delete a ClickHouse role
|
|
38372
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
38373
|
+
* @param {*} [options] Override http request option.
|
|
38374
|
+
* @throws {RequiredError}
|
|
38375
|
+
* @memberof SharedApi
|
|
38376
|
+
*/
|
|
38377
|
+
public deleteClickhouseRole(requestParameters: SharedApiDeleteClickhouseRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38378
|
+
return SharedApiFp(this.configuration).deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38379
|
+
}
|
|
38380
|
+
|
|
36696
38381
|
/**
|
|
36697
38382
|
*
|
|
36698
38383
|
* @summary Delete cluster
|
|
@@ -37269,6 +38954,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37269
38954
|
return SharedApiFp(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
37270
38955
|
}
|
|
37271
38956
|
|
|
38957
|
+
/**
|
|
38958
|
+
*
|
|
38959
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
38960
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
38961
|
+
* @param {*} [options] Override http request option.
|
|
38962
|
+
* @throws {RequiredError}
|
|
38963
|
+
* @memberof SharedApi
|
|
38964
|
+
*/
|
|
38965
|
+
public getClickhouseRoleGrants(requestParameters: SharedApiGetClickhouseRoleGrantsRequest, options?: RawAxiosRequestConfig) {
|
|
38966
|
+
return SharedApiFp(this.configuration).getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38967
|
+
}
|
|
38968
|
+
|
|
37272
38969
|
/**
|
|
37273
38970
|
*
|
|
37274
38971
|
* @summary Get cluster details
|
|
@@ -37856,6 +39553,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37856
39553
|
return SharedApiFp(this.configuration).getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(this.axios, this.basePath));
|
|
37857
39554
|
}
|
|
37858
39555
|
|
|
39556
|
+
/**
|
|
39557
|
+
*
|
|
39558
|
+
* @summary Grant privileges to a ClickHouse role
|
|
39559
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
39560
|
+
* @param {*} [options] Override http request option.
|
|
39561
|
+
* @throws {RequiredError}
|
|
39562
|
+
* @memberof SharedApi
|
|
39563
|
+
*/
|
|
39564
|
+
public grantClickhouseRolePrivileges(requestParameters: SharedApiGrantClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
39565
|
+
return SharedApiFp(this.configuration).grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39566
|
+
}
|
|
39567
|
+
|
|
37859
39568
|
/**
|
|
37860
39569
|
*
|
|
37861
39570
|
* @summary Horizontal scale cluster
|
|
@@ -37940,6 +39649,54 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37940
39649
|
return SharedApiFp(this.configuration).listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(this.axios, this.basePath));
|
|
37941
39650
|
}
|
|
37942
39651
|
|
|
39652
|
+
/**
|
|
39653
|
+
*
|
|
39654
|
+
* @summary List the roles granted to a ClickHouse account
|
|
39655
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
39656
|
+
* @param {*} [options] Override http request option.
|
|
39657
|
+
* @throws {RequiredError}
|
|
39658
|
+
* @memberof SharedApi
|
|
39659
|
+
*/
|
|
39660
|
+
public listClickhouseAccountRoles(requestParameters: SharedApiListClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
39661
|
+
return SharedApiFp(this.configuration).listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
39662
|
+
}
|
|
39663
|
+
|
|
39664
|
+
/**
|
|
39665
|
+
*
|
|
39666
|
+
* @summary List ClickHouse accounts
|
|
39667
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
39668
|
+
* @param {*} [options] Override http request option.
|
|
39669
|
+
* @throws {RequiredError}
|
|
39670
|
+
* @memberof SharedApi
|
|
39671
|
+
*/
|
|
39672
|
+
public listClickhouseAccounts(requestParameters: SharedApiListClickhouseAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
39673
|
+
return SharedApiFp(this.configuration).listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39674
|
+
}
|
|
39675
|
+
|
|
39676
|
+
/**
|
|
39677
|
+
*
|
|
39678
|
+
* @summary List privileges supported by the ClickHouse server
|
|
39679
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
39680
|
+
* @param {*} [options] Override http request option.
|
|
39681
|
+
* @throws {RequiredError}
|
|
39682
|
+
* @memberof SharedApi
|
|
39683
|
+
*/
|
|
39684
|
+
public listClickhousePrivileges(requestParameters: SharedApiListClickhousePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
39685
|
+
return SharedApiFp(this.configuration).listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39686
|
+
}
|
|
39687
|
+
|
|
39688
|
+
/**
|
|
39689
|
+
*
|
|
39690
|
+
* @summary List ClickHouse roles
|
|
39691
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
39692
|
+
* @param {*} [options] Override http request option.
|
|
39693
|
+
* @throws {RequiredError}
|
|
39694
|
+
* @memberof SharedApi
|
|
39695
|
+
*/
|
|
39696
|
+
public listClickhouseRoles(requestParameters: SharedApiListClickhouseRolesRequest, options?: RawAxiosRequestConfig) {
|
|
39697
|
+
return SharedApiFp(this.configuration).listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(this.axios, this.basePath));
|
|
39698
|
+
}
|
|
39699
|
+
|
|
37943
39700
|
/**
|
|
37944
39701
|
*
|
|
37945
39702
|
* @summary List clusters in the Org
|
|
@@ -38730,18 +40487,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38730
40487
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38731
40488
|
}
|
|
38732
40489
|
|
|
38733
|
-
/**
|
|
38734
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
38735
|
-
* @summary Put Milvus role
|
|
38736
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
38737
|
-
* @param {*} [options] Override http request option.
|
|
38738
|
-
* @throws {RequiredError}
|
|
38739
|
-
* @memberof SharedApi
|
|
38740
|
-
*/
|
|
38741
|
-
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38742
|
-
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38743
|
-
}
|
|
38744
|
-
|
|
38745
40490
|
/**
|
|
38746
40491
|
*
|
|
38747
40492
|
* @summary create a SQL query
|
|
@@ -39053,6 +40798,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39053
40798
|
return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
39054
40799
|
}
|
|
39055
40800
|
|
|
40801
|
+
/**
|
|
40802
|
+
*
|
|
40803
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
40804
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
40805
|
+
* @param {*} [options] Override http request option.
|
|
40806
|
+
* @throws {RequiredError}
|
|
40807
|
+
* @memberof SharedApi
|
|
40808
|
+
*/
|
|
40809
|
+
public revokeClickhouseRolePrivileges(requestParameters: SharedApiRevokeClickhouseRolePrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
40810
|
+
return SharedApiFp(this.configuration).revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40811
|
+
}
|
|
40812
|
+
|
|
39056
40813
|
/**
|
|
39057
40814
|
*
|
|
39058
40815
|
* @summary Set alert config
|
|
@@ -39305,6 +41062,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39305
41062
|
return SharedApiFp(this.configuration).updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39306
41063
|
}
|
|
39307
41064
|
|
|
41065
|
+
/**
|
|
41066
|
+
*
|
|
41067
|
+
* @summary Update a ClickHouse account password
|
|
41068
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
41069
|
+
* @param {*} [options] Override http request option.
|
|
41070
|
+
* @throws {RequiredError}
|
|
41071
|
+
* @memberof SharedApi
|
|
41072
|
+
*/
|
|
41073
|
+
public updateClickhouseAccountPassword(requestParameters: SharedApiUpdateClickhouseAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
41074
|
+
return SharedApiFp(this.configuration).updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
41075
|
+
}
|
|
41076
|
+
|
|
41077
|
+
/**
|
|
41078
|
+
*
|
|
41079
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
41080
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
41081
|
+
* @param {*} [options] Override http request option.
|
|
41082
|
+
* @throws {RequiredError}
|
|
41083
|
+
* @memberof SharedApi
|
|
41084
|
+
*/
|
|
41085
|
+
public updateClickhouseAccountRoles(requestParameters: SharedApiUpdateClickhouseAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
41086
|
+
return SharedApiFp(this.configuration).updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
41087
|
+
}
|
|
41088
|
+
|
|
39308
41089
|
/**
|
|
39309
41090
|
*
|
|
39310
41091
|
* @summary Update the cluster license
|
|
@@ -39437,6 +41218,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39437
41218
|
return SharedApiFp(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
39438
41219
|
}
|
|
39439
41220
|
|
|
41221
|
+
/**
|
|
41222
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
41223
|
+
* @summary Update Milvus role
|
|
41224
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
41225
|
+
* @param {*} [options] Override http request option.
|
|
41226
|
+
* @throws {RequiredError}
|
|
41227
|
+
* @memberof SharedApi
|
|
41228
|
+
*/
|
|
41229
|
+
public updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
41230
|
+
return SharedApiFp(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
41231
|
+
}
|
|
41232
|
+
|
|
39440
41233
|
/**
|
|
39441
41234
|
*
|
|
39442
41235
|
* @summary update mssql account compatible with windows account
|
|
@@ -39458,7 +41251,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39458
41251
|
* @memberof SharedApi
|
|
39459
41252
|
*/
|
|
39460
41253
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
39461
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
41254
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39462
41255
|
}
|
|
39463
41256
|
|
|
39464
41257
|
/**
|