kb-cloud-client-typescript 2.3.0-beta.12 → 2.3.0-beta.14
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 +151 -79
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +165 -85
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +151 -79
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/adminapi/apis/milvus-api.js +153 -73
- package/dist/adminapi/apis/milvus-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +151 -79
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +165 -85
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-reference.d.ts +31 -0
- package/dist/adminapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-reference.js +16 -0
- package/dist/adminapi/models/cluster-reference.js.map +1 -0
- package/dist/adminapi/models/cluster.d.ts +3 -2
- package/dist/adminapi/models/cluster.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/milvus-role-create-request.d.ts +32 -0
- package/dist/adminapi/models/milvus-role-create-request.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-create-request.js +16 -0
- package/dist/adminapi/models/milvus-role-create-request.js.map +1 -0
- package/dist/adminapi/models/milvus-role-request.d.ts +1 -1
- package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
- package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
- package/dist/adminapi/models/mode-service-ref.d.ts +20 -0
- package/dist/adminapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/adminapi/models/redis-key-value-item.d.ts +3 -5
- package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -1
- package/dist/adminapi/models/service-ref.d.ts +8 -0
- package/dist/adminapi/models/service-ref.d.ts.map +1 -1
- package/dist/internalapi/models/cluster-reference.d.ts +31 -0
- package/dist/internalapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-reference.js +16 -0
- package/dist/internalapi/models/cluster-reference.js.map +1 -0
- package/dist/internalapi/models/cluster.d.ts +3 -2
- package/dist/internalapi/models/cluster.d.ts.map +1 -1
- package/dist/internalapi/models/index.d.ts +1 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +1 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/service-ref.d.ts +8 -0
- package/dist/internalapi/models/service-ref.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +151 -79
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +165 -85
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +151 -79
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/openapi/apis/milvus-api.js +153 -73
- package/dist/openapi/apis/milvus-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +151 -79
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +165 -85
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-reference.d.ts +31 -0
- package/dist/openapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/openapi/models/cluster-reference.js +16 -0
- package/dist/openapi/models/cluster-reference.js.map +1 -0
- package/dist/openapi/models/cluster.d.ts +3 -2
- package/dist/openapi/models/cluster.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/milvus-role-create-request.d.ts +32 -0
- package/dist/openapi/models/milvus-role-create-request.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-create-request.js +16 -0
- package/dist/openapi/models/milvus-role-create-request.js.map +1 -0
- package/dist/openapi/models/milvus-role-request.d.ts +1 -1
- package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
- package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
- package/dist/openapi/models/mode-service-ref.d.ts +20 -0
- package/dist/openapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/openapi/models/redis-key-value-item.d.ts +3 -5
- package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -1
- package/dist/openapi/models/service-ref.d.ts +8 -0
- package/dist/openapi/models/service-ref.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/apis/account-api.ts +266 -138
- package/src/adminapi/apis/milvus-api.ts +242 -114
- package/src/adminapi/apis/shared-api.ts +266 -138
- package/src/adminapi/models/cluster-reference.ts +36 -0
- package/src/adminapi/models/cluster.ts +5 -2
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/milvus-role-create-request.ts +39 -0
- package/src/adminapi/models/milvus-role-request.ts +1 -1
- package/src/adminapi/models/mode-service-ref-helm-value-path.ts +6 -0
- package/src/adminapi/models/mode-service-ref.ts +18 -0
- package/src/adminapi/models/redis-key-value-item.ts +3 -3
- package/src/adminapi/models/service-ref.ts +6 -0
- package/src/adminapi.yaml +113 -8
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/models/cluster-reference.ts +36 -0
- package/src/internalapi/models/cluster.ts +5 -2
- package/src/internalapi/models/index.ts +1 -0
- package/src/internalapi/models/service-ref.ts +6 -0
- package/src/internalapi.yaml +19 -1
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/account-api.ts +266 -138
- package/src/openapi/apis/milvus-api.ts +242 -114
- package/src/openapi/apis/shared-api.ts +266 -138
- package/src/openapi/models/cluster-reference.ts +36 -0
- package/src/openapi/models/cluster.ts +5 -2
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi/models/milvus-role-create-request.ts +39 -0
- package/src/openapi/models/milvus-role-request.ts +1 -1
- package/src/openapi/models/mode-service-ref-helm-value-path.ts +6 -0
- package/src/openapi/models/mode-service-ref.ts +18 -0
- package/src/openapi/models/redis-key-value-item.ts +3 -3
- package/src/openapi/models/service-ref.ts +6 -0
- package/src/openapi.yaml +113 -8
|
@@ -1203,6 +1203,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1203
1203
|
options: localVarRequestOptions,
|
|
1204
1204
|
};
|
|
1205
1205
|
},
|
|
1206
|
+
/**
|
|
1207
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1208
|
+
* @summary Create Milvus role
|
|
1209
|
+
* @param {string} orgName name of the Org
|
|
1210
|
+
* @param {string} clusterName name of the Cluster
|
|
1211
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1212
|
+
* @param {*} [options] Override http request option.
|
|
1213
|
+
* @throws {RequiredError}
|
|
1214
|
+
*/
|
|
1215
|
+
createMilvusRole: async (orgName, clusterName, body, options = {}) => {
|
|
1216
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1217
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'orgName', orgName);
|
|
1218
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1219
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'clusterName', clusterName);
|
|
1220
|
+
// verify required parameter 'body' is not null or undefined
|
|
1221
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'body', body);
|
|
1222
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1223
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1224
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1226
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1227
|
+
let baseOptions;
|
|
1228
|
+
if (configuration) {
|
|
1229
|
+
baseOptions = configuration.baseOptions;
|
|
1230
|
+
}
|
|
1231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1232
|
+
const localVarHeaderParameter = {};
|
|
1233
|
+
const localVarQueryParameter = {};
|
|
1234
|
+
// authentication BearerToken required
|
|
1235
|
+
// http bearer authentication required
|
|
1236
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1237
|
+
// authentication DigestAuth required
|
|
1238
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1239
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1240
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1242
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1243
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1244
|
+
return {
|
|
1245
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1246
|
+
options: localVarRequestOptions,
|
|
1247
|
+
};
|
|
1248
|
+
},
|
|
1206
1249
|
/**
|
|
1207
1250
|
* create an account in mongodb
|
|
1208
1251
|
* @summary Create mongodb account
|
|
@@ -9897,53 +9940,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9897
9940
|
options: localVarRequestOptions,
|
|
9898
9941
|
};
|
|
9899
9942
|
},
|
|
9900
|
-
/**
|
|
9901
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
9902
|
-
* @summary Put Milvus role
|
|
9903
|
-
* @param {string} orgName name of the Org
|
|
9904
|
-
* @param {string} clusterName name of the Cluster
|
|
9905
|
-
* @param {string} roleName name of the Milvus role
|
|
9906
|
-
* @param {MilvusRoleRequest} body
|
|
9907
|
-
* @param {*} [options] Override http request option.
|
|
9908
|
-
* @throws {RequiredError}
|
|
9909
|
-
*/
|
|
9910
|
-
putMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
9911
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
9912
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'orgName', orgName);
|
|
9913
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
9914
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'clusterName', clusterName);
|
|
9915
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
9916
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'roleName', roleName);
|
|
9917
|
-
// verify required parameter 'body' is not null or undefined
|
|
9918
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'body', body);
|
|
9919
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
9920
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9921
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9922
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
9923
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9924
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9925
|
-
let baseOptions;
|
|
9926
|
-
if (configuration) {
|
|
9927
|
-
baseOptions = configuration.baseOptions;
|
|
9928
|
-
}
|
|
9929
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
9930
|
-
const localVarHeaderParameter = {};
|
|
9931
|
-
const localVarQueryParameter = {};
|
|
9932
|
-
// authentication BearerToken required
|
|
9933
|
-
// http bearer authentication required
|
|
9934
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9935
|
-
// authentication DigestAuth required
|
|
9936
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9937
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9938
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9939
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9940
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9941
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
9942
|
-
return {
|
|
9943
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9944
|
-
options: localVarRequestOptions,
|
|
9945
|
-
};
|
|
9946
|
-
},
|
|
9947
9943
|
/**
|
|
9948
9944
|
*
|
|
9949
9945
|
* @summary create a SQL query
|
|
@@ -13209,6 +13205,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
13209
13205
|
options: localVarRequestOptions,
|
|
13210
13206
|
};
|
|
13211
13207
|
},
|
|
13208
|
+
/**
|
|
13209
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
13210
|
+
* @summary Update Milvus role
|
|
13211
|
+
* @param {string} orgName name of the Org
|
|
13212
|
+
* @param {string} clusterName name of the Cluster
|
|
13213
|
+
* @param {string} roleName name of the Milvus role
|
|
13214
|
+
* @param {MilvusRoleRequest} body
|
|
13215
|
+
* @param {*} [options] Override http request option.
|
|
13216
|
+
* @throws {RequiredError}
|
|
13217
|
+
*/
|
|
13218
|
+
updateMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
13219
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13220
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'orgName', orgName);
|
|
13221
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13222
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'clusterName', clusterName);
|
|
13223
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
13224
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'roleName', roleName);
|
|
13225
|
+
// verify required parameter 'body' is not null or undefined
|
|
13226
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'body', body);
|
|
13227
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
13228
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13229
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13230
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
13231
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13232
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13233
|
+
let baseOptions;
|
|
13234
|
+
if (configuration) {
|
|
13235
|
+
baseOptions = configuration.baseOptions;
|
|
13236
|
+
}
|
|
13237
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
13238
|
+
const localVarHeaderParameter = {};
|
|
13239
|
+
const localVarQueryParameter = {};
|
|
13240
|
+
// authentication BearerToken required
|
|
13241
|
+
// http bearer authentication required
|
|
13242
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13243
|
+
// authentication DigestAuth required
|
|
13244
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13245
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13246
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13249
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
13250
|
+
return {
|
|
13251
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13252
|
+
options: localVarRequestOptions,
|
|
13253
|
+
};
|
|
13254
|
+
},
|
|
13212
13255
|
/**
|
|
13213
13256
|
*
|
|
13214
13257
|
* @summary update mssql account compatible with windows account
|
|
@@ -14259,6 +14302,22 @@ const SharedApiFp = function (configuration) {
|
|
|
14259
14302
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createKafkaTopic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14260
14303
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14261
14304
|
},
|
|
14305
|
+
/**
|
|
14306
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
14307
|
+
* @summary Create Milvus role
|
|
14308
|
+
* @param {string} orgName name of the Org
|
|
14309
|
+
* @param {string} clusterName name of the Cluster
|
|
14310
|
+
* @param {MilvusRoleCreateRequest} body
|
|
14311
|
+
* @param {*} [options] Override http request option.
|
|
14312
|
+
* @throws {RequiredError}
|
|
14313
|
+
*/
|
|
14314
|
+
async createMilvusRole(orgName, clusterName, body, options) {
|
|
14315
|
+
var _a, _b, _c;
|
|
14316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
14317
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14318
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14319
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14320
|
+
},
|
|
14262
14321
|
/**
|
|
14263
14322
|
* create an account in mongodb
|
|
14264
14323
|
* @summary Create mongodb account
|
|
@@ -17487,23 +17546,6 @@ const SharedApiFp = function (configuration) {
|
|
|
17487
17546
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17488
17547
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17489
17548
|
},
|
|
17490
|
-
/**
|
|
17491
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
17492
|
-
* @summary Put Milvus role
|
|
17493
|
-
* @param {string} orgName name of the Org
|
|
17494
|
-
* @param {string} clusterName name of the Cluster
|
|
17495
|
-
* @param {string} roleName name of the Milvus role
|
|
17496
|
-
* @param {MilvusRoleRequest} body
|
|
17497
|
-
* @param {*} [options] Override http request option.
|
|
17498
|
-
* @throws {RequiredError}
|
|
17499
|
-
*/
|
|
17500
|
-
async putMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
17501
|
-
var _a, _b, _c;
|
|
17502
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
17503
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17504
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17505
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17506
|
-
},
|
|
17507
17549
|
/**
|
|
17508
17550
|
*
|
|
17509
17551
|
* @summary create a SQL query
|
|
@@ -18633,6 +18675,23 @@ const SharedApiFp = function (configuration) {
|
|
|
18633
18675
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18634
18676
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18635
18677
|
},
|
|
18678
|
+
/**
|
|
18679
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
18680
|
+
* @summary Update Milvus role
|
|
18681
|
+
* @param {string} orgName name of the Org
|
|
18682
|
+
* @param {string} clusterName name of the Cluster
|
|
18683
|
+
* @param {string} roleName name of the Milvus role
|
|
18684
|
+
* @param {MilvusRoleRequest} body
|
|
18685
|
+
* @param {*} [options] Override http request option.
|
|
18686
|
+
* @throws {RequiredError}
|
|
18687
|
+
*/
|
|
18688
|
+
async updateMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
18689
|
+
var _a, _b, _c;
|
|
18690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
18691
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18692
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18693
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18694
|
+
},
|
|
18636
18695
|
/**
|
|
18637
18696
|
*
|
|
18638
18697
|
* @summary update mssql account compatible with windows account
|
|
@@ -19113,6 +19172,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19113
19172
|
createKafkaTopic(requestParameters, options) {
|
|
19114
19173
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
19115
19174
|
},
|
|
19175
|
+
/**
|
|
19176
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
19177
|
+
* @summary Create Milvus role
|
|
19178
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
19179
|
+
* @param {*} [options] Override http request option.
|
|
19180
|
+
* @throws {RequiredError}
|
|
19181
|
+
*/
|
|
19182
|
+
createMilvusRole(requestParameters, options) {
|
|
19183
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19184
|
+
},
|
|
19116
19185
|
/**
|
|
19117
19186
|
* create an account in mongodb
|
|
19118
19187
|
* @summary Create mongodb account
|
|
@@ -21070,16 +21139,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21070
21139
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
21071
21140
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21072
21141
|
},
|
|
21073
|
-
/**
|
|
21074
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
21075
|
-
* @summary Put Milvus role
|
|
21076
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
21077
|
-
* @param {*} [options] Override http request option.
|
|
21078
|
-
* @throws {RequiredError}
|
|
21079
|
-
*/
|
|
21080
|
-
putMilvusRole(requestParameters, options) {
|
|
21081
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21082
|
-
},
|
|
21083
21142
|
/**
|
|
21084
21143
|
*
|
|
21085
21144
|
* @summary create a SQL query
|
|
@@ -21689,6 +21748,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21689
21748
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
21690
21749
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21691
21750
|
},
|
|
21751
|
+
/**
|
|
21752
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21753
|
+
* @summary Update Milvus role
|
|
21754
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
21755
|
+
* @param {*} [options] Override http request option.
|
|
21756
|
+
* @throws {RequiredError}
|
|
21757
|
+
*/
|
|
21758
|
+
updateMilvusRole(requestParameters, options) {
|
|
21759
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21760
|
+
},
|
|
21692
21761
|
/**
|
|
21693
21762
|
*
|
|
21694
21763
|
* @summary update mssql account compatible with windows account
|
|
@@ -22103,6 +22172,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22103
22172
|
createKafkaTopic(requestParameters, options) {
|
|
22104
22173
|
return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22105
22174
|
}
|
|
22175
|
+
/**
|
|
22176
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
22177
|
+
* @summary Create Milvus role
|
|
22178
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
22179
|
+
* @param {*} [options] Override http request option.
|
|
22180
|
+
* @throws {RequiredError}
|
|
22181
|
+
* @memberof SharedApi
|
|
22182
|
+
*/
|
|
22183
|
+
createMilvusRole(requestParameters, options) {
|
|
22184
|
+
return (0, exports.SharedApiFp)(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22185
|
+
}
|
|
22106
22186
|
/**
|
|
22107
22187
|
* create an account in mongodb
|
|
22108
22188
|
* @summary Create mongodb account
|
|
@@ -24256,17 +24336,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24256
24336
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
24257
24337
|
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24258
24338
|
}
|
|
24259
|
-
/**
|
|
24260
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
24261
|
-
* @summary Put Milvus role
|
|
24262
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
24263
|
-
* @param {*} [options] Override http request option.
|
|
24264
|
-
* @throws {RequiredError}
|
|
24265
|
-
* @memberof SharedApi
|
|
24266
|
-
*/
|
|
24267
|
-
putMilvusRole(requestParameters, options) {
|
|
24268
|
-
return (0, exports.SharedApiFp)(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24269
|
-
}
|
|
24270
24339
|
/**
|
|
24271
24340
|
*
|
|
24272
24341
|
* @summary create a SQL query
|
|
@@ -24937,6 +25006,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24937
25006
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
24938
25007
|
return (0, exports.SharedApiFp)(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24939
25008
|
}
|
|
25009
|
+
/**
|
|
25010
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
25011
|
+
* @summary Update Milvus role
|
|
25012
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
25013
|
+
* @param {*} [options] Override http request option.
|
|
25014
|
+
* @throws {RequiredError}
|
|
25015
|
+
* @memberof SharedApi
|
|
25016
|
+
*/
|
|
25017
|
+
updateMilvusRole(requestParameters, options) {
|
|
25018
|
+
return (0, exports.SharedApiFp)(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
25019
|
+
}
|
|
24940
25020
|
/**
|
|
24941
25021
|
*
|
|
24942
25022
|
* @summary update mssql account compatible with windows account
|