kb-cloud-client-typescript 2.2.93 → 2.2.95
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/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +447 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +487 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +495 -0
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -0
- package/dist/adminapi/apis/milvus-api.js +551 -0
- package/dist/adminapi/apis/milvus-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +447 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +487 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +6 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +6 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/milvus-account-password.d.ts +31 -0
- package/dist/adminapi/models/milvus-account-password.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-account-password.js +16 -0
- package/dist/adminapi/models/milvus-account-password.js.map +1 -0
- package/dist/adminapi/models/milvus-account-roles.d.ts +31 -0
- package/dist/adminapi/models/milvus-account-roles.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-account-roles.js +16 -0
- package/dist/adminapi/models/milvus-account-roles.js.map +1 -0
- 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/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +447 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +487 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +495 -0
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -0
- package/dist/openapi/apis/milvus-api.js +551 -0
- package/dist/openapi/apis/milvus-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +447 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +487 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +6 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +6 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/milvus-account-password.d.ts +31 -0
- package/dist/openapi/models/milvus-account-password.d.ts.map +1 -0
- package/dist/openapi/models/milvus-account-password.js +16 -0
- package/dist/openapi/models/milvus-account-password.js.map +1 -0
- package/dist/openapi/models/milvus-account-roles.d.ts +31 -0
- package/dist/openapi/models/milvus-account-roles.d.ts.map +1 -0
- package/dist/openapi/models/milvus-account-roles.js +16 -0
- package/dist/openapi/models/milvus-account-roles.js.map +1 -0
- 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/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +795 -11
- package/src/adminapi/apis/milvus-api.ts +854 -0
- package/src/adminapi/apis/shared-api.ts +794 -10
- package/src/adminapi/models/index.ts +6 -0
- package/src/adminapi/models/milvus-account-password.ts +36 -0
- package/src/adminapi/models/milvus-account-roles.ts +36 -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 +353 -0
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +794 -10
- package/src/openapi/apis/milvus-api.ts +854 -0
- package/src/openapi/apis/shared-api.ts +839 -55
- package/src/openapi/models/index.ts +6 -0
- package/src/openapi/models/milvus-account-password.ts +36 -0
- package/src/openapi/models/milvus-account-roles.ts +36 -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 +353 -0
|
@@ -220,6 +220,16 @@ import type { IpWhitelistList } from '../models';
|
|
|
220
220
|
// @ts-ignore
|
|
221
221
|
import type { MetricsQueryType } from '../models';
|
|
222
222
|
// @ts-ignore
|
|
223
|
+
import type { MilvusAccountPassword } from '../models';
|
|
224
|
+
// @ts-ignore
|
|
225
|
+
import type { MilvusAccountRoles } from '../models';
|
|
226
|
+
// @ts-ignore
|
|
227
|
+
import type { MilvusRole } from '../models';
|
|
228
|
+
// @ts-ignore
|
|
229
|
+
import type { MilvusRoleList } from '../models';
|
|
230
|
+
// @ts-ignore
|
|
231
|
+
import type { MilvusRoleRequest } from '../models';
|
|
232
|
+
// @ts-ignore
|
|
223
233
|
import type { NodeList } from '../models';
|
|
224
234
|
// @ts-ignore
|
|
225
235
|
import type { NodeResourceStatsList } from '../models';
|
|
@@ -3013,6 +3023,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3013
3023
|
|
|
3014
3024
|
|
|
3015
3025
|
|
|
3026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3028
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3029
|
+
|
|
3030
|
+
return {
|
|
3031
|
+
url: toPathString(localVarUrlObj),
|
|
3032
|
+
options: localVarRequestOptions,
|
|
3033
|
+
};
|
|
3034
|
+
},
|
|
3035
|
+
/**
|
|
3036
|
+
* Delete a Milvus native role.
|
|
3037
|
+
* @summary Delete Milvus role
|
|
3038
|
+
* @param {string} orgName name of the Org
|
|
3039
|
+
* @param {string} clusterName name of the Cluster
|
|
3040
|
+
* @param {string} roleName name of the Milvus role
|
|
3041
|
+
* @param {*} [options] Override http request option.
|
|
3042
|
+
* @throws {RequiredError}
|
|
3043
|
+
*/
|
|
3044
|
+
deleteMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3045
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3046
|
+
assertParamExists('deleteMilvusRole', 'orgName', orgName)
|
|
3047
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3048
|
+
assertParamExists('deleteMilvusRole', 'clusterName', clusterName)
|
|
3049
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
3050
|
+
assertParamExists('deleteMilvusRole', 'roleName', roleName)
|
|
3051
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
3052
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3053
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3054
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
3055
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3056
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3057
|
+
let baseOptions;
|
|
3058
|
+
if (configuration) {
|
|
3059
|
+
baseOptions = configuration.baseOptions;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3063
|
+
const localVarHeaderParameter = {} as any;
|
|
3064
|
+
const localVarQueryParameter = {} as any;
|
|
3065
|
+
|
|
3066
|
+
// authentication BearerToken required
|
|
3067
|
+
// http bearer authentication required
|
|
3068
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3069
|
+
|
|
3070
|
+
// authentication DigestAuth required
|
|
3071
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3016
3075
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3017
3076
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3018
3077
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5971,6 +6030,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5971
6030
|
|
|
5972
6031
|
|
|
5973
6032
|
|
|
6033
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6034
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6035
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6036
|
+
|
|
6037
|
+
return {
|
|
6038
|
+
url: toPathString(localVarUrlObj),
|
|
6039
|
+
options: localVarRequestOptions,
|
|
6040
|
+
};
|
|
6041
|
+
},
|
|
6042
|
+
/**
|
|
6043
|
+
* Get a Milvus native role and its privilege grants.
|
|
6044
|
+
* @summary Get Milvus role
|
|
6045
|
+
* @param {string} orgName name of the Org
|
|
6046
|
+
* @param {string} clusterName name of the Cluster
|
|
6047
|
+
* @param {string} roleName name of the Milvus role
|
|
6048
|
+
* @param {*} [options] Override http request option.
|
|
6049
|
+
* @throws {RequiredError}
|
|
6050
|
+
*/
|
|
6051
|
+
getMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6052
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6053
|
+
assertParamExists('getMilvusRole', 'orgName', orgName)
|
|
6054
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6055
|
+
assertParamExists('getMilvusRole', 'clusterName', clusterName)
|
|
6056
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
6057
|
+
assertParamExists('getMilvusRole', 'roleName', roleName)
|
|
6058
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
6059
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6060
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6061
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
6062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6064
|
+
let baseOptions;
|
|
6065
|
+
if (configuration) {
|
|
6066
|
+
baseOptions = configuration.baseOptions;
|
|
6067
|
+
}
|
|
6068
|
+
|
|
6069
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6070
|
+
const localVarHeaderParameter = {} as any;
|
|
6071
|
+
const localVarQueryParameter = {} as any;
|
|
6072
|
+
|
|
6073
|
+
// authentication BearerToken required
|
|
6074
|
+
// http bearer authentication required
|
|
6075
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6076
|
+
|
|
6077
|
+
// authentication DigestAuth required
|
|
6078
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6079
|
+
|
|
6080
|
+
|
|
6081
|
+
|
|
5974
6082
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5975
6083
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5976
6084
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8165,6 +8273,51 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8165
8273
|
|
|
8166
8274
|
|
|
8167
8275
|
|
|
8276
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8277
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8278
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8279
|
+
|
|
8280
|
+
return {
|
|
8281
|
+
url: toPathString(localVarUrlObj),
|
|
8282
|
+
options: localVarRequestOptions,
|
|
8283
|
+
};
|
|
8284
|
+
},
|
|
8285
|
+
/**
|
|
8286
|
+
* List Milvus native roles and their privilege grants.
|
|
8287
|
+
* @summary List Milvus roles
|
|
8288
|
+
* @param {string} orgName name of the Org
|
|
8289
|
+
* @param {string} clusterName name of the Cluster
|
|
8290
|
+
* @param {*} [options] Override http request option.
|
|
8291
|
+
* @throws {RequiredError}
|
|
8292
|
+
*/
|
|
8293
|
+
listMilvusRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8294
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8295
|
+
assertParamExists('listMilvusRoles', 'orgName', orgName)
|
|
8296
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8297
|
+
assertParamExists('listMilvusRoles', 'clusterName', clusterName)
|
|
8298
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
8299
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8300
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8303
|
+
let baseOptions;
|
|
8304
|
+
if (configuration) {
|
|
8305
|
+
baseOptions = configuration.baseOptions;
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8308
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8309
|
+
const localVarHeaderParameter = {} as any;
|
|
8310
|
+
const localVarQueryParameter = {} as any;
|
|
8311
|
+
|
|
8312
|
+
// authentication BearerToken required
|
|
8313
|
+
// http bearer authentication required
|
|
8314
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8315
|
+
|
|
8316
|
+
// authentication DigestAuth required
|
|
8317
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8318
|
+
|
|
8319
|
+
|
|
8320
|
+
|
|
8168
8321
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8169
8322
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8170
8323
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10246,6 +10399,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10246
10399
|
|
|
10247
10400
|
|
|
10248
10401
|
|
|
10402
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10403
|
+
|
|
10404
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10405
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10406
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10407
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
10408
|
+
|
|
10409
|
+
return {
|
|
10410
|
+
url: toPathString(localVarUrlObj),
|
|
10411
|
+
options: localVarRequestOptions,
|
|
10412
|
+
};
|
|
10413
|
+
},
|
|
10414
|
+
/**
|
|
10415
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
10416
|
+
* @summary Put Milvus role
|
|
10417
|
+
* @param {string} orgName name of the Org
|
|
10418
|
+
* @param {string} clusterName name of the Cluster
|
|
10419
|
+
* @param {string} roleName name of the Milvus role
|
|
10420
|
+
* @param {MilvusRoleRequest} body
|
|
10421
|
+
* @param {*} [options] Override http request option.
|
|
10422
|
+
* @throws {RequiredError}
|
|
10423
|
+
*/
|
|
10424
|
+
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10425
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10426
|
+
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
10427
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10428
|
+
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
10429
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
10430
|
+
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
10431
|
+
// verify required parameter 'body' is not null or undefined
|
|
10432
|
+
assertParamExists('putMilvusRole', 'body', body)
|
|
10433
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
10434
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10435
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10436
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
10437
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10438
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10439
|
+
let baseOptions;
|
|
10440
|
+
if (configuration) {
|
|
10441
|
+
baseOptions = configuration.baseOptions;
|
|
10442
|
+
}
|
|
10443
|
+
|
|
10444
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10445
|
+
const localVarHeaderParameter = {} as any;
|
|
10446
|
+
const localVarQueryParameter = {} as any;
|
|
10447
|
+
|
|
10448
|
+
// authentication BearerToken required
|
|
10449
|
+
// http bearer authentication required
|
|
10450
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10451
|
+
|
|
10452
|
+
// authentication DigestAuth required
|
|
10453
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10454
|
+
|
|
10455
|
+
|
|
10456
|
+
|
|
10249
10457
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10250
10458
|
|
|
10251
10459
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12945,22 +13153,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12945
13153
|
};
|
|
12946
13154
|
},
|
|
12947
13155
|
/**
|
|
12948
|
-
*
|
|
12949
|
-
* @summary
|
|
12950
|
-
* @param {string} orgName name of the
|
|
12951
|
-
* @param {string} clusterName name of the
|
|
12952
|
-
* @param {
|
|
13156
|
+
* Update a Milvus account password.
|
|
13157
|
+
* @summary Update Milvus account password
|
|
13158
|
+
* @param {string} orgName name of the Org
|
|
13159
|
+
* @param {string} clusterName name of the Cluster
|
|
13160
|
+
* @param {string} accountName name of the Account
|
|
13161
|
+
* @param {MilvusAccountPassword} body
|
|
12953
13162
|
* @param {*} [options] Override http request option.
|
|
12954
13163
|
* @throws {RequiredError}
|
|
12955
13164
|
*/
|
|
12956
|
-
|
|
13165
|
+
updateMilvusAccountPassword: async (orgName: string, clusterName: string, accountName: string, body: MilvusAccountPassword, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12957
13166
|
// verify required parameter 'orgName' is not null or undefined
|
|
12958
|
-
assertParamExists('
|
|
13167
|
+
assertParamExists('updateMilvusAccountPassword', 'orgName', orgName)
|
|
12959
13168
|
// verify required parameter 'clusterName' is not null or undefined
|
|
12960
|
-
assertParamExists('
|
|
12961
|
-
|
|
13169
|
+
assertParamExists('updateMilvusAccountPassword', 'clusterName', clusterName)
|
|
13170
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
13171
|
+
assertParamExists('updateMilvusAccountPassword', 'accountName', accountName)
|
|
13172
|
+
// verify required parameter 'body' is not null or undefined
|
|
13173
|
+
assertParamExists('updateMilvusAccountPassword', 'body', body)
|
|
13174
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
12962
13175
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12963
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13176
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13177
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
12964
13178
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12965
13179
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12966
13180
|
let baseOptions;
|
|
@@ -12986,7 +13200,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12986
13200
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12987
13201
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12988
13202
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12989
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
13203
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
12990
13204
|
|
|
12991
13205
|
return {
|
|
12992
13206
|
url: toPathString(localVarUrlObj),
|
|
@@ -12994,25 +13208,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12994
13208
|
};
|
|
12995
13209
|
},
|
|
12996
13210
|
/**
|
|
12997
|
-
*
|
|
12998
|
-
* @summary Update
|
|
13211
|
+
* Replace a Milvus account\'s role assignments.
|
|
13212
|
+
* @summary Update Milvus account roles
|
|
12999
13213
|
* @param {string} orgName name of the Org
|
|
13000
13214
|
* @param {string} clusterName name of the Cluster
|
|
13001
13215
|
* @param {string} accountName name of the Account
|
|
13002
|
-
* @param {
|
|
13216
|
+
* @param {MilvusAccountRoles} body
|
|
13003
13217
|
* @param {*} [options] Override http request option.
|
|
13004
13218
|
* @throws {RequiredError}
|
|
13005
13219
|
*/
|
|
13006
|
-
|
|
13220
|
+
updateMilvusAccountRoles: async (orgName: string, clusterName: string, accountName: string, body: MilvusAccountRoles, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13007
13221
|
// verify required parameter 'orgName' is not null or undefined
|
|
13008
|
-
assertParamExists('
|
|
13222
|
+
assertParamExists('updateMilvusAccountRoles', 'orgName', orgName)
|
|
13009
13223
|
// verify required parameter 'clusterName' is not null or undefined
|
|
13010
|
-
assertParamExists('
|
|
13224
|
+
assertParamExists('updateMilvusAccountRoles', 'clusterName', clusterName)
|
|
13011
13225
|
// verify required parameter 'accountName' is not null or undefined
|
|
13012
|
-
assertParamExists('
|
|
13013
|
-
// verify required parameter '
|
|
13014
|
-
assertParamExists('
|
|
13015
|
-
const localVarPath = `/api/v1/data/
|
|
13226
|
+
assertParamExists('updateMilvusAccountRoles', 'accountName', accountName)
|
|
13227
|
+
// verify required parameter 'body' is not null or undefined
|
|
13228
|
+
assertParamExists('updateMilvusAccountRoles', 'body', body)
|
|
13229
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
13016
13230
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13017
13231
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13018
13232
|
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
@@ -13023,7 +13237,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13023
13237
|
baseOptions = configuration.baseOptions;
|
|
13024
13238
|
}
|
|
13025
13239
|
|
|
13026
|
-
const localVarRequestOptions = { method: '
|
|
13240
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13027
13241
|
const localVarHeaderParameter = {} as any;
|
|
13028
13242
|
const localVarQueryParameter = {} as any;
|
|
13029
13243
|
|
|
@@ -13041,7 +13255,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13041
13255
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13042
13256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13043
13257
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13044
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
13258
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
13045
13259
|
|
|
13046
13260
|
return {
|
|
13047
13261
|
url: toPathString(localVarUrlObj),
|
|
@@ -13049,28 +13263,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13049
13263
|
};
|
|
13050
13264
|
},
|
|
13051
13265
|
/**
|
|
13052
|
-
*
|
|
13053
|
-
* @summary
|
|
13054
|
-
* @param {string} orgName name of the
|
|
13055
|
-
* @param {string} clusterName name of the
|
|
13056
|
-
* @param {
|
|
13057
|
-
* @param {RbmqPermission} rbmqPermission
|
|
13266
|
+
*
|
|
13267
|
+
* @summary update mssql account compatible with windows account
|
|
13268
|
+
* @param {string} orgName name of the organization
|
|
13269
|
+
* @param {string} clusterName name of the cluster
|
|
13270
|
+
* @param {Account} [account]
|
|
13058
13271
|
* @param {*} [options] Override http request option.
|
|
13059
13272
|
* @throws {RequiredError}
|
|
13060
13273
|
*/
|
|
13061
|
-
|
|
13274
|
+
updateMssqlAccount: async (orgName: string, clusterName: string, account?: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13062
13275
|
// verify required parameter 'orgName' is not null or undefined
|
|
13063
|
-
assertParamExists('
|
|
13276
|
+
assertParamExists('updateMssqlAccount', 'orgName', orgName)
|
|
13064
13277
|
// verify required parameter 'clusterName' is not null or undefined
|
|
13065
|
-
assertParamExists('
|
|
13066
|
-
|
|
13067
|
-
assertParamExists('updateRabbitAccountPrivileges', 'accountName', accountName)
|
|
13068
|
-
// verify required parameter 'rbmqPermission' is not null or undefined
|
|
13069
|
-
assertParamExists('updateRabbitAccountPrivileges', 'rbmqPermission', rbmqPermission)
|
|
13070
|
-
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
13278
|
+
assertParamExists('updateMssqlAccount', 'clusterName', clusterName)
|
|
13279
|
+
const localVarPath = `/api/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
13071
13280
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13072
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13073
|
-
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
13281
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
13074
13282
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13075
13283
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13076
13284
|
let baseOptions;
|
|
@@ -13078,7 +13286,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13078
13286
|
baseOptions = configuration.baseOptions;
|
|
13079
13287
|
}
|
|
13080
13288
|
|
|
13081
|
-
const localVarRequestOptions = { method: '
|
|
13289
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13082
13290
|
const localVarHeaderParameter = {} as any;
|
|
13083
13291
|
const localVarQueryParameter = {} as any;
|
|
13084
13292
|
|
|
@@ -13096,7 +13304,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13096
13304
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13097
13305
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13098
13306
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13099
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
13307
|
+
localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
|
|
13100
13308
|
|
|
13101
13309
|
return {
|
|
13102
13310
|
url: toPathString(localVarUrlObj),
|
|
@@ -13104,26 +13312,136 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13104
13312
|
};
|
|
13105
13313
|
},
|
|
13106
13314
|
/**
|
|
13107
|
-
*
|
|
13108
|
-
* @summary
|
|
13109
|
-
* @param {string} orgName
|
|
13110
|
-
* @param {string} clusterName
|
|
13111
|
-
* @param {string} accountName
|
|
13112
|
-
* @param {
|
|
13113
|
-
* @param {string} [component] in which component type to update account
|
|
13315
|
+
* Update a RabbitMQ account password
|
|
13316
|
+
* @summary Update RabbitMQ account password
|
|
13317
|
+
* @param {string} orgName name of the Org
|
|
13318
|
+
* @param {string} clusterName name of the Cluster
|
|
13319
|
+
* @param {string} accountName name of the Account
|
|
13320
|
+
* @param {RbmqUser} rbmqUser
|
|
13114
13321
|
* @param {*} [options] Override http request option.
|
|
13115
13322
|
* @throws {RequiredError}
|
|
13116
13323
|
*/
|
|
13117
|
-
|
|
13324
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqUser: RbmqUser, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13118
13325
|
// verify required parameter 'orgName' is not null or undefined
|
|
13119
|
-
assertParamExists('
|
|
13326
|
+
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
13120
13327
|
// verify required parameter 'clusterName' is not null or undefined
|
|
13121
|
-
assertParamExists('
|
|
13328
|
+
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
13122
13329
|
// verify required parameter 'accountName' is not null or undefined
|
|
13123
|
-
assertParamExists('
|
|
13124
|
-
// verify required parameter '
|
|
13125
|
-
assertParamExists('
|
|
13126
|
-
const localVarPath = `/api/v1/data/
|
|
13330
|
+
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
13331
|
+
// verify required parameter 'rbmqUser' is not null or undefined
|
|
13332
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqUser', rbmqUser)
|
|
13333
|
+
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
13334
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13335
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13336
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
13337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13339
|
+
let baseOptions;
|
|
13340
|
+
if (configuration) {
|
|
13341
|
+
baseOptions = configuration.baseOptions;
|
|
13342
|
+
}
|
|
13343
|
+
|
|
13344
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13345
|
+
const localVarHeaderParameter = {} as any;
|
|
13346
|
+
const localVarQueryParameter = {} as any;
|
|
13347
|
+
|
|
13348
|
+
// authentication BearerToken required
|
|
13349
|
+
// http bearer authentication required
|
|
13350
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13351
|
+
|
|
13352
|
+
// authentication DigestAuth required
|
|
13353
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13354
|
+
|
|
13355
|
+
|
|
13356
|
+
|
|
13357
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13358
|
+
|
|
13359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13361
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13362
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqUser, localVarRequestOptions, configuration)
|
|
13363
|
+
|
|
13364
|
+
return {
|
|
13365
|
+
url: toPathString(localVarUrlObj),
|
|
13366
|
+
options: localVarRequestOptions,
|
|
13367
|
+
};
|
|
13368
|
+
},
|
|
13369
|
+
/**
|
|
13370
|
+
* Update a RabbitMQ account privileges
|
|
13371
|
+
* @summary Update RabbitMQ account privileges
|
|
13372
|
+
* @param {string} orgName name of the Org
|
|
13373
|
+
* @param {string} clusterName name of the Cluster
|
|
13374
|
+
* @param {string} accountName name of the Account
|
|
13375
|
+
* @param {RbmqPermission} rbmqPermission
|
|
13376
|
+
* @param {*} [options] Override http request option.
|
|
13377
|
+
* @throws {RequiredError}
|
|
13378
|
+
*/
|
|
13379
|
+
updateRabbitAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13380
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13381
|
+
assertParamExists('updateRabbitAccountPrivileges', 'orgName', orgName)
|
|
13382
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13383
|
+
assertParamExists('updateRabbitAccountPrivileges', 'clusterName', clusterName)
|
|
13384
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
13385
|
+
assertParamExists('updateRabbitAccountPrivileges', 'accountName', accountName)
|
|
13386
|
+
// verify required parameter 'rbmqPermission' is not null or undefined
|
|
13387
|
+
assertParamExists('updateRabbitAccountPrivileges', 'rbmqPermission', rbmqPermission)
|
|
13388
|
+
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
13389
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13390
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13391
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
13392
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13393
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13394
|
+
let baseOptions;
|
|
13395
|
+
if (configuration) {
|
|
13396
|
+
baseOptions = configuration.baseOptions;
|
|
13397
|
+
}
|
|
13398
|
+
|
|
13399
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13400
|
+
const localVarHeaderParameter = {} as any;
|
|
13401
|
+
const localVarQueryParameter = {} as any;
|
|
13402
|
+
|
|
13403
|
+
// authentication BearerToken required
|
|
13404
|
+
// http bearer authentication required
|
|
13405
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13406
|
+
|
|
13407
|
+
// authentication DigestAuth required
|
|
13408
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13409
|
+
|
|
13410
|
+
|
|
13411
|
+
|
|
13412
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13413
|
+
|
|
13414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13416
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13417
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPermission, localVarRequestOptions, configuration)
|
|
13418
|
+
|
|
13419
|
+
return {
|
|
13420
|
+
url: toPathString(localVarUrlObj),
|
|
13421
|
+
options: localVarRequestOptions,
|
|
13422
|
+
};
|
|
13423
|
+
},
|
|
13424
|
+
/**
|
|
13425
|
+
*
|
|
13426
|
+
* @summary update redis account
|
|
13427
|
+
* @param {string} orgName the name of organization
|
|
13428
|
+
* @param {string} clusterName the name of cluster
|
|
13429
|
+
* @param {string} accountName the name of account
|
|
13430
|
+
* @param {ACLUser} aCLUser
|
|
13431
|
+
* @param {string} [component] in which component type to update account
|
|
13432
|
+
* @param {*} [options] Override http request option.
|
|
13433
|
+
* @throws {RequiredError}
|
|
13434
|
+
*/
|
|
13435
|
+
updateRedisAccount: async (orgName: string, clusterName: string, accountName: string, aCLUser: ACLUser, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13436
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13437
|
+
assertParamExists('updateRedisAccount', 'orgName', orgName)
|
|
13438
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13439
|
+
assertParamExists('updateRedisAccount', 'clusterName', clusterName)
|
|
13440
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
13441
|
+
assertParamExists('updateRedisAccount', 'accountName', accountName)
|
|
13442
|
+
// verify required parameter 'aCLUser' is not null or undefined
|
|
13443
|
+
assertParamExists('updateRedisAccount', 'aCLUser', aCLUser)
|
|
13444
|
+
const localVarPath = `/api/v1/data/redis/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
13127
13445
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13128
13446
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13129
13447
|
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
@@ -14304,6 +14622,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14304
14622
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
14305
14623
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14306
14624
|
},
|
|
14625
|
+
/**
|
|
14626
|
+
* Delete a Milvus native role.
|
|
14627
|
+
* @summary Delete Milvus role
|
|
14628
|
+
* @param {string} orgName name of the Org
|
|
14629
|
+
* @param {string} clusterName name of the Cluster
|
|
14630
|
+
* @param {string} roleName name of the Milvus role
|
|
14631
|
+
* @param {*} [options] Override http request option.
|
|
14632
|
+
* @throws {RequiredError}
|
|
14633
|
+
*/
|
|
14634
|
+
async deleteMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusRole(orgName, clusterName, roleName, options);
|
|
14636
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14637
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
14638
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14639
|
+
},
|
|
14307
14640
|
/**
|
|
14308
14641
|
* delete an account in mongodb
|
|
14309
14642
|
* @summary Delete mongodb account
|
|
@@ -15186,6 +15519,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15186
15519
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getKafkaTopics']?.[localVarOperationServerIndex]?.url;
|
|
15187
15520
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15188
15521
|
},
|
|
15522
|
+
/**
|
|
15523
|
+
* Get a Milvus native role and its privilege grants.
|
|
15524
|
+
* @summary Get Milvus role
|
|
15525
|
+
* @param {string} orgName name of the Org
|
|
15526
|
+
* @param {string} clusterName name of the Cluster
|
|
15527
|
+
* @param {string} roleName name of the Milvus role
|
|
15528
|
+
* @param {*} [options] Override http request option.
|
|
15529
|
+
* @throws {RequiredError}
|
|
15530
|
+
*/
|
|
15531
|
+
async getMilvusRole(orgName: string, clusterName: string, roleName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
15532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMilvusRole(orgName, clusterName, roleName, options);
|
|
15533
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15534
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
15535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15536
|
+
},
|
|
15189
15537
|
/**
|
|
15190
15538
|
*
|
|
15191
15539
|
* @summary get the detail object info
|
|
@@ -15837,6 +16185,20 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15837
16185
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listKafkaTopicMessages']?.[localVarOperationServerIndex]?.url;
|
|
15838
16186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15839
16187
|
},
|
|
16188
|
+
/**
|
|
16189
|
+
* List Milvus native roles and their privilege grants.
|
|
16190
|
+
* @summary List Milvus roles
|
|
16191
|
+
* @param {string} orgName name of the Org
|
|
16192
|
+
* @param {string} clusterName name of the Cluster
|
|
16193
|
+
* @param {*} [options] Override http request option.
|
|
16194
|
+
* @throws {RequiredError}
|
|
16195
|
+
*/
|
|
16196
|
+
async listMilvusRoles(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRoleList>> {
|
|
16197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusRoles(orgName, clusterName, options);
|
|
16198
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16199
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listMilvusRoles']?.[localVarOperationServerIndex]?.url;
|
|
16200
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16201
|
+
},
|
|
15840
16202
|
/**
|
|
15841
16203
|
* list accounts in mongodb
|
|
15842
16204
|
* @summary List mongodb accounts
|
|
@@ -16460,6 +16822,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16460
16822
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
16461
16823
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16462
16824
|
},
|
|
16825
|
+
/**
|
|
16826
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
16827
|
+
* @summary Put Milvus role
|
|
16828
|
+
* @param {string} orgName name of the Org
|
|
16829
|
+
* @param {string} clusterName name of the Cluster
|
|
16830
|
+
* @param {string} roleName name of the Milvus role
|
|
16831
|
+
* @param {MilvusRoleRequest} body
|
|
16832
|
+
* @param {*} [options] Override http request option.
|
|
16833
|
+
* @throws {RequiredError}
|
|
16834
|
+
*/
|
|
16835
|
+
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
16836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
16837
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16838
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
16839
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16840
|
+
},
|
|
16463
16841
|
/**
|
|
16464
16842
|
*
|
|
16465
16843
|
* @summary create a SQL query
|
|
@@ -17229,6 +17607,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17229
17607
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateKafkaBrokerConfig']?.[localVarOperationServerIndex]?.url;
|
|
17230
17608
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17231
17609
|
},
|
|
17610
|
+
/**
|
|
17611
|
+
* Update a Milvus account password.
|
|
17612
|
+
* @summary Update Milvus account password
|
|
17613
|
+
* @param {string} orgName name of the Org
|
|
17614
|
+
* @param {string} clusterName name of the Cluster
|
|
17615
|
+
* @param {string} accountName name of the Account
|
|
17616
|
+
* @param {MilvusAccountPassword} body
|
|
17617
|
+
* @param {*} [options] Override http request option.
|
|
17618
|
+
* @throws {RequiredError}
|
|
17619
|
+
*/
|
|
17620
|
+
async updateMilvusAccountPassword(orgName: string, clusterName: string, accountName: string, body: MilvusAccountPassword, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusAccountPassword(orgName, clusterName, accountName, body, options);
|
|
17622
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17623
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
17624
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17625
|
+
},
|
|
17626
|
+
/**
|
|
17627
|
+
* Replace a Milvus account\'s role assignments.
|
|
17628
|
+
* @summary Update Milvus account roles
|
|
17629
|
+
* @param {string} orgName name of the Org
|
|
17630
|
+
* @param {string} clusterName name of the Cluster
|
|
17631
|
+
* @param {string} accountName name of the Account
|
|
17632
|
+
* @param {MilvusAccountRoles} body
|
|
17633
|
+
* @param {*} [options] Override http request option.
|
|
17634
|
+
* @throws {RequiredError}
|
|
17635
|
+
*/
|
|
17636
|
+
async updateMilvusAccountRoles(orgName: string, clusterName: string, accountName: string, body: MilvusAccountRoles, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusAccountRoles(orgName, clusterName, accountName, body, options);
|
|
17638
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17639
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
17640
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17641
|
+
},
|
|
17232
17642
|
/**
|
|
17233
17643
|
*
|
|
17234
17644
|
* @summary update mssql account compatible with windows account
|
|
@@ -17917,6 +18327,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17917
18327
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17918
18328
|
return localVarFp.deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(axios, basePath));
|
|
17919
18329
|
},
|
|
18330
|
+
/**
|
|
18331
|
+
* Delete a Milvus native role.
|
|
18332
|
+
* @summary Delete Milvus role
|
|
18333
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
18334
|
+
* @param {*} [options] Override http request option.
|
|
18335
|
+
* @throws {RequiredError}
|
|
18336
|
+
*/
|
|
18337
|
+
deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18338
|
+
return localVarFp.deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18339
|
+
},
|
|
17920
18340
|
/**
|
|
17921
18341
|
* delete an account in mongodb
|
|
17922
18342
|
* @summary Delete mongodb account
|
|
@@ -18496,6 +18916,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18496
18916
|
getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>> {
|
|
18497
18917
|
return localVarFp.getKafkaTopics(requestParameters.orgName, requestParameters.clusterName, requestParameters.nameFilter, requestParameters.onlyNames, options).then((request) => request(axios, basePath));
|
|
18498
18918
|
},
|
|
18919
|
+
/**
|
|
18920
|
+
* Get a Milvus native role and its privilege grants.
|
|
18921
|
+
* @summary Get Milvus role
|
|
18922
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
18923
|
+
* @param {*} [options] Override http request option.
|
|
18924
|
+
* @throws {RequiredError}
|
|
18925
|
+
*/
|
|
18926
|
+
getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
18927
|
+
return localVarFp.getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18928
|
+
},
|
|
18499
18929
|
/**
|
|
18500
18930
|
*
|
|
18501
18931
|
* @summary get the detail object info
|
|
@@ -18925,6 +19355,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18925
19355
|
listKafkaTopicMessages(requestParameters: SharedApiListKafkaTopicMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicMessage>> {
|
|
18926
19356
|
return localVarFp.listKafkaTopicMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.partition, requestParameters.offset, requestParameters.count, requestParameters.keyFilter, requestParameters.valueFilter, options).then((request) => request(axios, basePath));
|
|
18927
19357
|
},
|
|
19358
|
+
/**
|
|
19359
|
+
* List Milvus native roles and their privilege grants.
|
|
19360
|
+
* @summary List Milvus roles
|
|
19361
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
19362
|
+
* @param {*} [options] Override http request option.
|
|
19363
|
+
* @throws {RequiredError}
|
|
19364
|
+
*/
|
|
19365
|
+
listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList> {
|
|
19366
|
+
return localVarFp.listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19367
|
+
},
|
|
18928
19368
|
/**
|
|
18929
19369
|
* list accounts in mongodb
|
|
18930
19370
|
* @summary List mongodb accounts
|
|
@@ -19344,6 +19784,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19344
19784
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19345
19785
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19346
19786
|
},
|
|
19787
|
+
/**
|
|
19788
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
19789
|
+
* @summary Put Milvus role
|
|
19790
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
19791
|
+
* @param {*} [options] Override http request option.
|
|
19792
|
+
* @throws {RequiredError}
|
|
19793
|
+
*/
|
|
19794
|
+
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
19795
|
+
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19796
|
+
},
|
|
19347
19797
|
/**
|
|
19348
19798
|
*
|
|
19349
19799
|
* @summary create a SQL query
|
|
@@ -19823,6 +20273,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19823
20273
|
updateKafkaBrokerConfig(requestParameters: SharedApiUpdateKafkaBrokerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19824
20274
|
return localVarFp.updateKafkaBrokerConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.brokerId, requestParameters.updateBrokerConfigRequest, options).then((request) => request(axios, basePath));
|
|
19825
20275
|
},
|
|
20276
|
+
/**
|
|
20277
|
+
* Update a Milvus account password.
|
|
20278
|
+
* @summary Update Milvus account password
|
|
20279
|
+
* @param {SharedApiUpdateMilvusAccountPasswordRequest} requestParameters Request parameters.
|
|
20280
|
+
* @param {*} [options] Override http request option.
|
|
20281
|
+
* @throws {RequiredError}
|
|
20282
|
+
*/
|
|
20283
|
+
updateMilvusAccountPassword(requestParameters: SharedApiUpdateMilvusAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20284
|
+
return localVarFp.updateMilvusAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20285
|
+
},
|
|
20286
|
+
/**
|
|
20287
|
+
* Replace a Milvus account\'s role assignments.
|
|
20288
|
+
* @summary Update Milvus account roles
|
|
20289
|
+
* @param {SharedApiUpdateMilvusAccountRolesRequest} requestParameters Request parameters.
|
|
20290
|
+
* @param {*} [options] Override http request option.
|
|
20291
|
+
* @throws {RequiredError}
|
|
20292
|
+
*/
|
|
20293
|
+
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20294
|
+
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20295
|
+
},
|
|
19826
20296
|
/**
|
|
19827
20297
|
*
|
|
19828
20298
|
* @summary update mssql account compatible with windows account
|
|
@@ -20452,6 +20922,16 @@ export interface SharedApiInterface {
|
|
|
20452
20922
|
*/
|
|
20453
20923
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20454
20924
|
|
|
20925
|
+
/**
|
|
20926
|
+
* Delete a Milvus native role.
|
|
20927
|
+
* @summary Delete Milvus role
|
|
20928
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
20929
|
+
* @param {*} [options] Override http request option.
|
|
20930
|
+
* @throws {RequiredError}
|
|
20931
|
+
* @memberof SharedApiInterface
|
|
20932
|
+
*/
|
|
20933
|
+
deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20934
|
+
|
|
20455
20935
|
/**
|
|
20456
20936
|
* delete an account in mongodb
|
|
20457
20937
|
* @summary Delete mongodb account
|
|
@@ -21031,6 +21511,16 @@ export interface SharedApiInterface {
|
|
|
21031
21511
|
*/
|
|
21032
21512
|
getKafkaTopics(requestParameters: SharedApiGetKafkaTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Topic>>;
|
|
21033
21513
|
|
|
21514
|
+
/**
|
|
21515
|
+
* Get a Milvus native role and its privilege grants.
|
|
21516
|
+
* @summary Get Milvus role
|
|
21517
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
21518
|
+
* @param {*} [options] Override http request option.
|
|
21519
|
+
* @throws {RequiredError}
|
|
21520
|
+
* @memberof SharedApiInterface
|
|
21521
|
+
*/
|
|
21522
|
+
getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
21523
|
+
|
|
21034
21524
|
/**
|
|
21035
21525
|
*
|
|
21036
21526
|
* @summary get the detail object info
|
|
@@ -21460,6 +21950,16 @@ export interface SharedApiInterface {
|
|
|
21460
21950
|
*/
|
|
21461
21951
|
listKafkaTopicMessages(requestParameters: SharedApiListKafkaTopicMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicMessage>>;
|
|
21462
21952
|
|
|
21953
|
+
/**
|
|
21954
|
+
* List Milvus native roles and their privilege grants.
|
|
21955
|
+
* @summary List Milvus roles
|
|
21956
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
21957
|
+
* @param {*} [options] Override http request option.
|
|
21958
|
+
* @throws {RequiredError}
|
|
21959
|
+
* @memberof SharedApiInterface
|
|
21960
|
+
*/
|
|
21961
|
+
listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRoleList>;
|
|
21962
|
+
|
|
21463
21963
|
/**
|
|
21464
21964
|
* list accounts in mongodb
|
|
21465
21965
|
* @summary List mongodb accounts
|
|
@@ -21879,6 +22379,16 @@ export interface SharedApiInterface {
|
|
|
21879
22379
|
*/
|
|
21880
22380
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21881
22381
|
|
|
22382
|
+
/**
|
|
22383
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
22384
|
+
* @summary Put Milvus role
|
|
22385
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
22386
|
+
* @param {*} [options] Override http request option.
|
|
22387
|
+
* @throws {RequiredError}
|
|
22388
|
+
* @memberof SharedApiInterface
|
|
22389
|
+
*/
|
|
22390
|
+
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
22391
|
+
|
|
21882
22392
|
/**
|
|
21883
22393
|
*
|
|
21884
22394
|
* @summary create a SQL query
|
|
@@ -22358,6 +22868,26 @@ export interface SharedApiInterface {
|
|
|
22358
22868
|
*/
|
|
22359
22869
|
updateKafkaBrokerConfig(requestParameters: SharedApiUpdateKafkaBrokerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22360
22870
|
|
|
22871
|
+
/**
|
|
22872
|
+
* Update a Milvus account password.
|
|
22873
|
+
* @summary Update Milvus account password
|
|
22874
|
+
* @param {SharedApiUpdateMilvusAccountPasswordRequest} requestParameters Request parameters.
|
|
22875
|
+
* @param {*} [options] Override http request option.
|
|
22876
|
+
* @throws {RequiredError}
|
|
22877
|
+
* @memberof SharedApiInterface
|
|
22878
|
+
*/
|
|
22879
|
+
updateMilvusAccountPassword(requestParameters: SharedApiUpdateMilvusAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22880
|
+
|
|
22881
|
+
/**
|
|
22882
|
+
* Replace a Milvus account\'s role assignments.
|
|
22883
|
+
* @summary Update Milvus account roles
|
|
22884
|
+
* @param {SharedApiUpdateMilvusAccountRolesRequest} requestParameters Request parameters.
|
|
22885
|
+
* @param {*} [options] Override http request option.
|
|
22886
|
+
* @throws {RequiredError}
|
|
22887
|
+
* @memberof SharedApiInterface
|
|
22888
|
+
*/
|
|
22889
|
+
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22890
|
+
|
|
22361
22891
|
/**
|
|
22362
22892
|
*
|
|
22363
22893
|
* @summary update mssql account compatible with windows account
|
|
@@ -24002,6 +24532,34 @@ export interface SharedApiDeleteKafkaTopicRequest {
|
|
|
24002
24532
|
readonly topic: string
|
|
24003
24533
|
}
|
|
24004
24534
|
|
|
24535
|
+
/**
|
|
24536
|
+
* Request parameters for deleteMilvusRole operation in SharedApi.
|
|
24537
|
+
* @export
|
|
24538
|
+
* @interface SharedApiDeleteMilvusRoleRequest
|
|
24539
|
+
*/
|
|
24540
|
+
export interface SharedApiDeleteMilvusRoleRequest {
|
|
24541
|
+
/**
|
|
24542
|
+
* name of the Org
|
|
24543
|
+
* @type {string}
|
|
24544
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
24545
|
+
*/
|
|
24546
|
+
readonly orgName: string
|
|
24547
|
+
|
|
24548
|
+
/**
|
|
24549
|
+
* name of the Cluster
|
|
24550
|
+
* @type {string}
|
|
24551
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
24552
|
+
*/
|
|
24553
|
+
readonly clusterName: string
|
|
24554
|
+
|
|
24555
|
+
/**
|
|
24556
|
+
* name of the Milvus role
|
|
24557
|
+
* @type {string}
|
|
24558
|
+
* @memberof SharedApiDeleteMilvusRole
|
|
24559
|
+
*/
|
|
24560
|
+
readonly roleName: string
|
|
24561
|
+
}
|
|
24562
|
+
|
|
24005
24563
|
/**
|
|
24006
24564
|
* Request parameters for deleteMongoDBAccount operation in SharedApi.
|
|
24007
24565
|
* @export
|
|
@@ -25717,6 +26275,34 @@ export interface SharedApiGetKafkaTopicsRequest {
|
|
|
25717
26275
|
readonly onlyNames?: boolean
|
|
25718
26276
|
}
|
|
25719
26277
|
|
|
26278
|
+
/**
|
|
26279
|
+
* Request parameters for getMilvusRole operation in SharedApi.
|
|
26280
|
+
* @export
|
|
26281
|
+
* @interface SharedApiGetMilvusRoleRequest
|
|
26282
|
+
*/
|
|
26283
|
+
export interface SharedApiGetMilvusRoleRequest {
|
|
26284
|
+
/**
|
|
26285
|
+
* name of the Org
|
|
26286
|
+
* @type {string}
|
|
26287
|
+
* @memberof SharedApiGetMilvusRole
|
|
26288
|
+
*/
|
|
26289
|
+
readonly orgName: string
|
|
26290
|
+
|
|
26291
|
+
/**
|
|
26292
|
+
* name of the Cluster
|
|
26293
|
+
* @type {string}
|
|
26294
|
+
* @memberof SharedApiGetMilvusRole
|
|
26295
|
+
*/
|
|
26296
|
+
readonly clusterName: string
|
|
26297
|
+
|
|
26298
|
+
/**
|
|
26299
|
+
* name of the Milvus role
|
|
26300
|
+
* @type {string}
|
|
26301
|
+
* @memberof SharedApiGetMilvusRole
|
|
26302
|
+
*/
|
|
26303
|
+
readonly roleName: string
|
|
26304
|
+
}
|
|
26305
|
+
|
|
25720
26306
|
/**
|
|
25721
26307
|
* Request parameters for getObjectInfo operation in SharedApi.
|
|
25722
26308
|
* @export
|
|
@@ -26956,6 +27542,27 @@ export interface SharedApiListKafkaTopicMessagesRequest {
|
|
|
26956
27542
|
readonly valueFilter?: string
|
|
26957
27543
|
}
|
|
26958
27544
|
|
|
27545
|
+
/**
|
|
27546
|
+
* Request parameters for listMilvusRoles operation in SharedApi.
|
|
27547
|
+
* @export
|
|
27548
|
+
* @interface SharedApiListMilvusRolesRequest
|
|
27549
|
+
*/
|
|
27550
|
+
export interface SharedApiListMilvusRolesRequest {
|
|
27551
|
+
/**
|
|
27552
|
+
* name of the Org
|
|
27553
|
+
* @type {string}
|
|
27554
|
+
* @memberof SharedApiListMilvusRoles
|
|
27555
|
+
*/
|
|
27556
|
+
readonly orgName: string
|
|
27557
|
+
|
|
27558
|
+
/**
|
|
27559
|
+
* name of the Cluster
|
|
27560
|
+
* @type {string}
|
|
27561
|
+
* @memberof SharedApiListMilvusRoles
|
|
27562
|
+
*/
|
|
27563
|
+
readonly clusterName: string
|
|
27564
|
+
}
|
|
27565
|
+
|
|
26959
27566
|
/**
|
|
26960
27567
|
* Request parameters for listMongoDBAccounts operation in SharedApi.
|
|
26961
27568
|
* @export
|
|
@@ -28062,6 +28669,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
28062
28669
|
readonly body: ESPutSecurityUserRequest
|
|
28063
28670
|
}
|
|
28064
28671
|
|
|
28672
|
+
/**
|
|
28673
|
+
* Request parameters for putMilvusRole operation in SharedApi.
|
|
28674
|
+
* @export
|
|
28675
|
+
* @interface SharedApiPutMilvusRoleRequest
|
|
28676
|
+
*/
|
|
28677
|
+
export interface SharedApiPutMilvusRoleRequest {
|
|
28678
|
+
/**
|
|
28679
|
+
* name of the Org
|
|
28680
|
+
* @type {string}
|
|
28681
|
+
* @memberof SharedApiPutMilvusRole
|
|
28682
|
+
*/
|
|
28683
|
+
readonly orgName: string
|
|
28684
|
+
|
|
28685
|
+
/**
|
|
28686
|
+
* name of the Cluster
|
|
28687
|
+
* @type {string}
|
|
28688
|
+
* @memberof SharedApiPutMilvusRole
|
|
28689
|
+
*/
|
|
28690
|
+
readonly clusterName: string
|
|
28691
|
+
|
|
28692
|
+
/**
|
|
28693
|
+
* name of the Milvus role
|
|
28694
|
+
* @type {string}
|
|
28695
|
+
* @memberof SharedApiPutMilvusRole
|
|
28696
|
+
*/
|
|
28697
|
+
readonly roleName: string
|
|
28698
|
+
|
|
28699
|
+
/**
|
|
28700
|
+
*
|
|
28701
|
+
* @type {MilvusRoleRequest}
|
|
28702
|
+
* @memberof SharedApiPutMilvusRole
|
|
28703
|
+
*/
|
|
28704
|
+
readonly body: MilvusRoleRequest
|
|
28705
|
+
}
|
|
28706
|
+
|
|
28065
28707
|
/**
|
|
28066
28708
|
* Request parameters for query operation in SharedApi.
|
|
28067
28709
|
* @export
|
|
@@ -29742,6 +30384,76 @@ export interface SharedApiUpdateKafkaBrokerConfigRequest {
|
|
|
29742
30384
|
readonly updateBrokerConfigRequest: UpdateBrokerConfigRequest
|
|
29743
30385
|
}
|
|
29744
30386
|
|
|
30387
|
+
/**
|
|
30388
|
+
* Request parameters for updateMilvusAccountPassword operation in SharedApi.
|
|
30389
|
+
* @export
|
|
30390
|
+
* @interface SharedApiUpdateMilvusAccountPasswordRequest
|
|
30391
|
+
*/
|
|
30392
|
+
export interface SharedApiUpdateMilvusAccountPasswordRequest {
|
|
30393
|
+
/**
|
|
30394
|
+
* name of the Org
|
|
30395
|
+
* @type {string}
|
|
30396
|
+
* @memberof SharedApiUpdateMilvusAccountPassword
|
|
30397
|
+
*/
|
|
30398
|
+
readonly orgName: string
|
|
30399
|
+
|
|
30400
|
+
/**
|
|
30401
|
+
* name of the Cluster
|
|
30402
|
+
* @type {string}
|
|
30403
|
+
* @memberof SharedApiUpdateMilvusAccountPassword
|
|
30404
|
+
*/
|
|
30405
|
+
readonly clusterName: string
|
|
30406
|
+
|
|
30407
|
+
/**
|
|
30408
|
+
* name of the Account
|
|
30409
|
+
* @type {string}
|
|
30410
|
+
* @memberof SharedApiUpdateMilvusAccountPassword
|
|
30411
|
+
*/
|
|
30412
|
+
readonly accountName: string
|
|
30413
|
+
|
|
30414
|
+
/**
|
|
30415
|
+
*
|
|
30416
|
+
* @type {MilvusAccountPassword}
|
|
30417
|
+
* @memberof SharedApiUpdateMilvusAccountPassword
|
|
30418
|
+
*/
|
|
30419
|
+
readonly body: MilvusAccountPassword
|
|
30420
|
+
}
|
|
30421
|
+
|
|
30422
|
+
/**
|
|
30423
|
+
* Request parameters for updateMilvusAccountRoles operation in SharedApi.
|
|
30424
|
+
* @export
|
|
30425
|
+
* @interface SharedApiUpdateMilvusAccountRolesRequest
|
|
30426
|
+
*/
|
|
30427
|
+
export interface SharedApiUpdateMilvusAccountRolesRequest {
|
|
30428
|
+
/**
|
|
30429
|
+
* name of the Org
|
|
30430
|
+
* @type {string}
|
|
30431
|
+
* @memberof SharedApiUpdateMilvusAccountRoles
|
|
30432
|
+
*/
|
|
30433
|
+
readonly orgName: string
|
|
30434
|
+
|
|
30435
|
+
/**
|
|
30436
|
+
* name of the Cluster
|
|
30437
|
+
* @type {string}
|
|
30438
|
+
* @memberof SharedApiUpdateMilvusAccountRoles
|
|
30439
|
+
*/
|
|
30440
|
+
readonly clusterName: string
|
|
30441
|
+
|
|
30442
|
+
/**
|
|
30443
|
+
* name of the Account
|
|
30444
|
+
* @type {string}
|
|
30445
|
+
* @memberof SharedApiUpdateMilvusAccountRoles
|
|
30446
|
+
*/
|
|
30447
|
+
readonly accountName: string
|
|
30448
|
+
|
|
30449
|
+
/**
|
|
30450
|
+
*
|
|
30451
|
+
* @type {MilvusAccountRoles}
|
|
30452
|
+
* @memberof SharedApiUpdateMilvusAccountRoles
|
|
30453
|
+
*/
|
|
30454
|
+
readonly body: MilvusAccountRoles
|
|
30455
|
+
}
|
|
30456
|
+
|
|
29745
30457
|
/**
|
|
29746
30458
|
* Request parameters for updateMssqlAccount operation in SharedApi.
|
|
29747
30459
|
* @export
|
|
@@ -30691,6 +31403,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30691
31403
|
return SharedApiFp(this.configuration).deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(this.axios, this.basePath));
|
|
30692
31404
|
}
|
|
30693
31405
|
|
|
31406
|
+
/**
|
|
31407
|
+
* Delete a Milvus native role.
|
|
31408
|
+
* @summary Delete Milvus role
|
|
31409
|
+
* @param {SharedApiDeleteMilvusRoleRequest} requestParameters Request parameters.
|
|
31410
|
+
* @param {*} [options] Override http request option.
|
|
31411
|
+
* @throws {RequiredError}
|
|
31412
|
+
* @memberof SharedApi
|
|
31413
|
+
*/
|
|
31414
|
+
public deleteMilvusRole(requestParameters: SharedApiDeleteMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
31415
|
+
return SharedApiFp(this.configuration).deleteMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
31416
|
+
}
|
|
31417
|
+
|
|
30694
31418
|
/**
|
|
30695
31419
|
* delete an account in mongodb
|
|
30696
31420
|
* @summary Delete mongodb account
|
|
@@ -31386,6 +32110,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31386
32110
|
return SharedApiFp(this.configuration).getKafkaTopics(requestParameters.orgName, requestParameters.clusterName, requestParameters.nameFilter, requestParameters.onlyNames, options).then((request) => request(this.axios, this.basePath));
|
|
31387
32111
|
}
|
|
31388
32112
|
|
|
32113
|
+
/**
|
|
32114
|
+
* Get a Milvus native role and its privilege grants.
|
|
32115
|
+
* @summary Get Milvus role
|
|
32116
|
+
* @param {SharedApiGetMilvusRoleRequest} requestParameters Request parameters.
|
|
32117
|
+
* @param {*} [options] Override http request option.
|
|
32118
|
+
* @throws {RequiredError}
|
|
32119
|
+
* @memberof SharedApi
|
|
32120
|
+
*/
|
|
32121
|
+
public getMilvusRole(requestParameters: SharedApiGetMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
32122
|
+
return SharedApiFp(this.configuration).getMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
32123
|
+
}
|
|
32124
|
+
|
|
31389
32125
|
/**
|
|
31390
32126
|
*
|
|
31391
32127
|
* @summary get the detail object info
|
|
@@ -31901,6 +32637,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31901
32637
|
return SharedApiFp(this.configuration).listKafkaTopicMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, requestParameters.partition, requestParameters.offset, requestParameters.count, requestParameters.keyFilter, requestParameters.valueFilter, options).then((request) => request(this.axios, this.basePath));
|
|
31902
32638
|
}
|
|
31903
32639
|
|
|
32640
|
+
/**
|
|
32641
|
+
* List Milvus native roles and their privilege grants.
|
|
32642
|
+
* @summary List Milvus roles
|
|
32643
|
+
* @param {SharedApiListMilvusRolesRequest} requestParameters Request parameters.
|
|
32644
|
+
* @param {*} [options] Override http request option.
|
|
32645
|
+
* @throws {RequiredError}
|
|
32646
|
+
* @memberof SharedApi
|
|
32647
|
+
*/
|
|
32648
|
+
public listMilvusRoles(requestParameters: SharedApiListMilvusRolesRequest, options?: RawAxiosRequestConfig) {
|
|
32649
|
+
return SharedApiFp(this.configuration).listMilvusRoles(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
32650
|
+
}
|
|
32651
|
+
|
|
31904
32652
|
/**
|
|
31905
32653
|
* list accounts in mongodb
|
|
31906
32654
|
* @summary List mongodb accounts
|
|
@@ -32404,6 +33152,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32404
33152
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32405
33153
|
}
|
|
32406
33154
|
|
|
33155
|
+
/**
|
|
33156
|
+
* Create or update a Milvus native role and replace its privilege grants.
|
|
33157
|
+
* @summary Put Milvus role
|
|
33158
|
+
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
33159
|
+
* @param {*} [options] Override http request option.
|
|
33160
|
+
* @throws {RequiredError}
|
|
33161
|
+
* @memberof SharedApi
|
|
33162
|
+
*/
|
|
33163
|
+
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
33164
|
+
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
33165
|
+
}
|
|
33166
|
+
|
|
32407
33167
|
/**
|
|
32408
33168
|
*
|
|
32409
33169
|
* @summary create a SQL query
|
|
@@ -32979,6 +33739,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32979
33739
|
return SharedApiFp(this.configuration).updateKafkaBrokerConfig(requestParameters.orgName, requestParameters.clusterName, requestParameters.brokerId, requestParameters.updateBrokerConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32980
33740
|
}
|
|
32981
33741
|
|
|
33742
|
+
/**
|
|
33743
|
+
* Update a Milvus account password.
|
|
33744
|
+
* @summary Update Milvus account password
|
|
33745
|
+
* @param {SharedApiUpdateMilvusAccountPasswordRequest} requestParameters Request parameters.
|
|
33746
|
+
* @param {*} [options] Override http request option.
|
|
33747
|
+
* @throws {RequiredError}
|
|
33748
|
+
* @memberof SharedApi
|
|
33749
|
+
*/
|
|
33750
|
+
public updateMilvusAccountPassword(requestParameters: SharedApiUpdateMilvusAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
33751
|
+
return SharedApiFp(this.configuration).updateMilvusAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
33752
|
+
}
|
|
33753
|
+
|
|
33754
|
+
/**
|
|
33755
|
+
* Replace a Milvus account\'s role assignments.
|
|
33756
|
+
* @summary Update Milvus account roles
|
|
33757
|
+
* @param {SharedApiUpdateMilvusAccountRolesRequest} requestParameters Request parameters.
|
|
33758
|
+
* @param {*} [options] Override http request option.
|
|
33759
|
+
* @throws {RequiredError}
|
|
33760
|
+
* @memberof SharedApi
|
|
33761
|
+
*/
|
|
33762
|
+
public updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig) {
|
|
33763
|
+
return SharedApiFp(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
33764
|
+
}
|
|
33765
|
+
|
|
32982
33766
|
/**
|
|
32983
33767
|
*
|
|
32984
33768
|
* @summary update mssql account compatible with windows account
|