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
|
@@ -726,6 +726,92 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
726
726
|
options: localVarRequestOptions,
|
|
727
727
|
};
|
|
728
728
|
},
|
|
729
|
+
/**
|
|
730
|
+
*
|
|
731
|
+
* @summary Create a ClickHouse account with optional roles
|
|
732
|
+
* @param {string} orgName
|
|
733
|
+
* @param {string} clusterName
|
|
734
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
735
|
+
* @param {*} [options] Override http request option.
|
|
736
|
+
* @throws {RequiredError}
|
|
737
|
+
*/
|
|
738
|
+
createClickhouseAccount: async (orgName, clusterName, body, options = {}) => {
|
|
739
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
740
|
+
(0, common_1.assertParamExists)('createClickhouseAccount', 'orgName', orgName);
|
|
741
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
742
|
+
(0, common_1.assertParamExists)('createClickhouseAccount', 'clusterName', clusterName);
|
|
743
|
+
// verify required parameter 'body' is not null or undefined
|
|
744
|
+
(0, common_1.assertParamExists)('createClickhouseAccount', 'body', body);
|
|
745
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
746
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
747
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
748
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
749
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
750
|
+
let baseOptions;
|
|
751
|
+
if (configuration) {
|
|
752
|
+
baseOptions = configuration.baseOptions;
|
|
753
|
+
}
|
|
754
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
755
|
+
const localVarHeaderParameter = {};
|
|
756
|
+
const localVarQueryParameter = {};
|
|
757
|
+
// authentication BearerToken required
|
|
758
|
+
// http bearer authentication required
|
|
759
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
760
|
+
// authentication DigestAuth required
|
|
761
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
762
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
763
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
764
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
765
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
766
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
767
|
+
return {
|
|
768
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
769
|
+
options: localVarRequestOptions,
|
|
770
|
+
};
|
|
771
|
+
},
|
|
772
|
+
/**
|
|
773
|
+
*
|
|
774
|
+
* @summary Create a ClickHouse role with privileges
|
|
775
|
+
* @param {string} orgName
|
|
776
|
+
* @param {string} clusterName
|
|
777
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
*/
|
|
781
|
+
createClickhouseRole: async (orgName, clusterName, body, options = {}) => {
|
|
782
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
783
|
+
(0, common_1.assertParamExists)('createClickhouseRole', 'orgName', orgName);
|
|
784
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
785
|
+
(0, common_1.assertParamExists)('createClickhouseRole', 'clusterName', clusterName);
|
|
786
|
+
// verify required parameter 'body' is not null or undefined
|
|
787
|
+
(0, common_1.assertParamExists)('createClickhouseRole', 'body', body);
|
|
788
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
789
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
790
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
792
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
793
|
+
let baseOptions;
|
|
794
|
+
if (configuration) {
|
|
795
|
+
baseOptions = configuration.baseOptions;
|
|
796
|
+
}
|
|
797
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
798
|
+
const localVarHeaderParameter = {};
|
|
799
|
+
const localVarQueryParameter = {};
|
|
800
|
+
// authentication BearerToken required
|
|
801
|
+
// http bearer authentication required
|
|
802
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
803
|
+
// authentication DigestAuth required
|
|
804
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
805
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
806
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
807
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
808
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
809
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
810
|
+
return {
|
|
811
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
812
|
+
options: localVarRequestOptions,
|
|
813
|
+
};
|
|
814
|
+
},
|
|
729
815
|
/**
|
|
730
816
|
*
|
|
731
817
|
* @summary Create new cluster
|
|
@@ -1117,6 +1203,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1117
1203
|
options: localVarRequestOptions,
|
|
1118
1204
|
};
|
|
1119
1205
|
},
|
|
1206
|
+
/**
|
|
1207
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1208
|
+
* @summary Create Milvus role
|
|
1209
|
+
* @param {string} orgName name of the Org
|
|
1210
|
+
* @param {string} clusterName name of the Cluster
|
|
1211
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1212
|
+
* @param {*} [options] Override http request option.
|
|
1213
|
+
* @throws {RequiredError}
|
|
1214
|
+
*/
|
|
1215
|
+
createMilvusRole: async (orgName, clusterName, body, options = {}) => {
|
|
1216
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1217
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'orgName', orgName);
|
|
1218
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1219
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'clusterName', clusterName);
|
|
1220
|
+
// verify required parameter 'body' is not null or undefined
|
|
1221
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'body', body);
|
|
1222
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1223
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1224
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1226
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1227
|
+
let baseOptions;
|
|
1228
|
+
if (configuration) {
|
|
1229
|
+
baseOptions = configuration.baseOptions;
|
|
1230
|
+
}
|
|
1231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1232
|
+
const localVarHeaderParameter = {};
|
|
1233
|
+
const localVarQueryParameter = {};
|
|
1234
|
+
// authentication BearerToken required
|
|
1235
|
+
// http bearer authentication required
|
|
1236
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1237
|
+
// authentication DigestAuth required
|
|
1238
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1239
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1240
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1242
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1243
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1244
|
+
return {
|
|
1245
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1246
|
+
options: localVarRequestOptions,
|
|
1247
|
+
};
|
|
1248
|
+
},
|
|
1120
1249
|
/**
|
|
1121
1250
|
* create an account in mongodb
|
|
1122
1251
|
* @summary Create mongodb account
|
|
@@ -1863,6 +1992,90 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1863
1992
|
options: localVarRequestOptions,
|
|
1864
1993
|
};
|
|
1865
1994
|
},
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @summary Delete a ClickHouse account
|
|
1998
|
+
* @param {string} orgName
|
|
1999
|
+
* @param {string} clusterName
|
|
2000
|
+
* @param {string} accountName
|
|
2001
|
+
* @param {*} [options] Override http request option.
|
|
2002
|
+
* @throws {RequiredError}
|
|
2003
|
+
*/
|
|
2004
|
+
deleteClickhouseAccount: async (orgName, clusterName, accountName, options = {}) => {
|
|
2005
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2006
|
+
(0, common_1.assertParamExists)('deleteClickhouseAccount', 'orgName', orgName);
|
|
2007
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2008
|
+
(0, common_1.assertParamExists)('deleteClickhouseAccount', 'clusterName', clusterName);
|
|
2009
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2010
|
+
(0, common_1.assertParamExists)('deleteClickhouseAccount', 'accountName', accountName);
|
|
2011
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
2012
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2013
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2014
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2015
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2016
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2017
|
+
let baseOptions;
|
|
2018
|
+
if (configuration) {
|
|
2019
|
+
baseOptions = configuration.baseOptions;
|
|
2020
|
+
}
|
|
2021
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2022
|
+
const localVarHeaderParameter = {};
|
|
2023
|
+
const localVarQueryParameter = {};
|
|
2024
|
+
// authentication BearerToken required
|
|
2025
|
+
// http bearer authentication required
|
|
2026
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2027
|
+
// authentication DigestAuth required
|
|
2028
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2029
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2030
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2031
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2032
|
+
return {
|
|
2033
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2034
|
+
options: localVarRequestOptions,
|
|
2035
|
+
};
|
|
2036
|
+
},
|
|
2037
|
+
/**
|
|
2038
|
+
*
|
|
2039
|
+
* @summary Delete a ClickHouse role
|
|
2040
|
+
* @param {string} orgName
|
|
2041
|
+
* @param {string} clusterName
|
|
2042
|
+
* @param {string} roleName
|
|
2043
|
+
* @param {*} [options] Override http request option.
|
|
2044
|
+
* @throws {RequiredError}
|
|
2045
|
+
*/
|
|
2046
|
+
deleteClickhouseRole: async (orgName, clusterName, roleName, options = {}) => {
|
|
2047
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2048
|
+
(0, common_1.assertParamExists)('deleteClickhouseRole', 'orgName', orgName);
|
|
2049
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2050
|
+
(0, common_1.assertParamExists)('deleteClickhouseRole', 'clusterName', clusterName);
|
|
2051
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2052
|
+
(0, common_1.assertParamExists)('deleteClickhouseRole', 'roleName', roleName);
|
|
2053
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2054
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2055
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2056
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2057
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2058
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2059
|
+
let baseOptions;
|
|
2060
|
+
if (configuration) {
|
|
2061
|
+
baseOptions = configuration.baseOptions;
|
|
2062
|
+
}
|
|
2063
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2064
|
+
const localVarHeaderParameter = {};
|
|
2065
|
+
const localVarQueryParameter = {};
|
|
2066
|
+
// authentication BearerToken required
|
|
2067
|
+
// http bearer authentication required
|
|
2068
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2069
|
+
// authentication DigestAuth required
|
|
2070
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2071
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2072
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2073
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2074
|
+
return {
|
|
2075
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2076
|
+
options: localVarRequestOptions,
|
|
2077
|
+
};
|
|
2078
|
+
},
|
|
1866
2079
|
/**
|
|
1867
2080
|
*
|
|
1868
2081
|
* @summary Delete cluster
|
|
@@ -4095,6 +4308,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4095
4308
|
options: localVarRequestOptions,
|
|
4096
4309
|
};
|
|
4097
4310
|
},
|
|
4311
|
+
/**
|
|
4312
|
+
*
|
|
4313
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
4314
|
+
* @param {string} orgName
|
|
4315
|
+
* @param {string} clusterName
|
|
4316
|
+
* @param {string} roleName
|
|
4317
|
+
* @param {*} [options] Override http request option.
|
|
4318
|
+
* @throws {RequiredError}
|
|
4319
|
+
*/
|
|
4320
|
+
getClickhouseRoleGrants: async (orgName, clusterName, roleName, options = {}) => {
|
|
4321
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4322
|
+
(0, common_1.assertParamExists)('getClickhouseRoleGrants', 'orgName', orgName);
|
|
4323
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4324
|
+
(0, common_1.assertParamExists)('getClickhouseRoleGrants', 'clusterName', clusterName);
|
|
4325
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
4326
|
+
(0, common_1.assertParamExists)('getClickhouseRoleGrants', 'roleName', roleName);
|
|
4327
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
4328
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4329
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4330
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
4331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4332
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4333
|
+
let baseOptions;
|
|
4334
|
+
if (configuration) {
|
|
4335
|
+
baseOptions = configuration.baseOptions;
|
|
4336
|
+
}
|
|
4337
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4338
|
+
const localVarHeaderParameter = {};
|
|
4339
|
+
const localVarQueryParameter = {};
|
|
4340
|
+
// authentication BearerToken required
|
|
4341
|
+
// http bearer authentication required
|
|
4342
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4343
|
+
// authentication DigestAuth required
|
|
4344
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4345
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4347
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4348
|
+
return {
|
|
4349
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4350
|
+
options: localVarRequestOptions,
|
|
4351
|
+
};
|
|
4352
|
+
},
|
|
4098
4353
|
/**
|
|
4099
4354
|
*
|
|
4100
4355
|
* @summary Get cluster details
|
|
@@ -6366,6 +6621,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6366
6621
|
options: localVarRequestOptions,
|
|
6367
6622
|
};
|
|
6368
6623
|
},
|
|
6624
|
+
/**
|
|
6625
|
+
*
|
|
6626
|
+
* @summary Grant privileges to a ClickHouse role
|
|
6627
|
+
* @param {string} orgName
|
|
6628
|
+
* @param {string} clusterName
|
|
6629
|
+
* @param {string} roleName
|
|
6630
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
6631
|
+
* @param {*} [options] Override http request option.
|
|
6632
|
+
* @throws {RequiredError}
|
|
6633
|
+
*/
|
|
6634
|
+
grantClickhouseRolePrivileges: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
6635
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6636
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'orgName', orgName);
|
|
6637
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6638
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'clusterName', clusterName);
|
|
6639
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
6640
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'roleName', roleName);
|
|
6641
|
+
// verify required parameter 'body' is not null or undefined
|
|
6642
|
+
(0, common_1.assertParamExists)('grantClickhouseRolePrivileges', 'body', body);
|
|
6643
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
6644
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6645
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6646
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
6647
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6648
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6649
|
+
let baseOptions;
|
|
6650
|
+
if (configuration) {
|
|
6651
|
+
baseOptions = configuration.baseOptions;
|
|
6652
|
+
}
|
|
6653
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6654
|
+
const localVarHeaderParameter = {};
|
|
6655
|
+
const localVarQueryParameter = {};
|
|
6656
|
+
// authentication BearerToken required
|
|
6657
|
+
// http bearer authentication required
|
|
6658
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6659
|
+
// authentication DigestAuth required
|
|
6660
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6661
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6662
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6663
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6664
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6665
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
6666
|
+
return {
|
|
6667
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6668
|
+
options: localVarRequestOptions,
|
|
6669
|
+
};
|
|
6670
|
+
},
|
|
6369
6671
|
/**
|
|
6370
6672
|
*
|
|
6371
6673
|
* @summary Horizontal scale cluster
|
|
@@ -6676,8 +6978,168 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6676
6978
|
},
|
|
6677
6979
|
/**
|
|
6678
6980
|
*
|
|
6679
|
-
* @summary List
|
|
6680
|
-
* @param {string} orgName
|
|
6981
|
+
* @summary List the roles granted to a ClickHouse account
|
|
6982
|
+
* @param {string} orgName
|
|
6983
|
+
* @param {string} clusterName
|
|
6984
|
+
* @param {string} accountName
|
|
6985
|
+
* @param {*} [options] Override http request option.
|
|
6986
|
+
* @throws {RequiredError}
|
|
6987
|
+
*/
|
|
6988
|
+
listClickhouseAccountRoles: async (orgName, clusterName, accountName, options = {}) => {
|
|
6989
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6990
|
+
(0, common_1.assertParamExists)('listClickhouseAccountRoles', 'orgName', orgName);
|
|
6991
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6992
|
+
(0, common_1.assertParamExists)('listClickhouseAccountRoles', 'clusterName', clusterName);
|
|
6993
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
6994
|
+
(0, common_1.assertParamExists)('listClickhouseAccountRoles', 'accountName', accountName);
|
|
6995
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
6996
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6997
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6998
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
6999
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7000
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7001
|
+
let baseOptions;
|
|
7002
|
+
if (configuration) {
|
|
7003
|
+
baseOptions = configuration.baseOptions;
|
|
7004
|
+
}
|
|
7005
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7006
|
+
const localVarHeaderParameter = {};
|
|
7007
|
+
const localVarQueryParameter = {};
|
|
7008
|
+
// authentication BearerToken required
|
|
7009
|
+
// http bearer authentication required
|
|
7010
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7011
|
+
// authentication DigestAuth required
|
|
7012
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7013
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7014
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7015
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7016
|
+
return {
|
|
7017
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7018
|
+
options: localVarRequestOptions,
|
|
7019
|
+
};
|
|
7020
|
+
},
|
|
7021
|
+
/**
|
|
7022
|
+
*
|
|
7023
|
+
* @summary List ClickHouse accounts
|
|
7024
|
+
* @param {string} orgName
|
|
7025
|
+
* @param {string} clusterName
|
|
7026
|
+
* @param {*} [options] Override http request option.
|
|
7027
|
+
* @throws {RequiredError}
|
|
7028
|
+
*/
|
|
7029
|
+
listClickhouseAccounts: async (orgName, clusterName, options = {}) => {
|
|
7030
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7031
|
+
(0, common_1.assertParamExists)('listClickhouseAccounts', 'orgName', orgName);
|
|
7032
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7033
|
+
(0, common_1.assertParamExists)('listClickhouseAccounts', 'clusterName', clusterName);
|
|
7034
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
7035
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7036
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7037
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7038
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7039
|
+
let baseOptions;
|
|
7040
|
+
if (configuration) {
|
|
7041
|
+
baseOptions = configuration.baseOptions;
|
|
7042
|
+
}
|
|
7043
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7044
|
+
const localVarHeaderParameter = {};
|
|
7045
|
+
const localVarQueryParameter = {};
|
|
7046
|
+
// authentication BearerToken required
|
|
7047
|
+
// http bearer authentication required
|
|
7048
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7049
|
+
// authentication DigestAuth required
|
|
7050
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7051
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7052
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7053
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7054
|
+
return {
|
|
7055
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7056
|
+
options: localVarRequestOptions,
|
|
7057
|
+
};
|
|
7058
|
+
},
|
|
7059
|
+
/**
|
|
7060
|
+
*
|
|
7061
|
+
* @summary List privileges supported by the ClickHouse server
|
|
7062
|
+
* @param {string} orgName
|
|
7063
|
+
* @param {string} clusterName
|
|
7064
|
+
* @param {*} [options] Override http request option.
|
|
7065
|
+
* @throws {RequiredError}
|
|
7066
|
+
*/
|
|
7067
|
+
listClickhousePrivileges: async (orgName, clusterName, options = {}) => {
|
|
7068
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7069
|
+
(0, common_1.assertParamExists)('listClickhousePrivileges', 'orgName', orgName);
|
|
7070
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7071
|
+
(0, common_1.assertParamExists)('listClickhousePrivileges', 'clusterName', clusterName);
|
|
7072
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/privileges`
|
|
7073
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7074
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7076
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7077
|
+
let baseOptions;
|
|
7078
|
+
if (configuration) {
|
|
7079
|
+
baseOptions = configuration.baseOptions;
|
|
7080
|
+
}
|
|
7081
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7082
|
+
const localVarHeaderParameter = {};
|
|
7083
|
+
const localVarQueryParameter = {};
|
|
7084
|
+
// authentication BearerToken required
|
|
7085
|
+
// http bearer authentication required
|
|
7086
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7087
|
+
// authentication DigestAuth required
|
|
7088
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7089
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7090
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7091
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7092
|
+
return {
|
|
7093
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7094
|
+
options: localVarRequestOptions,
|
|
7095
|
+
};
|
|
7096
|
+
},
|
|
7097
|
+
/**
|
|
7098
|
+
*
|
|
7099
|
+
* @summary List ClickHouse roles
|
|
7100
|
+
* @param {string} orgName
|
|
7101
|
+
* @param {string} clusterName
|
|
7102
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
7103
|
+
* @param {*} [options] Override http request option.
|
|
7104
|
+
* @throws {RequiredError}
|
|
7105
|
+
*/
|
|
7106
|
+
listClickhouseRoles: async (orgName, clusterName, forCreateUser, options = {}) => {
|
|
7107
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7108
|
+
(0, common_1.assertParamExists)('listClickhouseRoles', 'orgName', orgName);
|
|
7109
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7110
|
+
(0, common_1.assertParamExists)('listClickhouseRoles', 'clusterName', clusterName);
|
|
7111
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
7112
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7113
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7115
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7116
|
+
let baseOptions;
|
|
7117
|
+
if (configuration) {
|
|
7118
|
+
baseOptions = configuration.baseOptions;
|
|
7119
|
+
}
|
|
7120
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7121
|
+
const localVarHeaderParameter = {};
|
|
7122
|
+
const localVarQueryParameter = {};
|
|
7123
|
+
// authentication BearerToken required
|
|
7124
|
+
// http bearer authentication required
|
|
7125
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7126
|
+
// authentication DigestAuth required
|
|
7127
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7128
|
+
if (forCreateUser !== undefined) {
|
|
7129
|
+
localVarQueryParameter['forCreateUser'] = forCreateUser;
|
|
7130
|
+
}
|
|
7131
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7132
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7133
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7134
|
+
return {
|
|
7135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7136
|
+
options: localVarRequestOptions,
|
|
7137
|
+
};
|
|
7138
|
+
},
|
|
7139
|
+
/**
|
|
7140
|
+
*
|
|
7141
|
+
* @summary List clusters in the Org
|
|
7142
|
+
* @param {string} orgName name of the Org
|
|
6681
7143
|
* @param {string} [clusterDefinition] The clusterDefinition in the List request
|
|
6682
7144
|
* @param {string} [environmentName] Environment Type
|
|
6683
7145
|
* @param {EnvironmentType} [environmentType] Environment Type
|
|
@@ -9478,53 +9940,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9478
9940
|
options: localVarRequestOptions,
|
|
9479
9941
|
};
|
|
9480
9942
|
},
|
|
9481
|
-
/**
|
|
9482
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
9483
|
-
* @summary Put Milvus role
|
|
9484
|
-
* @param {string} orgName name of the Org
|
|
9485
|
-
* @param {string} clusterName name of the Cluster
|
|
9486
|
-
* @param {string} roleName name of the Milvus role
|
|
9487
|
-
* @param {MilvusRoleRequest} body
|
|
9488
|
-
* @param {*} [options] Override http request option.
|
|
9489
|
-
* @throws {RequiredError}
|
|
9490
|
-
*/
|
|
9491
|
-
putMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
9492
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
9493
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'orgName', orgName);
|
|
9494
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
9495
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'clusterName', clusterName);
|
|
9496
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
9497
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'roleName', roleName);
|
|
9498
|
-
// verify required parameter 'body' is not null or undefined
|
|
9499
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'body', body);
|
|
9500
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
9501
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9502
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9503
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
9504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9505
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9506
|
-
let baseOptions;
|
|
9507
|
-
if (configuration) {
|
|
9508
|
-
baseOptions = configuration.baseOptions;
|
|
9509
|
-
}
|
|
9510
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
9511
|
-
const localVarHeaderParameter = {};
|
|
9512
|
-
const localVarQueryParameter = {};
|
|
9513
|
-
// authentication BearerToken required
|
|
9514
|
-
// http bearer authentication required
|
|
9515
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9516
|
-
// authentication DigestAuth required
|
|
9517
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9518
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9519
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9520
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9521
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9522
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
9523
|
-
return {
|
|
9524
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9525
|
-
options: localVarRequestOptions,
|
|
9526
|
-
};
|
|
9527
|
-
},
|
|
9528
9943
|
/**
|
|
9529
9944
|
*
|
|
9530
9945
|
* @summary create a SQL query
|
|
@@ -11215,6 +11630,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
11215
11630
|
options: localVarRequestOptions,
|
|
11216
11631
|
};
|
|
11217
11632
|
},
|
|
11633
|
+
/**
|
|
11634
|
+
*
|
|
11635
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
11636
|
+
* @param {string} orgName
|
|
11637
|
+
* @param {string} clusterName
|
|
11638
|
+
* @param {string} roleName
|
|
11639
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
11640
|
+
* @param {*} [options] Override http request option.
|
|
11641
|
+
* @throws {RequiredError}
|
|
11642
|
+
*/
|
|
11643
|
+
revokeClickhouseRolePrivileges: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
11644
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11645
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'orgName', orgName);
|
|
11646
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11647
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'clusterName', clusterName);
|
|
11648
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
11649
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'roleName', roleName);
|
|
11650
|
+
// verify required parameter 'body' is not null or undefined
|
|
11651
|
+
(0, common_1.assertParamExists)('revokeClickhouseRolePrivileges', 'body', body);
|
|
11652
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}/privileges`
|
|
11653
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11654
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11655
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11656
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11657
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11658
|
+
let baseOptions;
|
|
11659
|
+
if (configuration) {
|
|
11660
|
+
baseOptions = configuration.baseOptions;
|
|
11661
|
+
}
|
|
11662
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
11663
|
+
const localVarHeaderParameter = {};
|
|
11664
|
+
const localVarQueryParameter = {};
|
|
11665
|
+
// authentication BearerToken required
|
|
11666
|
+
// http bearer authentication required
|
|
11667
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11668
|
+
// authentication DigestAuth required
|
|
11669
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
11670
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11671
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11672
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11673
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11674
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
11675
|
+
return {
|
|
11676
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11677
|
+
options: localVarRequestOptions,
|
|
11678
|
+
};
|
|
11679
|
+
},
|
|
11218
11680
|
/**
|
|
11219
11681
|
*
|
|
11220
11682
|
* @summary Set alert config
|
|
@@ -12143,6 +12605,100 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12143
12605
|
options: localVarRequestOptions,
|
|
12144
12606
|
};
|
|
12145
12607
|
},
|
|
12608
|
+
/**
|
|
12609
|
+
*
|
|
12610
|
+
* @summary Update a ClickHouse account password
|
|
12611
|
+
* @param {string} orgName
|
|
12612
|
+
* @param {string} clusterName
|
|
12613
|
+
* @param {string} accountName
|
|
12614
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
12615
|
+
* @param {*} [options] Override http request option.
|
|
12616
|
+
* @throws {RequiredError}
|
|
12617
|
+
*/
|
|
12618
|
+
updateClickhouseAccountPassword: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
12619
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12620
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'orgName', orgName);
|
|
12621
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12622
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'clusterName', clusterName);
|
|
12623
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12624
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'accountName', accountName);
|
|
12625
|
+
// verify required parameter 'body' is not null or undefined
|
|
12626
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountPassword', 'body', body);
|
|
12627
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
12628
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12629
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12630
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12631
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12632
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12633
|
+
let baseOptions;
|
|
12634
|
+
if (configuration) {
|
|
12635
|
+
baseOptions = configuration.baseOptions;
|
|
12636
|
+
}
|
|
12637
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
12638
|
+
const localVarHeaderParameter = {};
|
|
12639
|
+
const localVarQueryParameter = {};
|
|
12640
|
+
// authentication BearerToken required
|
|
12641
|
+
// http bearer authentication required
|
|
12642
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12643
|
+
// authentication DigestAuth required
|
|
12644
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12645
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12646
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12648
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12649
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
12650
|
+
return {
|
|
12651
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12652
|
+
options: localVarRequestOptions,
|
|
12653
|
+
};
|
|
12654
|
+
},
|
|
12655
|
+
/**
|
|
12656
|
+
*
|
|
12657
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
12658
|
+
* @param {string} orgName
|
|
12659
|
+
* @param {string} clusterName
|
|
12660
|
+
* @param {string} accountName
|
|
12661
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
12662
|
+
* @param {*} [options] Override http request option.
|
|
12663
|
+
* @throws {RequiredError}
|
|
12664
|
+
*/
|
|
12665
|
+
updateClickhouseAccountRoles: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
12666
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12667
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'orgName', orgName);
|
|
12668
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12669
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'clusterName', clusterName);
|
|
12670
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
12671
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'accountName', accountName);
|
|
12672
|
+
// verify required parameter 'body' is not null or undefined
|
|
12673
|
+
(0, common_1.assertParamExists)('updateClickhouseAccountRoles', 'body', body);
|
|
12674
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
12675
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12676
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12677
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12678
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12679
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12680
|
+
let baseOptions;
|
|
12681
|
+
if (configuration) {
|
|
12682
|
+
baseOptions = configuration.baseOptions;
|
|
12683
|
+
}
|
|
12684
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
12685
|
+
const localVarHeaderParameter = {};
|
|
12686
|
+
const localVarQueryParameter = {};
|
|
12687
|
+
// authentication BearerToken required
|
|
12688
|
+
// http bearer authentication required
|
|
12689
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12690
|
+
// authentication DigestAuth required
|
|
12691
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12692
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12693
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12694
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12695
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12696
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
12697
|
+
return {
|
|
12698
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12699
|
+
options: localVarRequestOptions,
|
|
12700
|
+
};
|
|
12701
|
+
},
|
|
12146
12702
|
/**
|
|
12147
12703
|
*
|
|
12148
12704
|
* @summary Update the cluster license
|
|
@@ -12649,6 +13205,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12649
13205
|
options: localVarRequestOptions,
|
|
12650
13206
|
};
|
|
12651
13207
|
},
|
|
13208
|
+
/**
|
|
13209
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
13210
|
+
* @summary Update Milvus role
|
|
13211
|
+
* @param {string} orgName name of the Org
|
|
13212
|
+
* @param {string} clusterName name of the Cluster
|
|
13213
|
+
* @param {string} roleName name of the Milvus role
|
|
13214
|
+
* @param {MilvusRoleRequest} body
|
|
13215
|
+
* @param {*} [options] Override http request option.
|
|
13216
|
+
* @throws {RequiredError}
|
|
13217
|
+
*/
|
|
13218
|
+
updateMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
13219
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13220
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'orgName', orgName);
|
|
13221
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13222
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'clusterName', clusterName);
|
|
13223
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
13224
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'roleName', roleName);
|
|
13225
|
+
// verify required parameter 'body' is not null or undefined
|
|
13226
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'body', body);
|
|
13227
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
13228
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13229
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13230
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
13231
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13232
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13233
|
+
let baseOptions;
|
|
13234
|
+
if (configuration) {
|
|
13235
|
+
baseOptions = configuration.baseOptions;
|
|
13236
|
+
}
|
|
13237
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
13238
|
+
const localVarHeaderParameter = {};
|
|
13239
|
+
const localVarQueryParameter = {};
|
|
13240
|
+
// authentication BearerToken required
|
|
13241
|
+
// http bearer authentication required
|
|
13242
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13243
|
+
// authentication DigestAuth required
|
|
13244
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13245
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13246
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13249
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
13250
|
+
return {
|
|
13251
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13252
|
+
options: localVarRequestOptions,
|
|
13253
|
+
};
|
|
13254
|
+
},
|
|
12652
13255
|
/**
|
|
12653
13256
|
*
|
|
12654
13257
|
* @summary update mssql account compatible with windows account
|
|
@@ -12696,19 +13299,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12696
13299
|
* @param {string} orgName name of the Org
|
|
12697
13300
|
* @param {string} clusterName name of the Cluster
|
|
12698
13301
|
* @param {string} accountName name of the Account
|
|
12699
|
-
* @param {
|
|
13302
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
12700
13303
|
* @param {*} [options] Override http request option.
|
|
12701
13304
|
* @throws {RequiredError}
|
|
12702
13305
|
*/
|
|
12703
|
-
updateRabbitAccountPassword: async (orgName, clusterName, accountName,
|
|
13306
|
+
updateRabbitAccountPassword: async (orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options = {}) => {
|
|
12704
13307
|
// verify required parameter 'orgName' is not null or undefined
|
|
12705
13308
|
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'orgName', orgName);
|
|
12706
13309
|
// verify required parameter 'clusterName' is not null or undefined
|
|
12707
13310
|
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'clusterName', clusterName);
|
|
12708
13311
|
// verify required parameter 'accountName' is not null or undefined
|
|
12709
13312
|
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'accountName', accountName);
|
|
12710
|
-
// verify required parameter '
|
|
12711
|
-
(0, common_1.assertParamExists)('updateRabbitAccountPassword', '
|
|
13313
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
13314
|
+
(0, common_1.assertParamExists)('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest);
|
|
12712
13315
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
12713
13316
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12714
13317
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -12731,7 +13334,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12731
13334
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12732
13335
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12733
13336
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12734
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13337
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration);
|
|
12735
13338
|
return {
|
|
12736
13339
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12737
13340
|
options: localVarRequestOptions,
|
|
@@ -13522,6 +14125,38 @@ const SharedApiFp = function (configuration) {
|
|
|
13522
14125
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createBackupSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13523
14126
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13524
14127
|
},
|
|
14128
|
+
/**
|
|
14129
|
+
*
|
|
14130
|
+
* @summary Create a ClickHouse account with optional roles
|
|
14131
|
+
* @param {string} orgName
|
|
14132
|
+
* @param {string} clusterName
|
|
14133
|
+
* @param {CreateClickhouseAccountRequest} body
|
|
14134
|
+
* @param {*} [options] Override http request option.
|
|
14135
|
+
* @throws {RequiredError}
|
|
14136
|
+
*/
|
|
14137
|
+
async createClickhouseAccount(orgName, clusterName, body, options) {
|
|
14138
|
+
var _a, _b, _c;
|
|
14139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseAccount(orgName, clusterName, body, options);
|
|
14140
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14141
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createClickhouseAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14142
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14143
|
+
},
|
|
14144
|
+
/**
|
|
14145
|
+
*
|
|
14146
|
+
* @summary Create a ClickHouse role with privileges
|
|
14147
|
+
* @param {string} orgName
|
|
14148
|
+
* @param {string} clusterName
|
|
14149
|
+
* @param {ListClickhouseAccountRoles200Response} body
|
|
14150
|
+
* @param {*} [options] Override http request option.
|
|
14151
|
+
* @throws {RequiredError}
|
|
14152
|
+
*/
|
|
14153
|
+
async createClickhouseRole(orgName, clusterName, body, options) {
|
|
14154
|
+
var _a, _b, _c;
|
|
14155
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClickhouseRole(orgName, clusterName, body, options);
|
|
14156
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14157
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createClickhouseRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14158
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14159
|
+
},
|
|
13525
14160
|
/**
|
|
13526
14161
|
*
|
|
13527
14162
|
* @summary Create new cluster
|
|
@@ -13667,6 +14302,22 @@ const SharedApiFp = function (configuration) {
|
|
|
13667
14302
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createKafkaTopic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13668
14303
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13669
14304
|
},
|
|
14305
|
+
/**
|
|
14306
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
14307
|
+
* @summary Create Milvus role
|
|
14308
|
+
* @param {string} orgName name of the Org
|
|
14309
|
+
* @param {string} clusterName name of the Cluster
|
|
14310
|
+
* @param {MilvusRoleCreateRequest} body
|
|
14311
|
+
* @param {*} [options] Override http request option.
|
|
14312
|
+
* @throws {RequiredError}
|
|
14313
|
+
*/
|
|
14314
|
+
async createMilvusRole(orgName, clusterName, body, options) {
|
|
14315
|
+
var _a, _b, _c;
|
|
14316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
14317
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14318
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14319
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14320
|
+
},
|
|
13670
14321
|
/**
|
|
13671
14322
|
* create an account in mongodb
|
|
13672
14323
|
* @summary Create mongodb account
|
|
@@ -13950,6 +14601,38 @@ const SharedApiFp = function (configuration) {
|
|
|
13950
14601
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteBackupSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13951
14602
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13952
14603
|
},
|
|
14604
|
+
/**
|
|
14605
|
+
*
|
|
14606
|
+
* @summary Delete a ClickHouse account
|
|
14607
|
+
* @param {string} orgName
|
|
14608
|
+
* @param {string} clusterName
|
|
14609
|
+
* @param {string} accountName
|
|
14610
|
+
* @param {*} [options] Override http request option.
|
|
14611
|
+
* @throws {RequiredError}
|
|
14612
|
+
*/
|
|
14613
|
+
async deleteClickhouseAccount(orgName, clusterName, accountName, options) {
|
|
14614
|
+
var _a, _b, _c;
|
|
14615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseAccount(orgName, clusterName, accountName, options);
|
|
14616
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14617
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClickhouseAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14618
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14619
|
+
},
|
|
14620
|
+
/**
|
|
14621
|
+
*
|
|
14622
|
+
* @summary Delete a ClickHouse role
|
|
14623
|
+
* @param {string} orgName
|
|
14624
|
+
* @param {string} clusterName
|
|
14625
|
+
* @param {string} roleName
|
|
14626
|
+
* @param {*} [options] Override http request option.
|
|
14627
|
+
* @throws {RequiredError}
|
|
14628
|
+
*/
|
|
14629
|
+
async deleteClickhouseRole(orgName, clusterName, roleName, options) {
|
|
14630
|
+
var _a, _b, _c;
|
|
14631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClickhouseRole(orgName, clusterName, roleName, options);
|
|
14632
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14633
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClickhouseRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14634
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14635
|
+
},
|
|
13953
14636
|
/**
|
|
13954
14637
|
*
|
|
13955
14638
|
* @summary Delete cluster
|
|
@@ -14766,6 +15449,22 @@ const SharedApiFp = function (configuration) {
|
|
|
14766
15449
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getBackupMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14767
15450
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14768
15451
|
},
|
|
15452
|
+
/**
|
|
15453
|
+
*
|
|
15454
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
15455
|
+
* @param {string} orgName
|
|
15456
|
+
* @param {string} clusterName
|
|
15457
|
+
* @param {string} roleName
|
|
15458
|
+
* @param {*} [options] Override http request option.
|
|
15459
|
+
* @throws {RequiredError}
|
|
15460
|
+
*/
|
|
15461
|
+
async getClickhouseRoleGrants(orgName, clusterName, roleName, options) {
|
|
15462
|
+
var _a, _b, _c;
|
|
15463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClickhouseRoleGrants(orgName, clusterName, roleName, options);
|
|
15464
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15465
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClickhouseRoleGrants']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15466
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15467
|
+
},
|
|
14769
15468
|
/**
|
|
14770
15469
|
*
|
|
14771
15470
|
* @summary Get cluster details
|
|
@@ -15596,6 +16295,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15596
16295
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getTenant']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15597
16296
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15598
16297
|
},
|
|
16298
|
+
/**
|
|
16299
|
+
*
|
|
16300
|
+
* @summary Grant privileges to a ClickHouse role
|
|
16301
|
+
* @param {string} orgName
|
|
16302
|
+
* @param {string} clusterName
|
|
16303
|
+
* @param {string} roleName
|
|
16304
|
+
* @param {ListClickhouseAccountRoles200ResponsePrivilegesInner} body
|
|
16305
|
+
* @param {*} [options] Override http request option.
|
|
16306
|
+
* @throws {RequiredError}
|
|
16307
|
+
*/
|
|
16308
|
+
async grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options) {
|
|
16309
|
+
var _a, _b, _c;
|
|
16310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
16311
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16312
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.grantClickhouseRolePrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16313
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16314
|
+
},
|
|
15599
16315
|
/**
|
|
15600
16316
|
*
|
|
15601
16317
|
* @summary Horizontal scale cluster
|
|
@@ -15710,6 +16426,68 @@ const SharedApiFp = function (configuration) {
|
|
|
15710
16426
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listBackupSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15711
16427
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15712
16428
|
},
|
|
16429
|
+
/**
|
|
16430
|
+
*
|
|
16431
|
+
* @summary List the roles granted to a ClickHouse account
|
|
16432
|
+
* @param {string} orgName
|
|
16433
|
+
* @param {string} clusterName
|
|
16434
|
+
* @param {string} accountName
|
|
16435
|
+
* @param {*} [options] Override http request option.
|
|
16436
|
+
* @throws {RequiredError}
|
|
16437
|
+
*/
|
|
16438
|
+
async listClickhouseAccountRoles(orgName, clusterName, accountName, options) {
|
|
16439
|
+
var _a, _b, _c;
|
|
16440
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccountRoles(orgName, clusterName, accountName, options);
|
|
16441
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16442
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhouseAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16443
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16444
|
+
},
|
|
16445
|
+
/**
|
|
16446
|
+
*
|
|
16447
|
+
* @summary List ClickHouse accounts
|
|
16448
|
+
* @param {string} orgName
|
|
16449
|
+
* @param {string} clusterName
|
|
16450
|
+
* @param {*} [options] Override http request option.
|
|
16451
|
+
* @throws {RequiredError}
|
|
16452
|
+
*/
|
|
16453
|
+
async listClickhouseAccounts(orgName, clusterName, options) {
|
|
16454
|
+
var _a, _b, _c;
|
|
16455
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseAccounts(orgName, clusterName, options);
|
|
16456
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16457
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhouseAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16458
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16459
|
+
},
|
|
16460
|
+
/**
|
|
16461
|
+
*
|
|
16462
|
+
* @summary List privileges supported by the ClickHouse server
|
|
16463
|
+
* @param {string} orgName
|
|
16464
|
+
* @param {string} clusterName
|
|
16465
|
+
* @param {*} [options] Override http request option.
|
|
16466
|
+
* @throws {RequiredError}
|
|
16467
|
+
*/
|
|
16468
|
+
async listClickhousePrivileges(orgName, clusterName, options) {
|
|
16469
|
+
var _a, _b, _c;
|
|
16470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhousePrivileges(orgName, clusterName, options);
|
|
16471
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16472
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhousePrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16473
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16474
|
+
},
|
|
16475
|
+
/**
|
|
16476
|
+
*
|
|
16477
|
+
* @summary List ClickHouse roles
|
|
16478
|
+
* @param {string} orgName
|
|
16479
|
+
* @param {string} clusterName
|
|
16480
|
+
* @param {boolean} [forCreateUser] Whether to include built-in privilege roles for creating an account.
|
|
16481
|
+
* @param {*} [options] Override http request option.
|
|
16482
|
+
* @throws {RequiredError}
|
|
16483
|
+
*/
|
|
16484
|
+
async listClickhouseRoles(orgName, clusterName, forCreateUser, options) {
|
|
16485
|
+
var _a, _b, _c;
|
|
16486
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClickhouseRoles(orgName, clusterName, forCreateUser, options);
|
|
16487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16488
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClickhouseRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16489
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16490
|
+
},
|
|
15713
16491
|
/**
|
|
15714
16492
|
*
|
|
15715
16493
|
* @summary List clusters in the Org
|
|
@@ -16753,36 +17531,19 @@ const SharedApiFp = function (configuration) {
|
|
|
16753
17531
|
},
|
|
16754
17532
|
/**
|
|
16755
17533
|
*
|
|
16756
|
-
* @summary Create or update Elasticsearch security user
|
|
16757
|
-
* @param {string} orgName
|
|
16758
|
-
* @param {string} clusterName
|
|
16759
|
-
* @param {string} username
|
|
16760
|
-
* @param {ESPutSecurityUserRequest} body
|
|
16761
|
-
* @param {*} [options] Override http request option.
|
|
16762
|
-
* @throws {RequiredError}
|
|
16763
|
-
*/
|
|
16764
|
-
async putElasticsearchSecurityUser(orgName, clusterName, username, body, options) {
|
|
16765
|
-
var _a, _b, _c;
|
|
16766
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
|
|
16767
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16768
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16769
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16770
|
-
},
|
|
16771
|
-
/**
|
|
16772
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
16773
|
-
* @summary Put Milvus role
|
|
16774
|
-
* @param {string} orgName name of the Org
|
|
16775
|
-
* @param {string} clusterName name of the Cluster
|
|
16776
|
-
* @param {string} roleName name of the Milvus role
|
|
16777
|
-
* @param {MilvusRoleRequest} body
|
|
17534
|
+
* @summary Create or update Elasticsearch security user
|
|
17535
|
+
* @param {string} orgName
|
|
17536
|
+
* @param {string} clusterName
|
|
17537
|
+
* @param {string} username
|
|
17538
|
+
* @param {ESPutSecurityUserRequest} body
|
|
16778
17539
|
* @param {*} [options] Override http request option.
|
|
16779
17540
|
* @throws {RequiredError}
|
|
16780
17541
|
*/
|
|
16781
|
-
async
|
|
17542
|
+
async putElasticsearchSecurityUser(orgName, clusterName, username, body, options) {
|
|
16782
17543
|
var _a, _b, _c;
|
|
16783
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putElasticsearchSecurityUser(orgName, clusterName, username, body, options);
|
|
16784
17545
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16785
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.
|
|
17546
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16786
17547
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16787
17548
|
},
|
|
16788
17549
|
/**
|
|
@@ -17333,6 +18094,23 @@ const SharedApiFp = function (configuration) {
|
|
|
17333
18094
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.restoreRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17334
18095
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17335
18096
|
},
|
|
18097
|
+
/**
|
|
18098
|
+
*
|
|
18099
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
18100
|
+
* @param {string} orgName
|
|
18101
|
+
* @param {string} clusterName
|
|
18102
|
+
* @param {string} roleName
|
|
18103
|
+
* @param {RevokeClickhouseRolePrivilegesRequest} body
|
|
18104
|
+
* @param {*} [options] Override http request option.
|
|
18105
|
+
* @throws {RequiredError}
|
|
18106
|
+
*/
|
|
18107
|
+
async revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options) {
|
|
18108
|
+
var _a, _b, _c;
|
|
18109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.revokeClickhouseRolePrivileges(orgName, clusterName, roleName, body, options);
|
|
18110
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18111
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.revokeClickhouseRolePrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18112
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18113
|
+
},
|
|
17336
18114
|
/**
|
|
17337
18115
|
*
|
|
17338
18116
|
* @summary Set alert config
|
|
@@ -17678,6 +18456,40 @@ const SharedApiFp = function (configuration) {
|
|
|
17678
18456
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateBackupSchedule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17679
18457
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17680
18458
|
},
|
|
18459
|
+
/**
|
|
18460
|
+
*
|
|
18461
|
+
* @summary Update a ClickHouse account password
|
|
18462
|
+
* @param {string} orgName
|
|
18463
|
+
* @param {string} clusterName
|
|
18464
|
+
* @param {string} accountName
|
|
18465
|
+
* @param {UpdateClickhouseAccountPasswordRequest} body
|
|
18466
|
+
* @param {*} [options] Override http request option.
|
|
18467
|
+
* @throws {RequiredError}
|
|
18468
|
+
*/
|
|
18469
|
+
async updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options) {
|
|
18470
|
+
var _a, _b, _c;
|
|
18471
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountPassword(orgName, clusterName, accountName, body, options);
|
|
18472
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18473
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateClickhouseAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18474
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18475
|
+
},
|
|
18476
|
+
/**
|
|
18477
|
+
*
|
|
18478
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
18479
|
+
* @param {string} orgName
|
|
18480
|
+
* @param {string} clusterName
|
|
18481
|
+
* @param {string} accountName
|
|
18482
|
+
* @param {UpdateClickhouseAccountRolesRequest} body
|
|
18483
|
+
* @param {*} [options] Override http request option.
|
|
18484
|
+
* @throws {RequiredError}
|
|
18485
|
+
*/
|
|
18486
|
+
async updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options) {
|
|
18487
|
+
var _a, _b, _c;
|
|
18488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClickhouseAccountRoles(orgName, clusterName, accountName, body, options);
|
|
18489
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18490
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateClickhouseAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18491
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18492
|
+
},
|
|
17681
18493
|
/**
|
|
17682
18494
|
*
|
|
17683
18495
|
* @summary Update the cluster license
|
|
@@ -17863,6 +18675,23 @@ const SharedApiFp = function (configuration) {
|
|
|
17863
18675
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17864
18676
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17865
18677
|
},
|
|
18678
|
+
/**
|
|
18679
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
18680
|
+
* @summary Update Milvus role
|
|
18681
|
+
* @param {string} orgName name of the Org
|
|
18682
|
+
* @param {string} clusterName name of the Cluster
|
|
18683
|
+
* @param {string} roleName name of the Milvus role
|
|
18684
|
+
* @param {MilvusRoleRequest} body
|
|
18685
|
+
* @param {*} [options] Override http request option.
|
|
18686
|
+
* @throws {RequiredError}
|
|
18687
|
+
*/
|
|
18688
|
+
async updateMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
18689
|
+
var _a, _b, _c;
|
|
18690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
18691
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18692
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18693
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18694
|
+
},
|
|
17866
18695
|
/**
|
|
17867
18696
|
*
|
|
17868
18697
|
* @summary update mssql account compatible with windows account
|
|
@@ -17885,13 +18714,13 @@ const SharedApiFp = function (configuration) {
|
|
|
17885
18714
|
* @param {string} orgName name of the Org
|
|
17886
18715
|
* @param {string} clusterName name of the Cluster
|
|
17887
18716
|
* @param {string} accountName name of the Account
|
|
17888
|
-
* @param {
|
|
18717
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
17889
18718
|
* @param {*} [options] Override http request option.
|
|
17890
18719
|
* @throws {RequiredError}
|
|
17891
18720
|
*/
|
|
17892
|
-
async updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
18721
|
+
async updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options) {
|
|
17893
18722
|
var _a, _b, _c;
|
|
17894
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
18723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
17895
18724
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17896
18725
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRabbitAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17897
18726
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18233,6 +19062,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18233
19062
|
createBackupSchedule(requestParameters, options) {
|
|
18234
19063
|
return localVarFp.createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18235
19064
|
},
|
|
19065
|
+
/**
|
|
19066
|
+
*
|
|
19067
|
+
* @summary Create a ClickHouse account with optional roles
|
|
19068
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
19069
|
+
* @param {*} [options] Override http request option.
|
|
19070
|
+
* @throws {RequiredError}
|
|
19071
|
+
*/
|
|
19072
|
+
createClickhouseAccount(requestParameters, options) {
|
|
19073
|
+
return localVarFp.createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19074
|
+
},
|
|
19075
|
+
/**
|
|
19076
|
+
*
|
|
19077
|
+
* @summary Create a ClickHouse role with privileges
|
|
19078
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
19079
|
+
* @param {*} [options] Override http request option.
|
|
19080
|
+
* @throws {RequiredError}
|
|
19081
|
+
*/
|
|
19082
|
+
createClickhouseRole(requestParameters, options) {
|
|
19083
|
+
return localVarFp.createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19084
|
+
},
|
|
18236
19085
|
/**
|
|
18237
19086
|
*
|
|
18238
19087
|
* @summary Create new cluster
|
|
@@ -18323,6 +19172,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18323
19172
|
createKafkaTopic(requestParameters, options) {
|
|
18324
19173
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
18325
19174
|
},
|
|
19175
|
+
/**
|
|
19176
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
19177
|
+
* @summary Create Milvus role
|
|
19178
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
19179
|
+
* @param {*} [options] Override http request option.
|
|
19180
|
+
* @throws {RequiredError}
|
|
19181
|
+
*/
|
|
19182
|
+
createMilvusRole(requestParameters, options) {
|
|
19183
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19184
|
+
},
|
|
18326
19185
|
/**
|
|
18327
19186
|
* create an account in mongodb
|
|
18328
19187
|
* @summary Create mongodb account
|
|
@@ -18503,6 +19362,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18503
19362
|
deleteBackupSchedule(requestParameters, options) {
|
|
18504
19363
|
return localVarFp.deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(axios, basePath));
|
|
18505
19364
|
},
|
|
19365
|
+
/**
|
|
19366
|
+
*
|
|
19367
|
+
* @summary Delete a ClickHouse account
|
|
19368
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
19369
|
+
* @param {*} [options] Override http request option.
|
|
19370
|
+
* @throws {RequiredError}
|
|
19371
|
+
*/
|
|
19372
|
+
deleteClickhouseAccount(requestParameters, options) {
|
|
19373
|
+
return localVarFp.deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
19374
|
+
},
|
|
19375
|
+
/**
|
|
19376
|
+
*
|
|
19377
|
+
* @summary Delete a ClickHouse role
|
|
19378
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
19379
|
+
* @param {*} [options] Override http request option.
|
|
19380
|
+
* @throws {RequiredError}
|
|
19381
|
+
*/
|
|
19382
|
+
deleteClickhouseRole(requestParameters, options) {
|
|
19383
|
+
return localVarFp.deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19384
|
+
},
|
|
18506
19385
|
/**
|
|
18507
19386
|
*
|
|
18508
19387
|
* @summary Delete cluster
|
|
@@ -18983,6 +19862,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18983
19862
|
getBackupMethod(requestParameters, options) {
|
|
18984
19863
|
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
18985
19864
|
},
|
|
19865
|
+
/**
|
|
19866
|
+
*
|
|
19867
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
19868
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
19869
|
+
* @param {*} [options] Override http request option.
|
|
19870
|
+
* @throws {RequiredError}
|
|
19871
|
+
*/
|
|
19872
|
+
getClickhouseRoleGrants(requestParameters, options) {
|
|
19873
|
+
return localVarFp.getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19874
|
+
},
|
|
18986
19875
|
/**
|
|
18987
19876
|
*
|
|
18988
19877
|
* @summary Get cluster details
|
|
@@ -19472,6 +20361,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19472
20361
|
getTenant(requestParameters, options) {
|
|
19473
20362
|
return localVarFp.getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(axios, basePath));
|
|
19474
20363
|
},
|
|
20364
|
+
/**
|
|
20365
|
+
*
|
|
20366
|
+
* @summary Grant privileges to a ClickHouse role
|
|
20367
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
20368
|
+
* @param {*} [options] Override http request option.
|
|
20369
|
+
* @throws {RequiredError}
|
|
20370
|
+
*/
|
|
20371
|
+
grantClickhouseRolePrivileges(requestParameters, options) {
|
|
20372
|
+
return localVarFp.grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20373
|
+
},
|
|
19475
20374
|
/**
|
|
19476
20375
|
*
|
|
19477
20376
|
* @summary Horizontal scale cluster
|
|
@@ -19542,6 +20441,46 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19542
20441
|
listBackupSchedules(requestParameters, options) {
|
|
19543
20442
|
return localVarFp.listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(axios, basePath));
|
|
19544
20443
|
},
|
|
20444
|
+
/**
|
|
20445
|
+
*
|
|
20446
|
+
* @summary List the roles granted to a ClickHouse account
|
|
20447
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
20448
|
+
* @param {*} [options] Override http request option.
|
|
20449
|
+
* @throws {RequiredError}
|
|
20450
|
+
*/
|
|
20451
|
+
listClickhouseAccountRoles(requestParameters, options) {
|
|
20452
|
+
return localVarFp.listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20453
|
+
},
|
|
20454
|
+
/**
|
|
20455
|
+
*
|
|
20456
|
+
* @summary List ClickHouse accounts
|
|
20457
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
20458
|
+
* @param {*} [options] Override http request option.
|
|
20459
|
+
* @throws {RequiredError}
|
|
20460
|
+
*/
|
|
20461
|
+
listClickhouseAccounts(requestParameters, options) {
|
|
20462
|
+
return localVarFp.listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20463
|
+
},
|
|
20464
|
+
/**
|
|
20465
|
+
*
|
|
20466
|
+
* @summary List privileges supported by the ClickHouse server
|
|
20467
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
20468
|
+
* @param {*} [options] Override http request option.
|
|
20469
|
+
* @throws {RequiredError}
|
|
20470
|
+
*/
|
|
20471
|
+
listClickhousePrivileges(requestParameters, options) {
|
|
20472
|
+
return localVarFp.listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20473
|
+
},
|
|
20474
|
+
/**
|
|
20475
|
+
*
|
|
20476
|
+
* @summary List ClickHouse roles
|
|
20477
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
20478
|
+
* @param {*} [options] Override http request option.
|
|
20479
|
+
* @throws {RequiredError}
|
|
20480
|
+
*/
|
|
20481
|
+
listClickhouseRoles(requestParameters, options) {
|
|
20482
|
+
return localVarFp.listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(axios, basePath));
|
|
20483
|
+
},
|
|
19545
20484
|
/**
|
|
19546
20485
|
*
|
|
19547
20486
|
* @summary List clusters in the Org
|
|
@@ -20200,16 +21139,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20200
21139
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
20201
21140
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20202
21141
|
},
|
|
20203
|
-
/**
|
|
20204
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
20205
|
-
* @summary Put Milvus role
|
|
20206
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
20207
|
-
* @param {*} [options] Override http request option.
|
|
20208
|
-
* @throws {RequiredError}
|
|
20209
|
-
*/
|
|
20210
|
-
putMilvusRole(requestParameters, options) {
|
|
20211
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20212
|
-
},
|
|
20213
21142
|
/**
|
|
20214
21143
|
*
|
|
20215
21144
|
* @summary create a SQL query
|
|
@@ -20469,6 +21398,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20469
21398
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
20470
21399
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20471
21400
|
},
|
|
21401
|
+
/**
|
|
21402
|
+
*
|
|
21403
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
21404
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
21405
|
+
* @param {*} [options] Override http request option.
|
|
21406
|
+
* @throws {RequiredError}
|
|
21407
|
+
*/
|
|
21408
|
+
revokeClickhouseRolePrivileges(requestParameters, options) {
|
|
21409
|
+
return localVarFp.revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21410
|
+
},
|
|
20472
21411
|
/**
|
|
20473
21412
|
*
|
|
20474
21413
|
* @summary Set alert config
|
|
@@ -20679,6 +21618,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20679
21618
|
updateBackupSchedule(requestParameters, options) {
|
|
20680
21619
|
return localVarFp.updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20681
21620
|
},
|
|
21621
|
+
/**
|
|
21622
|
+
*
|
|
21623
|
+
* @summary Update a ClickHouse account password
|
|
21624
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
21625
|
+
* @param {*} [options] Override http request option.
|
|
21626
|
+
* @throws {RequiredError}
|
|
21627
|
+
*/
|
|
21628
|
+
updateClickhouseAccountPassword(requestParameters, options) {
|
|
21629
|
+
return localVarFp.updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21630
|
+
},
|
|
21631
|
+
/**
|
|
21632
|
+
*
|
|
21633
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
21634
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
21635
|
+
* @param {*} [options] Override http request option.
|
|
21636
|
+
* @throws {RequiredError}
|
|
21637
|
+
*/
|
|
21638
|
+
updateClickhouseAccountRoles(requestParameters, options) {
|
|
21639
|
+
return localVarFp.updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21640
|
+
},
|
|
20682
21641
|
/**
|
|
20683
21642
|
*
|
|
20684
21643
|
* @summary Update the cluster license
|
|
@@ -20789,6 +21748,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20789
21748
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
20790
21749
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20791
21750
|
},
|
|
21751
|
+
/**
|
|
21752
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21753
|
+
* @summary Update Milvus role
|
|
21754
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
21755
|
+
* @param {*} [options] Override http request option.
|
|
21756
|
+
* @throws {RequiredError}
|
|
21757
|
+
*/
|
|
21758
|
+
updateMilvusRole(requestParameters, options) {
|
|
21759
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21760
|
+
},
|
|
20792
21761
|
/**
|
|
20793
21762
|
*
|
|
20794
21763
|
* @summary update mssql account compatible with windows account
|
|
@@ -20807,7 +21776,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20807
21776
|
* @throws {RequiredError}
|
|
20808
21777
|
*/
|
|
20809
21778
|
updateRabbitAccountPassword(requestParameters, options) {
|
|
20810
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
21779
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
20811
21780
|
},
|
|
20812
21781
|
/**
|
|
20813
21782
|
* Update a RabbitMQ account privileges
|
|
@@ -21082,6 +22051,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21082
22051
|
createBackupSchedule(requestParameters, options) {
|
|
21083
22052
|
return (0, exports.SharedApiFp)(this.configuration).createBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
21084
22053
|
}
|
|
22054
|
+
/**
|
|
22055
|
+
*
|
|
22056
|
+
* @summary Create a ClickHouse account with optional roles
|
|
22057
|
+
* @param {SharedApiCreateClickhouseAccountRequest} requestParameters Request parameters.
|
|
22058
|
+
* @param {*} [options] Override http request option.
|
|
22059
|
+
* @throws {RequiredError}
|
|
22060
|
+
* @memberof SharedApi
|
|
22061
|
+
*/
|
|
22062
|
+
createClickhouseAccount(requestParameters, options) {
|
|
22063
|
+
return (0, exports.SharedApiFp)(this.configuration).createClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22064
|
+
}
|
|
22065
|
+
/**
|
|
22066
|
+
*
|
|
22067
|
+
* @summary Create a ClickHouse role with privileges
|
|
22068
|
+
* @param {SharedApiCreateClickhouseRoleRequest} requestParameters Request parameters.
|
|
22069
|
+
* @param {*} [options] Override http request option.
|
|
22070
|
+
* @throws {RequiredError}
|
|
22071
|
+
* @memberof SharedApi
|
|
22072
|
+
*/
|
|
22073
|
+
createClickhouseRole(requestParameters, options) {
|
|
22074
|
+
return (0, exports.SharedApiFp)(this.configuration).createClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22075
|
+
}
|
|
21085
22076
|
/**
|
|
21086
22077
|
*
|
|
21087
22078
|
* @summary Create new cluster
|
|
@@ -21181,6 +22172,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21181
22172
|
createKafkaTopic(requestParameters, options) {
|
|
21182
22173
|
return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21183
22174
|
}
|
|
22175
|
+
/**
|
|
22176
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
22177
|
+
* @summary Create Milvus role
|
|
22178
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
22179
|
+
* @param {*} [options] Override http request option.
|
|
22180
|
+
* @throws {RequiredError}
|
|
22181
|
+
* @memberof SharedApi
|
|
22182
|
+
*/
|
|
22183
|
+
createMilvusRole(requestParameters, options) {
|
|
22184
|
+
return (0, exports.SharedApiFp)(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22185
|
+
}
|
|
21184
22186
|
/**
|
|
21185
22187
|
* create an account in mongodb
|
|
21186
22188
|
* @summary Create mongodb account
|
|
@@ -21379,6 +22381,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21379
22381
|
deleteBackupSchedule(requestParameters, options) {
|
|
21380
22382
|
return (0, exports.SharedApiFp)(this.configuration).deleteBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, options).then((request) => request(this.axios, this.basePath));
|
|
21381
22383
|
}
|
|
22384
|
+
/**
|
|
22385
|
+
*
|
|
22386
|
+
* @summary Delete a ClickHouse account
|
|
22387
|
+
* @param {SharedApiDeleteClickhouseAccountRequest} requestParameters Request parameters.
|
|
22388
|
+
* @param {*} [options] Override http request option.
|
|
22389
|
+
* @throws {RequiredError}
|
|
22390
|
+
* @memberof SharedApi
|
|
22391
|
+
*/
|
|
22392
|
+
deleteClickhouseAccount(requestParameters, options) {
|
|
22393
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClickhouseAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
22394
|
+
}
|
|
22395
|
+
/**
|
|
22396
|
+
*
|
|
22397
|
+
* @summary Delete a ClickHouse role
|
|
22398
|
+
* @param {SharedApiDeleteClickhouseRoleRequest} requestParameters Request parameters.
|
|
22399
|
+
* @param {*} [options] Override http request option.
|
|
22400
|
+
* @throws {RequiredError}
|
|
22401
|
+
* @memberof SharedApi
|
|
22402
|
+
*/
|
|
22403
|
+
deleteClickhouseRole(requestParameters, options) {
|
|
22404
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClickhouseRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
22405
|
+
}
|
|
21382
22406
|
/**
|
|
21383
22407
|
*
|
|
21384
22408
|
* @summary Delete cluster
|
|
@@ -21907,6 +22931,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21907
22931
|
getBackupMethod(requestParameters, options) {
|
|
21908
22932
|
return (0, exports.SharedApiFp)(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
21909
22933
|
}
|
|
22934
|
+
/**
|
|
22935
|
+
*
|
|
22936
|
+
* @summary Get the grants (privileges) of a ClickHouse role
|
|
22937
|
+
* @param {SharedApiGetClickhouseRoleGrantsRequest} requestParameters Request parameters.
|
|
22938
|
+
* @param {*} [options] Override http request option.
|
|
22939
|
+
* @throws {RequiredError}
|
|
22940
|
+
* @memberof SharedApi
|
|
22941
|
+
*/
|
|
22942
|
+
getClickhouseRoleGrants(requestParameters, options) {
|
|
22943
|
+
return (0, exports.SharedApiFp)(this.configuration).getClickhouseRoleGrants(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
22944
|
+
}
|
|
21910
22945
|
/**
|
|
21911
22946
|
*
|
|
21912
22947
|
* @summary Get cluster details
|
|
@@ -22445,6 +23480,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22445
23480
|
getTenant(requestParameters, options) {
|
|
22446
23481
|
return (0, exports.SharedApiFp)(this.configuration).getTenant(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, options).then((request) => request(this.axios, this.basePath));
|
|
22447
23482
|
}
|
|
23483
|
+
/**
|
|
23484
|
+
*
|
|
23485
|
+
* @summary Grant privileges to a ClickHouse role
|
|
23486
|
+
* @param {SharedApiGrantClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
23487
|
+
* @param {*} [options] Override http request option.
|
|
23488
|
+
* @throws {RequiredError}
|
|
23489
|
+
* @memberof SharedApi
|
|
23490
|
+
*/
|
|
23491
|
+
grantClickhouseRolePrivileges(requestParameters, options) {
|
|
23492
|
+
return (0, exports.SharedApiFp)(this.configuration).grantClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23493
|
+
}
|
|
22448
23494
|
/**
|
|
22449
23495
|
*
|
|
22450
23496
|
* @summary Horizontal scale cluster
|
|
@@ -22522,6 +23568,50 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22522
23568
|
listBackupSchedules(requestParameters, options) {
|
|
22523
23569
|
return (0, exports.SharedApiFp)(this.configuration).listBackupSchedules(requestParameters.orgName, requestParameters.clusterName, requestParameters.backupMethod, options).then((request) => request(this.axios, this.basePath));
|
|
22524
23570
|
}
|
|
23571
|
+
/**
|
|
23572
|
+
*
|
|
23573
|
+
* @summary List the roles granted to a ClickHouse account
|
|
23574
|
+
* @param {SharedApiListClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
23575
|
+
* @param {*} [options] Override http request option.
|
|
23576
|
+
* @throws {RequiredError}
|
|
23577
|
+
* @memberof SharedApi
|
|
23578
|
+
*/
|
|
23579
|
+
listClickhouseAccountRoles(requestParameters, options) {
|
|
23580
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
23581
|
+
}
|
|
23582
|
+
/**
|
|
23583
|
+
*
|
|
23584
|
+
* @summary List ClickHouse accounts
|
|
23585
|
+
* @param {SharedApiListClickhouseAccountsRequest} requestParameters Request parameters.
|
|
23586
|
+
* @param {*} [options] Override http request option.
|
|
23587
|
+
* @throws {RequiredError}
|
|
23588
|
+
* @memberof SharedApi
|
|
23589
|
+
*/
|
|
23590
|
+
listClickhouseAccounts(requestParameters, options) {
|
|
23591
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhouseAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23592
|
+
}
|
|
23593
|
+
/**
|
|
23594
|
+
*
|
|
23595
|
+
* @summary List privileges supported by the ClickHouse server
|
|
23596
|
+
* @param {SharedApiListClickhousePrivilegesRequest} requestParameters Request parameters.
|
|
23597
|
+
* @param {*} [options] Override http request option.
|
|
23598
|
+
* @throws {RequiredError}
|
|
23599
|
+
* @memberof SharedApi
|
|
23600
|
+
*/
|
|
23601
|
+
listClickhousePrivileges(requestParameters, options) {
|
|
23602
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhousePrivileges(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23603
|
+
}
|
|
23604
|
+
/**
|
|
23605
|
+
*
|
|
23606
|
+
* @summary List ClickHouse roles
|
|
23607
|
+
* @param {SharedApiListClickhouseRolesRequest} requestParameters Request parameters.
|
|
23608
|
+
* @param {*} [options] Override http request option.
|
|
23609
|
+
* @throws {RequiredError}
|
|
23610
|
+
* @memberof SharedApi
|
|
23611
|
+
*/
|
|
23612
|
+
listClickhouseRoles(requestParameters, options) {
|
|
23613
|
+
return (0, exports.SharedApiFp)(this.configuration).listClickhouseRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.forCreateUser, options).then((request) => request(this.axios, this.basePath));
|
|
23614
|
+
}
|
|
22525
23615
|
/**
|
|
22526
23616
|
*
|
|
22527
23617
|
* @summary List clusters in the Org
|
|
@@ -23246,17 +24336,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23246
24336
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
23247
24337
|
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23248
24338
|
}
|
|
23249
|
-
/**
|
|
23250
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
23251
|
-
* @summary Put Milvus role
|
|
23252
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
23253
|
-
* @param {*} [options] Override http request option.
|
|
23254
|
-
* @throws {RequiredError}
|
|
23255
|
-
* @memberof SharedApi
|
|
23256
|
-
*/
|
|
23257
|
-
putMilvusRole(requestParameters, options) {
|
|
23258
|
-
return (0, exports.SharedApiFp)(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23259
|
-
}
|
|
23260
24339
|
/**
|
|
23261
24340
|
*
|
|
23262
24341
|
* @summary create a SQL query
|
|
@@ -23542,6 +24621,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23542
24621
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
23543
24622
|
return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23544
24623
|
}
|
|
24624
|
+
/**
|
|
24625
|
+
*
|
|
24626
|
+
* @summary Revoke privileges from a ClickHouse role
|
|
24627
|
+
* @param {SharedApiRevokeClickhouseRolePrivilegesRequest} requestParameters Request parameters.
|
|
24628
|
+
* @param {*} [options] Override http request option.
|
|
24629
|
+
* @throws {RequiredError}
|
|
24630
|
+
* @memberof SharedApi
|
|
24631
|
+
*/
|
|
24632
|
+
revokeClickhouseRolePrivileges(requestParameters, options) {
|
|
24633
|
+
return (0, exports.SharedApiFp)(this.configuration).revokeClickhouseRolePrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24634
|
+
}
|
|
23545
24635
|
/**
|
|
23546
24636
|
*
|
|
23547
24637
|
* @summary Set alert config
|
|
@@ -23773,6 +24863,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23773
24863
|
updateBackupSchedule(requestParameters, options) {
|
|
23774
24864
|
return (0, exports.SharedApiFp)(this.configuration).updateBackupSchedule(requestParameters.orgName, requestParameters.clusterName, requestParameters.scheduleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23775
24865
|
}
|
|
24866
|
+
/**
|
|
24867
|
+
*
|
|
24868
|
+
* @summary Update a ClickHouse account password
|
|
24869
|
+
* @param {SharedApiUpdateClickhouseAccountPasswordRequest} requestParameters Request parameters.
|
|
24870
|
+
* @param {*} [options] Override http request option.
|
|
24871
|
+
* @throws {RequiredError}
|
|
24872
|
+
* @memberof SharedApi
|
|
24873
|
+
*/
|
|
24874
|
+
updateClickhouseAccountPassword(requestParameters, options) {
|
|
24875
|
+
return (0, exports.SharedApiFp)(this.configuration).updateClickhouseAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24876
|
+
}
|
|
24877
|
+
/**
|
|
24878
|
+
*
|
|
24879
|
+
* @summary Update the roles granted to a ClickHouse account
|
|
24880
|
+
* @param {SharedApiUpdateClickhouseAccountRolesRequest} requestParameters Request parameters.
|
|
24881
|
+
* @param {*} [options] Override http request option.
|
|
24882
|
+
* @throws {RequiredError}
|
|
24883
|
+
* @memberof SharedApi
|
|
24884
|
+
*/
|
|
24885
|
+
updateClickhouseAccountRoles(requestParameters, options) {
|
|
24886
|
+
return (0, exports.SharedApiFp)(this.configuration).updateClickhouseAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24887
|
+
}
|
|
23776
24888
|
/**
|
|
23777
24889
|
*
|
|
23778
24890
|
* @summary Update the cluster license
|
|
@@ -23894,6 +25006,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23894
25006
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
23895
25007
|
return (0, exports.SharedApiFp)(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23896
25008
|
}
|
|
25009
|
+
/**
|
|
25010
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
25011
|
+
* @summary Update Milvus role
|
|
25012
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
25013
|
+
* @param {*} [options] Override http request option.
|
|
25014
|
+
* @throws {RequiredError}
|
|
25015
|
+
* @memberof SharedApi
|
|
25016
|
+
*/
|
|
25017
|
+
updateMilvusRole(requestParameters, options) {
|
|
25018
|
+
return (0, exports.SharedApiFp)(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
25019
|
+
}
|
|
23897
25020
|
/**
|
|
23898
25021
|
*
|
|
23899
25022
|
* @summary update mssql account compatible with windows account
|
|
@@ -23914,7 +25037,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23914
25037
|
* @memberof SharedApi
|
|
23915
25038
|
*/
|
|
23916
25039
|
updateRabbitAccountPassword(requestParameters, options) {
|
|
23917
|
-
return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
25040
|
+
return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23918
25041
|
}
|
|
23919
25042
|
/**
|
|
23920
25043
|
* Update a RabbitMQ account privileges
|