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
|
@@ -250,6 +250,12 @@ import type { MilvusAccountPassword } from '../models';
|
|
|
250
250
|
// @ts-ignore
|
|
251
251
|
import type { MilvusAccountRoles } from '../models';
|
|
252
252
|
// @ts-ignore
|
|
253
|
+
import type { MilvusRole } from '../models';
|
|
254
|
+
// @ts-ignore
|
|
255
|
+
import type { MilvusRoleList } from '../models';
|
|
256
|
+
// @ts-ignore
|
|
257
|
+
import type { MilvusRoleRequest } from '../models';
|
|
258
|
+
// @ts-ignore
|
|
253
259
|
import type { NodeList } from '../models';
|
|
254
260
|
// @ts-ignore
|
|
255
261
|
import type { NodeResourceStatsList } from '../models';
|
|
@@ -3124,6 +3130,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3124
3130
|
|
|
3125
3131
|
|
|
3126
3132
|
|
|
3133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3135
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3136
|
+
|
|
3137
|
+
return {
|
|
3138
|
+
url: toPathString(localVarUrlObj),
|
|
3139
|
+
options: localVarRequestOptions,
|
|
3140
|
+
};
|
|
3141
|
+
},
|
|
3142
|
+
/**
|
|
3143
|
+
* Delete a Milvus native role.
|
|
3144
|
+
* @summary Delete Milvus role
|
|
3145
|
+
* @param {string} orgName name of the Org
|
|
3146
|
+
* @param {string} clusterName name of the Cluster
|
|
3147
|
+
* @param {string} roleName name of the Milvus role
|
|
3148
|
+
* @param {*} [options] Override http request option.
|
|
3149
|
+
* @throws {RequiredError}
|
|
3150
|
+
*/
|
|
3151
|
+
deleteMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3152
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3153
|
+
assertParamExists('deleteMilvusRole', 'orgName', orgName)
|
|
3154
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3155
|
+
assertParamExists('deleteMilvusRole', 'clusterName', clusterName)
|
|
3156
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
3157
|
+
assertParamExists('deleteMilvusRole', 'roleName', roleName)
|
|
3158
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
3159
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3160
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3161
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
3162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3164
|
+
let baseOptions;
|
|
3165
|
+
if (configuration) {
|
|
3166
|
+
baseOptions = configuration.baseOptions;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3170
|
+
const localVarHeaderParameter = {} as any;
|
|
3171
|
+
const localVarQueryParameter = {} as any;
|
|
3172
|
+
|
|
3173
|
+
// authentication BearerToken required
|
|
3174
|
+
// http bearer authentication required
|
|
3175
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3176
|
+
|
|
3177
|
+
// authentication DigestAuth required
|
|
3178
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
3127
3182
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3128
3183
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3129
3184
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6258,6 +6313,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6258
6313
|
|
|
6259
6314
|
|
|
6260
6315
|
|
|
6316
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6318
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6319
|
+
|
|
6320
|
+
return {
|
|
6321
|
+
url: toPathString(localVarUrlObj),
|
|
6322
|
+
options: localVarRequestOptions,
|
|
6323
|
+
};
|
|
6324
|
+
},
|
|
6325
|
+
/**
|
|
6326
|
+
* Get a Milvus native role and its privilege grants.
|
|
6327
|
+
* @summary Get Milvus role
|
|
6328
|
+
* @param {string} orgName name of the Org
|
|
6329
|
+
* @param {string} clusterName name of the Cluster
|
|
6330
|
+
* @param {string} roleName name of the Milvus role
|
|
6331
|
+
* @param {*} [options] Override http request option.
|
|
6332
|
+
* @throws {RequiredError}
|
|
6333
|
+
*/
|
|
6334
|
+
getMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6335
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6336
|
+
assertParamExists('getMilvusRole', 'orgName', orgName)
|
|
6337
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6338
|
+
assertParamExists('getMilvusRole', 'clusterName', clusterName)
|
|
6339
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
6340
|
+
assertParamExists('getMilvusRole', 'roleName', roleName)
|
|
6341
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
6342
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6343
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6344
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
6345
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6346
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6347
|
+
let baseOptions;
|
|
6348
|
+
if (configuration) {
|
|
6349
|
+
baseOptions = configuration.baseOptions;
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6353
|
+
const localVarHeaderParameter = {} as any;
|
|
6354
|
+
const localVarQueryParameter = {} as any;
|
|
6355
|
+
|
|
6356
|
+
// authentication BearerToken required
|
|
6357
|
+
// http bearer authentication required
|
|
6358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6359
|
+
|
|
6360
|
+
// authentication DigestAuth required
|
|
6361
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6362
|
+
|
|
6363
|
+
|
|
6364
|
+
|
|
6261
6365
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6262
6366
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6263
6367
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9138,6 +9242,51 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9138
9242
|
|
|
9139
9243
|
|
|
9140
9244
|
|
|
9245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9247
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9248
|
+
|
|
9249
|
+
return {
|
|
9250
|
+
url: toPathString(localVarUrlObj),
|
|
9251
|
+
options: localVarRequestOptions,
|
|
9252
|
+
};
|
|
9253
|
+
},
|
|
9254
|
+
/**
|
|
9255
|
+
* List Milvus native roles and their privilege grants.
|
|
9256
|
+
* @summary List Milvus roles
|
|
9257
|
+
* @param {string} orgName name of the Org
|
|
9258
|
+
* @param {string} clusterName name of the Cluster
|
|
9259
|
+
* @param {*} [options] Override http request option.
|
|
9260
|
+
* @throws {RequiredError}
|
|
9261
|
+
*/
|
|
9262
|
+
listMilvusRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9263
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9264
|
+
assertParamExists('listMilvusRoles', 'orgName', orgName)
|
|
9265
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9266
|
+
assertParamExists('listMilvusRoles', 'clusterName', clusterName)
|
|
9267
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
9268
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9269
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9270
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9271
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9272
|
+
let baseOptions;
|
|
9273
|
+
if (configuration) {
|
|
9274
|
+
baseOptions = configuration.baseOptions;
|
|
9275
|
+
}
|
|
9276
|
+
|
|
9277
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9278
|
+
const localVarHeaderParameter = {} as any;
|
|
9279
|
+
const localVarQueryParameter = {} as any;
|
|
9280
|
+
|
|
9281
|
+
// authentication BearerToken required
|
|
9282
|
+
// http bearer authentication required
|
|
9283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9284
|
+
|
|
9285
|
+
// authentication DigestAuth required
|
|
9286
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9287
|
+
|
|
9288
|
+
|
|
9289
|
+
|
|
9141
9290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9142
9291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9143
9292
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11341,6 +11490,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11341
11490
|
|
|
11342
11491
|
|
|
11343
11492
|
|
|
11493
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11494
|
+
|
|
11495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11497
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11498
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
11499
|
+
|
|
11500
|
+
return {
|
|
11501
|
+
url: toPathString(localVarUrlObj),
|
|
11502
|
+
options: localVarRequestOptions,
|
|
11503
|
+
};
|
|
11504
|
+
},
|
|
11505
|
+
/**
|
|
11506
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
11507
|
+
* @summary Put Milvus role
|
|
11508
|
+
* @param {string} orgName name of the Org
|
|
11509
|
+
* @param {string} clusterName name of the Cluster
|
|
11510
|
+
* @param {string} roleName name of the Milvus role
|
|
11511
|
+
* @param {MilvusRoleRequest} body
|
|
11512
|
+
* @param {*} [options] Override http request option.
|
|
11513
|
+
* @throws {RequiredError}
|
|
11514
|
+
*/
|
|
11515
|
+
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11516
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11517
|
+
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
11518
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11519
|
+
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
11520
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
11521
|
+
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
11522
|
+
// verify required parameter 'body' is not null or undefined
|
|
11523
|
+
assertParamExists('putMilvusRole', 'body', body)
|
|
11524
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
11525
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11526
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11527
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
11528
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11529
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11530
|
+
let baseOptions;
|
|
11531
|
+
if (configuration) {
|
|
11532
|
+
baseOptions = configuration.baseOptions;
|
|
11533
|
+
}
|
|
11534
|
+
|
|
11535
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11536
|
+
const localVarHeaderParameter = {} as any;
|
|
11537
|
+
const localVarQueryParameter = {} as any;
|
|
11538
|
+
|
|
11539
|
+
// authentication BearerToken required
|
|
11540
|
+
// http bearer authentication required
|
|
11541
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11542
|
+
|
|
11543
|
+
// authentication DigestAuth required
|
|
11544
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11545
|
+
|
|
11546
|
+
|
|
11547
|
+
|
|
11344
11548
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11345
11549
|
|
|
11346
11550
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15984,6 +16188,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15984
16188
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
15985
16189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15986
16190
|
},
|
|
16191
|
+
/**
|
|
16192
|
+
* Delete a Milvus native role.
|
|
16193
|
+
* @summary Delete Milvus role
|
|
16194
|
+
* @param {string} orgName name of the Org
|
|
16195
|
+
* @param {string} clusterName name of the Cluster
|
|
16196
|
+
* @param {string} roleName name of the Milvus role
|
|
16197
|
+
* @param {*} [options] Override http request option.
|
|
16198
|
+
* @throws {RequiredError}
|
|
16199
|
+
*/
|
|
16200
|
+
async deleteMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusRole(orgName, clusterName, roleName, options);
|
|
16202
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16203
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
16204
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16205
|
+
},
|
|
15987
16206
|
/**
|
|
15988
16207
|
* delete an account in mongodb
|
|
15989
16208
|
* @summary Delete mongodb account
|
|
@@ -16912,6 +17131,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16912
17131
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getKafkaTopics']?.[localVarOperationServerIndex]?.url;
|
|
16913
17132
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16914
17133
|
},
|
|
17134
|
+
/**
|
|
17135
|
+
* Get a Milvus native role and its privilege grants.
|
|
17136
|
+
* @summary Get Milvus role
|
|
17137
|
+
* @param {string} orgName name of the Org
|
|
17138
|
+
* @param {string} clusterName name of the Cluster
|
|
17139
|
+
* @param {string} roleName name of the Milvus role
|
|
17140
|
+
* @param {*} [options] Override http request option.
|
|
17141
|
+
* @throws {RequiredError}
|
|
17142
|
+
*/
|
|
17143
|
+
async getMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMilvusRole(orgName, clusterName, roleName, options);
|
|
17145
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17146
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17147
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17148
|
+
},
|
|
16915
17149
|
/**
|
|
16916
17150
|
*
|
|
16917
17151
|
* @summary get the detail object info
|
|
@@ -17752,6 +17986,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17752
17986
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listKeys']?.[localVarOperationServerIndex]?.url;
|
|
17753
17987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17754
17988
|
},
|
|
17989
|
+
/**
|
|
17990
|
+
* List Milvus native roles and their privilege grants.
|
|
17991
|
+
* @summary List Milvus roles
|
|
17992
|
+
* @param {string} orgName name of the Org
|
|
17993
|
+
* @param {string} clusterName name of the Cluster
|
|
17994
|
+
* @param {*} [options] Override http request option.
|
|
17995
|
+
* @throws {RequiredError}
|
|
17996
|
+
*/
|
|
17997
|
+
async listMilvusRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRoleList>> {
|
|
17998
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusRoles(orgName, clusterName, options);
|
|
17999
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18000
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listMilvusRoles']?.[localVarOperationServerIndex]?.url;
|
|
18001
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18002
|
+
},
|
|
17755
18003
|
/**
|
|
17756
18004
|
* list accounts in mongodb
|
|
17757
18005
|
* @summary List mongodb accounts
|
|
@@ -18410,6 +18658,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18410
18658
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
18411
18659
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18412
18660
|
},
|
|
18661
|
+
/**
|
|
18662
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
18663
|
+
* @summary Put Milvus role
|
|
18664
|
+
* @param {string} orgName name of the Org
|
|
18665
|
+
* @param {string} clusterName name of the Cluster
|
|
18666
|
+
* @param {string} roleName name of the Milvus role
|
|
18667
|
+
* @param {MilvusRoleRequest} body
|
|
18668
|
+
* @param {*} [options] Override http request option.
|
|
18669
|
+
* @throws {RequiredError}
|
|
18670
|
+
*/
|
|
18671
|
+
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
18672
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
18673
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18674
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
18675
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18676
|
+
},
|
|
18413
18677
|
/**
|
|
18414
18678
|
*
|
|
18415
18679
|
* @summary create a SQL query
|
|
@@ -20009,6 +20273,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20009
20273
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20010
20274
|
return localVarFp.deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(axios, basePath));
|
|
20011
20275
|
},
|
|
20276
|
+
/**
|
|
20277
|
+
* Delete a Milvus native role.
|
|
20278
|
+
* @summary Delete Milvus role
|
|
20279
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
20280
|
+
* @param {*} [options] Override http request option.
|
|
20281
|
+
* @throws {RequiredError}
|
|
20282
|
+
*/
|
|
20283
|
+
deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20284
|
+
return localVarFp.deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
20285
|
+
},
|
|
20012
20286
|
/**
|
|
20013
20287
|
* delete an account in mongodb
|
|
20014
20288
|
* @summary Delete mongodb account
|
|
@@ -20609,6 +20883,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20609
20883
|
getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>> {
|
|
20610
20884
|
return localVarFp.getKafkaTopics(requestParameters.orgName, requestParameters.clusterName, requestParameters.nameFilter, requestParameters.onlyNames, options).then((request) => request(axios, basePath));
|
|
20611
20885
|
},
|
|
20886
|
+
/**
|
|
20887
|
+
* Get a Milvus native role and its privilege grants.
|
|
20888
|
+
* @summary Get Milvus role
|
|
20889
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
20890
|
+
* @param {*} [options] Override http request option.
|
|
20891
|
+
* @throws {RequiredError}
|
|
20892
|
+
*/
|
|
20893
|
+
getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
20894
|
+
return localVarFp.getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
20895
|
+
},
|
|
20612
20896
|
/**
|
|
20613
20897
|
*
|
|
20614
20898
|
* @summary get the detail object info
|
|
@@ -21146,6 +21430,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21146
21430
|
listKeys(options?: RawAxiosRequestConfig): AxiosPromise<KeyList> {
|
|
21147
21431
|
return localVarFp.listKeys(options).then((request) => request(axios, basePath));
|
|
21148
21432
|
},
|
|
21433
|
+
/**
|
|
21434
|
+
* List Milvus native roles and their privilege grants.
|
|
21435
|
+
* @summary List Milvus roles
|
|
21436
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
21437
|
+
* @param {*} [options] Override http request option.
|
|
21438
|
+
* @throws {RequiredError}
|
|
21439
|
+
*/
|
|
21440
|
+
listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList> {
|
|
21441
|
+
return localVarFp.listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21442
|
+
},
|
|
21149
21443
|
/**
|
|
21150
21444
|
* list accounts in mongodb
|
|
21151
21445
|
* @summary List mongodb accounts
|
|
@@ -21585,6 +21879,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21585
21879
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21586
21880
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21587
21881
|
},
|
|
21882
|
+
/**
|
|
21883
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
21884
|
+
* @summary Put Milvus role
|
|
21885
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
21886
|
+
* @param {*} [options] Override http request option.
|
|
21887
|
+
* @throws {RequiredError}
|
|
21888
|
+
*/
|
|
21889
|
+
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21890
|
+
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21891
|
+
},
|
|
21588
21892
|
/**
|
|
21589
21893
|
*
|
|
21590
21894
|
* @summary create a SQL query
|
|
@@ -22742,6 +23046,16 @@ export interface SharedApiInterface {
|
|
|
22742
23046
|
*/
|
|
22743
23047
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22744
23048
|
|
|
23049
|
+
/**
|
|
23050
|
+
* Delete a Milvus native role.
|
|
23051
|
+
* @summary Delete Milvus role
|
|
23052
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
23053
|
+
* @param {*} [options] Override http request option.
|
|
23054
|
+
* @throws {RequiredError}
|
|
23055
|
+
* @memberof SharedApiInterface
|
|
23056
|
+
*/
|
|
23057
|
+
deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23058
|
+
|
|
22745
23059
|
/**
|
|
22746
23060
|
* delete an account in mongodb
|
|
22747
23061
|
* @summary Delete mongodb account
|
|
@@ -23342,6 +23656,16 @@ export interface SharedApiInterface {
|
|
|
23342
23656
|
*/
|
|
23343
23657
|
getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>>;
|
|
23344
23658
|
|
|
23659
|
+
/**
|
|
23660
|
+
* Get a Milvus native role and its privilege grants.
|
|
23661
|
+
* @summary Get Milvus role
|
|
23662
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
23663
|
+
* @param {*} [options] Override http request option.
|
|
23664
|
+
* @throws {RequiredError}
|
|
23665
|
+
* @memberof SharedApiInterface
|
|
23666
|
+
*/
|
|
23667
|
+
getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
23668
|
+
|
|
23345
23669
|
/**
|
|
23346
23670
|
*
|
|
23347
23671
|
* @summary get the detail object info
|
|
@@ -23879,6 +24203,16 @@ export interface SharedApiInterface {
|
|
|
23879
24203
|
*/
|
|
23880
24204
|
listKeys(options?: RawAxiosRequestConfig): AxiosPromise<KeyList>;
|
|
23881
24205
|
|
|
24206
|
+
/**
|
|
24207
|
+
* List Milvus native roles and their privilege grants.
|
|
24208
|
+
* @summary List Milvus roles
|
|
24209
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
24210
|
+
* @param {*} [options] Override http request option.
|
|
24211
|
+
* @throws {RequiredError}
|
|
24212
|
+
* @memberof SharedApiInterface
|
|
24213
|
+
*/
|
|
24214
|
+
listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList>;
|
|
24215
|
+
|
|
23882
24216
|
/**
|
|
23883
24217
|
* list accounts in mongodb
|
|
23884
24218
|
* @summary List mongodb accounts
|
|
@@ -24318,6 +24652,16 @@ export interface SharedApiInterface {
|
|
|
24318
24652
|
*/
|
|
24319
24653
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24320
24654
|
|
|
24655
|
+
/**
|
|
24656
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
24657
|
+
* @summary Put Milvus role
|
|
24658
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
24659
|
+
* @param {*} [options] Override http request option.
|
|
24660
|
+
* @throws {RequiredError}
|
|
24661
|
+
* @memberof SharedApiInterface
|
|
24662
|
+
*/
|
|
24663
|
+
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24664
|
+
|
|
24321
24665
|
/**
|
|
24322
24666
|
*
|
|
24323
24667
|
* @summary create a SQL query
|
|
@@ -26523,6 +26867,34 @@ export interface SharedApiDeleteKafkaTopicRequest {
|
|
|
26523
26867
|
readonly topic: string
|
|
26524
26868
|
}
|
|
26525
26869
|
|
|
26870
|
+
/**
|
|
26871
|
+
* Request parameters for deleteMilvusRole operation in SharedApi.
|
|
26872
|
+
* @export
|
|
26873
|
+
* @interface SharedApiDeleteMilvusRoleRequest
|
|
26874
|
+
*/
|
|
26875
|
+
export interface SharedApiDeleteMilvusRoleRequest {
|
|
26876
|
+
/**
|
|
26877
|
+
* name of the Org
|
|
26878
|
+
* @type {string}
|
|
26879
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
26880
|
+
*/
|
|
26881
|
+
readonly orgName: string
|
|
26882
|
+
|
|
26883
|
+
/**
|
|
26884
|
+
* name of the Cluster
|
|
26885
|
+
* @type {string}
|
|
26886
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
26887
|
+
*/
|
|
26888
|
+
readonly clusterName: string
|
|
26889
|
+
|
|
26890
|
+
/**
|
|
26891
|
+
* name of the Milvus role
|
|
26892
|
+
* @type {string}
|
|
26893
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
26894
|
+
*/
|
|
26895
|
+
readonly roleName: string
|
|
26896
|
+
}
|
|
26897
|
+
|
|
26526
26898
|
/**
|
|
26527
26899
|
* Request parameters for deleteMongoDBAccount operation in SharedApi.
|
|
26528
26900
|
* @export
|
|
@@ -28399,6 +28771,34 @@ export interface SharedApiGetKafkaTopicsRequest {
|
|
|
28399
28771
|
readonly onlyNames?: boolean
|
|
28400
28772
|
}
|
|
28401
28773
|
|
|
28774
|
+
/**
|
|
28775
|
+
* Request parameters for getMilvusRole operation in SharedApi.
|
|
28776
|
+
* @export
|
|
28777
|
+
* @interface SharedApiGetMilvusRoleRequest
|
|
28778
|
+
*/
|
|
28779
|
+
export interface SharedApiGetMilvusRoleRequest {
|
|
28780
|
+
/**
|
|
28781
|
+
* name of the Org
|
|
28782
|
+
* @type {string}
|
|
28783
|
+
* @memberof SharedApiGetMilvusRole
|
|
28784
|
+
*/
|
|
28785
|
+
readonly orgName: string
|
|
28786
|
+
|
|
28787
|
+
/**
|
|
28788
|
+
* name of the Cluster
|
|
28789
|
+
* @type {string}
|
|
28790
|
+
* @memberof SharedApiGetMilvusRole
|
|
28791
|
+
*/
|
|
28792
|
+
readonly clusterName: string
|
|
28793
|
+
|
|
28794
|
+
/**
|
|
28795
|
+
* name of the Milvus role
|
|
28796
|
+
* @type {string}
|
|
28797
|
+
* @memberof SharedApiGetMilvusRole
|
|
28798
|
+
*/
|
|
28799
|
+
readonly roleName: string
|
|
28800
|
+
}
|
|
28801
|
+
|
|
28402
28802
|
/**
|
|
28403
28803
|
* Request parameters for getObjectInfo operation in SharedApi.
|
|
28404
28804
|
* @export
|
|
@@ -30100,6 +30500,27 @@ export interface SharedApiListKafkaTopicMessagesRequest {
|
|
|
30100
30500
|
readonly valueFilter?: string
|
|
30101
30501
|
}
|
|
30102
30502
|
|
|
30503
|
+
/**
|
|
30504
|
+
* Request parameters for listMilvusRoles operation in SharedApi.
|
|
30505
|
+
* @export
|
|
30506
|
+
* @interface SharedApiListMilvusRolesRequest
|
|
30507
|
+
*/
|
|
30508
|
+
export interface SharedApiListMilvusRolesRequest {
|
|
30509
|
+
/**
|
|
30510
|
+
* name of the Org
|
|
30511
|
+
* @type {string}
|
|
30512
|
+
* @memberof SharedApiListMilvusRoles
|
|
30513
|
+
*/
|
|
30514
|
+
readonly orgName: string
|
|
30515
|
+
|
|
30516
|
+
/**
|
|
30517
|
+
* name of the Cluster
|
|
30518
|
+
* @type {string}
|
|
30519
|
+
* @memberof SharedApiListMilvusRoles
|
|
30520
|
+
*/
|
|
30521
|
+
readonly clusterName: string
|
|
30522
|
+
}
|
|
30523
|
+
|
|
30103
30524
|
/**
|
|
30104
30525
|
* Request parameters for listMongoDBAccounts operation in SharedApi.
|
|
30105
30526
|
* @export
|
|
@@ -31297,6 +31718,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
31297
31718
|
readonly body: ESPutSecurityUserRequest
|
|
31298
31719
|
}
|
|
31299
31720
|
|
|
31721
|
+
/**
|
|
31722
|
+
* Request parameters for putMilvusRole operation in SharedApi.
|
|
31723
|
+
* @export
|
|
31724
|
+
* @interface SharedApiPutMilvusRoleRequest
|
|
31725
|
+
*/
|
|
31726
|
+
export interface SharedApiPutMilvusRoleRequest {
|
|
31727
|
+
/**
|
|
31728
|
+
* name of the Org
|
|
31729
|
+
* @type {string}
|
|
31730
|
+
* @memberof SharedApiPutMilvusRole
|
|
31731
|
+
*/
|
|
31732
|
+
readonly orgName: string
|
|
31733
|
+
|
|
31734
|
+
/**
|
|
31735
|
+
* name of the Cluster
|
|
31736
|
+
* @type {string}
|
|
31737
|
+
* @memberof SharedApiPutMilvusRole
|
|
31738
|
+
*/
|
|
31739
|
+
readonly clusterName: string
|
|
31740
|
+
|
|
31741
|
+
/**
|
|
31742
|
+
* name of the Milvus role
|
|
31743
|
+
* @type {string}
|
|
31744
|
+
* @memberof SharedApiPutMilvusRole
|
|
31745
|
+
*/
|
|
31746
|
+
readonly roleName: string
|
|
31747
|
+
|
|
31748
|
+
/**
|
|
31749
|
+
*
|
|
31750
|
+
* @type {MilvusRoleRequest}
|
|
31751
|
+
* @memberof SharedApiPutMilvusRole
|
|
31752
|
+
*/
|
|
31753
|
+
readonly body: MilvusRoleRequest
|
|
31754
|
+
}
|
|
31755
|
+
|
|
31300
31756
|
/**
|
|
31301
31757
|
* Request parameters for query operation in SharedApi.
|
|
31302
31758
|
* @export
|
|
@@ -34560,6 +35016,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34560
35016
|
return SharedApiFp(this.configuration).deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(this.axios, this.basePath));
|
|
34561
35017
|
}
|
|
34562
35018
|
|
|
35019
|
+
/**
|
|
35020
|
+
* Delete a Milvus native role.
|
|
35021
|
+
* @summary Delete Milvus role
|
|
35022
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
35023
|
+
* @param {*} [options] Override http request option.
|
|
35024
|
+
* @throws {RequiredError}
|
|
35025
|
+
* @memberof SharedApi
|
|
35026
|
+
*/
|
|
35027
|
+
public deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
35028
|
+
return SharedApiFp(this.configuration).deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
35029
|
+
}
|
|
35030
|
+
|
|
34563
35031
|
/**
|
|
34564
35032
|
* delete an account in mongodb
|
|
34565
35033
|
* @summary Delete mongodb account
|
|
@@ -35280,6 +35748,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
35280
35748
|
return SharedApiFp(this.configuration).getKafkaTopics(requestParameters.orgName, requestParameters.clusterName, requestParameters.nameFilter, requestParameters.onlyNames, options).then((request) => request(this.axios, this.basePath));
|
|
35281
35749
|
}
|
|
35282
35750
|
|
|
35751
|
+
/**
|
|
35752
|
+
* Get a Milvus native role and its privilege grants.
|
|
35753
|
+
* @summary Get Milvus role
|
|
35754
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
35755
|
+
* @param {*} [options] Override http request option.
|
|
35756
|
+
* @throws {RequiredError}
|
|
35757
|
+
* @memberof SharedApi
|
|
35758
|
+
*/
|
|
35759
|
+
public getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
35760
|
+
return SharedApiFp(this.configuration).getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
35761
|
+
}
|
|
35762
|
+
|
|
35283
35763
|
/**
|
|
35284
35764
|
*
|
|
35285
35765
|
* @summary get the detail object info
|
|
@@ -35925,6 +36405,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
35925
36405
|
return SharedApiFp(this.configuration).listKeys(options).then((request) => request(this.axios, this.basePath));
|
|
35926
36406
|
}
|
|
35927
36407
|
|
|
36408
|
+
/**
|
|
36409
|
+
* List Milvus native roles and their privilege grants.
|
|
36410
|
+
* @summary List Milvus roles
|
|
36411
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
36412
|
+
* @param {*} [options] Override http request option.
|
|
36413
|
+
* @throws {RequiredError}
|
|
36414
|
+
* @memberof SharedApi
|
|
36415
|
+
*/
|
|
36416
|
+
public listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig) {
|
|
36417
|
+
return SharedApiFp(this.configuration).listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
36418
|
+
}
|
|
36419
|
+
|
|
35928
36420
|
/**
|
|
35929
36421
|
* list accounts in mongodb
|
|
35930
36422
|
* @summary List mongodb accounts
|
|
@@ -36452,6 +36944,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36452
36944
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36453
36945
|
}
|
|
36454
36946
|
|
|
36947
|
+
/**
|
|
36948
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
36949
|
+
* @summary Put Milvus role
|
|
36950
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
36951
|
+
* @param {*} [options] Override http request option.
|
|
36952
|
+
* @throws {RequiredError}
|
|
36953
|
+
* @memberof SharedApi
|
|
36954
|
+
*/
|
|
36955
|
+
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
36956
|
+
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36957
|
+
}
|
|
36958
|
+
|
|
36455
36959
|
/**
|
|
36456
36960
|
*
|
|
36457
36961
|
* @summary create a SQL query
|