kb-cloud-client-typescript 2.3.0-alpha.210 → 2.3.0-alpha.211
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/apis/account-api.d.ts +287 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +317 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +287 -0
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/adminapi/apis/milvus-api.js +317 -0
- package/dist/adminapi/apis/milvus-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +287 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +317 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-context-state.d.ts +22 -0
- package/dist/adminapi/models/ai-agent-context-state.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-context-state.js +26 -0
- package/dist/adminapi/models/ai-agent-context-state.js.map +1 -0
- package/dist/adminapi/models/ai-agent-conversation.d.ts +27 -0
- package/dist/adminapi/models/ai-agent-conversation.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts +7 -0
- package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts.map +1 -1
- package/dist/adminapi/models/ai-agent-mode.d.ts +22 -0
- package/dist/adminapi/models/ai-agent-mode.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-mode.js +26 -0
- package/dist/adminapi/models/ai-agent-mode.js.map +1 -0
- package/dist/adminapi/models/ai-agent-profile.d.ts +21 -0
- package/dist/adminapi/models/ai-agent-profile.d.ts.map +1 -0
- package/dist/adminapi/models/ai-agent-profile.js +25 -0
- package/dist/adminapi/models/ai-agent-profile.js.map +1 -0
- package/dist/adminapi/models/ai-agent-send-message-response.d.ts +27 -0
- package/dist/adminapi/models/ai-agent-send-message-response.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/milvus-role-grant.d.ts +37 -0
- package/dist/adminapi/models/milvus-role-grant.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-grant.js +16 -0
- package/dist/adminapi/models/milvus-role-grant.js.map +1 -0
- package/dist/adminapi/models/milvus-role-list.d.ts +26 -0
- package/dist/adminapi/models/milvus-role-list.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-list.js +16 -0
- package/dist/adminapi/models/milvus-role-list.js.map +1 -0
- package/dist/adminapi/models/milvus-role-request.d.ts +26 -0
- package/dist/adminapi/models/milvus-role-request.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-request.js +16 -0
- package/dist/adminapi/models/milvus-role-request.js.map +1 -0
- package/dist/adminapi/models/milvus-role.d.ts +32 -0
- package/dist/adminapi/models/milvus-role.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role.js +16 -0
- package/dist/adminapi/models/milvus-role.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +287 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +317 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +287 -0
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/openapi/apis/milvus-api.js +317 -0
- package/dist/openapi/apis/milvus-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +287 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +317 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-context-state.d.ts +22 -0
- package/dist/openapi/models/ai-agent-context-state.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-context-state.js +26 -0
- package/dist/openapi/models/ai-agent-context-state.js.map +1 -0
- package/dist/openapi/models/ai-agent-conversation.d.ts +27 -0
- package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +7 -0
- package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -1
- package/dist/openapi/models/ai-agent-mode.d.ts +22 -0
- package/dist/openapi/models/ai-agent-mode.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-mode.js +26 -0
- package/dist/openapi/models/ai-agent-mode.js.map +1 -0
- package/dist/openapi/models/ai-agent-profile.d.ts +21 -0
- package/dist/openapi/models/ai-agent-profile.d.ts.map +1 -0
- package/dist/openapi/models/ai-agent-profile.js +25 -0
- package/dist/openapi/models/ai-agent-profile.js.map +1 -0
- package/dist/openapi/models/ai-agent-send-message-response.d.ts +27 -0
- package/dist/openapi/models/ai-agent-send-message-response.d.ts.map +1 -1
- package/dist/openapi/models/data-check-item.d.ts +13 -0
- package/dist/openapi/models/data-check-item.d.ts.map +1 -1
- package/dist/openapi/models/data-check-list-item.d.ts +13 -0
- package/dist/openapi/models/data-check-list-item.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +7 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +7 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/milvus-role-grant.d.ts +37 -0
- package/dist/openapi/models/milvus-role-grant.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-grant.js +16 -0
- package/dist/openapi/models/milvus-role-grant.js.map +1 -0
- package/dist/openapi/models/milvus-role-list.d.ts +26 -0
- package/dist/openapi/models/milvus-role-list.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-list.js +16 -0
- package/dist/openapi/models/milvus-role-list.js.map +1 -0
- package/dist/openapi/models/milvus-role-request.d.ts +26 -0
- package/dist/openapi/models/milvus-role-request.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-request.js +16 -0
- package/dist/openapi/models/milvus-role-request.js.map +1 -0
- package/dist/openapi/models/milvus-role.d.ts +32 -0
- package/dist/openapi/models/milvus-role.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role.js +16 -0
- package/dist/openapi/models/milvus-role.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/account-api.ts +504 -0
- package/src/adminapi/apis/milvus-api.ts +504 -0
- package/src/adminapi/apis/shared-api.ts +504 -0
- package/src/adminapi/models/ai-agent-context-state.ts +31 -0
- package/src/adminapi/models/ai-agent-conversation.ts +33 -0
- package/src/adminapi/models/ai-agent-create-conversation-request.ts +9 -0
- package/src/adminapi/models/ai-agent-mode.ts +31 -0
- package/src/adminapi/models/ai-agent-profile.ts +30 -0
- package/src/adminapi/models/ai-agent-send-message-response.ts +33 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/milvus-role-grant.ts +42 -0
- package/src/adminapi/models/milvus-role-list.ts +33 -0
- package/src/adminapi/models/milvus-role-request.ts +33 -0
- package/src/adminapi/models/milvus-role.ts +39 -0
- package/src/adminapi.yaml +272 -0
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/account-api.ts +504 -0
- package/src/openapi/apis/milvus-api.ts +504 -0
- package/src/openapi/apis/shared-api.ts +504 -0
- package/src/openapi/models/ai-agent-context-state.ts +31 -0
- package/src/openapi/models/ai-agent-conversation.ts +33 -0
- package/src/openapi/models/ai-agent-create-conversation-request.ts +9 -0
- package/src/openapi/models/ai-agent-mode.ts +31 -0
- package/src/openapi/models/ai-agent-profile.ts +30 -0
- package/src/openapi/models/ai-agent-send-message-response.ts +33 -0
- package/src/openapi/models/data-check-item.ts +15 -0
- package/src/openapi/models/data-check-list-item.ts +15 -0
- package/src/openapi/models/index.ts +7 -0
- package/src/openapi/models/milvus-role-grant.ts +42 -0
- package/src/openapi/models/milvus-role-list.ts +33 -0
- package/src/openapi/models/milvus-role-request.ts +33 -0
- package/src/openapi/models/milvus-role.ts +39 -0
- package/src/openapi.yaml +280 -0
|
@@ -238,6 +238,12 @@ import type { MilvusAccountPassword } from '../models';
|
|
|
238
238
|
// @ts-ignore
|
|
239
239
|
import type { MilvusAccountRoles } from '../models';
|
|
240
240
|
// @ts-ignore
|
|
241
|
+
import type { MilvusRole } from '../models';
|
|
242
|
+
// @ts-ignore
|
|
243
|
+
import type { MilvusRoleList } from '../models';
|
|
244
|
+
// @ts-ignore
|
|
245
|
+
import type { MilvusRoleRequest } from '../models';
|
|
246
|
+
// @ts-ignore
|
|
241
247
|
import type { NodeList } from '../models';
|
|
242
248
|
// @ts-ignore
|
|
243
249
|
import type { NodeResourceStatsList } from '../models';
|
|
@@ -3164,6 +3170,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3164
3170
|
|
|
3165
3171
|
|
|
3166
3172
|
|
|
3173
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3174
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3175
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3176
|
+
|
|
3177
|
+
return {
|
|
3178
|
+
url: toPathString(localVarUrlObj),
|
|
3179
|
+
options: localVarRequestOptions,
|
|
3180
|
+
};
|
|
3181
|
+
},
|
|
3182
|
+
/**
|
|
3183
|
+
* Delete a Milvus native role.
|
|
3184
|
+
* @summary Delete Milvus role
|
|
3185
|
+
* @param {string} orgName name of the Org
|
|
3186
|
+
* @param {string} clusterName name of the Cluster
|
|
3187
|
+
* @param {string} roleName name of the Milvus role
|
|
3188
|
+
* @param {*} [options] Override http request option.
|
|
3189
|
+
* @throws {RequiredError}
|
|
3190
|
+
*/
|
|
3191
|
+
deleteMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3192
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3193
|
+
assertParamExists('deleteMilvusRole', 'orgName', orgName)
|
|
3194
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3195
|
+
assertParamExists('deleteMilvusRole', 'clusterName', clusterName)
|
|
3196
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
3197
|
+
assertParamExists('deleteMilvusRole', 'roleName', roleName)
|
|
3198
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
3199
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3200
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3201
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
3202
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3203
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3204
|
+
let baseOptions;
|
|
3205
|
+
if (configuration) {
|
|
3206
|
+
baseOptions = configuration.baseOptions;
|
|
3207
|
+
}
|
|
3208
|
+
|
|
3209
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3210
|
+
const localVarHeaderParameter = {} as any;
|
|
3211
|
+
const localVarQueryParameter = {} as any;
|
|
3212
|
+
|
|
3213
|
+
// authentication BearerToken required
|
|
3214
|
+
// http bearer authentication required
|
|
3215
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3216
|
+
|
|
3217
|
+
// authentication DigestAuth required
|
|
3218
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
|
|
3167
3222
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3168
3223
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3169
3224
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6494,6 +6549,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6494
6549
|
|
|
6495
6550
|
|
|
6496
6551
|
|
|
6552
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6553
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6554
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6555
|
+
|
|
6556
|
+
return {
|
|
6557
|
+
url: toPathString(localVarUrlObj),
|
|
6558
|
+
options: localVarRequestOptions,
|
|
6559
|
+
};
|
|
6560
|
+
},
|
|
6561
|
+
/**
|
|
6562
|
+
* Get a Milvus native role and its privilege grants.
|
|
6563
|
+
* @summary Get Milvus role
|
|
6564
|
+
* @param {string} orgName name of the Org
|
|
6565
|
+
* @param {string} clusterName name of the Cluster
|
|
6566
|
+
* @param {string} roleName name of the Milvus role
|
|
6567
|
+
* @param {*} [options] Override http request option.
|
|
6568
|
+
* @throws {RequiredError}
|
|
6569
|
+
*/
|
|
6570
|
+
getMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6571
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6572
|
+
assertParamExists('getMilvusRole', 'orgName', orgName)
|
|
6573
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6574
|
+
assertParamExists('getMilvusRole', 'clusterName', clusterName)
|
|
6575
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
6576
|
+
assertParamExists('getMilvusRole', 'roleName', roleName)
|
|
6577
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
6578
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6579
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6580
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
6581
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6582
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6583
|
+
let baseOptions;
|
|
6584
|
+
if (configuration) {
|
|
6585
|
+
baseOptions = configuration.baseOptions;
|
|
6586
|
+
}
|
|
6587
|
+
|
|
6588
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6589
|
+
const localVarHeaderParameter = {} as any;
|
|
6590
|
+
const localVarQueryParameter = {} as any;
|
|
6591
|
+
|
|
6592
|
+
// authentication BearerToken required
|
|
6593
|
+
// http bearer authentication required
|
|
6594
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6595
|
+
|
|
6596
|
+
// authentication DigestAuth required
|
|
6597
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6598
|
+
|
|
6599
|
+
|
|
6600
|
+
|
|
6497
6601
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6498
6602
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6499
6603
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9065,6 +9169,51 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9065
9169
|
|
|
9066
9170
|
|
|
9067
9171
|
|
|
9172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9175
|
+
|
|
9176
|
+
return {
|
|
9177
|
+
url: toPathString(localVarUrlObj),
|
|
9178
|
+
options: localVarRequestOptions,
|
|
9179
|
+
};
|
|
9180
|
+
},
|
|
9181
|
+
/**
|
|
9182
|
+
* List Milvus native roles and their privilege grants.
|
|
9183
|
+
* @summary List Milvus roles
|
|
9184
|
+
* @param {string} orgName name of the Org
|
|
9185
|
+
* @param {string} clusterName name of the Cluster
|
|
9186
|
+
* @param {*} [options] Override http request option.
|
|
9187
|
+
* @throws {RequiredError}
|
|
9188
|
+
*/
|
|
9189
|
+
listMilvusRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9190
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9191
|
+
assertParamExists('listMilvusRoles', 'orgName', orgName)
|
|
9192
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9193
|
+
assertParamExists('listMilvusRoles', 'clusterName', clusterName)
|
|
9194
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
9195
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9196
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9199
|
+
let baseOptions;
|
|
9200
|
+
if (configuration) {
|
|
9201
|
+
baseOptions = configuration.baseOptions;
|
|
9202
|
+
}
|
|
9203
|
+
|
|
9204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9205
|
+
const localVarHeaderParameter = {} as any;
|
|
9206
|
+
const localVarQueryParameter = {} as any;
|
|
9207
|
+
|
|
9208
|
+
// authentication BearerToken required
|
|
9209
|
+
// http bearer authentication required
|
|
9210
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9211
|
+
|
|
9212
|
+
// authentication DigestAuth required
|
|
9213
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9214
|
+
|
|
9215
|
+
|
|
9216
|
+
|
|
9068
9217
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9069
9218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9070
9219
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11268,6 +11417,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11268
11417
|
|
|
11269
11418
|
|
|
11270
11419
|
|
|
11420
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11421
|
+
|
|
11422
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11423
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11424
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11425
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
11426
|
+
|
|
11427
|
+
return {
|
|
11428
|
+
url: toPathString(localVarUrlObj),
|
|
11429
|
+
options: localVarRequestOptions,
|
|
11430
|
+
};
|
|
11431
|
+
},
|
|
11432
|
+
/**
|
|
11433
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
11434
|
+
* @summary Put Milvus role
|
|
11435
|
+
* @param {string} orgName name of the Org
|
|
11436
|
+
* @param {string} clusterName name of the Cluster
|
|
11437
|
+
* @param {string} roleName name of the Milvus role
|
|
11438
|
+
* @param {MilvusRoleRequest} body
|
|
11439
|
+
* @param {*} [options] Override http request option.
|
|
11440
|
+
* @throws {RequiredError}
|
|
11441
|
+
*/
|
|
11442
|
+
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11443
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11444
|
+
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
11445
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11446
|
+
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
11447
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
11448
|
+
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
11449
|
+
// verify required parameter 'body' is not null or undefined
|
|
11450
|
+
assertParamExists('putMilvusRole', 'body', body)
|
|
11451
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
11452
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11453
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11454
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11455
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11456
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11457
|
+
let baseOptions;
|
|
11458
|
+
if (configuration) {
|
|
11459
|
+
baseOptions = configuration.baseOptions;
|
|
11460
|
+
}
|
|
11461
|
+
|
|
11462
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11463
|
+
const localVarHeaderParameter = {} as any;
|
|
11464
|
+
const localVarQueryParameter = {} as any;
|
|
11465
|
+
|
|
11466
|
+
// authentication BearerToken required
|
|
11467
|
+
// http bearer authentication required
|
|
11468
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11469
|
+
|
|
11470
|
+
// authentication DigestAuth required
|
|
11471
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11472
|
+
|
|
11473
|
+
|
|
11474
|
+
|
|
11271
11475
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11272
11476
|
|
|
11273
11477
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16071,6 +16275,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16071
16275
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
16072
16276
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16073
16277
|
},
|
|
16278
|
+
/**
|
|
16279
|
+
* Delete a Milvus native role.
|
|
16280
|
+
* @summary Delete Milvus role
|
|
16281
|
+
* @param {string} orgName name of the Org
|
|
16282
|
+
* @param {string} clusterName name of the Cluster
|
|
16283
|
+
* @param {string} roleName name of the Milvus role
|
|
16284
|
+
* @param {*} [options] Override http request option.
|
|
16285
|
+
* @throws {RequiredError}
|
|
16286
|
+
*/
|
|
16287
|
+
async deleteMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16288
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusRole(orgName, clusterName, roleName, options);
|
|
16289
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16290
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
16291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16292
|
+
},
|
|
16074
16293
|
/**
|
|
16075
16294
|
* delete an account in mongodb
|
|
16076
16295
|
* @summary Delete mongodb account
|
|
@@ -17047,6 +17266,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17047
17266
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getKafkaTopics']?.[localVarOperationServerIndex]?.url;
|
|
17048
17267
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17049
17268
|
},
|
|
17269
|
+
/**
|
|
17270
|
+
* Get a Milvus native role and its privilege grants.
|
|
17271
|
+
* @summary Get Milvus role
|
|
17272
|
+
* @param {string} orgName name of the Org
|
|
17273
|
+
* @param {string} clusterName name of the Cluster
|
|
17274
|
+
* @param {string} roleName name of the Milvus role
|
|
17275
|
+
* @param {*} [options] Override http request option.
|
|
17276
|
+
* @throws {RequiredError}
|
|
17277
|
+
*/
|
|
17278
|
+
async getMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMilvusRole(orgName, clusterName, roleName, options);
|
|
17280
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17281
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17282
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17283
|
+
},
|
|
17050
17284
|
/**
|
|
17051
17285
|
*
|
|
17052
17286
|
* @summary get the detail object info
|
|
@@ -17793,6 +18027,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17793
18027
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listKafkaTopicMessages']?.[localVarOperationServerIndex]?.url;
|
|
17794
18028
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17795
18029
|
},
|
|
18030
|
+
/**
|
|
18031
|
+
* List Milvus native roles and their privilege grants.
|
|
18032
|
+
* @summary List Milvus roles
|
|
18033
|
+
* @param {string} orgName name of the Org
|
|
18034
|
+
* @param {string} clusterName name of the Cluster
|
|
18035
|
+
* @param {*} [options] Override http request option.
|
|
18036
|
+
* @throws {RequiredError}
|
|
18037
|
+
*/
|
|
18038
|
+
async listMilvusRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRoleList>> {
|
|
18039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusRoles(orgName, clusterName, options);
|
|
18040
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18041
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listMilvusRoles']?.[localVarOperationServerIndex]?.url;
|
|
18042
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18043
|
+
},
|
|
17796
18044
|
/**
|
|
17797
18045
|
* list accounts in mongodb
|
|
17798
18046
|
* @summary List mongodb accounts
|
|
@@ -18451,6 +18699,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18451
18699
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
18452
18700
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18453
18701
|
},
|
|
18702
|
+
/**
|
|
18703
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
18704
|
+
* @summary Put Milvus role
|
|
18705
|
+
* @param {string} orgName name of the Org
|
|
18706
|
+
* @param {string} clusterName name of the Cluster
|
|
18707
|
+
* @param {string} roleName name of the Milvus role
|
|
18708
|
+
* @param {MilvusRoleRequest} body
|
|
18709
|
+
* @param {*} [options] Override http request option.
|
|
18710
|
+
* @throws {RequiredError}
|
|
18711
|
+
*/
|
|
18712
|
+
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
18713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
18714
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18715
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
18716
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18717
|
+
},
|
|
18454
18718
|
/**
|
|
18455
18719
|
*
|
|
18456
18720
|
* @summary create a SQL query
|
|
@@ -20095,6 +20359,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20095
20359
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20096
20360
|
return localVarFp.deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(axios, basePath));
|
|
20097
20361
|
},
|
|
20362
|
+
/**
|
|
20363
|
+
* Delete a Milvus native role.
|
|
20364
|
+
* @summary Delete Milvus role
|
|
20365
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
20366
|
+
* @param {*} [options] Override http request option.
|
|
20367
|
+
* @throws {RequiredError}
|
|
20368
|
+
*/
|
|
20369
|
+
deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20370
|
+
return localVarFp.deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
20371
|
+
},
|
|
20098
20372
|
/**
|
|
20099
20373
|
* delete an account in mongodb
|
|
20100
20374
|
* @summary Delete mongodb account
|
|
@@ -20714,6 +20988,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20714
20988
|
getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>> {
|
|
20715
20989
|
return localVarFp.getKafkaTopics(requestParameters.orgName, requestParameters.clusterName, requestParameters.nameFilter, requestParameters.onlyNames, options).then((request) => request(axios, basePath));
|
|
20716
20990
|
},
|
|
20991
|
+
/**
|
|
20992
|
+
* Get a Milvus native role and its privilege grants.
|
|
20993
|
+
* @summary Get Milvus role
|
|
20994
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
20995
|
+
* @param {*} [options] Override http request option.
|
|
20996
|
+
* @throws {RequiredError}
|
|
20997
|
+
*/
|
|
20998
|
+
getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
20999
|
+
return localVarFp.getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
21000
|
+
},
|
|
20717
21001
|
/**
|
|
20718
21002
|
*
|
|
20719
21003
|
* @summary get the detail object info
|
|
@@ -21183,6 +21467,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21183
21467
|
listKafkaTopicMessages(requestParameters: SharedApiListKafkaTopicMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicMessage>> {
|
|
21184
21468
|
return localVarFp.listKafkaTopicMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.partition, requestParameters.offset, requestParameters.count, requestParameters.keyFilter, requestParameters.valueFilter, options).then((request) => request(axios, basePath));
|
|
21185
21469
|
},
|
|
21470
|
+
/**
|
|
21471
|
+
* List Milvus native roles and their privilege grants.
|
|
21472
|
+
* @summary List Milvus roles
|
|
21473
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
21474
|
+
* @param {*} [options] Override http request option.
|
|
21475
|
+
* @throws {RequiredError}
|
|
21476
|
+
*/
|
|
21477
|
+
listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList> {
|
|
21478
|
+
return localVarFp.listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21479
|
+
},
|
|
21186
21480
|
/**
|
|
21187
21481
|
* list accounts in mongodb
|
|
21188
21482
|
* @summary List mongodb accounts
|
|
@@ -21622,6 +21916,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21622
21916
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21623
21917
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21624
21918
|
},
|
|
21919
|
+
/**
|
|
21920
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
21921
|
+
* @summary Put Milvus role
|
|
21922
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
21923
|
+
* @param {*} [options] Override http request option.
|
|
21924
|
+
* @throws {RequiredError}
|
|
21925
|
+
*/
|
|
21926
|
+
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21927
|
+
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21928
|
+
},
|
|
21625
21929
|
/**
|
|
21626
21930
|
*
|
|
21627
21931
|
* @summary create a SQL query
|
|
@@ -22810,6 +23114,16 @@ export interface SharedApiInterface {
|
|
|
22810
23114
|
*/
|
|
22811
23115
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22812
23116
|
|
|
23117
|
+
/**
|
|
23118
|
+
* Delete a Milvus native role.
|
|
23119
|
+
* @summary Delete Milvus role
|
|
23120
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
23121
|
+
* @param {*} [options] Override http request option.
|
|
23122
|
+
* @throws {RequiredError}
|
|
23123
|
+
* @memberof SharedApiInterface
|
|
23124
|
+
*/
|
|
23125
|
+
deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23126
|
+
|
|
22813
23127
|
/**
|
|
22814
23128
|
* delete an account in mongodb
|
|
22815
23129
|
* @summary Delete mongodb account
|
|
@@ -23429,6 +23743,16 @@ export interface SharedApiInterface {
|
|
|
23429
23743
|
*/
|
|
23430
23744
|
getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>>;
|
|
23431
23745
|
|
|
23746
|
+
/**
|
|
23747
|
+
* Get a Milvus native role and its privilege grants.
|
|
23748
|
+
* @summary Get Milvus role
|
|
23749
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
23750
|
+
* @param {*} [options] Override http request option.
|
|
23751
|
+
* @throws {RequiredError}
|
|
23752
|
+
* @memberof SharedApiInterface
|
|
23753
|
+
*/
|
|
23754
|
+
getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
23755
|
+
|
|
23432
23756
|
/**
|
|
23433
23757
|
*
|
|
23434
23758
|
* @summary get the detail object info
|
|
@@ -23898,6 +24222,16 @@ export interface SharedApiInterface {
|
|
|
23898
24222
|
*/
|
|
23899
24223
|
listKafkaTopicMessages(requestParameters: SharedApiListKafkaTopicMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicMessage>>;
|
|
23900
24224
|
|
|
24225
|
+
/**
|
|
24226
|
+
* List Milvus native roles and their privilege grants.
|
|
24227
|
+
* @summary List Milvus roles
|
|
24228
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
24229
|
+
* @param {*} [options] Override http request option.
|
|
24230
|
+
* @throws {RequiredError}
|
|
24231
|
+
* @memberof SharedApiInterface
|
|
24232
|
+
*/
|
|
24233
|
+
listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList>;
|
|
24234
|
+
|
|
23901
24235
|
/**
|
|
23902
24236
|
* list accounts in mongodb
|
|
23903
24237
|
* @summary List mongodb accounts
|
|
@@ -24337,6 +24671,16 @@ export interface SharedApiInterface {
|
|
|
24337
24671
|
*/
|
|
24338
24672
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24339
24673
|
|
|
24674
|
+
/**
|
|
24675
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
24676
|
+
* @summary Put Milvus role
|
|
24677
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
24678
|
+
* @param {*} [options] Override http request option.
|
|
24679
|
+
* @throws {RequiredError}
|
|
24680
|
+
* @memberof SharedApiInterface
|
|
24681
|
+
*/
|
|
24682
|
+
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24683
|
+
|
|
24340
24684
|
/**
|
|
24341
24685
|
*
|
|
24342
24686
|
* @summary create a SQL query
|
|
@@ -26663,6 +27007,34 @@ export interface SharedApiDeleteKafkaTopicRequest {
|
|
|
26663
27007
|
readonly topic: string
|
|
26664
27008
|
}
|
|
26665
27009
|
|
|
27010
|
+
/**
|
|
27011
|
+
* Request parameters for deleteMilvusRole operation in SharedApi.
|
|
27012
|
+
* @export
|
|
27013
|
+
* @interface SharedApiDeleteMilvusRoleRequest
|
|
27014
|
+
*/
|
|
27015
|
+
export interface SharedApiDeleteMilvusRoleRequest {
|
|
27016
|
+
/**
|
|
27017
|
+
* name of the Org
|
|
27018
|
+
* @type {string}
|
|
27019
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
27020
|
+
*/
|
|
27021
|
+
readonly orgName: string
|
|
27022
|
+
|
|
27023
|
+
/**
|
|
27024
|
+
* name of the Cluster
|
|
27025
|
+
* @type {string}
|
|
27026
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
27027
|
+
*/
|
|
27028
|
+
readonly clusterName: string
|
|
27029
|
+
|
|
27030
|
+
/**
|
|
27031
|
+
* name of the Milvus role
|
|
27032
|
+
* @type {string}
|
|
27033
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
27034
|
+
*/
|
|
27035
|
+
readonly roleName: string
|
|
27036
|
+
}
|
|
27037
|
+
|
|
26666
27038
|
/**
|
|
26667
27039
|
* Request parameters for deleteMongoDBAccount operation in SharedApi.
|
|
26668
27040
|
* @export
|
|
@@ -28728,6 +29100,34 @@ export interface SharedApiGetKafkaTopicsRequest {
|
|
|
28728
29100
|
readonly onlyNames?: boolean
|
|
28729
29101
|
}
|
|
28730
29102
|
|
|
29103
|
+
/**
|
|
29104
|
+
* Request parameters for getMilvusRole operation in SharedApi.
|
|
29105
|
+
* @export
|
|
29106
|
+
* @interface SharedApiGetMilvusRoleRequest
|
|
29107
|
+
*/
|
|
29108
|
+
export interface SharedApiGetMilvusRoleRequest {
|
|
29109
|
+
/**
|
|
29110
|
+
* name of the Org
|
|
29111
|
+
* @type {string}
|
|
29112
|
+
* @memberof SharedApiGetMilvusRole
|
|
29113
|
+
*/
|
|
29114
|
+
readonly orgName: string
|
|
29115
|
+
|
|
29116
|
+
/**
|
|
29117
|
+
* name of the Cluster
|
|
29118
|
+
* @type {string}
|
|
29119
|
+
* @memberof SharedApiGetMilvusRole
|
|
29120
|
+
*/
|
|
29121
|
+
readonly clusterName: string
|
|
29122
|
+
|
|
29123
|
+
/**
|
|
29124
|
+
* name of the Milvus role
|
|
29125
|
+
* @type {string}
|
|
29126
|
+
* @memberof SharedApiGetMilvusRole
|
|
29127
|
+
*/
|
|
29128
|
+
readonly roleName: string
|
|
29129
|
+
}
|
|
29130
|
+
|
|
28731
29131
|
/**
|
|
28732
29132
|
* Request parameters for getObjectInfo operation in SharedApi.
|
|
28733
29133
|
* @export
|
|
@@ -30324,6 +30724,27 @@ export interface SharedApiListKafkaTopicMessagesRequest {
|
|
|
30324
30724
|
readonly valueFilter?: string
|
|
30325
30725
|
}
|
|
30326
30726
|
|
|
30727
|
+
/**
|
|
30728
|
+
* Request parameters for listMilvusRoles operation in SharedApi.
|
|
30729
|
+
* @export
|
|
30730
|
+
* @interface SharedApiListMilvusRolesRequest
|
|
30731
|
+
*/
|
|
30732
|
+
export interface SharedApiListMilvusRolesRequest {
|
|
30733
|
+
/**
|
|
30734
|
+
* name of the Org
|
|
30735
|
+
* @type {string}
|
|
30736
|
+
* @memberof SharedApiListMilvusRoles
|
|
30737
|
+
*/
|
|
30738
|
+
readonly orgName: string
|
|
30739
|
+
|
|
30740
|
+
/**
|
|
30741
|
+
* name of the Cluster
|
|
30742
|
+
* @type {string}
|
|
30743
|
+
* @memberof SharedApiListMilvusRoles
|
|
30744
|
+
*/
|
|
30745
|
+
readonly clusterName: string
|
|
30746
|
+
}
|
|
30747
|
+
|
|
30327
30748
|
/**
|
|
30328
30749
|
* Request parameters for listMongoDBAccounts operation in SharedApi.
|
|
30329
30750
|
* @export
|
|
@@ -31521,6 +31942,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
31521
31942
|
readonly body: ESPutSecurityUserRequest
|
|
31522
31943
|
}
|
|
31523
31944
|
|
|
31945
|
+
/**
|
|
31946
|
+
* Request parameters for putMilvusRole operation in SharedApi.
|
|
31947
|
+
* @export
|
|
31948
|
+
* @interface SharedApiPutMilvusRoleRequest
|
|
31949
|
+
*/
|
|
31950
|
+
export interface SharedApiPutMilvusRoleRequest {
|
|
31951
|
+
/**
|
|
31952
|
+
* name of the Org
|
|
31953
|
+
* @type {string}
|
|
31954
|
+
* @memberof SharedApiPutMilvusRole
|
|
31955
|
+
*/
|
|
31956
|
+
readonly orgName: string
|
|
31957
|
+
|
|
31958
|
+
/**
|
|
31959
|
+
* name of the Cluster
|
|
31960
|
+
* @type {string}
|
|
31961
|
+
* @memberof SharedApiPutMilvusRole
|
|
31962
|
+
*/
|
|
31963
|
+
readonly clusterName: string
|
|
31964
|
+
|
|
31965
|
+
/**
|
|
31966
|
+
* name of the Milvus role
|
|
31967
|
+
* @type {string}
|
|
31968
|
+
* @memberof SharedApiPutMilvusRole
|
|
31969
|
+
*/
|
|
31970
|
+
readonly roleName: string
|
|
31971
|
+
|
|
31972
|
+
/**
|
|
31973
|
+
*
|
|
31974
|
+
* @type {MilvusRoleRequest}
|
|
31975
|
+
* @memberof SharedApiPutMilvusRole
|
|
31976
|
+
*/
|
|
31977
|
+
readonly body: MilvusRoleRequest
|
|
31978
|
+
}
|
|
31979
|
+
|
|
31524
31980
|
/**
|
|
31525
31981
|
* Request parameters for query operation in SharedApi.
|
|
31526
31982
|
* @export
|
|
@@ -34862,6 +35318,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34862
35318
|
return SharedApiFp(this.configuration).deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(this.axios, this.basePath));
|
|
34863
35319
|
}
|
|
34864
35320
|
|
|
35321
|
+
/**
|
|
35322
|
+
* Delete a Milvus native role.
|
|
35323
|
+
* @summary Delete Milvus role
|
|
35324
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
35325
|
+
* @param {*} [options] Override http request option.
|
|
35326
|
+
* @throws {RequiredError}
|
|
35327
|
+
* @memberof SharedApi
|
|
35328
|
+
*/
|
|
35329
|
+
public deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
35330
|
+
return SharedApiFp(this.configuration).deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
35331
|
+
}
|
|
35332
|
+
|
|
34865
35333
|
/**
|
|
34866
35334
|
* delete an account in mongodb
|
|
34867
35335
|
* @summary Delete mongodb account
|
|
@@ -35605,6 +36073,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
35605
36073
|
return SharedApiFp(this.configuration).getKafkaTopics(requestParameters.orgName, requestParameters.clusterName, requestParameters.nameFilter, requestParameters.onlyNames, options).then((request) => request(this.axios, this.basePath));
|
|
35606
36074
|
}
|
|
35607
36075
|
|
|
36076
|
+
/**
|
|
36077
|
+
* Get a Milvus native role and its privilege grants.
|
|
36078
|
+
* @summary Get Milvus role
|
|
36079
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
36080
|
+
* @param {*} [options] Override http request option.
|
|
36081
|
+
* @throws {RequiredError}
|
|
36082
|
+
* @memberof SharedApi
|
|
36083
|
+
*/
|
|
36084
|
+
public getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
36085
|
+
return SharedApiFp(this.configuration).getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
36086
|
+
}
|
|
36087
|
+
|
|
35608
36088
|
/**
|
|
35609
36089
|
*
|
|
35610
36090
|
* @summary get the detail object info
|
|
@@ -36168,6 +36648,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36168
36648
|
return SharedApiFp(this.configuration).listKafkaTopicMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.partition, requestParameters.offset, requestParameters.count, requestParameters.keyFilter, requestParameters.valueFilter, options).then((request) => request(this.axios, this.basePath));
|
|
36169
36649
|
}
|
|
36170
36650
|
|
|
36651
|
+
/**
|
|
36652
|
+
* List Milvus native roles and their privilege grants.
|
|
36653
|
+
* @summary List Milvus roles
|
|
36654
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
36655
|
+
* @param {*} [options] Override http request option.
|
|
36656
|
+
* @throws {RequiredError}
|
|
36657
|
+
* @memberof SharedApi
|
|
36658
|
+
*/
|
|
36659
|
+
public listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig) {
|
|
36660
|
+
return SharedApiFp(this.configuration).listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
36661
|
+
}
|
|
36662
|
+
|
|
36171
36663
|
/**
|
|
36172
36664
|
* list accounts in mongodb
|
|
36173
36665
|
* @summary List mongodb accounts
|
|
@@ -36695,6 +37187,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36695
37187
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36696
37188
|
}
|
|
36697
37189
|
|
|
37190
|
+
/**
|
|
37191
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
37192
|
+
* @summary Put Milvus role
|
|
37193
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
37194
|
+
* @param {*} [options] Override http request option.
|
|
37195
|
+
* @throws {RequiredError}
|
|
37196
|
+
* @memberof SharedApi
|
|
37197
|
+
*/
|
|
37198
|
+
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
37199
|
+
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37200
|
+
}
|
|
37201
|
+
|
|
36698
37202
|
/**
|
|
36699
37203
|
*
|
|
36700
37204
|
* @summary create a SQL query
|