kb-cloud-client-typescript 2.3.0-beta.12 → 2.3.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/account-api.d.ts +151 -79
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +165 -85
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +151 -79
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/adminapi/apis/milvus-api.js +153 -73
- package/dist/adminapi/apis/milvus-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +151 -79
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +165 -85
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-reference.d.ts +31 -0
- package/dist/adminapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-reference.js +16 -0
- package/dist/adminapi/models/cluster-reference.js.map +1 -0
- package/dist/adminapi/models/cluster.d.ts +3 -2
- package/dist/adminapi/models/cluster.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/milvus-role-create-request.d.ts +32 -0
- package/dist/adminapi/models/milvus-role-create-request.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-create-request.js +16 -0
- package/dist/adminapi/models/milvus-role-create-request.js.map +1 -0
- package/dist/adminapi/models/milvus-role-request.d.ts +1 -1
- package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
- package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
- package/dist/adminapi/models/mode-service-ref.d.ts +20 -0
- package/dist/adminapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/adminapi/models/redis-key-value-item.d.ts +3 -5
- package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -1
- package/dist/adminapi/models/service-ref.d.ts +8 -0
- package/dist/adminapi/models/service-ref.d.ts.map +1 -1
- package/dist/internalapi/models/cluster-reference.d.ts +31 -0
- package/dist/internalapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-reference.js +16 -0
- package/dist/internalapi/models/cluster-reference.js.map +1 -0
- package/dist/internalapi/models/cluster.d.ts +3 -2
- package/dist/internalapi/models/cluster.d.ts.map +1 -1
- package/dist/internalapi/models/index.d.ts +1 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +1 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/service-ref.d.ts +8 -0
- package/dist/internalapi/models/service-ref.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +151 -79
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +165 -85
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +151 -79
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/openapi/apis/milvus-api.js +153 -73
- package/dist/openapi/apis/milvus-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +151 -79
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +165 -85
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-reference.d.ts +31 -0
- package/dist/openapi/models/cluster-reference.d.ts.map +1 -0
- package/dist/openapi/models/cluster-reference.js +16 -0
- package/dist/openapi/models/cluster-reference.js.map +1 -0
- package/dist/openapi/models/cluster.d.ts +3 -2
- package/dist/openapi/models/cluster.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/milvus-role-create-request.d.ts +32 -0
- package/dist/openapi/models/milvus-role-create-request.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-create-request.js +16 -0
- package/dist/openapi/models/milvus-role-create-request.js.map +1 -0
- package/dist/openapi/models/milvus-role-request.d.ts +1 -1
- package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
- package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
- package/dist/openapi/models/mode-service-ref.d.ts +20 -0
- package/dist/openapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/openapi/models/redis-key-value-item.d.ts +3 -5
- package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -1
- package/dist/openapi/models/service-ref.d.ts +8 -0
- package/dist/openapi/models/service-ref.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/apis/account-api.ts +266 -138
- package/src/adminapi/apis/milvus-api.ts +242 -114
- package/src/adminapi/apis/shared-api.ts +266 -138
- package/src/adminapi/models/cluster-reference.ts +36 -0
- package/src/adminapi/models/cluster.ts +5 -2
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/milvus-role-create-request.ts +39 -0
- package/src/adminapi/models/milvus-role-request.ts +1 -1
- package/src/adminapi/models/mode-service-ref-helm-value-path.ts +6 -0
- package/src/adminapi/models/mode-service-ref.ts +18 -0
- package/src/adminapi/models/redis-key-value-item.ts +3 -3
- package/src/adminapi/models/service-ref.ts +6 -0
- package/src/adminapi.yaml +113 -8
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/models/cluster-reference.ts +36 -0
- package/src/internalapi/models/cluster.ts +5 -2
- package/src/internalapi/models/index.ts +1 -0
- package/src/internalapi/models/service-ref.ts +6 -0
- package/src/internalapi.yaml +19 -1
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/account-api.ts +266 -138
- package/src/openapi/apis/milvus-api.ts +242 -114
- package/src/openapi/apis/shared-api.ts +266 -138
- package/src/openapi/models/cluster-reference.ts +36 -0
- package/src/openapi/models/cluster.ts +5 -2
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi/models/milvus-role-create-request.ts +39 -0
- package/src/openapi/models/milvus-role-request.ts +1 -1
- package/src/openapi/models/mode-service-ref-helm-value-path.ts +6 -0
- package/src/openapi/models/mode-service-ref.ts +18 -0
- package/src/openapi/models/redis-key-value-item.ts +3 -3
- package/src/openapi/models/service-ref.ts +6 -0
- package/src/openapi.yaml +113 -8
|
@@ -266,6 +266,8 @@ import type { MilvusAccountRoles } from '../models';
|
|
|
266
266
|
// @ts-ignore
|
|
267
267
|
import type { MilvusRole } from '../models';
|
|
268
268
|
// @ts-ignore
|
|
269
|
+
import type { MilvusRoleCreateRequest } from '../models';
|
|
270
|
+
// @ts-ignore
|
|
269
271
|
import type { MilvusRoleList } from '../models';
|
|
270
272
|
// @ts-ignore
|
|
271
273
|
import type { MilvusRoleRequest } from '../models';
|
|
@@ -1919,6 +1921,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1919
1921
|
options: localVarRequestOptions,
|
|
1920
1922
|
};
|
|
1921
1923
|
},
|
|
1924
|
+
/**
|
|
1925
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1926
|
+
* @summary Create Milvus role
|
|
1927
|
+
* @param {string} orgName name of the Org
|
|
1928
|
+
* @param {string} clusterName name of the Cluster
|
|
1929
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1930
|
+
* @param {*} [options] Override http request option.
|
|
1931
|
+
* @throws {RequiredError}
|
|
1932
|
+
*/
|
|
1933
|
+
createMilvusRole: async (orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1934
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1935
|
+
assertParamExists('createMilvusRole', 'orgName', orgName)
|
|
1936
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1937
|
+
assertParamExists('createMilvusRole', 'clusterName', clusterName)
|
|
1938
|
+
// verify required parameter 'body' is not null or undefined
|
|
1939
|
+
assertParamExists('createMilvusRole', 'body', body)
|
|
1940
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1941
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1942
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1945
|
+
let baseOptions;
|
|
1946
|
+
if (configuration) {
|
|
1947
|
+
baseOptions = configuration.baseOptions;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1951
|
+
const localVarHeaderParameter = {} as any;
|
|
1952
|
+
const localVarQueryParameter = {} as any;
|
|
1953
|
+
|
|
1954
|
+
// authentication BearerToken required
|
|
1955
|
+
// http bearer authentication required
|
|
1956
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1957
|
+
|
|
1958
|
+
// authentication DigestAuth required
|
|
1959
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1964
|
+
|
|
1965
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1966
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1967
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1968
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1969
|
+
|
|
1970
|
+
return {
|
|
1971
|
+
url: toPathString(localVarUrlObj),
|
|
1972
|
+
options: localVarRequestOptions,
|
|
1973
|
+
};
|
|
1974
|
+
},
|
|
1922
1975
|
/**
|
|
1923
1976
|
* create an account in mongodb
|
|
1924
1977
|
* @summary Create mongodb account
|
|
@@ -12184,61 +12237,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12184
12237
|
|
|
12185
12238
|
|
|
12186
12239
|
|
|
12187
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12188
|
-
|
|
12189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12190
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12191
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12192
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
12193
|
-
|
|
12194
|
-
return {
|
|
12195
|
-
url: toPathString(localVarUrlObj),
|
|
12196
|
-
options: localVarRequestOptions,
|
|
12197
|
-
};
|
|
12198
|
-
},
|
|
12199
|
-
/**
|
|
12200
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
12201
|
-
* @summary Put Milvus role
|
|
12202
|
-
* @param {string} orgName name of the Org
|
|
12203
|
-
* @param {string} clusterName name of the Cluster
|
|
12204
|
-
* @param {string} roleName name of the Milvus role
|
|
12205
|
-
* @param {MilvusRoleRequest} body
|
|
12206
|
-
* @param {*} [options] Override http request option.
|
|
12207
|
-
* @throws {RequiredError}
|
|
12208
|
-
*/
|
|
12209
|
-
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12210
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
12211
|
-
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
12212
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
12213
|
-
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
12214
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
12215
|
-
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
12216
|
-
// verify required parameter 'body' is not null or undefined
|
|
12217
|
-
assertParamExists('putMilvusRole', 'body', body)
|
|
12218
|
-
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
12219
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12220
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12221
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
12222
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12223
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12224
|
-
let baseOptions;
|
|
12225
|
-
if (configuration) {
|
|
12226
|
-
baseOptions = configuration.baseOptions;
|
|
12227
|
-
}
|
|
12228
|
-
|
|
12229
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12230
|
-
const localVarHeaderParameter = {} as any;
|
|
12231
|
-
const localVarQueryParameter = {} as any;
|
|
12232
|
-
|
|
12233
|
-
// authentication BearerToken required
|
|
12234
|
-
// http bearer authentication required
|
|
12235
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12236
|
-
|
|
12237
|
-
// authentication DigestAuth required
|
|
12238
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
12240
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12243
12241
|
|
|
12244
12242
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15972,6 +15970,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15972
15970
|
|
|
15973
15971
|
|
|
15974
15972
|
|
|
15973
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15974
|
+
|
|
15975
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15976
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15977
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15978
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
15979
|
+
|
|
15980
|
+
return {
|
|
15981
|
+
url: toPathString(localVarUrlObj),
|
|
15982
|
+
options: localVarRequestOptions,
|
|
15983
|
+
};
|
|
15984
|
+
},
|
|
15985
|
+
/**
|
|
15986
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
15987
|
+
* @summary Update Milvus role
|
|
15988
|
+
* @param {string} orgName name of the Org
|
|
15989
|
+
* @param {string} clusterName name of the Cluster
|
|
15990
|
+
* @param {string} roleName name of the Milvus role
|
|
15991
|
+
* @param {MilvusRoleRequest} body
|
|
15992
|
+
* @param {*} [options] Override http request option.
|
|
15993
|
+
* @throws {RequiredError}
|
|
15994
|
+
*/
|
|
15995
|
+
updateMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15996
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15997
|
+
assertParamExists('updateMilvusRole', 'orgName', orgName)
|
|
15998
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15999
|
+
assertParamExists('updateMilvusRole', 'clusterName', clusterName)
|
|
16000
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
16001
|
+
assertParamExists('updateMilvusRole', 'roleName', roleName)
|
|
16002
|
+
// verify required parameter 'body' is not null or undefined
|
|
16003
|
+
assertParamExists('updateMilvusRole', 'body', body)
|
|
16004
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
16005
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16006
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
16007
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
16008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16010
|
+
let baseOptions;
|
|
16011
|
+
if (configuration) {
|
|
16012
|
+
baseOptions = configuration.baseOptions;
|
|
16013
|
+
}
|
|
16014
|
+
|
|
16015
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16016
|
+
const localVarHeaderParameter = {} as any;
|
|
16017
|
+
const localVarQueryParameter = {} as any;
|
|
16018
|
+
|
|
16019
|
+
// authentication BearerToken required
|
|
16020
|
+
// http bearer authentication required
|
|
16021
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16022
|
+
|
|
16023
|
+
// authentication DigestAuth required
|
|
16024
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16025
|
+
|
|
16026
|
+
|
|
16027
|
+
|
|
15975
16028
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15976
16029
|
|
|
15977
16030
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17153,6 +17206,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17153
17206
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
17154
17207
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17155
17208
|
},
|
|
17209
|
+
/**
|
|
17210
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
17211
|
+
* @summary Create Milvus role
|
|
17212
|
+
* @param {string} orgName name of the Org
|
|
17213
|
+
* @param {string} clusterName name of the Cluster
|
|
17214
|
+
* @param {MilvusRoleCreateRequest} body
|
|
17215
|
+
* @param {*} [options] Override http request option.
|
|
17216
|
+
* @throws {RequiredError}
|
|
17217
|
+
*/
|
|
17218
|
+
async createMilvusRole(orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
17220
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17221
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17223
|
+
},
|
|
17156
17224
|
/**
|
|
17157
17225
|
* create an account in mongodb
|
|
17158
17226
|
* @summary Create mongodb account
|
|
@@ -20191,22 +20259,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20191
20259
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
20192
20260
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20193
20261
|
},
|
|
20194
|
-
/**
|
|
20195
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
20196
|
-
* @summary Put Milvus role
|
|
20197
|
-
* @param {string} orgName name of the Org
|
|
20198
|
-
* @param {string} clusterName name of the Cluster
|
|
20199
|
-
* @param {string} roleName name of the Milvus role
|
|
20200
|
-
* @param {MilvusRoleRequest} body
|
|
20201
|
-
* @param {*} [options] Override http request option.
|
|
20202
|
-
* @throws {RequiredError}
|
|
20203
|
-
*/
|
|
20204
|
-
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
20205
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
20206
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20207
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
20208
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20209
|
-
},
|
|
20210
20262
|
/**
|
|
20211
20263
|
*
|
|
20212
20264
|
* @summary create a SQL query
|
|
@@ -21231,6 +21283,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21231
21283
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
21232
21284
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21233
21285
|
},
|
|
21286
|
+
/**
|
|
21287
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21288
|
+
* @summary Update Milvus role
|
|
21289
|
+
* @param {string} orgName name of the Org
|
|
21290
|
+
* @param {string} clusterName name of the Cluster
|
|
21291
|
+
* @param {string} roleName name of the Milvus role
|
|
21292
|
+
* @param {MilvusRoleRequest} body
|
|
21293
|
+
* @param {*} [options] Override http request option.
|
|
21294
|
+
* @throws {RequiredError}
|
|
21295
|
+
*/
|
|
21296
|
+
async updateMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
21297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
21298
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21299
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
21300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21301
|
+
},
|
|
21234
21302
|
/**
|
|
21235
21303
|
*
|
|
21236
21304
|
* @summary update mssql account compatible with windows account
|
|
@@ -21726,6 +21794,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21726
21794
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
|
|
21727
21795
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
21728
21796
|
},
|
|
21797
|
+
/**
|
|
21798
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
21799
|
+
* @summary Create Milvus role
|
|
21800
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
21801
|
+
* @param {*} [options] Override http request option.
|
|
21802
|
+
* @throws {RequiredError}
|
|
21803
|
+
*/
|
|
21804
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21805
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21806
|
+
},
|
|
21729
21807
|
/**
|
|
21730
21808
|
* create an account in mongodb
|
|
21731
21809
|
* @summary Create mongodb account
|
|
@@ -23702,16 +23780,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23702
23780
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23703
23781
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23704
23782
|
},
|
|
23705
|
-
/**
|
|
23706
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
23707
|
-
* @summary Put Milvus role
|
|
23708
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
23709
|
-
* @param {*} [options] Override http request option.
|
|
23710
|
-
* @throws {RequiredError}
|
|
23711
|
-
*/
|
|
23712
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
23713
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23714
|
-
},
|
|
23715
23783
|
/**
|
|
23716
23784
|
*
|
|
23717
23785
|
* @summary create a SQL query
|
|
@@ -24291,6 +24359,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24291
24359
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24292
24360
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24293
24361
|
},
|
|
24362
|
+
/**
|
|
24363
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24364
|
+
* @summary Update Milvus role
|
|
24365
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24366
|
+
* @param {*} [options] Override http request option.
|
|
24367
|
+
* @throws {RequiredError}
|
|
24368
|
+
*/
|
|
24369
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
24370
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24371
|
+
},
|
|
24294
24372
|
/**
|
|
24295
24373
|
*
|
|
24296
24374
|
* @summary update mssql account compatible with windows account
|
|
@@ -24709,6 +24787,16 @@ export interface SharedApiInterface {
|
|
|
24709
24787
|
*/
|
|
24710
24788
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
|
|
24711
24789
|
|
|
24790
|
+
/**
|
|
24791
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
24792
|
+
* @summary Create Milvus role
|
|
24793
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
24794
|
+
* @param {*} [options] Override http request option.
|
|
24795
|
+
* @throws {RequiredError}
|
|
24796
|
+
* @memberof SharedApiInterface
|
|
24797
|
+
*/
|
|
24798
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24799
|
+
|
|
24712
24800
|
/**
|
|
24713
24801
|
* create an account in mongodb
|
|
24714
24802
|
* @summary Create mongodb account
|
|
@@ -26685,16 +26773,6 @@ export interface SharedApiInterface {
|
|
|
26685
26773
|
*/
|
|
26686
26774
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26687
26775
|
|
|
26688
|
-
/**
|
|
26689
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
26690
|
-
* @summary Put Milvus role
|
|
26691
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
26692
|
-
* @param {*} [options] Override http request option.
|
|
26693
|
-
* @throws {RequiredError}
|
|
26694
|
-
* @memberof SharedApiInterface
|
|
26695
|
-
*/
|
|
26696
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
26697
|
-
|
|
26698
26776
|
/**
|
|
26699
26777
|
*
|
|
26700
26778
|
* @summary create a SQL query
|
|
@@ -27274,6 +27352,16 @@ export interface SharedApiInterface {
|
|
|
27274
27352
|
*/
|
|
27275
27353
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27276
27354
|
|
|
27355
|
+
/**
|
|
27356
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
27357
|
+
* @summary Update Milvus role
|
|
27358
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
27359
|
+
* @param {*} [options] Override http request option.
|
|
27360
|
+
* @throws {RequiredError}
|
|
27361
|
+
* @memberof SharedApiInterface
|
|
27362
|
+
*/
|
|
27363
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
27364
|
+
|
|
27277
27365
|
/**
|
|
27278
27366
|
*
|
|
27279
27367
|
* @summary update mssql account compatible with windows account
|
|
@@ -28297,6 +28385,34 @@ export interface SharedApiCreateKafkaTopicRequest {
|
|
|
28297
28385
|
readonly createTopicRequest: CreateTopicRequest
|
|
28298
28386
|
}
|
|
28299
28387
|
|
|
28388
|
+
/**
|
|
28389
|
+
* Request parameters for createMilvusRole operation in SharedApi.
|
|
28390
|
+
* @export
|
|
28391
|
+
* @interface SharedApiCreateMilvusRoleRequest
|
|
28392
|
+
*/
|
|
28393
|
+
export interface SharedApiCreateMilvusRoleRequest {
|
|
28394
|
+
/**
|
|
28395
|
+
* name of the Org
|
|
28396
|
+
* @type {string}
|
|
28397
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28398
|
+
*/
|
|
28399
|
+
readonly orgName: string
|
|
28400
|
+
|
|
28401
|
+
/**
|
|
28402
|
+
* name of the Cluster
|
|
28403
|
+
* @type {string}
|
|
28404
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28405
|
+
*/
|
|
28406
|
+
readonly clusterName: string
|
|
28407
|
+
|
|
28408
|
+
/**
|
|
28409
|
+
*
|
|
28410
|
+
* @type {MilvusRoleCreateRequest}
|
|
28411
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28412
|
+
*/
|
|
28413
|
+
readonly body: MilvusRoleCreateRequest
|
|
28414
|
+
}
|
|
28415
|
+
|
|
28300
28416
|
/**
|
|
28301
28417
|
* Request parameters for createMongoDBAccount operation in SharedApi.
|
|
28302
28418
|
* @export
|
|
@@ -34275,41 +34391,6 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
34275
34391
|
readonly body: ESPutSecurityUserRequest
|
|
34276
34392
|
}
|
|
34277
34393
|
|
|
34278
|
-
/**
|
|
34279
|
-
* Request parameters for putMilvusRole operation in SharedApi.
|
|
34280
|
-
* @export
|
|
34281
|
-
* @interface SharedApiPutMilvusRoleRequest
|
|
34282
|
-
*/
|
|
34283
|
-
export interface SharedApiPutMilvusRoleRequest {
|
|
34284
|
-
/**
|
|
34285
|
-
* name of the Org
|
|
34286
|
-
* @type {string}
|
|
34287
|
-
* @memberof SharedApiPutMilvusRole
|
|
34288
|
-
*/
|
|
34289
|
-
readonly orgName: string
|
|
34290
|
-
|
|
34291
|
-
/**
|
|
34292
|
-
* name of the Cluster
|
|
34293
|
-
* @type {string}
|
|
34294
|
-
* @memberof SharedApiPutMilvusRole
|
|
34295
|
-
*/
|
|
34296
|
-
readonly clusterName: string
|
|
34297
|
-
|
|
34298
|
-
/**
|
|
34299
|
-
* name of the Milvus role
|
|
34300
|
-
* @type {string}
|
|
34301
|
-
* @memberof SharedApiPutMilvusRole
|
|
34302
|
-
*/
|
|
34303
|
-
readonly roleName: string
|
|
34304
|
-
|
|
34305
|
-
/**
|
|
34306
|
-
*
|
|
34307
|
-
* @type {MilvusRoleRequest}
|
|
34308
|
-
* @memberof SharedApiPutMilvusRole
|
|
34309
|
-
*/
|
|
34310
|
-
readonly body: MilvusRoleRequest
|
|
34311
|
-
}
|
|
34312
|
-
|
|
34313
34394
|
/**
|
|
34314
34395
|
* Request parameters for query operation in SharedApi.
|
|
34315
34396
|
* @export
|
|
@@ -37005,6 +37086,41 @@ export interface SharedApiUpdateMilvusAccountRolesRequest {
|
|
|
37005
37086
|
readonly body: MilvusAccountRoles
|
|
37006
37087
|
}
|
|
37007
37088
|
|
|
37089
|
+
/**
|
|
37090
|
+
* Request parameters for updateMilvusRole operation in SharedApi.
|
|
37091
|
+
* @export
|
|
37092
|
+
* @interface SharedApiUpdateMilvusRoleRequest
|
|
37093
|
+
*/
|
|
37094
|
+
export interface SharedApiUpdateMilvusRoleRequest {
|
|
37095
|
+
/**
|
|
37096
|
+
* name of the Org
|
|
37097
|
+
* @type {string}
|
|
37098
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37099
|
+
*/
|
|
37100
|
+
readonly orgName: string
|
|
37101
|
+
|
|
37102
|
+
/**
|
|
37103
|
+
* name of the Cluster
|
|
37104
|
+
* @type {string}
|
|
37105
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37106
|
+
*/
|
|
37107
|
+
readonly clusterName: string
|
|
37108
|
+
|
|
37109
|
+
/**
|
|
37110
|
+
* name of the Milvus role
|
|
37111
|
+
* @type {string}
|
|
37112
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37113
|
+
*/
|
|
37114
|
+
readonly roleName: string
|
|
37115
|
+
|
|
37116
|
+
/**
|
|
37117
|
+
*
|
|
37118
|
+
* @type {MilvusRoleRequest}
|
|
37119
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37120
|
+
*/
|
|
37121
|
+
readonly body: MilvusRoleRequest
|
|
37122
|
+
}
|
|
37123
|
+
|
|
37008
37124
|
/**
|
|
37009
37125
|
* Request parameters for updateMssqlAccount operation in SharedApi.
|
|
37010
37126
|
* @export
|
|
@@ -37770,6 +37886,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37770
37886
|
return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37771
37887
|
}
|
|
37772
37888
|
|
|
37889
|
+
/**
|
|
37890
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
37891
|
+
* @summary Create Milvus role
|
|
37892
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
37893
|
+
* @param {*} [options] Override http request option.
|
|
37894
|
+
* @throws {RequiredError}
|
|
37895
|
+
* @memberof SharedApi
|
|
37896
|
+
*/
|
|
37897
|
+
public createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
37898
|
+
return SharedApiFp(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
37899
|
+
}
|
|
37900
|
+
|
|
37773
37901
|
/**
|
|
37774
37902
|
* create an account in mongodb
|
|
37775
37903
|
* @summary Create mongodb account
|
|
@@ -40142,18 +40270,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40142
40270
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40143
40271
|
}
|
|
40144
40272
|
|
|
40145
|
-
/**
|
|
40146
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
40147
|
-
* @summary Put Milvus role
|
|
40148
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
40149
|
-
* @param {*} [options] Override http request option.
|
|
40150
|
-
* @throws {RequiredError}
|
|
40151
|
-
* @memberof SharedApi
|
|
40152
|
-
*/
|
|
40153
|
-
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
40154
|
-
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40155
|
-
}
|
|
40156
|
-
|
|
40157
40273
|
/**
|
|
40158
40274
|
*
|
|
40159
40275
|
* @summary create a SQL query
|
|
@@ -40849,6 +40965,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40849
40965
|
return SharedApiFp(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40850
40966
|
}
|
|
40851
40967
|
|
|
40968
|
+
/**
|
|
40969
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
40970
|
+
* @summary Update Milvus role
|
|
40971
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
40972
|
+
* @param {*} [options] Override http request option.
|
|
40973
|
+
* @throws {RequiredError}
|
|
40974
|
+
* @memberof SharedApi
|
|
40975
|
+
*/
|
|
40976
|
+
public updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
40977
|
+
return SharedApiFp(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40978
|
+
}
|
|
40979
|
+
|
|
40852
40980
|
/**
|
|
40853
40981
|
*
|
|
40854
40982
|
* @summary update mssql account compatible with windows account
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Cluster reference information returned by cluster detail APIs.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ClusterReference
|
|
21
|
+
*/
|
|
22
|
+
export interface ClusterReference {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the cluster that references this cluster.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ClusterReference
|
|
27
|
+
*/
|
|
28
|
+
'cluster'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Cluster definition of the referencing cluster.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ClusterReference
|
|
33
|
+
*/
|
|
34
|
+
'clusterDefinition'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -27,6 +27,9 @@ import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
|
27
27
|
import type { ClusterObjectStorageConfig } from './cluster-object-storage-config';
|
|
28
28
|
// May contain unused imports in some cases
|
|
29
29
|
// @ts-ignore
|
|
30
|
+
import type { ClusterReference } from './cluster-reference';
|
|
31
|
+
// May contain unused imports in some cases
|
|
32
|
+
// @ts-ignore
|
|
30
33
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
31
34
|
// May contain unused imports in some cases
|
|
32
35
|
// @ts-ignore
|
|
@@ -295,10 +298,10 @@ export interface Cluster {
|
|
|
295
298
|
'serviceRefs'?: Array<ServiceRef>;
|
|
296
299
|
/**
|
|
297
300
|
* this list of objects (currently, object is a cluster) that uses this cluster as a serviceRef
|
|
298
|
-
* @type {Array<
|
|
301
|
+
* @type {Array<ClusterReference>}
|
|
299
302
|
* @memberof Cluster
|
|
300
303
|
*/
|
|
301
|
-
'referencedBy'?: Array<
|
|
304
|
+
'referencedBy'?: Array<ClusterReference>;
|
|
302
305
|
/**
|
|
303
306
|
*
|
|
304
307
|
* @type {ClusterObjectStorageConfig}
|
|
@@ -178,6 +178,7 @@ export * from './cluster-mode-transition';
|
|
|
178
178
|
export * from './cluster-object-storage-config';
|
|
179
179
|
export * from './cluster-raw-log-item';
|
|
180
180
|
export * from './cluster-raw-log-response';
|
|
181
|
+
export * from './cluster-reference';
|
|
181
182
|
export * from './cluster-scheduling-policy';
|
|
182
183
|
export * from './cluster-slow-log-database-distribution';
|
|
183
184
|
export * from './cluster-slow-log-detail';
|
|
@@ -572,6 +573,7 @@ export * from './metrics-query-type';
|
|
|
572
573
|
export * from './milvus-account-password';
|
|
573
574
|
export * from './milvus-account-roles';
|
|
574
575
|
export * from './milvus-role';
|
|
576
|
+
export * from './milvus-role-create-request';
|
|
575
577
|
export * from './milvus-role-grant';
|
|
576
578
|
export * from './milvus-role-list';
|
|
577
579
|
export * from './milvus-role-request';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { MilvusRoleGrant } from './milvus-role-grant';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Milvus role create request.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface MilvusRoleCreateRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface MilvusRoleCreateRequest {
|
|
26
|
+
/**
|
|
27
|
+
* Milvus role name.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof MilvusRoleCreateRequest
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
32
|
+
/**
|
|
33
|
+
* Native Milvus privilege grants owned by this role.
|
|
34
|
+
* @type {Array<MilvusRoleGrant>}
|
|
35
|
+
* @memberof MilvusRoleCreateRequest
|
|
36
|
+
*/
|
|
37
|
+
'grants'?: Array<MilvusRoleGrant>;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -74,5 +74,11 @@ export interface ModeServiceRefHelmValuePath {
|
|
|
74
74
|
* @memberof ModeServiceRefHelmValuePath
|
|
75
75
|
*/
|
|
76
76
|
'mode'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* the helm value path prefix for the extraForManualInput fields of this serviceRef. ClusterCreate API will map each key of serviceRefs[].extraForManualInput to `<extraForManualInput>.<key>` in the cluster chart values.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ModeServiceRefHelmValuePath
|
|
81
|
+
*/
|
|
82
|
+
'extraForManualInput'?: string;
|
|
77
83
|
}
|
|
78
84
|
|