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
|
@@ -254,6 +254,8 @@ import type { MilvusAccountRoles } from '../models';
|
|
|
254
254
|
// @ts-ignore
|
|
255
255
|
import type { MilvusRole } from '../models';
|
|
256
256
|
// @ts-ignore
|
|
257
|
+
import type { MilvusRoleCreateRequest } from '../models';
|
|
258
|
+
// @ts-ignore
|
|
257
259
|
import type { MilvusRoleList } from '../models';
|
|
258
260
|
// @ts-ignore
|
|
259
261
|
import type { MilvusRoleRequest } from '../models';
|
|
@@ -1824,6 +1826,57 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1824
1826
|
options: localVarRequestOptions,
|
|
1825
1827
|
};
|
|
1826
1828
|
},
|
|
1829
|
+
/**
|
|
1830
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
1831
|
+
* @summary Create Milvus role
|
|
1832
|
+
* @param {string} orgName name of the Org
|
|
1833
|
+
* @param {string} clusterName name of the Cluster
|
|
1834
|
+
* @param {MilvusRoleCreateRequest} body
|
|
1835
|
+
* @param {*} [options] Override http request option.
|
|
1836
|
+
* @throws {RequiredError}
|
|
1837
|
+
*/
|
|
1838
|
+
createMilvusRole: async (orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1839
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1840
|
+
assertParamExists('createMilvusRole', 'orgName', orgName)
|
|
1841
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1842
|
+
assertParamExists('createMilvusRole', 'clusterName', clusterName)
|
|
1843
|
+
// verify required parameter 'body' is not null or undefined
|
|
1844
|
+
assertParamExists('createMilvusRole', 'body', body)
|
|
1845
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
1846
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1847
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1850
|
+
let baseOptions;
|
|
1851
|
+
if (configuration) {
|
|
1852
|
+
baseOptions = configuration.baseOptions;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1856
|
+
const localVarHeaderParameter = {} as any;
|
|
1857
|
+
const localVarQueryParameter = {} as any;
|
|
1858
|
+
|
|
1859
|
+
// authentication BearerToken required
|
|
1860
|
+
// http bearer authentication required
|
|
1861
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1862
|
+
|
|
1863
|
+
// authentication DigestAuth required
|
|
1864
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1869
|
+
|
|
1870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1872
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1873
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1874
|
+
|
|
1875
|
+
return {
|
|
1876
|
+
url: toPathString(localVarUrlObj),
|
|
1877
|
+
options: localVarRequestOptions,
|
|
1878
|
+
};
|
|
1879
|
+
},
|
|
1827
1880
|
/**
|
|
1828
1881
|
* create an account in mongodb
|
|
1829
1882
|
* @summary Create mongodb account
|
|
@@ -12101,61 +12154,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12101
12154
|
|
|
12102
12155
|
|
|
12103
12156
|
|
|
12104
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12105
|
-
|
|
12106
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12107
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12108
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12109
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
12110
|
-
|
|
12111
|
-
return {
|
|
12112
|
-
url: toPathString(localVarUrlObj),
|
|
12113
|
-
options: localVarRequestOptions,
|
|
12114
|
-
};
|
|
12115
|
-
},
|
|
12116
|
-
/**
|
|
12117
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
12118
|
-
* @summary Put Milvus role
|
|
12119
|
-
* @param {string} orgName name of the Org
|
|
12120
|
-
* @param {string} clusterName name of the Cluster
|
|
12121
|
-
* @param {string} roleName name of the Milvus role
|
|
12122
|
-
* @param {MilvusRoleRequest} body
|
|
12123
|
-
* @param {*} [options] Override http request option.
|
|
12124
|
-
* @throws {RequiredError}
|
|
12125
|
-
*/
|
|
12126
|
-
putMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12127
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
12128
|
-
assertParamExists('putMilvusRole', 'orgName', orgName)
|
|
12129
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
12130
|
-
assertParamExists('putMilvusRole', 'clusterName', clusterName)
|
|
12131
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
12132
|
-
assertParamExists('putMilvusRole', 'roleName', roleName)
|
|
12133
|
-
// verify required parameter 'body' is not null or undefined
|
|
12134
|
-
assertParamExists('putMilvusRole', 'body', body)
|
|
12135
|
-
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
12136
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12137
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12138
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
12139
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12140
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12141
|
-
let baseOptions;
|
|
12142
|
-
if (configuration) {
|
|
12143
|
-
baseOptions = configuration.baseOptions;
|
|
12144
|
-
}
|
|
12145
|
-
|
|
12146
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
12147
|
-
const localVarHeaderParameter = {} as any;
|
|
12148
|
-
const localVarQueryParameter = {} as any;
|
|
12149
|
-
|
|
12150
|
-
// authentication BearerToken required
|
|
12151
|
-
// http bearer authentication required
|
|
12152
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12153
|
-
|
|
12154
|
-
// authentication DigestAuth required
|
|
12155
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
12157
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12160
12158
|
|
|
12161
12159
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16037,6 +16035,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16037
16035
|
|
|
16038
16036
|
|
|
16039
16037
|
|
|
16038
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16039
|
+
|
|
16040
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16041
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16042
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16043
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
16044
|
+
|
|
16045
|
+
return {
|
|
16046
|
+
url: toPathString(localVarUrlObj),
|
|
16047
|
+
options: localVarRequestOptions,
|
|
16048
|
+
};
|
|
16049
|
+
},
|
|
16050
|
+
/**
|
|
16051
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
16052
|
+
* @summary Update Milvus role
|
|
16053
|
+
* @param {string} orgName name of the Org
|
|
16054
|
+
* @param {string} clusterName name of the Cluster
|
|
16055
|
+
* @param {string} roleName name of the Milvus role
|
|
16056
|
+
* @param {MilvusRoleRequest} body
|
|
16057
|
+
* @param {*} [options] Override http request option.
|
|
16058
|
+
* @throws {RequiredError}
|
|
16059
|
+
*/
|
|
16060
|
+
updateMilvusRole: async (orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16061
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
16062
|
+
assertParamExists('updateMilvusRole', 'orgName', orgName)
|
|
16063
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
16064
|
+
assertParamExists('updateMilvusRole', 'clusterName', clusterName)
|
|
16065
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
16066
|
+
assertParamExists('updateMilvusRole', 'roleName', roleName)
|
|
16067
|
+
// verify required parameter 'body' is not null or undefined
|
|
16068
|
+
assertParamExists('updateMilvusRole', 'body', body)
|
|
16069
|
+
const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
16070
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16071
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
16072
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
16073
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16074
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16075
|
+
let baseOptions;
|
|
16076
|
+
if (configuration) {
|
|
16077
|
+
baseOptions = configuration.baseOptions;
|
|
16078
|
+
}
|
|
16079
|
+
|
|
16080
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16081
|
+
const localVarHeaderParameter = {} as any;
|
|
16082
|
+
const localVarQueryParameter = {} as any;
|
|
16083
|
+
|
|
16084
|
+
// authentication BearerToken required
|
|
16085
|
+
// http bearer authentication required
|
|
16086
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16087
|
+
|
|
16088
|
+
// authentication DigestAuth required
|
|
16089
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16090
|
+
|
|
16091
|
+
|
|
16092
|
+
|
|
16040
16093
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16041
16094
|
|
|
16042
16095
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17188,6 +17241,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17188
17241
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
|
|
17189
17242
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17190
17243
|
},
|
|
17244
|
+
/**
|
|
17245
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
17246
|
+
* @summary Create Milvus role
|
|
17247
|
+
* @param {string} orgName name of the Org
|
|
17248
|
+
* @param {string} clusterName name of the Cluster
|
|
17249
|
+
* @param {MilvusRoleCreateRequest} body
|
|
17250
|
+
* @param {*} [options] Override http request option.
|
|
17251
|
+
* @throws {RequiredError}
|
|
17252
|
+
*/
|
|
17253
|
+
async createMilvusRole(orgName: string, clusterName: string, body: MilvusRoleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
17254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
|
|
17255
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17256
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17257
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17258
|
+
},
|
|
17191
17259
|
/**
|
|
17192
17260
|
* create an account in mongodb
|
|
17193
17261
|
* @summary Create mongodb account
|
|
@@ -20220,22 +20288,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20220
20288
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
20221
20289
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20222
20290
|
},
|
|
20223
|
-
/**
|
|
20224
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
20225
|
-
* @summary Put Milvus role
|
|
20226
|
-
* @param {string} orgName name of the Org
|
|
20227
|
-
* @param {string} clusterName name of the Cluster
|
|
20228
|
-
* @param {string} roleName name of the Milvus role
|
|
20229
|
-
* @param {MilvusRoleRequest} body
|
|
20230
|
-
* @param {*} [options] Override http request option.
|
|
20231
|
-
* @throws {RequiredError}
|
|
20232
|
-
*/
|
|
20233
|
-
async putMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
20234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
|
|
20235
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20236
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
20237
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20238
|
-
},
|
|
20239
20291
|
/**
|
|
20240
20292
|
*
|
|
20241
20293
|
* @summary create a SQL query
|
|
@@ -21304,6 +21356,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21304
21356
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusAccountRoles']?.[localVarOperationServerIndex]?.url;
|
|
21305
21357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21306
21358
|
},
|
|
21359
|
+
/**
|
|
21360
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
21361
|
+
* @summary Update Milvus role
|
|
21362
|
+
* @param {string} orgName name of the Org
|
|
21363
|
+
* @param {string} clusterName name of the Cluster
|
|
21364
|
+
* @param {string} roleName name of the Milvus role
|
|
21365
|
+
* @param {MilvusRoleRequest} body
|
|
21366
|
+
* @param {*} [options] Override http request option.
|
|
21367
|
+
* @throws {RequiredError}
|
|
21368
|
+
*/
|
|
21369
|
+
async updateMilvusRole(orgName: string, clusterName: string, roleName: string, body: MilvusRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MilvusRole>> {
|
|
21370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
|
|
21371
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21372
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
21373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21374
|
+
},
|
|
21307
21375
|
/**
|
|
21308
21376
|
*
|
|
21309
21377
|
* @summary update mssql account compatible with windows account
|
|
@@ -21770,6 +21838,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21770
21838
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
|
|
21771
21839
|
return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
|
|
21772
21840
|
},
|
|
21841
|
+
/**
|
|
21842
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
21843
|
+
* @summary Create Milvus role
|
|
21844
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
21845
|
+
* @param {*} [options] Override http request option.
|
|
21846
|
+
* @throws {RequiredError}
|
|
21847
|
+
*/
|
|
21848
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
21849
|
+
return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21850
|
+
},
|
|
21773
21851
|
/**
|
|
21774
21852
|
* create an account in mongodb
|
|
21775
21853
|
* @summary Create mongodb account
|
|
@@ -23727,16 +23805,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23727
23805
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23728
23806
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23729
23807
|
},
|
|
23730
|
-
/**
|
|
23731
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
23732
|
-
* @summary Put Milvus role
|
|
23733
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
23734
|
-
* @param {*} [options] Override http request option.
|
|
23735
|
-
* @throws {RequiredError}
|
|
23736
|
-
*/
|
|
23737
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
23738
|
-
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23739
|
-
},
|
|
23740
23808
|
/**
|
|
23741
23809
|
*
|
|
23742
23810
|
* @summary create a SQL query
|
|
@@ -24346,6 +24414,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24346
24414
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24347
24415
|
return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24348
24416
|
},
|
|
24417
|
+
/**
|
|
24418
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
24419
|
+
* @summary Update Milvus role
|
|
24420
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
24421
|
+
* @param {*} [options] Override http request option.
|
|
24422
|
+
* @throws {RequiredError}
|
|
24423
|
+
*/
|
|
24424
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
24425
|
+
return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24426
|
+
},
|
|
24349
24427
|
/**
|
|
24350
24428
|
*
|
|
24351
24429
|
* @summary update mssql account compatible with windows account
|
|
@@ -24735,6 +24813,16 @@ export interface SharedApiInterface {
|
|
|
24735
24813
|
*/
|
|
24736
24814
|
createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
|
|
24737
24815
|
|
|
24816
|
+
/**
|
|
24817
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
24818
|
+
* @summary Create Milvus role
|
|
24819
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
24820
|
+
* @param {*} [options] Override http request option.
|
|
24821
|
+
* @throws {RequiredError}
|
|
24822
|
+
* @memberof SharedApiInterface
|
|
24823
|
+
*/
|
|
24824
|
+
createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
24825
|
+
|
|
24738
24826
|
/**
|
|
24739
24827
|
* create an account in mongodb
|
|
24740
24828
|
* @summary Create mongodb account
|
|
@@ -26692,16 +26780,6 @@ export interface SharedApiInterface {
|
|
|
26692
26780
|
*/
|
|
26693
26781
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26694
26782
|
|
|
26695
|
-
/**
|
|
26696
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
26697
|
-
* @summary Put Milvus role
|
|
26698
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
26699
|
-
* @param {*} [options] Override http request option.
|
|
26700
|
-
* @throws {RequiredError}
|
|
26701
|
-
* @memberof SharedApiInterface
|
|
26702
|
-
*/
|
|
26703
|
-
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
26704
|
-
|
|
26705
26783
|
/**
|
|
26706
26784
|
*
|
|
26707
26785
|
* @summary create a SQL query
|
|
@@ -27311,6 +27389,16 @@ export interface SharedApiInterface {
|
|
|
27311
27389
|
*/
|
|
27312
27390
|
updateMilvusAccountRoles(requestParameters: SharedApiUpdateMilvusAccountRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
27313
27391
|
|
|
27392
|
+
/**
|
|
27393
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
27394
|
+
* @summary Update Milvus role
|
|
27395
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
27396
|
+
* @param {*} [options] Override http request option.
|
|
27397
|
+
* @throws {RequiredError}
|
|
27398
|
+
* @memberof SharedApiInterface
|
|
27399
|
+
*/
|
|
27400
|
+
updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
27401
|
+
|
|
27314
27402
|
/**
|
|
27315
27403
|
*
|
|
27316
27404
|
* @summary update mssql account compatible with windows account
|
|
@@ -28362,6 +28450,34 @@ export interface SharedApiCreateKafkaTopicRequest {
|
|
|
28362
28450
|
readonly createTopicRequest: CreateTopicRequest
|
|
28363
28451
|
}
|
|
28364
28452
|
|
|
28453
|
+
/**
|
|
28454
|
+
* Request parameters for createMilvusRole operation in SharedApi.
|
|
28455
|
+
* @export
|
|
28456
|
+
* @interface SharedApiCreateMilvusRoleRequest
|
|
28457
|
+
*/
|
|
28458
|
+
export interface SharedApiCreateMilvusRoleRequest {
|
|
28459
|
+
/**
|
|
28460
|
+
* name of the Org
|
|
28461
|
+
* @type {string}
|
|
28462
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28463
|
+
*/
|
|
28464
|
+
readonly orgName: string
|
|
28465
|
+
|
|
28466
|
+
/**
|
|
28467
|
+
* name of the Cluster
|
|
28468
|
+
* @type {string}
|
|
28469
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28470
|
+
*/
|
|
28471
|
+
readonly clusterName: string
|
|
28472
|
+
|
|
28473
|
+
/**
|
|
28474
|
+
*
|
|
28475
|
+
* @type {MilvusRoleCreateRequest}
|
|
28476
|
+
* @memberof SharedApiCreateMilvusRole
|
|
28477
|
+
*/
|
|
28478
|
+
readonly body: MilvusRoleCreateRequest
|
|
28479
|
+
}
|
|
28480
|
+
|
|
28365
28481
|
/**
|
|
28366
28482
|
* Request parameters for createMongoDBAccount operation in SharedApi.
|
|
28367
28483
|
* @export
|
|
@@ -34473,41 +34589,6 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
34473
34589
|
readonly body: ESPutSecurityUserRequest
|
|
34474
34590
|
}
|
|
34475
34591
|
|
|
34476
|
-
/**
|
|
34477
|
-
* Request parameters for putMilvusRole operation in SharedApi.
|
|
34478
|
-
* @export
|
|
34479
|
-
* @interface SharedApiPutMilvusRoleRequest
|
|
34480
|
-
*/
|
|
34481
|
-
export interface SharedApiPutMilvusRoleRequest {
|
|
34482
|
-
/**
|
|
34483
|
-
* name of the Org
|
|
34484
|
-
* @type {string}
|
|
34485
|
-
* @memberof SharedApiPutMilvusRole
|
|
34486
|
-
*/
|
|
34487
|
-
readonly orgName: string
|
|
34488
|
-
|
|
34489
|
-
/**
|
|
34490
|
-
* name of the Cluster
|
|
34491
|
-
* @type {string}
|
|
34492
|
-
* @memberof SharedApiPutMilvusRole
|
|
34493
|
-
*/
|
|
34494
|
-
readonly clusterName: string
|
|
34495
|
-
|
|
34496
|
-
/**
|
|
34497
|
-
* name of the Milvus role
|
|
34498
|
-
* @type {string}
|
|
34499
|
-
* @memberof SharedApiPutMilvusRole
|
|
34500
|
-
*/
|
|
34501
|
-
readonly roleName: string
|
|
34502
|
-
|
|
34503
|
-
/**
|
|
34504
|
-
*
|
|
34505
|
-
* @type {MilvusRoleRequest}
|
|
34506
|
-
* @memberof SharedApiPutMilvusRole
|
|
34507
|
-
*/
|
|
34508
|
-
readonly body: MilvusRoleRequest
|
|
34509
|
-
}
|
|
34510
|
-
|
|
34511
34592
|
/**
|
|
34512
34593
|
* Request parameters for query operation in SharedApi.
|
|
34513
34594
|
* @export
|
|
@@ -37280,6 +37361,41 @@ export interface SharedApiUpdateMilvusAccountRolesRequest {
|
|
|
37280
37361
|
readonly body: MilvusAccountRoles
|
|
37281
37362
|
}
|
|
37282
37363
|
|
|
37364
|
+
/**
|
|
37365
|
+
* Request parameters for updateMilvusRole operation in SharedApi.
|
|
37366
|
+
* @export
|
|
37367
|
+
* @interface SharedApiUpdateMilvusRoleRequest
|
|
37368
|
+
*/
|
|
37369
|
+
export interface SharedApiUpdateMilvusRoleRequest {
|
|
37370
|
+
/**
|
|
37371
|
+
* name of the Org
|
|
37372
|
+
* @type {string}
|
|
37373
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37374
|
+
*/
|
|
37375
|
+
readonly orgName: string
|
|
37376
|
+
|
|
37377
|
+
/**
|
|
37378
|
+
* name of the Cluster
|
|
37379
|
+
* @type {string}
|
|
37380
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37381
|
+
*/
|
|
37382
|
+
readonly clusterName: string
|
|
37383
|
+
|
|
37384
|
+
/**
|
|
37385
|
+
* name of the Milvus role
|
|
37386
|
+
* @type {string}
|
|
37387
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37388
|
+
*/
|
|
37389
|
+
readonly roleName: string
|
|
37390
|
+
|
|
37391
|
+
/**
|
|
37392
|
+
*
|
|
37393
|
+
* @type {MilvusRoleRequest}
|
|
37394
|
+
* @memberof SharedApiUpdateMilvusRole
|
|
37395
|
+
*/
|
|
37396
|
+
readonly body: MilvusRoleRequest
|
|
37397
|
+
}
|
|
37398
|
+
|
|
37283
37399
|
/**
|
|
37284
37400
|
* Request parameters for updateMssqlAccount operation in SharedApi.
|
|
37285
37401
|
* @export
|
|
@@ -38010,6 +38126,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38010
38126
|
return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38011
38127
|
}
|
|
38012
38128
|
|
|
38129
|
+
/**
|
|
38130
|
+
* Create a Milvus native role and grant its initial privileges.
|
|
38131
|
+
* @summary Create Milvus role
|
|
38132
|
+
* @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
|
|
38133
|
+
* @param {*} [options] Override http request option.
|
|
38134
|
+
* @throws {RequiredError}
|
|
38135
|
+
* @memberof SharedApi
|
|
38136
|
+
*/
|
|
38137
|
+
public createMilvusRole(requestParameters: SharedApiCreateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
38138
|
+
return SharedApiFp(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
38139
|
+
}
|
|
38140
|
+
|
|
38013
38141
|
/**
|
|
38014
38142
|
* create an account in mongodb
|
|
38015
38143
|
* @summary Create mongodb account
|
|
@@ -40359,18 +40487,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40359
40487
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40360
40488
|
}
|
|
40361
40489
|
|
|
40362
|
-
/**
|
|
40363
|
-
* Create or update a Milvus native role and replace its privilege grants.
|
|
40364
|
-
* @summary Put Milvus role
|
|
40365
|
-
* @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
|
|
40366
|
-
* @param {*} [options] Override http request option.
|
|
40367
|
-
* @throws {RequiredError}
|
|
40368
|
-
* @memberof SharedApi
|
|
40369
|
-
*/
|
|
40370
|
-
public putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
40371
|
-
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40372
|
-
}
|
|
40373
|
-
|
|
40374
40490
|
/**
|
|
40375
40491
|
*
|
|
40376
40492
|
* @summary create a SQL query
|
|
@@ -41102,6 +41218,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
41102
41218
|
return SharedApiFp(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
41103
41219
|
}
|
|
41104
41220
|
|
|
41221
|
+
/**
|
|
41222
|
+
* Update an existing Milvus native role by replacing its privilege grants.
|
|
41223
|
+
* @summary Update Milvus role
|
|
41224
|
+
* @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
|
|
41225
|
+
* @param {*} [options] Override http request option.
|
|
41226
|
+
* @throws {RequiredError}
|
|
41227
|
+
* @memberof SharedApi
|
|
41228
|
+
*/
|
|
41229
|
+
public updateMilvusRole(requestParameters: SharedApiUpdateMilvusRoleRequest, options?: RawAxiosRequestConfig) {
|
|
41230
|
+
return SharedApiFp(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
41231
|
+
}
|
|
41232
|
+
|
|
41105
41233
|
/**
|
|
41106
41234
|
*
|
|
41107
41235
|
* @summary update mssql account compatible with windows account
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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}
|
|
@@ -170,6 +170,7 @@ export * from './cluster-mode-transition';
|
|
|
170
170
|
export * from './cluster-object-storage-config';
|
|
171
171
|
export * from './cluster-raw-log-item';
|
|
172
172
|
export * from './cluster-raw-log-response';
|
|
173
|
+
export * from './cluster-reference';
|
|
173
174
|
export * from './cluster-slow-log-database-distribution';
|
|
174
175
|
export * from './cluster-slow-log-detail';
|
|
175
176
|
export * from './cluster-slow-log-diagnosis';
|
|
@@ -521,6 +522,7 @@ export * from './metrics-query-type';
|
|
|
521
522
|
export * from './milvus-account-password';
|
|
522
523
|
export * from './milvus-account-roles';
|
|
523
524
|
export * from './milvus-role';
|
|
525
|
+
export * from './milvus-role-create-request';
|
|
524
526
|
export * from './milvus-role-grant';
|
|
525
527
|
export * from './milvus-role-list';
|
|
526
528
|
export * from './milvus-role-request';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
|