kb-cloud-client-typescript 2.3.0-beta.11 → 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/essecurity-role-mapping.d.ts +3 -3
- package/dist/adminapi/models/essecurity-role-mapping.d.ts.map +1 -1
- package/dist/adminapi/models/essecurity-role-template.d.ts +1 -1
- package/dist/adminapi/models/essecurity-role-template.d.ts.map +1 -1
- package/dist/adminapi/models/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/essecurity-role-mapping.d.ts +3 -3
- package/dist/openapi/models/essecurity-role-mapping.d.ts.map +1 -1
- package/dist/openapi/models/essecurity-role-template.d.ts +1 -1
- package/dist/openapi/models/essecurity-role-template.d.ts.map +1 -1
- package/dist/openapi/models/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/essecurity-role-mapping.ts +3 -3
- package/src/adminapi/models/essecurity-role-template.ts +1 -1
- 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 +119 -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/essecurity-role-mapping.ts +3 -3
- package/src/openapi/models/essecurity-role-template.ts +1 -1
- 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 +119 -8
|
@@ -1267,6 +1267,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1267
1267
|
options: localVarRequestOptions,
|
|
1268
1268
|
};
|
|
1269
1269
|
},
|
|
1270
|
+
/**
|
|
1271
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1272
|
+
* @summary Create Milvus role
|
|
1273
|
+
* @param {string} orgName name of the Org
|
|
1274
|
+
* @param {string} clusterName name of the Cluster
|
|
1275
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1276
|
+
* @param {*} [options] Override http request option.
|
|
1277
|
+
* @throws {RequiredError}
|
|
1278
|
+
*/
|
|
1279
|
+
createMilvusRole: async (orgName, clusterName, body, options = {}) => {
|
|
1280
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1281
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'orgName', orgName);
|
|
1282
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1283
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'clusterName', clusterName);
|
|
1284
|
+
// verify required parameter 'body' is not null or undefined
|
|
1285
|
+
(0, common_1.assertParamExists)('createMilvusRole', 'body', body);
|
|
1286
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1287
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1288
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1289
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1290
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1291
|
+
let baseOptions;
|
|
1292
|
+
if (configuration) {
|
|
1293
|
+
baseOptions = configuration.baseOptions;
|
|
1294
|
+
}
|
|
1295
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1296
|
+
const localVarHeaderParameter = {};
|
|
1297
|
+
const localVarQueryParameter = {};
|
|
1298
|
+
// authentication BearerToken required
|
|
1299
|
+
// http bearer authentication required
|
|
1300
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1301
|
+
// authentication DigestAuth required
|
|
1302
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1303
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1304
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1306
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1307
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1308
|
+
return {
|
|
1309
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1310
|
+
options: localVarRequestOptions,
|
|
1311
|
+
};
|
|
1312
|
+
},
|
|
1270
1313
|
/**
|
|
1271
1314
|
* create an account in mongodb
|
|
1272
1315
|
* @summary Create mongodb account
|
|
@@ -9944,53 +9987,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9944
9987
|
options: localVarRequestOptions,
|
|
9945
9988
|
};
|
|
9946
9989
|
},
|
|
9947
|
-
/**
|
|
9948
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
9949
|
-
* @summary Put Milvus role
|
|
9950
|
-
* @param {string} orgName name of the Org
|
|
9951
|
-
* @param {string} clusterName name of the Cluster
|
|
9952
|
-
* @param {string} roleName name of the Milvus role
|
|
9953
|
-
* @param {MilvusRoleRequest} body
|
|
9954
|
-
* @param {*} [options] Override http request option.
|
|
9955
|
-
* @throws {RequiredError}
|
|
9956
|
-
*/
|
|
9957
|
-
putMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
9958
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
9959
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'orgName', orgName);
|
|
9960
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
9961
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'clusterName', clusterName);
|
|
9962
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
9963
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'roleName', roleName);
|
|
9964
|
-
// verify required parameter 'body' is not null or undefined
|
|
9965
|
-
(0, common_1.assertParamExists)('putMilvusRole', 'body', body);
|
|
9966
|
-
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
9967
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9968
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
9969
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
9970
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9971
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9972
|
-
let baseOptions;
|
|
9973
|
-
if (configuration) {
|
|
9974
|
-
baseOptions = configuration.baseOptions;
|
|
9975
|
-
}
|
|
9976
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
9977
|
-
const localVarHeaderParameter = {};
|
|
9978
|
-
const localVarQueryParameter = {};
|
|
9979
|
-
// authentication BearerToken required
|
|
9980
|
-
// http bearer authentication required
|
|
9981
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9982
|
-
// authentication DigestAuth required
|
|
9983
|
-
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9984
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9985
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9986
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9987
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9988
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
9989
|
-
return {
|
|
9990
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9991
|
-
options: localVarRequestOptions,
|
|
9992
|
-
};
|
|
9993
|
-
},
|
|
9994
9990
|
/**
|
|
9995
9991
|
*
|
|
9996
9992
|
* @summary create a SQL query
|
|
@@ -13132,6 +13128,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
13132
13128
|
options: localVarRequestOptions,
|
|
13133
13129
|
};
|
|
13134
13130
|
},
|
|
13131
|
+
/**
|
|
13132
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
13133
|
+
* @summary Update Milvus role
|
|
13134
|
+
* @param {string} orgName name of the Org
|
|
13135
|
+
* @param {string} clusterName name of the Cluster
|
|
13136
|
+
* @param {string} roleName name of the Milvus role
|
|
13137
|
+
* @param {MilvusRoleRequest} body
|
|
13138
|
+
* @param {*} [options] Override http request option.
|
|
13139
|
+
* @throws {RequiredError}
|
|
13140
|
+
*/
|
|
13141
|
+
updateMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
|
|
13142
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13143
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'orgName', orgName);
|
|
13144
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13145
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'clusterName', clusterName);
|
|
13146
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
13147
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'roleName', roleName);
|
|
13148
|
+
// verify required parameter 'body' is not null or undefined
|
|
13149
|
+
(0, common_1.assertParamExists)('updateMilvusRole', 'body', body);
|
|
13150
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
13151
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13152
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13153
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
13154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13155
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13156
|
+
let baseOptions;
|
|
13157
|
+
if (configuration) {
|
|
13158
|
+
baseOptions = configuration.baseOptions;
|
|
13159
|
+
}
|
|
13160
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
13161
|
+
const localVarHeaderParameter = {};
|
|
13162
|
+
const localVarQueryParameter = {};
|
|
13163
|
+
// authentication BearerToken required
|
|
13164
|
+
// http bearer authentication required
|
|
13165
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13166
|
+
// authentication DigestAuth required
|
|
13167
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13168
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13169
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13170
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13171
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13172
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
13173
|
+
return {
|
|
13174
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13175
|
+
options: localVarRequestOptions,
|
|
13176
|
+
};
|
|
13177
|
+
},
|
|
13135
13178
|
/**
|
|
13136
13179
|
*
|
|
13137
13180
|
* @summary update mssql account compatible with windows account
|
|
@@ -14215,6 +14258,22 @@ const SharedApiFp = function (configuration) {
|
|
|
14215
14258
|
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;
|
|
14216
14259
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14217
14260
|
},
|
|
14261
|
+
/**
|
|
14262
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
14263
|
+
* @summary Create Milvus role
|
|
14264
|
+
* @param {string} orgName name of the Org
|
|
14265
|
+
* @param {string} clusterName name of the Cluster
|
|
14266
|
+
* @param {MilvusRoleCreateRequest} body
|
|
14267
|
+
* @param {*} [options] Override http request option.
|
|
14268
|
+
* @throws {RequiredError}
|
|
14269
|
+
*/
|
|
14270
|
+
async createMilvusRole(orgName, clusterName, body, options) {
|
|
14271
|
+
var _a, _b, _c;
|
|
14272
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
14273
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14274
|
+
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;
|
|
14275
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14276
|
+
},
|
|
14218
14277
|
/**
|
|
14219
14278
|
* create an account in mongodb
|
|
14220
14279
|
* @summary Create mongodb account
|
|
@@ -17451,23 +17510,6 @@ const SharedApiFp = function (configuration) {
|
|
|
17451
17510
|
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;
|
|
17452
17511
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17453
17512
|
},
|
|
17454
|
-
/**
|
|
17455
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
17456
|
-
* @summary Put Milvus role
|
|
17457
|
-
* @param {string} orgName name of the Org
|
|
17458
|
-
* @param {string} clusterName name of the Cluster
|
|
17459
|
-
* @param {string} roleName name of the Milvus role
|
|
17460
|
-
* @param {MilvusRoleRequest} body
|
|
17461
|
-
* @param {*} [options] Override http request option.
|
|
17462
|
-
* @throws {RequiredError}
|
|
17463
|
-
*/
|
|
17464
|
-
async putMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
17465
|
-
var _a, _b, _c;
|
|
17466
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
17467
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17468
|
-
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;
|
|
17469
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17470
|
-
},
|
|
17471
17513
|
/**
|
|
17472
17514
|
*
|
|
17473
17515
|
* @summary create a SQL query
|
|
@@ -18550,6 +18592,23 @@ const SharedApiFp = function (configuration) {
|
|
|
18550
18592
|
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;
|
|
18551
18593
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18552
18594
|
},
|
|
18595
|
+
/**
|
|
18596
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
18597
|
+
* @summary Update Milvus role
|
|
18598
|
+
* @param {string} orgName name of the Org
|
|
18599
|
+
* @param {string} clusterName name of the Cluster
|
|
18600
|
+
* @param {string} roleName name of the Milvus role
|
|
18601
|
+
* @param {MilvusRoleRequest} body
|
|
18602
|
+
* @param {*} [options] Override http request option.
|
|
18603
|
+
* @throws {RequiredError}
|
|
18604
|
+
*/
|
|
18605
|
+
async updateMilvusRole(orgName, clusterName, roleName, body, options) {
|
|
18606
|
+
var _a, _b, _c;
|
|
18607
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
18608
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18609
|
+
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;
|
|
18610
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18611
|
+
},
|
|
18553
18612
|
/**
|
|
18554
18613
|
*
|
|
18555
18614
|
* @summary update mssql account compatible with windows account
|
|
@@ -19059,6 +19118,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19059
19118
|
createKafkaTopic(requestParameters, options) {
|
|
19060
19119
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
19061
19120
|
},
|
|
19121
|
+
/**
|
|
19122
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
19123
|
+
* @summary Create Milvus role
|
|
19124
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
19125
|
+
* @param {*} [options] Override http request option.
|
|
19126
|
+
* @throws {RequiredError}
|
|
19127
|
+
*/
|
|
19128
|
+
createMilvusRole(requestParameters, options) {
|
|
19129
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19130
|
+
},
|
|
19062
19131
|
/**
|
|
19063
19132
|
* create an account in mongodb
|
|
19064
19133
|
* @summary Create mongodb account
|
|
@@ -21035,16 +21104,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21035
21104
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
21036
21105
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21037
21106
|
},
|
|
21038
|
-
/**
|
|
21039
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
21040
|
-
* @summary Put Milvus role
|
|
21041
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
21042
|
-
* @param {*} [options] Override http request option.
|
|
21043
|
-
* @throws {RequiredError}
|
|
21044
|
-
*/
|
|
21045
|
-
putMilvusRole(requestParameters, options) {
|
|
21046
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21047
|
-
},
|
|
21048
21107
|
/**
|
|
21049
21108
|
*
|
|
21050
21109
|
* @summary create a SQL query
|
|
@@ -21624,6 +21683,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21624
21683
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
21625
21684
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21626
21685
|
},
|
|
21686
|
+
/**
|
|
21687
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21688
|
+
* @summary Update Milvus role
|
|
21689
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
21690
|
+
* @param {*} [options] Override http request option.
|
|
21691
|
+
* @throws {RequiredError}
|
|
21692
|
+
*/
|
|
21693
|
+
updateMilvusRole(requestParameters, options) {
|
|
21694
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21695
|
+
},
|
|
21627
21696
|
/**
|
|
21628
21697
|
*
|
|
21629
21698
|
* @summary update mssql account compatible with windows account
|
|
@@ -22070,6 +22139,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22070
22139
|
createKafkaTopic(requestParameters, options) {
|
|
22071
22140
|
return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22072
22141
|
}
|
|
22142
|
+
/**
|
|
22143
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
22144
|
+
* @summary Create Milvus role
|
|
22145
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
22146
|
+
* @param {*} [options] Override http request option.
|
|
22147
|
+
* @throws {RequiredError}
|
|
22148
|
+
* @memberof SharedApi
|
|
22149
|
+
*/
|
|
22150
|
+
createMilvusRole(requestParameters, options) {
|
|
22151
|
+
return (0, exports.SharedApiFp)(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
22152
|
+
}
|
|
22073
22153
|
/**
|
|
22074
22154
|
* create an account in mongodb
|
|
22075
22155
|
* @summary Create mongodb account
|
|
@@ -24244,17 +24324,6 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24244
24324
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
24245
24325
|
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24246
24326
|
}
|
|
24247
|
-
/**
|
|
24248
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
24249
|
-
* @summary Put Milvus role
|
|
24250
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
24251
|
-
* @param {*} [options] Override http request option.
|
|
24252
|
-
* @throws {RequiredError}
|
|
24253
|
-
* @memberof SharedApi
|
|
24254
|
-
*/
|
|
24255
|
-
putMilvusRole(requestParameters, options) {
|
|
24256
|
-
return (0, exports.SharedApiFp)(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24257
|
-
}
|
|
24258
24327
|
/**
|
|
24259
24328
|
*
|
|
24260
24329
|
* @summary create a SQL query
|
|
@@ -24892,6 +24961,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24892
24961
|
updateMilvusAccountRoles(requestParameters, options) {
|
|
24893
24962
|
return (0, exports.SharedApiFp)(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24894
24963
|
}
|
|
24964
|
+
/**
|
|
24965
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24966
|
+
* @summary Update Milvus role
|
|
24967
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24968
|
+
* @param {*} [options] Override http request option.
|
|
24969
|
+
* @throws {RequiredError}
|
|
24970
|
+
* @memberof SharedApi
|
|
24971
|
+
*/
|
|
24972
|
+
updateMilvusRole(requestParameters, options) {
|
|
24973
|
+
return (0, exports.SharedApiFp)(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24974
|
+
}
|
|
24895
24975
|
/**
|
|
24896
24976
|
*
|
|
24897
24977
|
* @summary update mssql account compatible with windows account
|