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
|
@@ -38,6 +38,12 @@ import type { MilvusAccountPassword } from '../models';
|
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
import type { MilvusAccountRoles } from '../models';
|
|
40
40
|
// @ts-ignore
|
|
41
|
+
import type { MilvusRole } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { MilvusRoleList } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
import type { MilvusRoleRequest } from '../models';
|
|
46
|
+
// @ts-ignore
|
|
41
47
|
import type { PrivilegeListItem } from '../models';
|
|
42
48
|
// @ts-ignore
|
|
43
49
|
import type { RbmqAccountRequest } from '../models';
|
|
@@ -509,6 +515,55 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
509
515
|
|
|
510
516
|
|
|
511
517
|
|
|
518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
520
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
521
|
+
|
|
522
|
+
return {
|
|
523
|
+
url: toPathString(localVarUrlObj),
|
|
524
|
+
options: localVarRequestOptions,
|
|
525
|
+
};
|
|
526
|
+
},
|
|
527
|
+
/**
|
|
528
|
+
* Delete a Milvus native role.
|
|
529
|
+
* @summary Delete Milvus role
|
|
530
|
+
* @param {string} orgName name of the Org
|
|
531
|
+
* @param {string} clusterName name of the Cluster
|
|
532
|
+
* @param {string} roleName name of the Milvus role
|
|
533
|
+
* @param {*} [options] Override http request option.
|
|
534
|
+
* @throws {RequiredError}
|
|
535
|
+
*/
|
|
536
|
+
deleteMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
537
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
538
|
+
assertParamExists('deleteMilvusRole', 'orgName', orgName)
|
|
539
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
540
|
+
assertParamExists('deleteMilvusRole', 'clusterName', clusterName)
|
|
541
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
542
|
+
assertParamExists('deleteMilvusRole', 'roleName', roleName)
|
|
543
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
544
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
545
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
546
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
547
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
548
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
549
|
+
let baseOptions;
|
|
550
|
+
if (configuration) {
|
|
551
|
+
baseOptions = configuration.baseOptions;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
555
|
+
const localVarHeaderParameter = {} as any;
|
|
556
|
+
const localVarQueryParameter = {} as any;
|
|
557
|
+
|
|
558
|
+
// authentication BearerToken required
|
|
559
|
+
// http bearer authentication required
|
|
560
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
561
|
+
|
|
562
|
+
// authentication DigestAuth required
|
|
563
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
512
567
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
513
568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
514
569
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -757,6 +812,55 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
757
812
|
|
|
758
813
|
|
|
759
814
|
|
|
815
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
816
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
817
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
818
|
+
|
|
819
|
+
return {
|
|
820
|
+
url: toPathString(localVarUrlObj),
|
|
821
|
+
options: localVarRequestOptions,
|
|
822
|
+
};
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
* Get a Milvus native role and its privilege grants.
|
|
826
|
+
* @summary Get Milvus role
|
|
827
|
+
* @param {string} orgName name of the Org
|
|
828
|
+
* @param {string} clusterName name of the Cluster
|
|
829
|
+
* @param {string} roleName name of the Milvus role
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
getMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
834
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
835
|
+
assertParamExists('getMilvusRole', 'orgName', orgName)
|
|
836
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
837
|
+
assertParamExists('getMilvusRole', 'clusterName', clusterName)
|
|
838
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
839
|
+
assertParamExists('getMilvusRole', 'roleName', roleName)
|
|
840
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
841
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
842
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
843
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
844
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
845
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
846
|
+
let baseOptions;
|
|
847
|
+
if (configuration) {
|
|
848
|
+
baseOptions = configuration.baseOptions;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
852
|
+
const localVarHeaderParameter = {} as any;
|
|
853
|
+
const localVarQueryParameter = {} as any;
|
|
854
|
+
|
|
855
|
+
// authentication BearerToken required
|
|
856
|
+
// http bearer authentication required
|
|
857
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
858
|
+
|
|
859
|
+
// authentication DigestAuth required
|
|
860
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
760
864
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
761
865
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
866
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -965,6 +1069,51 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
965
1069
|
|
|
966
1070
|
|
|
967
1071
|
|
|
1072
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1074
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1075
|
+
|
|
1076
|
+
return {
|
|
1077
|
+
url: toPathString(localVarUrlObj),
|
|
1078
|
+
options: localVarRequestOptions,
|
|
1079
|
+
};
|
|
1080
|
+
},
|
|
1081
|
+
/**
|
|
1082
|
+
* List Milvus native roles and their privilege grants.
|
|
1083
|
+
* @summary List Milvus roles
|
|
1084
|
+
* @param {string} orgName name of the Org
|
|
1085
|
+
* @param {string} clusterName name of the Cluster
|
|
1086
|
+
* @param {*} [options] Override http request option.
|
|
1087
|
+
* @throws {RequiredError}
|
|
1088
|
+
*/
|
|
1089
|
+
listMilvusRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1090
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1091
|
+
assertParamExists('listMilvusRoles', 'orgName', orgName)
|
|
1092
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1093
|
+
assertParamExists('listMilvusRoles', 'clusterName', clusterName)
|
|
1094
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1095
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1096
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1097
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1098
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1099
|
+
let baseOptions;
|
|
1100
|
+
if (configuration) {
|
|
1101
|
+
baseOptions = configuration.baseOptions;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1105
|
+
const localVarHeaderParameter = {} as any;
|
|
1106
|
+
const localVarQueryParameter = {} as any;
|
|
1107
|
+
|
|
1108
|
+
// authentication BearerToken required
|
|
1109
|
+
// http bearer authentication required
|
|
1110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1111
|
+
|
|
1112
|
+
// authentication DigestAuth required
|
|
1113
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
968
1117
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
969
1118
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
970
1119
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1171,6 +1320,61 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1171
1320
|
options: localVarRequestOptions,
|
|
1172
1321
|
};
|
|
1173
1322
|
},
|
|
1323
|
+
/**
|
|
1324
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
1325
|
+
* @summary Put Milvus role
|
|
1326
|
+
* @param {string} orgName name of the Org
|
|
1327
|
+
* @param {string} clusterName name of the Cluster
|
|
1328
|
+
* @param {string} roleName name of the Milvus role
|
|
1329
|
+
* @param {MilvusRoleRequest} body
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1334
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1335
|
+
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
1336
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1337
|
+
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
1338
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
1339
|
+
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
1340
|
+
// verify required parameter 'body' is not null or undefined
|
|
1341
|
+
assertParamExists('putMilvusRole', 'body', body)
|
|
1342
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
1343
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1344
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1345
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
1346
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1348
|
+
let baseOptions;
|
|
1349
|
+
if (configuration) {
|
|
1350
|
+
baseOptions = configuration.baseOptions;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1354
|
+
const localVarHeaderParameter = {} as any;
|
|
1355
|
+
const localVarQueryParameter = {} as any;
|
|
1356
|
+
|
|
1357
|
+
// authentication BearerToken required
|
|
1358
|
+
// http bearer authentication required
|
|
1359
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1360
|
+
|
|
1361
|
+
// authentication DigestAuth required
|
|
1362
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1367
|
+
|
|
1368
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1370
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1371
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1372
|
+
|
|
1373
|
+
return {
|
|
1374
|
+
url: toPathString(localVarUrlObj),
|
|
1375
|
+
options: localVarRequestOptions,
|
|
1376
|
+
};
|
|
1377
|
+
},
|
|
1174
1378
|
/**
|
|
1175
1379
|
* unlock an account in cluster
|
|
1176
1380
|
* @summary Unlock cluster account
|
|
@@ -1928,6 +2132,21 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1928
2132
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteKafkaAccount']?.[localVarOperationServerIndex]?.url;
|
|
1929
2133
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1930
2134
|
},
|
|
2135
|
+
/**
|
|
2136
|
+
* Delete a Milvus native role.
|
|
2137
|
+
* @summary Delete Milvus role
|
|
2138
|
+
* @param {string} orgName name of the Org
|
|
2139
|
+
* @param {string} clusterName name of the Cluster
|
|
2140
|
+
* @param {string} roleName name of the Milvus role
|
|
2141
|
+
* @param {*} [options] Override http request option.
|
|
2142
|
+
* @throws {RequiredError}
|
|
2143
|
+
*/
|
|
2144
|
+
async deleteMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusRole(orgName, clusterName, roleName, options);
|
|
2146
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2147
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
2148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2149
|
+
},
|
|
1931
2150
|
/**
|
|
1932
2151
|
* delete an account in mongodb
|
|
1933
2152
|
* @summary Delete mongodb account
|
|
@@ -2003,6 +2222,21 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2003
2222
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.getHiveAccounts']?.[localVarOperationServerIndex]?.url;
|
|
2004
2223
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2005
2224
|
},
|
|
2225
|
+
/**
|
|
2226
|
+
* Get a Milvus native role and its privilege grants.
|
|
2227
|
+
* @summary Get Milvus role
|
|
2228
|
+
* @param {string} orgName name of the Org
|
|
2229
|
+
* @param {string} clusterName name of the Cluster
|
|
2230
|
+
* @param {string} roleName name of the Milvus role
|
|
2231
|
+
* @param {*} [options] Override http request option.
|
|
2232
|
+
* @throws {RequiredError}
|
|
2233
|
+
*/
|
|
2234
|
+
async getMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
2235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMilvusRole(orgName, clusterName, roleName, options);
|
|
2236
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2237
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.getMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
2238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2239
|
+
},
|
|
2006
2240
|
/**
|
|
2007
2241
|
* get root account password
|
|
2008
2242
|
* @summary get root account password
|
|
@@ -2065,6 +2299,20 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2065
2299
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.listKafkaAccounts']?.[localVarOperationServerIndex]?.url;
|
|
2066
2300
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2067
2301
|
},
|
|
2302
|
+
/**
|
|
2303
|
+
* List Milvus native roles and their privilege grants.
|
|
2304
|
+
* @summary List Milvus roles
|
|
2305
|
+
* @param {string} orgName name of the Org
|
|
2306
|
+
* @param {string} clusterName name of the Cluster
|
|
2307
|
+
* @param {*} [options] Override http request option.
|
|
2308
|
+
* @throws {RequiredError}
|
|
2309
|
+
*/
|
|
2310
|
+
async listMilvusRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRoleList>> {
|
|
2311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusRoles(orgName, clusterName, options);
|
|
2312
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2313
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listMilvusRoles']?.[localVarOperationServerIndex]?.url;
|
|
2314
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2315
|
+
},
|
|
2068
2316
|
/**
|
|
2069
2317
|
* list accounts in mongodb
|
|
2070
2318
|
* @summary List mongodb accounts
|
|
@@ -2125,6 +2373,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2125
2373
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.lockAccount']?.[localVarOperationServerIndex]?.url;
|
|
2126
2374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2127
2375
|
},
|
|
2376
|
+
/**
|
|
2377
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
2378
|
+
* @summary Put Milvus role
|
|
2379
|
+
* @param {string} orgName name of the Org
|
|
2380
|
+
* @param {string} clusterName name of the Cluster
|
|
2381
|
+
* @param {string} roleName name of the Milvus role
|
|
2382
|
+
* @param {MilvusRoleRequest} body
|
|
2383
|
+
* @param {*} [options] Override http request option.
|
|
2384
|
+
* @throws {RequiredError}
|
|
2385
|
+
*/
|
|
2386
|
+
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
2387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
2388
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2389
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
2390
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2391
|
+
},
|
|
2128
2392
|
/**
|
|
2129
2393
|
* unlock an account in cluster
|
|
2130
2394
|
* @summary Unlock cluster account
|
|
@@ -2403,6 +2667,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2403
2667
|
deleteKafkaAccount(requestParameters: AccountApiDeleteKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2404
2668
|
return localVarFp.deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2405
2669
|
},
|
|
2670
|
+
/**
|
|
2671
|
+
* Delete a Milvus native role.
|
|
2672
|
+
* @summary Delete Milvus role
|
|
2673
|
+
* @param {AccountApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
2674
|
+
* @param {*} [options] Override http request option.
|
|
2675
|
+
* @throws {RequiredError}
|
|
2676
|
+
*/
|
|
2677
|
+
deleteMilvusRole(requestParameters: AccountApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2678
|
+
return localVarFp.deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
2679
|
+
},
|
|
2406
2680
|
/**
|
|
2407
2681
|
* delete an account in mongodb
|
|
2408
2682
|
* @summary Delete mongodb account
|
|
@@ -2453,6 +2727,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2453
2727
|
getHiveAccounts(requestParameters: AccountApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
2454
2728
|
return localVarFp.getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2455
2729
|
},
|
|
2730
|
+
/**
|
|
2731
|
+
* Get a Milvus native role and its privilege grants.
|
|
2732
|
+
* @summary Get Milvus role
|
|
2733
|
+
* @param {AccountApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
2734
|
+
* @param {*} [options] Override http request option.
|
|
2735
|
+
* @throws {RequiredError}
|
|
2736
|
+
*/
|
|
2737
|
+
getMilvusRole(requestParameters: AccountApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
2738
|
+
return localVarFp.getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
2739
|
+
},
|
|
2456
2740
|
/**
|
|
2457
2741
|
* get root account password
|
|
2458
2742
|
* @summary get root account password
|
|
@@ -2493,6 +2777,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2493
2777
|
listKafkaAccounts(requestParameters: AccountApiListKafkaAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
2494
2778
|
return localVarFp.listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2495
2779
|
},
|
|
2780
|
+
/**
|
|
2781
|
+
* List Milvus native roles and their privilege grants.
|
|
2782
|
+
* @summary List Milvus roles
|
|
2783
|
+
* @param {AccountApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
2784
|
+
* @param {*} [options] Override http request option.
|
|
2785
|
+
* @throws {RequiredError}
|
|
2786
|
+
*/
|
|
2787
|
+
listMilvusRoles(requestParameters: AccountApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList> {
|
|
2788
|
+
return localVarFp.listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2789
|
+
},
|
|
2496
2790
|
/**
|
|
2497
2791
|
* list accounts in mongodb
|
|
2498
2792
|
* @summary List mongodb accounts
|
|
@@ -2533,6 +2827,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2533
2827
|
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2534
2828
|
return localVarFp.lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2535
2829
|
},
|
|
2830
|
+
/**
|
|
2831
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
2832
|
+
* @summary Put Milvus role
|
|
2833
|
+
* @param {AccountApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
2834
|
+
* @param {*} [options] Override http request option.
|
|
2835
|
+
* @throws {RequiredError}
|
|
2836
|
+
*/
|
|
2837
|
+
putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
2838
|
+
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2839
|
+
},
|
|
2536
2840
|
/**
|
|
2537
2841
|
* unlock an account in cluster
|
|
2538
2842
|
* @summary Unlock cluster account
|
|
@@ -2742,6 +3046,16 @@ export interface AccountApiInterface {
|
|
|
2742
3046
|
*/
|
|
2743
3047
|
deleteKafkaAccount(requestParameters: AccountApiDeleteKafkaAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2744
3048
|
|
|
3049
|
+
/**
|
|
3050
|
+
* Delete a Milvus native role.
|
|
3051
|
+
* @summary Delete Milvus role
|
|
3052
|
+
* @param {AccountApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
3053
|
+
* @param {*} [options] Override http request option.
|
|
3054
|
+
* @throws {RequiredError}
|
|
3055
|
+
* @memberof AccountApiInterface
|
|
3056
|
+
*/
|
|
3057
|
+
deleteMilvusRole(requestParameters: AccountApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3058
|
+
|
|
2745
3059
|
/**
|
|
2746
3060
|
* delete an account in mongodb
|
|
2747
3061
|
* @summary Delete mongodb account
|
|
@@ -2792,6 +3106,16 @@ export interface AccountApiInterface {
|
|
|
2792
3106
|
*/
|
|
2793
3107
|
getHiveAccounts(requestParameters: AccountApiGetHiveAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
2794
3108
|
|
|
3109
|
+
/**
|
|
3110
|
+
* Get a Milvus native role and its privilege grants.
|
|
3111
|
+
* @summary Get Milvus role
|
|
3112
|
+
* @param {AccountApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
3113
|
+
* @param {*} [options] Override http request option.
|
|
3114
|
+
* @throws {RequiredError}
|
|
3115
|
+
* @memberof AccountApiInterface
|
|
3116
|
+
*/
|
|
3117
|
+
getMilvusRole(requestParameters: AccountApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
3118
|
+
|
|
2795
3119
|
/**
|
|
2796
3120
|
* get root account password
|
|
2797
3121
|
* @summary get root account password
|
|
@@ -2832,6 +3156,16 @@ export interface AccountApiInterface {
|
|
|
2832
3156
|
*/
|
|
2833
3157
|
listKafkaAccounts(requestParameters: AccountApiListKafkaAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
2834
3158
|
|
|
3159
|
+
/**
|
|
3160
|
+
* List Milvus native roles and their privilege grants.
|
|
3161
|
+
* @summary List Milvus roles
|
|
3162
|
+
* @param {AccountApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
3163
|
+
* @param {*} [options] Override http request option.
|
|
3164
|
+
* @throws {RequiredError}
|
|
3165
|
+
* @memberof AccountApiInterface
|
|
3166
|
+
*/
|
|
3167
|
+
listMilvusRoles(requestParameters: AccountApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList>;
|
|
3168
|
+
|
|
2835
3169
|
/**
|
|
2836
3170
|
* list accounts in mongodb
|
|
2837
3171
|
* @summary List mongodb accounts
|
|
@@ -2872,6 +3206,16 @@ export interface AccountApiInterface {
|
|
|
2872
3206
|
*/
|
|
2873
3207
|
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2874
3208
|
|
|
3209
|
+
/**
|
|
3210
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
3211
|
+
* @summary Put Milvus role
|
|
3212
|
+
* @param {AccountApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
3213
|
+
* @param {*} [options] Override http request option.
|
|
3214
|
+
* @throws {RequiredError}
|
|
3215
|
+
* @memberof AccountApiInterface
|
|
3216
|
+
*/
|
|
3217
|
+
putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
3218
|
+
|
|
2875
3219
|
/**
|
|
2876
3220
|
* unlock an account in cluster
|
|
2877
3221
|
* @summary Unlock cluster account
|
|
@@ -3257,6 +3601,34 @@ export interface AccountApiDeleteKafkaAccountRequest {
|
|
|
3257
3601
|
readonly accountName: string
|
|
3258
3602
|
}
|
|
3259
3603
|
|
|
3604
|
+
/**
|
|
3605
|
+
* Request parameters for deleteMilvusRole operation in AccountApi.
|
|
3606
|
+
* @export
|
|
3607
|
+
* @interface AccountApiDeleteMilvusRoleRequest
|
|
3608
|
+
*/
|
|
3609
|
+
export interface AccountApiDeleteMilvusRoleRequest {
|
|
3610
|
+
/**
|
|
3611
|
+
* name of the Org
|
|
3612
|
+
* @type {string}
|
|
3613
|
+
* @memberof AccountApiDeleteMilvusRole
|
|
3614
|
+
*/
|
|
3615
|
+
readonly orgName: string
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* name of the Cluster
|
|
3619
|
+
* @type {string}
|
|
3620
|
+
* @memberof AccountApiDeleteMilvusRole
|
|
3621
|
+
*/
|
|
3622
|
+
readonly clusterName: string
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* name of the Milvus role
|
|
3626
|
+
* @type {string}
|
|
3627
|
+
* @memberof AccountApiDeleteMilvusRole
|
|
3628
|
+
*/
|
|
3629
|
+
readonly roleName: string
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3260
3632
|
/**
|
|
3261
3633
|
* Request parameters for deleteMongoDBAccount operation in AccountApi.
|
|
3262
3634
|
* @export
|
|
@@ -3397,6 +3769,34 @@ export interface AccountApiGetHiveAccountsRequest {
|
|
|
3397
3769
|
readonly clusterName: string
|
|
3398
3770
|
}
|
|
3399
3771
|
|
|
3772
|
+
/**
|
|
3773
|
+
* Request parameters for getMilvusRole operation in AccountApi.
|
|
3774
|
+
* @export
|
|
3775
|
+
* @interface AccountApiGetMilvusRoleRequest
|
|
3776
|
+
*/
|
|
3777
|
+
export interface AccountApiGetMilvusRoleRequest {
|
|
3778
|
+
/**
|
|
3779
|
+
* name of the Org
|
|
3780
|
+
* @type {string}
|
|
3781
|
+
* @memberof AccountApiGetMilvusRole
|
|
3782
|
+
*/
|
|
3783
|
+
readonly orgName: string
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* name of the Cluster
|
|
3787
|
+
* @type {string}
|
|
3788
|
+
* @memberof AccountApiGetMilvusRole
|
|
3789
|
+
*/
|
|
3790
|
+
readonly clusterName: string
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* name of the Milvus role
|
|
3794
|
+
* @type {string}
|
|
3795
|
+
* @memberof AccountApiGetMilvusRole
|
|
3796
|
+
*/
|
|
3797
|
+
readonly roleName: string
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3400
3800
|
/**
|
|
3401
3801
|
* Request parameters for getRootAccountPassword operation in AccountApi.
|
|
3402
3802
|
* @export
|
|
@@ -3523,6 +3923,27 @@ export interface AccountApiListKafkaAccountsRequest {
|
|
|
3523
3923
|
readonly clusterName: string
|
|
3524
3924
|
}
|
|
3525
3925
|
|
|
3926
|
+
/**
|
|
3927
|
+
* Request parameters for listMilvusRoles operation in AccountApi.
|
|
3928
|
+
* @export
|
|
3929
|
+
* @interface AccountApiListMilvusRolesRequest
|
|
3930
|
+
*/
|
|
3931
|
+
export interface AccountApiListMilvusRolesRequest {
|
|
3932
|
+
/**
|
|
3933
|
+
* name of the Org
|
|
3934
|
+
* @type {string}
|
|
3935
|
+
* @memberof AccountApiListMilvusRoles
|
|
3936
|
+
*/
|
|
3937
|
+
readonly orgName: string
|
|
3938
|
+
|
|
3939
|
+
/**
|
|
3940
|
+
* name of the Cluster
|
|
3941
|
+
* @type {string}
|
|
3942
|
+
* @memberof AccountApiListMilvusRoles
|
|
3943
|
+
*/
|
|
3944
|
+
readonly clusterName: string
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3526
3947
|
/**
|
|
3527
3948
|
* Request parameters for listMongoDBAccounts operation in AccountApi.
|
|
3528
3949
|
* @export
|
|
@@ -3635,6 +4056,41 @@ export interface AccountApiLockAccountRequest {
|
|
|
3635
4056
|
readonly accountName: string
|
|
3636
4057
|
}
|
|
3637
4058
|
|
|
4059
|
+
/**
|
|
4060
|
+
* Request parameters for putMilvusRole operation in AccountApi.
|
|
4061
|
+
* @export
|
|
4062
|
+
* @interface AccountApiPutMilvusRoleRequest
|
|
4063
|
+
*/
|
|
4064
|
+
export interface AccountApiPutMilvusRoleRequest {
|
|
4065
|
+
/**
|
|
4066
|
+
* name of the Org
|
|
4067
|
+
* @type {string}
|
|
4068
|
+
* @memberof AccountApiPutMilvusRole
|
|
4069
|
+
*/
|
|
4070
|
+
readonly orgName: string
|
|
4071
|
+
|
|
4072
|
+
/**
|
|
4073
|
+
* name of the Cluster
|
|
4074
|
+
* @type {string}
|
|
4075
|
+
* @memberof AccountApiPutMilvusRole
|
|
4076
|
+
*/
|
|
4077
|
+
readonly clusterName: string
|
|
4078
|
+
|
|
4079
|
+
/**
|
|
4080
|
+
* name of the Milvus role
|
|
4081
|
+
* @type {string}
|
|
4082
|
+
* @memberof AccountApiPutMilvusRole
|
|
4083
|
+
*/
|
|
4084
|
+
readonly roleName: string
|
|
4085
|
+
|
|
4086
|
+
/**
|
|
4087
|
+
*
|
|
4088
|
+
* @type {MilvusRoleRequest}
|
|
4089
|
+
* @memberof AccountApiPutMilvusRole
|
|
4090
|
+
*/
|
|
4091
|
+
readonly body: MilvusRoleRequest
|
|
4092
|
+
}
|
|
4093
|
+
|
|
3638
4094
|
/**
|
|
3639
4095
|
* Request parameters for unlockAccount operation in AccountApi.
|
|
3640
4096
|
* @export
|
|
@@ -4149,6 +4605,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4149
4605
|
return AccountApiFp(this.configuration).deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
4150
4606
|
}
|
|
4151
4607
|
|
|
4608
|
+
/**
|
|
4609
|
+
* Delete a Milvus native role.
|
|
4610
|
+
* @summary Delete Milvus role
|
|
4611
|
+
* @param {AccountApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
4612
|
+
* @param {*} [options] Override http request option.
|
|
4613
|
+
* @throws {RequiredError}
|
|
4614
|
+
* @memberof AccountApi
|
|
4615
|
+
*/
|
|
4616
|
+
public deleteMilvusRole(requestParameters: AccountApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
4617
|
+
return AccountApiFp(this.configuration).deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
4618
|
+
}
|
|
4619
|
+
|
|
4152
4620
|
/**
|
|
4153
4621
|
* delete an account in mongodb
|
|
4154
4622
|
* @summary Delete mongodb account
|
|
@@ -4209,6 +4677,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4209
4677
|
return AccountApiFp(this.configuration).getHiveAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4210
4678
|
}
|
|
4211
4679
|
|
|
4680
|
+
/**
|
|
4681
|
+
* Get a Milvus native role and its privilege grants.
|
|
4682
|
+
* @summary Get Milvus role
|
|
4683
|
+
* @param {AccountApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
4684
|
+
* @param {*} [options] Override http request option.
|
|
4685
|
+
* @throws {RequiredError}
|
|
4686
|
+
* @memberof AccountApi
|
|
4687
|
+
*/
|
|
4688
|
+
public getMilvusRole(requestParameters: AccountApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
4689
|
+
return AccountApiFp(this.configuration).getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
4690
|
+
}
|
|
4691
|
+
|
|
4212
4692
|
/**
|
|
4213
4693
|
* get root account password
|
|
4214
4694
|
* @summary get root account password
|
|
@@ -4257,6 +4737,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4257
4737
|
return AccountApiFp(this.configuration).listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4258
4738
|
}
|
|
4259
4739
|
|
|
4740
|
+
/**
|
|
4741
|
+
* List Milvus native roles and their privilege grants.
|
|
4742
|
+
* @summary List Milvus roles
|
|
4743
|
+
* @param {AccountApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
4744
|
+
* @param {*} [options] Override http request option.
|
|
4745
|
+
* @throws {RequiredError}
|
|
4746
|
+
* @memberof AccountApi
|
|
4747
|
+
*/
|
|
4748
|
+
public listMilvusRoles(requestParameters: AccountApiListMilvusRolesRequest, options?: RawAxiosRequestConfig) {
|
|
4749
|
+
return AccountApiFp(this.configuration).listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4260
4752
|
/**
|
|
4261
4753
|
* list accounts in mongodb
|
|
4262
4754
|
* @summary List mongodb accounts
|
|
@@ -4305,6 +4797,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4305
4797
|
return AccountApiFp(this.configuration).lockAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
4306
4798
|
}
|
|
4307
4799
|
|
|
4800
|
+
/**
|
|
4801
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
4802
|
+
* @summary Put Milvus role
|
|
4803
|
+
* @param {AccountApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
4804
|
+
* @param {*} [options] Override http request option.
|
|
4805
|
+
* @throws {RequiredError}
|
|
4806
|
+
* @memberof AccountApi
|
|
4807
|
+
*/
|
|
4808
|
+
public putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
4809
|
+
return AccountApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
4810
|
+
}
|
|
4811
|
+
|
|
4308
4812
|
/**
|
|
4309
4813
|
* unlock an account in cluster
|
|
4310
4814
|
* @summary Unlock cluster account
|