kb-cloud-client-typescript 2.3.0-alpha.208 → 2.3.0-alpha.210
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 +0 -206
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +0 -233
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +0 -207
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/adminapi/apis/milvus-api.js +0 -233
- package/dist/adminapi/apis/milvus-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -206
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -233
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +0 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +0 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +0 -206
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +0 -233
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +0 -207
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
- package/dist/openapi/apis/milvus-api.js +0 -233
- package/dist/openapi/apis/milvus-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -206
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -233
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +0 -1
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +0 -1
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +0 -1
- package/src/adminapi/apis/account-api.ts +0 -364
- package/src/adminapi/apis/milvus-api.ts +0 -366
- package/src/adminapi/apis/shared-api.ts +0 -364
- package/src/adminapi/models/index.ts +0 -1
- package/src/adminapi.yaml +0 -150
- package/src/openapi/.openapi-generator/FILES +0 -1
- package/src/openapi/apis/account-api.ts +0 -364
- package/src/openapi/apis/milvus-api.ts +0 -366
- package/src/openapi/apis/shared-api.ts +0 -364
- package/src/openapi/models/index.ts +0 -1
- package/src/openapi.yaml +0 -150
- package/dist/adminapi/models/milvus-account.d.ts +0 -49
- package/dist/adminapi/models/milvus-account.d.ts.map +0 -1
- package/dist/adminapi/models/milvus-account.js +0 -16
- package/dist/adminapi/models/milvus-account.js.map +0 -1
- package/dist/openapi/models/milvus-account.d.ts +0 -49
- package/dist/openapi/models/milvus-account.d.ts.map +0 -1
- package/dist/openapi/models/milvus-account.js +0 -16
- package/dist/openapi/models/milvus-account.js.map +0 -1
- package/src/adminapi/models/milvus-account.ts +0 -54
- package/src/openapi/models/milvus-account.ts +0 -54
|
@@ -234,8 +234,6 @@ import type { IpWhitelistList } from '../models';
|
|
|
234
234
|
// @ts-ignore
|
|
235
235
|
import type { MetricsQueryType } from '../models';
|
|
236
236
|
// @ts-ignore
|
|
237
|
-
import type { MilvusAccount } from '../models';
|
|
238
|
-
// @ts-ignore
|
|
239
237
|
import type { MilvusAccountPassword } from '../models';
|
|
240
238
|
// @ts-ignore
|
|
241
239
|
import type { MilvusAccountRoles } from '../models';
|
|
@@ -1698,57 +1696,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1698
1696
|
options: localVarRequestOptions,
|
|
1699
1697
|
};
|
|
1700
1698
|
},
|
|
1701
|
-
/**
|
|
1702
|
-
* Create a Milvus account.
|
|
1703
|
-
* @summary Create Milvus account
|
|
1704
|
-
* @param {string} orgName name of the Org
|
|
1705
|
-
* @param {string} clusterName name of the Cluster
|
|
1706
|
-
* @param {MilvusAccount} body
|
|
1707
|
-
* @param {*} [options] Override http request option.
|
|
1708
|
-
* @throws {RequiredError}
|
|
1709
|
-
*/
|
|
1710
|
-
createMilvusAccount: async (orgName: string, clusterName: string, body: MilvusAccount, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1711
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1712
|
-
assertParamExists('createMilvusAccount', 'orgName', orgName)
|
|
1713
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
1714
|
-
assertParamExists('createMilvusAccount', 'clusterName', clusterName)
|
|
1715
|
-
// verify required parameter 'body' is not null or undefined
|
|
1716
|
-
assertParamExists('createMilvusAccount', 'body', body)
|
|
1717
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1718
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1719
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1720
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1721
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1722
|
-
let baseOptions;
|
|
1723
|
-
if (configuration) {
|
|
1724
|
-
baseOptions = configuration.baseOptions;
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1728
|
-
const localVarHeaderParameter = {} as any;
|
|
1729
|
-
const localVarQueryParameter = {} as any;
|
|
1730
|
-
|
|
1731
|
-
// authentication BearerToken required
|
|
1732
|
-
// http bearer authentication required
|
|
1733
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1734
|
-
|
|
1735
|
-
// authentication DigestAuth required
|
|
1736
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1741
|
-
|
|
1742
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1743
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1744
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1745
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1746
|
-
|
|
1747
|
-
return {
|
|
1748
|
-
url: toPathString(localVarUrlObj),
|
|
1749
|
-
options: localVarRequestOptions,
|
|
1750
|
-
};
|
|
1751
|
-
},
|
|
1752
1699
|
/**
|
|
1753
1700
|
* create an account in mongodb
|
|
1754
1701
|
* @summary Create mongodb account
|
|
@@ -3217,55 +3164,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3217
3164
|
|
|
3218
3165
|
|
|
3219
3166
|
|
|
3220
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3221
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3222
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3223
|
-
|
|
3224
|
-
return {
|
|
3225
|
-
url: toPathString(localVarUrlObj),
|
|
3226
|
-
options: localVarRequestOptions,
|
|
3227
|
-
};
|
|
3228
|
-
},
|
|
3229
|
-
/**
|
|
3230
|
-
* Delete a Milvus account.
|
|
3231
|
-
* @summary Delete Milvus account
|
|
3232
|
-
* @param {string} orgName name of the Org
|
|
3233
|
-
* @param {string} clusterName name of the Cluster
|
|
3234
|
-
* @param {string} accountName name of the Account
|
|
3235
|
-
* @param {*} [options] Override http request option.
|
|
3236
|
-
* @throws {RequiredError}
|
|
3237
|
-
*/
|
|
3238
|
-
deleteMilvusAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3239
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
3240
|
-
assertParamExists('deleteMilvusAccount', 'orgName', orgName)
|
|
3241
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
3242
|
-
assertParamExists('deleteMilvusAccount', 'clusterName', clusterName)
|
|
3243
|
-
// verify required parameter 'accountName' is not null or undefined
|
|
3244
|
-
assertParamExists('deleteMilvusAccount', 'accountName', accountName)
|
|
3245
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
3246
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3247
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3248
|
-
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
3249
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3250
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3251
|
-
let baseOptions;
|
|
3252
|
-
if (configuration) {
|
|
3253
|
-
baseOptions = configuration.baseOptions;
|
|
3254
|
-
}
|
|
3255
|
-
|
|
3256
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3257
|
-
const localVarHeaderParameter = {} as any;
|
|
3258
|
-
const localVarQueryParameter = {} as any;
|
|
3259
|
-
|
|
3260
|
-
// authentication BearerToken required
|
|
3261
|
-
// http bearer authentication required
|
|
3262
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3263
|
-
|
|
3264
|
-
// authentication DigestAuth required
|
|
3265
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
3167
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3270
3168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3271
3169
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9167,51 +9065,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9167
9065
|
|
|
9168
9066
|
|
|
9169
9067
|
|
|
9170
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9171
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9172
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9173
|
-
|
|
9174
|
-
return {
|
|
9175
|
-
url: toPathString(localVarUrlObj),
|
|
9176
|
-
options: localVarRequestOptions,
|
|
9177
|
-
};
|
|
9178
|
-
},
|
|
9179
|
-
/**
|
|
9180
|
-
* List Milvus accounts.
|
|
9181
|
-
* @summary List Milvus accounts
|
|
9182
|
-
* @param {string} orgName name of the Org
|
|
9183
|
-
* @param {string} clusterName name of the Cluster
|
|
9184
|
-
* @param {*} [options] Override http request option.
|
|
9185
|
-
* @throws {RequiredError}
|
|
9186
|
-
*/
|
|
9187
|
-
listMilvusAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9188
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
9189
|
-
assertParamExists('listMilvusAccounts', 'orgName', orgName)
|
|
9190
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
9191
|
-
assertParamExists('listMilvusAccounts', 'clusterName', clusterName)
|
|
9192
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
9193
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9194
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9195
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9196
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9197
|
-
let baseOptions;
|
|
9198
|
-
if (configuration) {
|
|
9199
|
-
baseOptions = configuration.baseOptions;
|
|
9200
|
-
}
|
|
9201
|
-
|
|
9202
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9203
|
-
const localVarHeaderParameter = {} as any;
|
|
9204
|
-
const localVarQueryParameter = {} as any;
|
|
9205
|
-
|
|
9206
|
-
// authentication BearerToken required
|
|
9207
|
-
// http bearer authentication required
|
|
9208
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9209
|
-
|
|
9210
|
-
// authentication DigestAuth required
|
|
9211
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
9068
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9216
9069
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9217
9070
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15772,21 +15625,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15772
15625
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
15773
15626
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15774
15627
|
},
|
|
15775
|
-
/**
|
|
15776
|
-
* Create a Milvus account.
|
|
15777
|
-
* @summary Create Milvus account
|
|
15778
|
-
* @param {string} orgName name of the Org
|
|
15779
|
-
* @param {string} clusterName name of the Cluster
|
|
15780
|
-
* @param {MilvusAccount} body
|
|
15781
|
-
* @param {*} [options] Override http request option.
|
|
15782
|
-
* @throws {RequiredError}
|
|
15783
|
-
*/
|
|
15784
|
-
async createMilvusAccount(orgName: string, clusterName: string, body: MilvusAccount, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountListItem>> {
|
|
15785
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusAccount(orgName, clusterName, body, options);
|
|
15786
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15787
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusAccount']?.[localVarOperationServerIndex]?.url;
|
|
15788
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15789
|
-
},
|
|
15790
15628
|
/**
|
|
15791
15629
|
* create an account in mongodb
|
|
15792
15630
|
* @summary Create mongodb account
|
|
@@ -16233,21 +16071,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16233
16071
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
16234
16072
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16235
16073
|
},
|
|
16236
|
-
/**
|
|
16237
|
-
* Delete a Milvus account.
|
|
16238
|
-
* @summary Delete Milvus account
|
|
16239
|
-
* @param {string} orgName name of the Org
|
|
16240
|
-
* @param {string} clusterName name of the Cluster
|
|
16241
|
-
* @param {string} accountName name of the Account
|
|
16242
|
-
* @param {*} [options] Override http request option.
|
|
16243
|
-
* @throws {RequiredError}
|
|
16244
|
-
*/
|
|
16245
|
-
async deleteMilvusAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusAccount(orgName, clusterName, accountName, options);
|
|
16247
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16248
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteMilvusAccount']?.[localVarOperationServerIndex]?.url;
|
|
16249
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16250
|
-
},
|
|
16251
16074
|
/**
|
|
16252
16075
|
* delete an account in mongodb
|
|
16253
16076
|
* @summary Delete mongodb account
|
|
@@ -17970,20 +17793,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17970
17793
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listKafkaTopicMessages']?.[localVarOperationServerIndex]?.url;
|
|
17971
17794
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17972
17795
|
},
|
|
17973
|
-
/**
|
|
17974
|
-
* List Milvus accounts.
|
|
17975
|
-
* @summary List Milvus accounts
|
|
17976
|
-
* @param {string} orgName name of the Org
|
|
17977
|
-
* @param {string} clusterName name of the Cluster
|
|
17978
|
-
* @param {*} [options] Override http request option.
|
|
17979
|
-
* @throws {RequiredError}
|
|
17980
|
-
*/
|
|
17981
|
-
async listMilvusAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
|
|
17982
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusAccounts(orgName, clusterName, options);
|
|
17983
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17984
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.listMilvusAccounts']?.[localVarOperationServerIndex]?.url;
|
|
17985
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17986
|
-
},
|
|
17987
17796
|
/**
|
|
17988
17797
|
* list accounts in mongodb
|
|
17989
17798
|
* @summary List mongodb accounts
|
|
@@ -19986,16 +19795,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19986
19795
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
|
|
19987
19796
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
19988
19797
|
},
|
|
19989
|
-
/**
|
|
19990
|
-
* Create a Milvus account.
|
|
19991
|
-
* @summary Create Milvus account
|
|
19992
|
-
* @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
|
|
19993
|
-
* @param {*} [options] Override http request option.
|
|
19994
|
-
* @throws {RequiredError}
|
|
19995
|
-
*/
|
|
19996
|
-
createMilvusAccount(requestParameters: SharedApiCreateMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountListItem> {
|
|
19997
|
-
return localVarFp.createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19998
|
-
},
|
|
19999
19798
|
/**
|
|
20000
19799
|
* create an account in mongodb
|
|
20001
19800
|
* @summary Create mongodb account
|
|
@@ -20296,16 +20095,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20296
20095
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20297
20096
|
return localVarFp.deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(axios, basePath));
|
|
20298
20097
|
},
|
|
20299
|
-
/**
|
|
20300
|
-
* Delete a Milvus account.
|
|
20301
|
-
* @summary Delete Milvus account
|
|
20302
|
-
* @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
|
|
20303
|
-
* @param {*} [options] Override http request option.
|
|
20304
|
-
* @throws {RequiredError}
|
|
20305
|
-
*/
|
|
20306
|
-
deleteMilvusAccount(requestParameters: SharedApiDeleteMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20307
|
-
return localVarFp.deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20308
|
-
},
|
|
20309
20098
|
/**
|
|
20310
20099
|
* delete an account in mongodb
|
|
20311
20100
|
* @summary Delete mongodb account
|
|
@@ -21394,16 +21183,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21394
21183
|
listKafkaTopicMessages(requestParameters: SharedApiListKafkaTopicMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicMessage>> {
|
|
21395
21184
|
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));
|
|
21396
21185
|
},
|
|
21397
|
-
/**
|
|
21398
|
-
* List Milvus accounts.
|
|
21399
|
-
* @summary List Milvus accounts
|
|
21400
|
-
* @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
|
|
21401
|
-
* @param {*} [options] Override http request option.
|
|
21402
|
-
* @throws {RequiredError}
|
|
21403
|
-
*/
|
|
21404
|
-
listMilvusAccounts(requestParameters: SharedApiListMilvusAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
21405
|
-
return localVarFp.listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21406
|
-
},
|
|
21407
21186
|
/**
|
|
21408
21187
|
* list accounts in mongodb
|
|
21409
21188
|
* @summary List mongodb accounts
|
|
@@ -22731,16 +22510,6 @@ export interface SharedApiInterface {
|
|
|
22731
22510
|
*/
|
|
22732
22511
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
|
|
22733
22512
|
|
|
22734
|
-
/**
|
|
22735
|
-
* Create a Milvus account.
|
|
22736
|
-
* @summary Create Milvus account
|
|
22737
|
-
* @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
|
|
22738
|
-
* @param {*} [options] Override http request option.
|
|
22739
|
-
* @throws {RequiredError}
|
|
22740
|
-
* @memberof SharedApiInterface
|
|
22741
|
-
*/
|
|
22742
|
-
createMilvusAccount(requestParameters: SharedApiCreateMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountListItem>;
|
|
22743
|
-
|
|
22744
22513
|
/**
|
|
22745
22514
|
* create an account in mongodb
|
|
22746
22515
|
* @summary Create mongodb account
|
|
@@ -23041,16 +22810,6 @@ export interface SharedApiInterface {
|
|
|
23041
22810
|
*/
|
|
23042
22811
|
deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23043
22812
|
|
|
23044
|
-
/**
|
|
23045
|
-
* Delete a Milvus account.
|
|
23046
|
-
* @summary Delete Milvus account
|
|
23047
|
-
* @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
|
|
23048
|
-
* @param {*} [options] Override http request option.
|
|
23049
|
-
* @throws {RequiredError}
|
|
23050
|
-
* @memberof SharedApiInterface
|
|
23051
|
-
*/
|
|
23052
|
-
deleteMilvusAccount(requestParameters: SharedApiDeleteMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23053
|
-
|
|
23054
22813
|
/**
|
|
23055
22814
|
* delete an account in mongodb
|
|
23056
22815
|
* @summary Delete mongodb account
|
|
@@ -24139,16 +23898,6 @@ export interface SharedApiInterface {
|
|
|
24139
23898
|
*/
|
|
24140
23899
|
listKafkaTopicMessages(requestParameters: SharedApiListKafkaTopicMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicMessage>>;
|
|
24141
23900
|
|
|
24142
|
-
/**
|
|
24143
|
-
* List Milvus accounts.
|
|
24144
|
-
* @summary List Milvus accounts
|
|
24145
|
-
* @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
|
|
24146
|
-
* @param {*} [options] Override http request option.
|
|
24147
|
-
* @throws {RequiredError}
|
|
24148
|
-
* @memberof SharedApiInterface
|
|
24149
|
-
*/
|
|
24150
|
-
listMilvusAccounts(requestParameters: SharedApiListMilvusAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
24151
|
-
|
|
24152
23901
|
/**
|
|
24153
23902
|
* list accounts in mongodb
|
|
24154
23903
|
* @summary List mongodb accounts
|
|
@@ -26102,34 +25851,6 @@ export interface SharedApiCreateKafkaTopicRequest {
|
|
|
26102
25851
|
readonly createTopicRequest: CreateTopicRequest
|
|
26103
25852
|
}
|
|
26104
25853
|
|
|
26105
|
-
/**
|
|
26106
|
-
* Request parameters for createMilvusAccount operation in SharedApi.
|
|
26107
|
-
* @export
|
|
26108
|
-
* @interface SharedApiCreateMilvusAccountRequest
|
|
26109
|
-
*/
|
|
26110
|
-
export interface SharedApiCreateMilvusAccountRequest {
|
|
26111
|
-
/**
|
|
26112
|
-
* name of the Org
|
|
26113
|
-
* @type {string}
|
|
26114
|
-
* @memberof SharedApiCreateMilvusAccount
|
|
26115
|
-
*/
|
|
26116
|
-
readonly orgName: string
|
|
26117
|
-
|
|
26118
|
-
/**
|
|
26119
|
-
* name of the Cluster
|
|
26120
|
-
* @type {string}
|
|
26121
|
-
* @memberof SharedApiCreateMilvusAccount
|
|
26122
|
-
*/
|
|
26123
|
-
readonly clusterName: string
|
|
26124
|
-
|
|
26125
|
-
/**
|
|
26126
|
-
*
|
|
26127
|
-
* @type {MilvusAccount}
|
|
26128
|
-
* @memberof SharedApiCreateMilvusAccount
|
|
26129
|
-
*/
|
|
26130
|
-
readonly body: MilvusAccount
|
|
26131
|
-
}
|
|
26132
|
-
|
|
26133
25854
|
/**
|
|
26134
25855
|
* Request parameters for createMongoDBAccount operation in SharedApi.
|
|
26135
25856
|
* @export
|
|
@@ -26942,34 +26663,6 @@ export interface SharedApiDeleteKafkaTopicRequest {
|
|
|
26942
26663
|
readonly topic: string
|
|
26943
26664
|
}
|
|
26944
26665
|
|
|
26945
|
-
/**
|
|
26946
|
-
* Request parameters for deleteMilvusAccount operation in SharedApi.
|
|
26947
|
-
* @export
|
|
26948
|
-
* @interface SharedApiDeleteMilvusAccountRequest
|
|
26949
|
-
*/
|
|
26950
|
-
export interface SharedApiDeleteMilvusAccountRequest {
|
|
26951
|
-
/**
|
|
26952
|
-
* name of the Org
|
|
26953
|
-
* @type {string}
|
|
26954
|
-
* @memberof SharedApiDeleteMilvusAccount
|
|
26955
|
-
*/
|
|
26956
|
-
readonly orgName: string
|
|
26957
|
-
|
|
26958
|
-
/**
|
|
26959
|
-
* name of the Cluster
|
|
26960
|
-
* @type {string}
|
|
26961
|
-
* @memberof SharedApiDeleteMilvusAccount
|
|
26962
|
-
*/
|
|
26963
|
-
readonly clusterName: string
|
|
26964
|
-
|
|
26965
|
-
/**
|
|
26966
|
-
* name of the Account
|
|
26967
|
-
* @type {string}
|
|
26968
|
-
* @memberof SharedApiDeleteMilvusAccount
|
|
26969
|
-
*/
|
|
26970
|
-
readonly accountName: string
|
|
26971
|
-
}
|
|
26972
|
-
|
|
26973
26666
|
/**
|
|
26974
26667
|
* Request parameters for deleteMongoDBAccount operation in SharedApi.
|
|
26975
26668
|
* @export
|
|
@@ -30631,27 +30324,6 @@ export interface SharedApiListKafkaTopicMessagesRequest {
|
|
|
30631
30324
|
readonly valueFilter?: string
|
|
30632
30325
|
}
|
|
30633
30326
|
|
|
30634
|
-
/**
|
|
30635
|
-
* Request parameters for listMilvusAccounts operation in SharedApi.
|
|
30636
|
-
* @export
|
|
30637
|
-
* @interface SharedApiListMilvusAccountsRequest
|
|
30638
|
-
*/
|
|
30639
|
-
export interface SharedApiListMilvusAccountsRequest {
|
|
30640
|
-
/**
|
|
30641
|
-
* name of the Org
|
|
30642
|
-
* @type {string}
|
|
30643
|
-
* @memberof SharedApiListMilvusAccounts
|
|
30644
|
-
*/
|
|
30645
|
-
readonly orgName: string
|
|
30646
|
-
|
|
30647
|
-
/**
|
|
30648
|
-
* name of the Cluster
|
|
30649
|
-
* @type {string}
|
|
30650
|
-
* @memberof SharedApiListMilvusAccounts
|
|
30651
|
-
*/
|
|
30652
|
-
readonly clusterName: string
|
|
30653
|
-
}
|
|
30654
|
-
|
|
30655
30327
|
/**
|
|
30656
30328
|
* Request parameters for listMongoDBAccounts operation in SharedApi.
|
|
30657
30329
|
* @export
|
|
@@ -34830,18 +34502,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34830
34502
|
return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34831
34503
|
}
|
|
34832
34504
|
|
|
34833
|
-
/**
|
|
34834
|
-
* Create a Milvus account.
|
|
34835
|
-
* @summary Create Milvus account
|
|
34836
|
-
* @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
|
|
34837
|
-
* @param {*} [options] Override http request option.
|
|
34838
|
-
* @throws {RequiredError}
|
|
34839
|
-
* @memberof SharedApi
|
|
34840
|
-
*/
|
|
34841
|
-
public createMilvusAccount(requestParameters: SharedApiCreateMilvusAccountRequest, options?: RawAxiosRequestConfig) {
|
|
34842
|
-
return SharedApiFp(this.configuration).createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
34843
|
-
}
|
|
34844
|
-
|
|
34845
34505
|
/**
|
|
34846
34506
|
* create an account in mongodb
|
|
34847
34507
|
* @summary Create mongodb account
|
|
@@ -35202,18 +34862,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
35202
34862
|
return SharedApiFp(this.configuration).deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(this.axios, this.basePath));
|
|
35203
34863
|
}
|
|
35204
34864
|
|
|
35205
|
-
/**
|
|
35206
|
-
* Delete a Milvus account.
|
|
35207
|
-
* @summary Delete Milvus account
|
|
35208
|
-
* @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
|
|
35209
|
-
* @param {*} [options] Override http request option.
|
|
35210
|
-
* @throws {RequiredError}
|
|
35211
|
-
* @memberof SharedApi
|
|
35212
|
-
*/
|
|
35213
|
-
public deleteMilvusAccount(requestParameters: SharedApiDeleteMilvusAccountRequest, options?: RawAxiosRequestConfig) {
|
|
35214
|
-
return SharedApiFp(this.configuration).deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
35215
|
-
}
|
|
35216
|
-
|
|
35217
34865
|
/**
|
|
35218
34866
|
* delete an account in mongodb
|
|
35219
34867
|
* @summary Delete mongodb account
|
|
@@ -36520,18 +36168,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36520
36168
|
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));
|
|
36521
36169
|
}
|
|
36522
36170
|
|
|
36523
|
-
/**
|
|
36524
|
-
* List Milvus accounts.
|
|
36525
|
-
* @summary List Milvus accounts
|
|
36526
|
-
* @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
|
|
36527
|
-
* @param {*} [options] Override http request option.
|
|
36528
|
-
* @throws {RequiredError}
|
|
36529
|
-
* @memberof SharedApi
|
|
36530
|
-
*/
|
|
36531
|
-
public listMilvusAccounts(requestParameters: SharedApiListMilvusAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
36532
|
-
return SharedApiFp(this.configuration).listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
36533
|
-
}
|
|
36534
|
-
|
|
36535
36171
|
/**
|
|
36536
36172
|
* list accounts in mongodb
|
|
36537
36173
|
* @summary List mongodb accounts
|
|
@@ -486,7 +486,6 @@ export * from './metering-track-list';
|
|
|
486
486
|
export * from './metrics-option';
|
|
487
487
|
export * from './metrics-option-query';
|
|
488
488
|
export * from './metrics-query-type';
|
|
489
|
-
export * from './milvus-account';
|
|
490
489
|
export * from './milvus-account-password';
|
|
491
490
|
export * from './milvus-account-roles';
|
|
492
491
|
export * from './mode-compatible-kubeblocks-version';
|
package/src/openapi.yaml
CHANGED
|
@@ -16348,134 +16348,7 @@ paths:
|
|
|
16348
16348
|
- account
|
|
16349
16349
|
- mongodb
|
|
16350
16350
|
- shared
|
|
16351
|
-
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
16352
|
-
get:
|
|
16353
|
-
summary: List Milvus accounts
|
|
16354
|
-
description: List Milvus accounts.
|
|
16355
|
-
operationId: listMilvusAccounts
|
|
16356
|
-
parameters:
|
|
16357
|
-
- description: name of the Org
|
|
16358
|
-
in: path
|
|
16359
|
-
name: orgName
|
|
16360
|
-
required: true
|
|
16361
|
-
schema:
|
|
16362
|
-
type: string
|
|
16363
|
-
- description: name of the Cluster
|
|
16364
|
-
in: path
|
|
16365
|
-
name: clusterName
|
|
16366
|
-
required: true
|
|
16367
|
-
schema:
|
|
16368
|
-
type: string
|
|
16369
|
-
tags:
|
|
16370
|
-
- account
|
|
16371
|
-
- milvus
|
|
16372
|
-
- shared
|
|
16373
|
-
responses:
|
|
16374
|
-
'200':
|
|
16375
|
-
description: A successful response.
|
|
16376
|
-
content:
|
|
16377
|
-
application/json:
|
|
16378
|
-
schema:
|
|
16379
|
-
$ref: '#/components/schemas/accountList'
|
|
16380
|
-
'400':
|
|
16381
|
-
$ref: '#/components/responses/400'
|
|
16382
|
-
'401':
|
|
16383
|
-
$ref: '#/components/responses/401'
|
|
16384
|
-
'403':
|
|
16385
|
-
$ref: '#/components/responses/403'
|
|
16386
|
-
'404':
|
|
16387
|
-
$ref: '#/components/responses/404'
|
|
16388
|
-
'500':
|
|
16389
|
-
$ref: '#/components/responses/500'
|
|
16390
|
-
post:
|
|
16391
|
-
summary: Create Milvus account
|
|
16392
|
-
description: Create a Milvus account.
|
|
16393
|
-
operationId: createMilvusAccount
|
|
16394
|
-
parameters:
|
|
16395
|
-
- description: name of the Org
|
|
16396
|
-
in: path
|
|
16397
|
-
name: orgName
|
|
16398
|
-
required: true
|
|
16399
|
-
schema:
|
|
16400
|
-
type: string
|
|
16401
|
-
- description: name of the Cluster
|
|
16402
|
-
in: path
|
|
16403
|
-
name: clusterName
|
|
16404
|
-
required: true
|
|
16405
|
-
schema:
|
|
16406
|
-
type: string
|
|
16407
|
-
tags:
|
|
16408
|
-
- account
|
|
16409
|
-
- milvus
|
|
16410
|
-
- shared
|
|
16411
|
-
requestBody:
|
|
16412
|
-
required: true
|
|
16413
|
-
content:
|
|
16414
|
-
application/json:
|
|
16415
|
-
schema:
|
|
16416
|
-
$ref: '#/components/schemas/MilvusAccount'
|
|
16417
|
-
responses:
|
|
16418
|
-
'201':
|
|
16419
|
-
description: A successful response.
|
|
16420
|
-
content:
|
|
16421
|
-
application/json:
|
|
16422
|
-
schema:
|
|
16423
|
-
$ref: '#/components/schemas/accountListItem'
|
|
16424
|
-
'400':
|
|
16425
|
-
$ref: '#/components/responses/400'
|
|
16426
|
-
'401':
|
|
16427
|
-
$ref: '#/components/responses/401'
|
|
16428
|
-
'403':
|
|
16429
|
-
$ref: '#/components/responses/403'
|
|
16430
|
-
'404':
|
|
16431
|
-
$ref: '#/components/responses/404'
|
|
16432
|
-
'409':
|
|
16433
|
-
$ref: '#/components/responses/409'
|
|
16434
|
-
'500':
|
|
16435
|
-
$ref: '#/components/responses/500'
|
|
16436
|
-
x-codegen-request-body-name: body
|
|
16437
16351
|
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
16438
|
-
delete:
|
|
16439
|
-
summary: Delete Milvus account
|
|
16440
|
-
description: Delete a Milvus account.
|
|
16441
|
-
operationId: deleteMilvusAccount
|
|
16442
|
-
parameters:
|
|
16443
|
-
- description: name of the Org
|
|
16444
|
-
in: path
|
|
16445
|
-
name: orgName
|
|
16446
|
-
required: true
|
|
16447
|
-
schema:
|
|
16448
|
-
type: string
|
|
16449
|
-
- description: name of the Cluster
|
|
16450
|
-
in: path
|
|
16451
|
-
name: clusterName
|
|
16452
|
-
required: true
|
|
16453
|
-
schema:
|
|
16454
|
-
type: string
|
|
16455
|
-
- description: name of the Account
|
|
16456
|
-
in: path
|
|
16457
|
-
name: accountName
|
|
16458
|
-
required: true
|
|
16459
|
-
schema:
|
|
16460
|
-
type: string
|
|
16461
|
-
tags:
|
|
16462
|
-
- account
|
|
16463
|
-
- milvus
|
|
16464
|
-
- shared
|
|
16465
|
-
responses:
|
|
16466
|
-
'204':
|
|
16467
|
-
description: A successful response.
|
|
16468
|
-
content: {}
|
|
16469
|
-
'400':
|
|
16470
|
-
$ref: '#/components/responses/400'
|
|
16471
|
-
'401':
|
|
16472
|
-
$ref: '#/components/responses/401'
|
|
16473
|
-
'403':
|
|
16474
|
-
$ref: '#/components/responses/403'
|
|
16475
|
-
'404':
|
|
16476
|
-
$ref: '#/components/responses/404'
|
|
16477
|
-
'500':
|
|
16478
|
-
$ref: '#/components/responses/500'
|
|
16479
16352
|
patch:
|
|
16480
16353
|
summary: Update Milvus account password
|
|
16481
16354
|
description: Update a Milvus account password.
|
|
@@ -34118,29 +33991,6 @@ components:
|
|
|
34118
33991
|
type: string
|
|
34119
33992
|
format: date-time
|
|
34120
33993
|
description: Optional service account expiration time. Use the Unix epoch to clear expiration.
|
|
34121
|
-
MilvusAccount:
|
|
34122
|
-
type: object
|
|
34123
|
-
description: Milvus account creation request.
|
|
34124
|
-
required:
|
|
34125
|
-
- password
|
|
34126
|
-
properties:
|
|
34127
|
-
name:
|
|
34128
|
-
type: string
|
|
34129
|
-
description: Account name. Kept for compatibility with the generic account model.
|
|
34130
|
-
username:
|
|
34131
|
-
type: string
|
|
34132
|
-
description: Milvus username. When omitted, name is used.
|
|
34133
|
-
password:
|
|
34134
|
-
type: string
|
|
34135
|
-
description: Account password.
|
|
34136
|
-
role:
|
|
34137
|
-
type: string
|
|
34138
|
-
description: Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
34139
|
-
roles:
|
|
34140
|
-
type: array
|
|
34141
|
-
description: Milvus role names to assign to the user.
|
|
34142
|
-
items:
|
|
34143
|
-
type: string
|
|
34144
33994
|
MilvusAccountPassword:
|
|
34145
33995
|
type: object
|
|
34146
33996
|
description: Milvus account password update request.
|