kb-cloud-client-typescript 2.2.94 → 2.2.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +447 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +487 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +495 -0
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -0
- package/dist/adminapi/apis/milvus-api.js +551 -0
- package/dist/adminapi/apis/milvus-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +447 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +487 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +6 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +6 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/milvus-account-password.d.ts +31 -0
- package/dist/adminapi/models/milvus-account-password.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-account-password.js +16 -0
- package/dist/adminapi/models/milvus-account-password.js.map +1 -0
- package/dist/adminapi/models/milvus-account-roles.d.ts +31 -0
- package/dist/adminapi/models/milvus-account-roles.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-account-roles.js +16 -0
- package/dist/adminapi/models/milvus-account-roles.js.map +1 -0
- package/dist/adminapi/models/milvus-role-grant.d.ts +37 -0
- package/dist/adminapi/models/milvus-role-grant.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-grant.js +16 -0
- package/dist/adminapi/models/milvus-role-grant.js.map +1 -0
- package/dist/adminapi/models/milvus-role-list.d.ts +26 -0
- package/dist/adminapi/models/milvus-role-list.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-list.js +16 -0
- package/dist/adminapi/models/milvus-role-list.js.map +1 -0
- package/dist/adminapi/models/milvus-role-request.d.ts +26 -0
- package/dist/adminapi/models/milvus-role-request.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role-request.js +16 -0
- package/dist/adminapi/models/milvus-role-request.js.map +1 -0
- package/dist/adminapi/models/milvus-role.d.ts +32 -0
- package/dist/adminapi/models/milvus-role.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-role.js +16 -0
- package/dist/adminapi/models/milvus-role.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +447 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +487 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +495 -0
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -0
- package/dist/openapi/apis/milvus-api.js +551 -0
- package/dist/openapi/apis/milvus-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +447 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +487 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +6 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +6 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/milvus-account-password.d.ts +31 -0
- package/dist/openapi/models/milvus-account-password.d.ts.map +1 -0
- package/dist/openapi/models/milvus-account-password.js +16 -0
- package/dist/openapi/models/milvus-account-password.js.map +1 -0
- package/dist/openapi/models/milvus-account-roles.d.ts +31 -0
- package/dist/openapi/models/milvus-account-roles.d.ts.map +1 -0
- package/dist/openapi/models/milvus-account-roles.js +16 -0
- package/dist/openapi/models/milvus-account-roles.js.map +1 -0
- package/dist/openapi/models/milvus-role-grant.d.ts +37 -0
- package/dist/openapi/models/milvus-role-grant.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-grant.js +16 -0
- package/dist/openapi/models/milvus-role-grant.js.map +1 -0
- package/dist/openapi/models/milvus-role-list.d.ts +26 -0
- package/dist/openapi/models/milvus-role-list.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-list.js +16 -0
- package/dist/openapi/models/milvus-role-list.js.map +1 -0
- package/dist/openapi/models/milvus-role-request.d.ts +26 -0
- package/dist/openapi/models/milvus-role-request.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role-request.js +16 -0
- package/dist/openapi/models/milvus-role-request.js.map +1 -0
- package/dist/openapi/models/milvus-role.d.ts +32 -0
- package/dist/openapi/models/milvus-role.d.ts.map +1 -0
- package/dist/openapi/models/milvus-role.js +16 -0
- package/dist/openapi/models/milvus-role.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +795 -11
- package/src/adminapi/apis/milvus-api.ts +854 -0
- package/src/adminapi/apis/shared-api.ts +794 -10
- package/src/adminapi/models/index.ts +6 -0
- package/src/adminapi/models/milvus-account-password.ts +36 -0
- package/src/adminapi/models/milvus-account-roles.ts +36 -0
- package/src/adminapi/models/milvus-role-grant.ts +42 -0
- package/src/adminapi/models/milvus-role-list.ts +33 -0
- package/src/adminapi/models/milvus-role-request.ts +33 -0
- package/src/adminapi/models/milvus-role.ts +39 -0
- package/src/adminapi.yaml +353 -0
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +794 -10
- package/src/openapi/apis/milvus-api.ts +854 -0
- package/src/openapi/apis/shared-api.ts +839 -55
- package/src/openapi/models/index.ts +6 -0
- package/src/openapi/models/milvus-account-password.ts +36 -0
- package/src/openapi/models/milvus-account-roles.ts +36 -0
- package/src/openapi/models/milvus-role-grant.ts +42 -0
- package/src/openapi/models/milvus-role-list.ts +33 -0
- package/src/openapi/models/milvus-role-request.ts +33 -0
- package/src/openapi/models/milvus-role.ts +39 -0
- package/src/openapi.yaml +353 -0
|
@@ -421,6 +421,12 @@ export * from './metering-track-list';
|
|
|
421
421
|
export * from './metrics-option';
|
|
422
422
|
export * from './metrics-option-query';
|
|
423
423
|
export * from './metrics-query-type';
|
|
424
|
+
export * from './milvus-account-password';
|
|
425
|
+
export * from './milvus-account-roles';
|
|
426
|
+
export * from './milvus-role';
|
|
427
|
+
export * from './milvus-role-grant';
|
|
428
|
+
export * from './milvus-role-list';
|
|
429
|
+
export * from './milvus-role-request';
|
|
424
430
|
export * from './mode-compatible-kubeblocks-version';
|
|
425
431
|
export * from './mode-component';
|
|
426
432
|
export * from './mode-object-storage';
|
|
@@ -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
|
+
* Milvus account password update request.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface MilvusAccountPassword
|
|
21
|
+
*/
|
|
22
|
+
export interface MilvusAccountPassword {
|
|
23
|
+
/**
|
|
24
|
+
* Current account password. Required by Milvus.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof MilvusAccountPassword
|
|
27
|
+
*/
|
|
28
|
+
'oldPassword': string;
|
|
29
|
+
/**
|
|
30
|
+
* New account password.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof MilvusAccountPassword
|
|
33
|
+
*/
|
|
34
|
+
'password': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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
|
+
* Milvus account role update request.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface MilvusAccountRoles
|
|
21
|
+
*/
|
|
22
|
+
export interface MilvusAccountRoles {
|
|
23
|
+
/**
|
|
24
|
+
* Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof MilvusAccountRoles
|
|
27
|
+
*/
|
|
28
|
+
'role'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Milvus role names to assign to the user. Existing roles are replaced.
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof MilvusAccountRoles
|
|
33
|
+
*/
|
|
34
|
+
'roles'?: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* Native Milvus role privilege grant.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface MilvusRoleGrant
|
|
21
|
+
*/
|
|
22
|
+
export interface MilvusRoleGrant {
|
|
23
|
+
/**
|
|
24
|
+
* Milvus database name. Empty means Milvus default/global scope.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof MilvusRoleGrant
|
|
27
|
+
*/
|
|
28
|
+
'dbName'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Milvus collection name. Use \'*\' for all collections in the database.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof MilvusRoleGrant
|
|
33
|
+
*/
|
|
34
|
+
'collectionName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Native Milvus privilege name, such as DatabaseReadOnly, DatabaseReadWrite, DatabaseAdmin, Search, Insert, or Delete.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof MilvusRoleGrant
|
|
39
|
+
*/
|
|
40
|
+
'privilege': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { MilvusRole } from './milvus-role';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Milvus role list.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface MilvusRoleList
|
|
24
|
+
*/
|
|
25
|
+
export interface MilvusRoleList {
|
|
26
|
+
/**
|
|
27
|
+
* Milvus roles.
|
|
28
|
+
* @type {Array<MilvusRole>}
|
|
29
|
+
* @memberof MilvusRoleList
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<MilvusRole>;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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 upsert request.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface MilvusRoleRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface MilvusRoleRequest {
|
|
26
|
+
/**
|
|
27
|
+
* Native Milvus privilege grants owned by this role. Existing grants are replaced.
|
|
28
|
+
* @type {Array<MilvusRoleGrant>}
|
|
29
|
+
* @memberof MilvusRoleRequest
|
|
30
|
+
*/
|
|
31
|
+
'grants'?: Array<MilvusRoleGrant>;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -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 with native privilege grants.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface MilvusRole
|
|
24
|
+
*/
|
|
25
|
+
export interface MilvusRole {
|
|
26
|
+
/**
|
|
27
|
+
* Milvus role name.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof MilvusRole
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
32
|
+
/**
|
|
33
|
+
* Native Milvus privilege grants owned by this role.
|
|
34
|
+
* @type {Array<MilvusRoleGrant>}
|
|
35
|
+
* @memberof MilvusRole
|
|
36
|
+
*/
|
|
37
|
+
'grants': Array<MilvusRoleGrant>;
|
|
38
|
+
}
|
|
39
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -12181,6 +12181,284 @@ paths:
|
|
|
12181
12181
|
- account
|
|
12182
12182
|
- mongodb
|
|
12183
12183
|
- shared
|
|
12184
|
+
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles:
|
|
12185
|
+
get:
|
|
12186
|
+
summary: List Milvus roles
|
|
12187
|
+
description: List Milvus native roles and their privilege grants.
|
|
12188
|
+
operationId: listMilvusRoles
|
|
12189
|
+
parameters:
|
|
12190
|
+
- description: name of the Org
|
|
12191
|
+
in: path
|
|
12192
|
+
name: orgName
|
|
12193
|
+
required: true
|
|
12194
|
+
schema:
|
|
12195
|
+
type: string
|
|
12196
|
+
- description: name of the Cluster
|
|
12197
|
+
in: path
|
|
12198
|
+
name: clusterName
|
|
12199
|
+
required: true
|
|
12200
|
+
schema:
|
|
12201
|
+
type: string
|
|
12202
|
+
tags:
|
|
12203
|
+
- account
|
|
12204
|
+
- milvus
|
|
12205
|
+
- shared
|
|
12206
|
+
responses:
|
|
12207
|
+
'200':
|
|
12208
|
+
description: A successful response.
|
|
12209
|
+
content:
|
|
12210
|
+
application/json:
|
|
12211
|
+
schema:
|
|
12212
|
+
$ref: '#/components/schemas/MilvusRoleList'
|
|
12213
|
+
'400':
|
|
12214
|
+
$ref: '#/components/responses/400'
|
|
12215
|
+
'401':
|
|
12216
|
+
$ref: '#/components/responses/401'
|
|
12217
|
+
'403':
|
|
12218
|
+
$ref: '#/components/responses/403'
|
|
12219
|
+
'404':
|
|
12220
|
+
$ref: '#/components/responses/404'
|
|
12221
|
+
'500':
|
|
12222
|
+
$ref: '#/components/responses/500'
|
|
12223
|
+
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}:
|
|
12224
|
+
get:
|
|
12225
|
+
summary: Get Milvus role
|
|
12226
|
+
description: Get a Milvus native role and its privilege grants.
|
|
12227
|
+
operationId: getMilvusRole
|
|
12228
|
+
parameters:
|
|
12229
|
+
- description: name of the Org
|
|
12230
|
+
in: path
|
|
12231
|
+
name: orgName
|
|
12232
|
+
required: true
|
|
12233
|
+
schema:
|
|
12234
|
+
type: string
|
|
12235
|
+
- description: name of the Cluster
|
|
12236
|
+
in: path
|
|
12237
|
+
name: clusterName
|
|
12238
|
+
required: true
|
|
12239
|
+
schema:
|
|
12240
|
+
type: string
|
|
12241
|
+
- description: name of the Milvus role
|
|
12242
|
+
in: path
|
|
12243
|
+
name: roleName
|
|
12244
|
+
required: true
|
|
12245
|
+
schema:
|
|
12246
|
+
type: string
|
|
12247
|
+
tags:
|
|
12248
|
+
- account
|
|
12249
|
+
- milvus
|
|
12250
|
+
- shared
|
|
12251
|
+
responses:
|
|
12252
|
+
'200':
|
|
12253
|
+
description: A successful response.
|
|
12254
|
+
content:
|
|
12255
|
+
application/json:
|
|
12256
|
+
schema:
|
|
12257
|
+
$ref: '#/components/schemas/MilvusRole'
|
|
12258
|
+
'400':
|
|
12259
|
+
$ref: '#/components/responses/400'
|
|
12260
|
+
'401':
|
|
12261
|
+
$ref: '#/components/responses/401'
|
|
12262
|
+
'403':
|
|
12263
|
+
$ref: '#/components/responses/403'
|
|
12264
|
+
'404':
|
|
12265
|
+
$ref: '#/components/responses/404'
|
|
12266
|
+
'500':
|
|
12267
|
+
$ref: '#/components/responses/500'
|
|
12268
|
+
put:
|
|
12269
|
+
summary: Put Milvus role
|
|
12270
|
+
description: Create or update a Milvus native role and replace its privilege grants.
|
|
12271
|
+
operationId: putMilvusRole
|
|
12272
|
+
parameters:
|
|
12273
|
+
- description: name of the Org
|
|
12274
|
+
in: path
|
|
12275
|
+
name: orgName
|
|
12276
|
+
required: true
|
|
12277
|
+
schema:
|
|
12278
|
+
type: string
|
|
12279
|
+
- description: name of the Cluster
|
|
12280
|
+
in: path
|
|
12281
|
+
name: clusterName
|
|
12282
|
+
required: true
|
|
12283
|
+
schema:
|
|
12284
|
+
type: string
|
|
12285
|
+
- description: name of the Milvus role
|
|
12286
|
+
in: path
|
|
12287
|
+
name: roleName
|
|
12288
|
+
required: true
|
|
12289
|
+
schema:
|
|
12290
|
+
type: string
|
|
12291
|
+
tags:
|
|
12292
|
+
- account
|
|
12293
|
+
- milvus
|
|
12294
|
+
- shared
|
|
12295
|
+
requestBody:
|
|
12296
|
+
required: true
|
|
12297
|
+
content:
|
|
12298
|
+
application/json:
|
|
12299
|
+
schema:
|
|
12300
|
+
$ref: '#/components/schemas/MilvusRoleRequest'
|
|
12301
|
+
responses:
|
|
12302
|
+
'200':
|
|
12303
|
+
description: A successful response.
|
|
12304
|
+
content:
|
|
12305
|
+
application/json:
|
|
12306
|
+
schema:
|
|
12307
|
+
$ref: '#/components/schemas/MilvusRole'
|
|
12308
|
+
'400':
|
|
12309
|
+
$ref: '#/components/responses/400'
|
|
12310
|
+
'401':
|
|
12311
|
+
$ref: '#/components/responses/401'
|
|
12312
|
+
'403':
|
|
12313
|
+
$ref: '#/components/responses/403'
|
|
12314
|
+
'404':
|
|
12315
|
+
$ref: '#/components/responses/404'
|
|
12316
|
+
'409':
|
|
12317
|
+
$ref: '#/components/responses/409'
|
|
12318
|
+
'500':
|
|
12319
|
+
$ref: '#/components/responses/500'
|
|
12320
|
+
x-codegen-request-body-name: body
|
|
12321
|
+
delete:
|
|
12322
|
+
summary: Delete Milvus role
|
|
12323
|
+
description: Delete a Milvus native role.
|
|
12324
|
+
operationId: deleteMilvusRole
|
|
12325
|
+
parameters:
|
|
12326
|
+
- description: name of the Org
|
|
12327
|
+
in: path
|
|
12328
|
+
name: orgName
|
|
12329
|
+
required: true
|
|
12330
|
+
schema:
|
|
12331
|
+
type: string
|
|
12332
|
+
- description: name of the Cluster
|
|
12333
|
+
in: path
|
|
12334
|
+
name: clusterName
|
|
12335
|
+
required: true
|
|
12336
|
+
schema:
|
|
12337
|
+
type: string
|
|
12338
|
+
- description: name of the Milvus role
|
|
12339
|
+
in: path
|
|
12340
|
+
name: roleName
|
|
12341
|
+
required: true
|
|
12342
|
+
schema:
|
|
12343
|
+
type: string
|
|
12344
|
+
tags:
|
|
12345
|
+
- account
|
|
12346
|
+
- milvus
|
|
12347
|
+
- shared
|
|
12348
|
+
responses:
|
|
12349
|
+
'204':
|
|
12350
|
+
description: A successful response.
|
|
12351
|
+
content: {}
|
|
12352
|
+
'400':
|
|
12353
|
+
$ref: '#/components/responses/400'
|
|
12354
|
+
'401':
|
|
12355
|
+
$ref: '#/components/responses/401'
|
|
12356
|
+
'403':
|
|
12357
|
+
$ref: '#/components/responses/403'
|
|
12358
|
+
'404':
|
|
12359
|
+
$ref: '#/components/responses/404'
|
|
12360
|
+
'500':
|
|
12361
|
+
$ref: '#/components/responses/500'
|
|
12362
|
+
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
12363
|
+
patch:
|
|
12364
|
+
summary: Update Milvus account password
|
|
12365
|
+
description: Update a Milvus account password.
|
|
12366
|
+
operationId: updateMilvusAccountPassword
|
|
12367
|
+
parameters:
|
|
12368
|
+
- description: name of the Org
|
|
12369
|
+
in: path
|
|
12370
|
+
name: orgName
|
|
12371
|
+
required: true
|
|
12372
|
+
schema:
|
|
12373
|
+
type: string
|
|
12374
|
+
- description: name of the Cluster
|
|
12375
|
+
in: path
|
|
12376
|
+
name: clusterName
|
|
12377
|
+
required: true
|
|
12378
|
+
schema:
|
|
12379
|
+
type: string
|
|
12380
|
+
- description: name of the Account
|
|
12381
|
+
in: path
|
|
12382
|
+
name: accountName
|
|
12383
|
+
required: true
|
|
12384
|
+
schema:
|
|
12385
|
+
type: string
|
|
12386
|
+
tags:
|
|
12387
|
+
- account
|
|
12388
|
+
- milvus
|
|
12389
|
+
- shared
|
|
12390
|
+
requestBody:
|
|
12391
|
+
required: true
|
|
12392
|
+
content:
|
|
12393
|
+
application/json:
|
|
12394
|
+
schema:
|
|
12395
|
+
$ref: '#/components/schemas/MilvusAccountPassword'
|
|
12396
|
+
responses:
|
|
12397
|
+
'204':
|
|
12398
|
+
description: A successful response.
|
|
12399
|
+
content: {}
|
|
12400
|
+
'400':
|
|
12401
|
+
$ref: '#/components/responses/400'
|
|
12402
|
+
'401':
|
|
12403
|
+
$ref: '#/components/responses/401'
|
|
12404
|
+
'403':
|
|
12405
|
+
$ref: '#/components/responses/403'
|
|
12406
|
+
'404':
|
|
12407
|
+
$ref: '#/components/responses/404'
|
|
12408
|
+
'500':
|
|
12409
|
+
$ref: '#/components/responses/500'
|
|
12410
|
+
x-codegen-request-body-name: body
|
|
12411
|
+
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles:
|
|
12412
|
+
put:
|
|
12413
|
+
summary: Update Milvus account roles
|
|
12414
|
+
description: Replace a Milvus account's role assignments.
|
|
12415
|
+
operationId: updateMilvusAccountRoles
|
|
12416
|
+
parameters:
|
|
12417
|
+
- description: name of the Org
|
|
12418
|
+
in: path
|
|
12419
|
+
name: orgName
|
|
12420
|
+
required: true
|
|
12421
|
+
schema:
|
|
12422
|
+
type: string
|
|
12423
|
+
- description: name of the Cluster
|
|
12424
|
+
in: path
|
|
12425
|
+
name: clusterName
|
|
12426
|
+
required: true
|
|
12427
|
+
schema:
|
|
12428
|
+
type: string
|
|
12429
|
+
- description: name of the Account
|
|
12430
|
+
in: path
|
|
12431
|
+
name: accountName
|
|
12432
|
+
required: true
|
|
12433
|
+
schema:
|
|
12434
|
+
type: string
|
|
12435
|
+
tags:
|
|
12436
|
+
- account
|
|
12437
|
+
- milvus
|
|
12438
|
+
- shared
|
|
12439
|
+
requestBody:
|
|
12440
|
+
required: true
|
|
12441
|
+
content:
|
|
12442
|
+
application/json:
|
|
12443
|
+
schema:
|
|
12444
|
+
$ref: '#/components/schemas/MilvusAccountRoles'
|
|
12445
|
+
responses:
|
|
12446
|
+
'204':
|
|
12447
|
+
description: A successful response.
|
|
12448
|
+
content: {}
|
|
12449
|
+
'400':
|
|
12450
|
+
$ref: '#/components/responses/400'
|
|
12451
|
+
'401':
|
|
12452
|
+
$ref: '#/components/responses/401'
|
|
12453
|
+
'403':
|
|
12454
|
+
$ref: '#/components/responses/403'
|
|
12455
|
+
'404':
|
|
12456
|
+
$ref: '#/components/responses/404'
|
|
12457
|
+
'409':
|
|
12458
|
+
$ref: '#/components/responses/409'
|
|
12459
|
+
'500':
|
|
12460
|
+
$ref: '#/components/responses/500'
|
|
12461
|
+
x-codegen-request-body-name: body
|
|
12184
12462
|
/api/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
12185
12463
|
delete:
|
|
12186
12464
|
operationId: deleteMssqlAccount
|
|
@@ -25935,6 +26213,81 @@ components:
|
|
|
25935
26213
|
required:
|
|
25936
26214
|
- name
|
|
25937
26215
|
type: object
|
|
26216
|
+
MilvusRoleGrant:
|
|
26217
|
+
type: object
|
|
26218
|
+
description: Native Milvus role privilege grant.
|
|
26219
|
+
required:
|
|
26220
|
+
- privilege
|
|
26221
|
+
properties:
|
|
26222
|
+
dbName:
|
|
26223
|
+
type: string
|
|
26224
|
+
description: Milvus database name. Empty means Milvus default/global scope.
|
|
26225
|
+
collectionName:
|
|
26226
|
+
type: string
|
|
26227
|
+
description: Milvus collection name. Use '*' for all collections in the database.
|
|
26228
|
+
privilege:
|
|
26229
|
+
type: string
|
|
26230
|
+
description: Native Milvus privilege name, such as DatabaseReadOnly, DatabaseReadWrite, DatabaseAdmin, Search, Insert, or Delete.
|
|
26231
|
+
MilvusRole:
|
|
26232
|
+
type: object
|
|
26233
|
+
description: Milvus role with native privilege grants.
|
|
26234
|
+
required:
|
|
26235
|
+
- name
|
|
26236
|
+
- grants
|
|
26237
|
+
properties:
|
|
26238
|
+
name:
|
|
26239
|
+
type: string
|
|
26240
|
+
description: Milvus role name.
|
|
26241
|
+
grants:
|
|
26242
|
+
type: array
|
|
26243
|
+
description: Native Milvus privilege grants owned by this role.
|
|
26244
|
+
items:
|
|
26245
|
+
$ref: '#/components/schemas/MilvusRoleGrant'
|
|
26246
|
+
MilvusRoleList:
|
|
26247
|
+
type: object
|
|
26248
|
+
description: Milvus role list.
|
|
26249
|
+
required:
|
|
26250
|
+
- items
|
|
26251
|
+
properties:
|
|
26252
|
+
items:
|
|
26253
|
+
type: array
|
|
26254
|
+
description: Milvus roles.
|
|
26255
|
+
items:
|
|
26256
|
+
$ref: '#/components/schemas/MilvusRole'
|
|
26257
|
+
MilvusRoleRequest:
|
|
26258
|
+
type: object
|
|
26259
|
+
description: Milvus role upsert request.
|
|
26260
|
+
properties:
|
|
26261
|
+
grants:
|
|
26262
|
+
type: array
|
|
26263
|
+
description: Native Milvus privilege grants owned by this role. Existing grants are replaced.
|
|
26264
|
+
items:
|
|
26265
|
+
$ref: '#/components/schemas/MilvusRoleGrant'
|
|
26266
|
+
MilvusAccountPassword:
|
|
26267
|
+
type: object
|
|
26268
|
+
description: Milvus account password update request.
|
|
26269
|
+
required:
|
|
26270
|
+
- oldPassword
|
|
26271
|
+
- password
|
|
26272
|
+
properties:
|
|
26273
|
+
oldPassword:
|
|
26274
|
+
type: string
|
|
26275
|
+
description: Current account password. Required by Milvus.
|
|
26276
|
+
password:
|
|
26277
|
+
type: string
|
|
26278
|
+
description: New account password.
|
|
26279
|
+
MilvusAccountRoles:
|
|
26280
|
+
type: object
|
|
26281
|
+
description: Milvus account role update request.
|
|
26282
|
+
properties:
|
|
26283
|
+
role:
|
|
26284
|
+
type: string
|
|
26285
|
+
description: Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
26286
|
+
roles:
|
|
26287
|
+
type: array
|
|
26288
|
+
description: Milvus role names to assign to the user. Existing roles are replaced.
|
|
26289
|
+
items:
|
|
26290
|
+
type: string
|
|
25938
26291
|
dbTDERequest:
|
|
25939
26292
|
type: object
|
|
25940
26293
|
properties:
|