kb-cloud-client-typescript 2.3.0-alpha.204 → 2.3.0-alpha.206
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 +366 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +403 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/milvus-api.d.ts +415 -0
- package/dist/adminapi/apis/milvus-api.d.ts.map +1 -0
- package/dist/adminapi/apis/milvus-api.js +467 -0
- package/dist/adminapi/apis/milvus-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +366 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +403 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +5 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +5 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/key-backup.d.ts +43 -0
- package/dist/adminapi/models/key-backup.d.ts.map +1 -0
- package/dist/adminapi/models/key-backup.js +16 -0
- package/dist/adminapi/models/key-backup.js.map +1 -0
- package/dist/adminapi/models/key-cluster.d.ts +43 -0
- package/dist/adminapi/models/key-cluster.d.ts.map +1 -0
- package/dist/adminapi/models/key-cluster.js +16 -0
- package/dist/adminapi/models/key-cluster.js.map +1 -0
- package/dist/adminapi/models/key.d.ts +6 -4
- package/dist/adminapi/models/key.d.ts.map +1 -1
- package/dist/adminapi/models/license.d.ts +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-account.d.ts +49 -0
- package/dist/adminapi/models/milvus-account.d.ts.map +1 -0
- package/dist/adminapi/models/milvus-account.js +16 -0
- package/dist/adminapi/models/milvus-account.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 +366 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +403 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/milvus-api.d.ts +415 -0
- package/dist/openapi/apis/milvus-api.d.ts.map +1 -0
- package/dist/openapi/apis/milvus-api.js +467 -0
- package/dist/openapi/apis/milvus-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +366 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +403 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +5 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +5 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/key-backup.d.ts +43 -0
- package/dist/openapi/models/key-backup.d.ts.map +1 -0
- package/dist/openapi/models/key-backup.js +16 -0
- package/dist/openapi/models/key-backup.js.map +1 -0
- package/dist/openapi/models/key-cluster.d.ts +43 -0
- package/dist/openapi/models/key-cluster.d.ts.map +1 -0
- package/dist/openapi/models/key-cluster.js +16 -0
- package/dist/openapi/models/key-cluster.js.map +1 -0
- package/dist/openapi/models/key.d.ts +6 -4
- package/dist/openapi/models/key.d.ts.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-account.d.ts +49 -0
- package/dist/openapi/models/milvus-account.d.ts.map +1 -0
- package/dist/openapi/models/milvus-account.js +16 -0
- package/dist/openapi/models/milvus-account.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +6 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +644 -0
- package/src/adminapi/apis/milvus-api.ts +716 -0
- package/src/adminapi/apis/shared-api.ts +644 -0
- package/src/adminapi/models/index.ts +5 -0
- package/src/adminapi/models/key-backup.ts +48 -0
- package/src/adminapi/models/key-cluster.ts +48 -0
- package/src/adminapi/models/key.ts +10 -4
- package/src/adminapi/models/license.ts +1 -1
- 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-account.ts +54 -0
- package/src/adminapi.yaml +310 -3
- package/src/openapi/.openapi-generator/FILES +6 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +644 -0
- package/src/openapi/apis/milvus-api.ts +716 -0
- package/src/openapi/apis/shared-api.ts +644 -0
- package/src/openapi/models/index.ts +5 -0
- package/src/openapi/models/key-backup.ts +48 -0
- package/src/openapi/models/key-cluster.ts +48 -0
- package/src/openapi/models/key.ts +10 -4
- 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-account.ts +54 -0
- package/src/openapi.yaml +309 -2
|
@@ -459,6 +459,8 @@ export * from './ip-pool-selection-requirement';
|
|
|
459
459
|
export * from './ip-whitelist';
|
|
460
460
|
export * from './ip-whitelist-list';
|
|
461
461
|
export * from './key';
|
|
462
|
+
export * from './key-backup';
|
|
463
|
+
export * from './key-cluster';
|
|
462
464
|
export * from './key-list';
|
|
463
465
|
export * from './koordinator-node-reservation';
|
|
464
466
|
export * from './koordinator-reservation-allocate-policy';
|
|
@@ -484,6 +486,9 @@ export * from './metering-track-list';
|
|
|
484
486
|
export * from './metrics-option';
|
|
485
487
|
export * from './metrics-option-query';
|
|
486
488
|
export * from './metrics-query-type';
|
|
489
|
+
export * from './milvus-account';
|
|
490
|
+
export * from './milvus-account-password';
|
|
491
|
+
export * from './milvus-account-roles';
|
|
487
492
|
export * from './mode-compatible-kubeblocks-version';
|
|
488
493
|
export * from './mode-component';
|
|
489
494
|
export * from './mode-object-storage';
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* a backup which uses the key
|
|
19
|
+
* @export
|
|
20
|
+
* @interface KeyBackup
|
|
21
|
+
*/
|
|
22
|
+
export interface KeyBackup {
|
|
23
|
+
/**
|
|
24
|
+
* the id of the backup
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof KeyBackup
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* the engine of the backup
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof KeyBackup
|
|
33
|
+
*/
|
|
34
|
+
'engine'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* the name of the backup
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof KeyBackup
|
|
39
|
+
*/
|
|
40
|
+
'name'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* the status of the backup
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof KeyBackup
|
|
45
|
+
*/
|
|
46
|
+
'status'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* a cluster which uses the key
|
|
19
|
+
* @export
|
|
20
|
+
* @interface KeyCluster
|
|
21
|
+
*/
|
|
22
|
+
export interface KeyCluster {
|
|
23
|
+
/**
|
|
24
|
+
* the id of the cluster
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof KeyCluster
|
|
27
|
+
*/
|
|
28
|
+
'clusterId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* the name of the cluster
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof KeyCluster
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* the cluster definition (engine type) of the cluster
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof KeyCluster
|
|
39
|
+
*/
|
|
40
|
+
'clusterDefinition'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* the status of the cluster
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof KeyCluster
|
|
45
|
+
*/
|
|
46
|
+
'status'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -19,6 +19,12 @@ import type { EncryptionAlgorithm } from './encryption-algorithm';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { EncryptionKeyUsage } from './encryption-key-usage';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { KeyBackup } from './key-backup';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { KeyCluster } from './key-cluster';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* mutiple kv pair
|
|
@@ -52,16 +58,16 @@ export interface Key {
|
|
|
52
58
|
'keyUsage'?: EncryptionKeyUsage;
|
|
53
59
|
/**
|
|
54
60
|
* the clusters which use the key
|
|
55
|
-
* @type {Array<
|
|
61
|
+
* @type {Array<KeyCluster>}
|
|
56
62
|
* @memberof Key
|
|
57
63
|
*/
|
|
58
|
-
'clusters'?: Array<
|
|
64
|
+
'clusters'?: Array<KeyCluster>;
|
|
59
65
|
/**
|
|
60
66
|
* the backups which use the key
|
|
61
|
-
* @type {Array<
|
|
67
|
+
* @type {Array<KeyBackup>}
|
|
62
68
|
* @memberof Key
|
|
63
69
|
*/
|
|
64
|
-
'backups'?: Array<
|
|
70
|
+
'backups'?: Array<KeyBackup>;
|
|
65
71
|
/**
|
|
66
72
|
* The creation timestamp of the key.
|
|
67
73
|
* @type {string}
|
|
@@ -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,54 @@
|
|
|
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 creation request.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface MilvusAccount
|
|
21
|
+
*/
|
|
22
|
+
export interface MilvusAccount {
|
|
23
|
+
/**
|
|
24
|
+
* Account name. Kept for compatibility with the generic account model.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof MilvusAccount
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Milvus username. When omitted, name is used.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof MilvusAccount
|
|
33
|
+
*/
|
|
34
|
+
'username'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Account password.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof MilvusAccount
|
|
39
|
+
*/
|
|
40
|
+
'password': string;
|
|
41
|
+
/**
|
|
42
|
+
* Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof MilvusAccount
|
|
45
|
+
*/
|
|
46
|
+
'role'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Milvus role names to assign to the user.
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof MilvusAccount
|
|
51
|
+
*/
|
|
52
|
+
'roles'?: Array<string>;
|
|
53
|
+
}
|
|
54
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -16348,6 +16348,233 @@ 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
|
+
/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
|
+
patch:
|
|
16480
|
+
summary: Update Milvus account password
|
|
16481
|
+
description: Update a Milvus account password.
|
|
16482
|
+
operationId: updateMilvusAccountPassword
|
|
16483
|
+
parameters:
|
|
16484
|
+
- description: name of the Org
|
|
16485
|
+
in: path
|
|
16486
|
+
name: orgName
|
|
16487
|
+
required: true
|
|
16488
|
+
schema:
|
|
16489
|
+
type: string
|
|
16490
|
+
- description: name of the Cluster
|
|
16491
|
+
in: path
|
|
16492
|
+
name: clusterName
|
|
16493
|
+
required: true
|
|
16494
|
+
schema:
|
|
16495
|
+
type: string
|
|
16496
|
+
- description: name of the Account
|
|
16497
|
+
in: path
|
|
16498
|
+
name: accountName
|
|
16499
|
+
required: true
|
|
16500
|
+
schema:
|
|
16501
|
+
type: string
|
|
16502
|
+
tags:
|
|
16503
|
+
- account
|
|
16504
|
+
- milvus
|
|
16505
|
+
- shared
|
|
16506
|
+
requestBody:
|
|
16507
|
+
required: true
|
|
16508
|
+
content:
|
|
16509
|
+
application/json:
|
|
16510
|
+
schema:
|
|
16511
|
+
$ref: '#/components/schemas/MilvusAccountPassword'
|
|
16512
|
+
responses:
|
|
16513
|
+
'204':
|
|
16514
|
+
description: A successful response.
|
|
16515
|
+
content: {}
|
|
16516
|
+
'400':
|
|
16517
|
+
$ref: '#/components/responses/400'
|
|
16518
|
+
'401':
|
|
16519
|
+
$ref: '#/components/responses/401'
|
|
16520
|
+
'403':
|
|
16521
|
+
$ref: '#/components/responses/403'
|
|
16522
|
+
'404':
|
|
16523
|
+
$ref: '#/components/responses/404'
|
|
16524
|
+
'500':
|
|
16525
|
+
$ref: '#/components/responses/500'
|
|
16526
|
+
x-codegen-request-body-name: body
|
|
16527
|
+
/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles:
|
|
16528
|
+
put:
|
|
16529
|
+
summary: Update Milvus account roles
|
|
16530
|
+
description: Replace a Milvus account's role assignments.
|
|
16531
|
+
operationId: updateMilvusAccountRoles
|
|
16532
|
+
parameters:
|
|
16533
|
+
- description: name of the Org
|
|
16534
|
+
in: path
|
|
16535
|
+
name: orgName
|
|
16536
|
+
required: true
|
|
16537
|
+
schema:
|
|
16538
|
+
type: string
|
|
16539
|
+
- description: name of the Cluster
|
|
16540
|
+
in: path
|
|
16541
|
+
name: clusterName
|
|
16542
|
+
required: true
|
|
16543
|
+
schema:
|
|
16544
|
+
type: string
|
|
16545
|
+
- description: name of the Account
|
|
16546
|
+
in: path
|
|
16547
|
+
name: accountName
|
|
16548
|
+
required: true
|
|
16549
|
+
schema:
|
|
16550
|
+
type: string
|
|
16551
|
+
tags:
|
|
16552
|
+
- account
|
|
16553
|
+
- milvus
|
|
16554
|
+
- shared
|
|
16555
|
+
requestBody:
|
|
16556
|
+
required: true
|
|
16557
|
+
content:
|
|
16558
|
+
application/json:
|
|
16559
|
+
schema:
|
|
16560
|
+
$ref: '#/components/schemas/MilvusAccountRoles'
|
|
16561
|
+
responses:
|
|
16562
|
+
'204':
|
|
16563
|
+
description: A successful response.
|
|
16564
|
+
content: {}
|
|
16565
|
+
'400':
|
|
16566
|
+
$ref: '#/components/responses/400'
|
|
16567
|
+
'401':
|
|
16568
|
+
$ref: '#/components/responses/401'
|
|
16569
|
+
'403':
|
|
16570
|
+
$ref: '#/components/responses/403'
|
|
16571
|
+
'404':
|
|
16572
|
+
$ref: '#/components/responses/404'
|
|
16573
|
+
'409':
|
|
16574
|
+
$ref: '#/components/responses/409'
|
|
16575
|
+
'500':
|
|
16576
|
+
$ref: '#/components/responses/500'
|
|
16577
|
+
x-codegen-request-body-name: body
|
|
16351
16578
|
/api/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
16352
16579
|
delete:
|
|
16353
16580
|
operationId: deleteMssqlAccount
|
|
@@ -33891,6 +34118,54 @@ components:
|
|
|
33891
34118
|
type: string
|
|
33892
34119
|
format: date-time
|
|
33893
34120
|
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
|
+
MilvusAccountPassword:
|
|
34145
|
+
type: object
|
|
34146
|
+
description: Milvus account password update request.
|
|
34147
|
+
required:
|
|
34148
|
+
- oldPassword
|
|
34149
|
+
- password
|
|
34150
|
+
properties:
|
|
34151
|
+
oldPassword:
|
|
34152
|
+
type: string
|
|
34153
|
+
description: Current account password. Required by Milvus.
|
|
34154
|
+
password:
|
|
34155
|
+
type: string
|
|
34156
|
+
description: New account password.
|
|
34157
|
+
MilvusAccountRoles:
|
|
34158
|
+
type: object
|
|
34159
|
+
description: Milvus account role update request.
|
|
34160
|
+
properties:
|
|
34161
|
+
role:
|
|
34162
|
+
type: string
|
|
34163
|
+
description: Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
34164
|
+
roles:
|
|
34165
|
+
type: array
|
|
34166
|
+
description: Milvus role names to assign to the user. Existing roles are replaced.
|
|
34167
|
+
items:
|
|
34168
|
+
type: string
|
|
33894
34169
|
dbTDERequest:
|
|
33895
34170
|
type: object
|
|
33896
34171
|
properties:
|
|
@@ -34576,6 +34851,38 @@ components:
|
|
|
34576
34851
|
enum:
|
|
34577
34852
|
- encryption
|
|
34578
34853
|
description: The intended usage of the key.
|
|
34854
|
+
keyCluster:
|
|
34855
|
+
description: a cluster which uses the key
|
|
34856
|
+
type: object
|
|
34857
|
+
properties:
|
|
34858
|
+
clusterId:
|
|
34859
|
+
type: string
|
|
34860
|
+
description: the id of the cluster
|
|
34861
|
+
name:
|
|
34862
|
+
type: string
|
|
34863
|
+
description: the name of the cluster
|
|
34864
|
+
clusterDefinition:
|
|
34865
|
+
type: string
|
|
34866
|
+
description: the cluster definition (engine type) of the cluster
|
|
34867
|
+
status:
|
|
34868
|
+
type: string
|
|
34869
|
+
description: the status of the cluster
|
|
34870
|
+
keyBackup:
|
|
34871
|
+
description: a backup which uses the key
|
|
34872
|
+
type: object
|
|
34873
|
+
properties:
|
|
34874
|
+
id:
|
|
34875
|
+
type: string
|
|
34876
|
+
description: the id of the backup
|
|
34877
|
+
engine:
|
|
34878
|
+
type: string
|
|
34879
|
+
description: the engine of the backup
|
|
34880
|
+
name:
|
|
34881
|
+
type: string
|
|
34882
|
+
description: the name of the backup
|
|
34883
|
+
status:
|
|
34884
|
+
type: string
|
|
34885
|
+
description: the status of the backup
|
|
34579
34886
|
key:
|
|
34580
34887
|
description: mutiple kv pair
|
|
34581
34888
|
type: object
|
|
@@ -34593,12 +34900,12 @@ components:
|
|
|
34593
34900
|
clusters:
|
|
34594
34901
|
type: array
|
|
34595
34902
|
items:
|
|
34596
|
-
|
|
34903
|
+
$ref: '#/components/schemas/keyCluster'
|
|
34597
34904
|
description: the clusters which use the key
|
|
34598
34905
|
backups:
|
|
34599
34906
|
type: array
|
|
34600
34907
|
items:
|
|
34601
|
-
|
|
34908
|
+
$ref: '#/components/schemas/keyBackup'
|
|
34602
34909
|
description: the backups which use the key
|
|
34603
34910
|
createdAt:
|
|
34604
34911
|
type: string
|