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
|
@@ -495,6 +495,8 @@ export * from './ip-pool-selection-requirement';
|
|
|
495
495
|
export * from './ip-whitelist';
|
|
496
496
|
export * from './ip-whitelist-list';
|
|
497
497
|
export * from './key';
|
|
498
|
+
export * from './key-backup';
|
|
499
|
+
export * from './key-cluster';
|
|
498
500
|
export * from './key-list';
|
|
499
501
|
export * from './koordinator-node-reservation';
|
|
500
502
|
export * from './koordinator-reservation-allocate-policy';
|
|
@@ -526,6 +528,9 @@ export * from './metering-track-list';
|
|
|
526
528
|
export * from './metrics-option';
|
|
527
529
|
export * from './metrics-option-query';
|
|
528
530
|
export * from './metrics-query-type';
|
|
531
|
+
export * from './milvus-account';
|
|
532
|
+
export * from './milvus-account-password';
|
|
533
|
+
export * from './milvus-account-roles';
|
|
529
534
|
export * from './mode-compatible-kubeblocks-version';
|
|
530
535
|
export * from './mode-component';
|
|
531
536
|
export * from './mode-object-storage';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 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}
|
|
@@ -60,7 +60,7 @@ export interface License {
|
|
|
60
60
|
*/
|
|
61
61
|
'engines': Array<EngineQuota>;
|
|
62
62
|
/**
|
|
63
|
-
* The licensed enterprise features. An empty list means all features are unrestricted for backward compatibility.
|
|
63
|
+
* The licensed enterprise features. An empty list means all features are unrestricted for backward compatibility; a list containing `none` disables every enterprise feature.
|
|
64
64
|
* @type {Array<string>}
|
|
65
65
|
* @memberof License
|
|
66
66
|
*/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 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/adminapi.yaml
CHANGED
|
@@ -21836,6 +21836,233 @@ paths:
|
|
|
21836
21836
|
- account
|
|
21837
21837
|
- mongodb
|
|
21838
21838
|
- shared
|
|
21839
|
+
/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
21840
|
+
get:
|
|
21841
|
+
summary: List Milvus accounts
|
|
21842
|
+
description: List Milvus accounts.
|
|
21843
|
+
operationId: listMilvusAccounts
|
|
21844
|
+
parameters:
|
|
21845
|
+
- description: name of the Org
|
|
21846
|
+
in: path
|
|
21847
|
+
name: orgName
|
|
21848
|
+
required: true
|
|
21849
|
+
schema:
|
|
21850
|
+
type: string
|
|
21851
|
+
- description: name of the Cluster
|
|
21852
|
+
in: path
|
|
21853
|
+
name: clusterName
|
|
21854
|
+
required: true
|
|
21855
|
+
schema:
|
|
21856
|
+
type: string
|
|
21857
|
+
tags:
|
|
21858
|
+
- account
|
|
21859
|
+
- milvus
|
|
21860
|
+
- shared
|
|
21861
|
+
responses:
|
|
21862
|
+
'200':
|
|
21863
|
+
description: A successful response.
|
|
21864
|
+
content:
|
|
21865
|
+
application/json:
|
|
21866
|
+
schema:
|
|
21867
|
+
$ref: '#/components/schemas/accountList'
|
|
21868
|
+
'400':
|
|
21869
|
+
$ref: '#/components/responses/400'
|
|
21870
|
+
'401':
|
|
21871
|
+
$ref: '#/components/responses/401'
|
|
21872
|
+
'403':
|
|
21873
|
+
$ref: '#/components/responses/403'
|
|
21874
|
+
'404':
|
|
21875
|
+
$ref: '#/components/responses/404'
|
|
21876
|
+
'500':
|
|
21877
|
+
$ref: '#/components/responses/500'
|
|
21878
|
+
post:
|
|
21879
|
+
summary: Create Milvus account
|
|
21880
|
+
description: Create a Milvus account.
|
|
21881
|
+
operationId: createMilvusAccount
|
|
21882
|
+
parameters:
|
|
21883
|
+
- description: name of the Org
|
|
21884
|
+
in: path
|
|
21885
|
+
name: orgName
|
|
21886
|
+
required: true
|
|
21887
|
+
schema:
|
|
21888
|
+
type: string
|
|
21889
|
+
- description: name of the Cluster
|
|
21890
|
+
in: path
|
|
21891
|
+
name: clusterName
|
|
21892
|
+
required: true
|
|
21893
|
+
schema:
|
|
21894
|
+
type: string
|
|
21895
|
+
tags:
|
|
21896
|
+
- account
|
|
21897
|
+
- milvus
|
|
21898
|
+
- shared
|
|
21899
|
+
requestBody:
|
|
21900
|
+
required: true
|
|
21901
|
+
content:
|
|
21902
|
+
application/json:
|
|
21903
|
+
schema:
|
|
21904
|
+
$ref: '#/components/schemas/MilvusAccount'
|
|
21905
|
+
responses:
|
|
21906
|
+
'201':
|
|
21907
|
+
description: A successful response.
|
|
21908
|
+
content:
|
|
21909
|
+
application/json:
|
|
21910
|
+
schema:
|
|
21911
|
+
$ref: '#/components/schemas/accountListItem'
|
|
21912
|
+
'400':
|
|
21913
|
+
$ref: '#/components/responses/400'
|
|
21914
|
+
'401':
|
|
21915
|
+
$ref: '#/components/responses/401'
|
|
21916
|
+
'403':
|
|
21917
|
+
$ref: '#/components/responses/403'
|
|
21918
|
+
'404':
|
|
21919
|
+
$ref: '#/components/responses/404'
|
|
21920
|
+
'409':
|
|
21921
|
+
$ref: '#/components/responses/409'
|
|
21922
|
+
'500':
|
|
21923
|
+
$ref: '#/components/responses/500'
|
|
21924
|
+
x-codegen-request-body-name: body
|
|
21925
|
+
/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
|
|
21926
|
+
delete:
|
|
21927
|
+
summary: Delete Milvus account
|
|
21928
|
+
description: Delete a Milvus account.
|
|
21929
|
+
operationId: deleteMilvusAccount
|
|
21930
|
+
parameters:
|
|
21931
|
+
- description: name of the Org
|
|
21932
|
+
in: path
|
|
21933
|
+
name: orgName
|
|
21934
|
+
required: true
|
|
21935
|
+
schema:
|
|
21936
|
+
type: string
|
|
21937
|
+
- description: name of the Cluster
|
|
21938
|
+
in: path
|
|
21939
|
+
name: clusterName
|
|
21940
|
+
required: true
|
|
21941
|
+
schema:
|
|
21942
|
+
type: string
|
|
21943
|
+
- description: name of the Account
|
|
21944
|
+
in: path
|
|
21945
|
+
name: accountName
|
|
21946
|
+
required: true
|
|
21947
|
+
schema:
|
|
21948
|
+
type: string
|
|
21949
|
+
tags:
|
|
21950
|
+
- account
|
|
21951
|
+
- milvus
|
|
21952
|
+
- shared
|
|
21953
|
+
responses:
|
|
21954
|
+
'204':
|
|
21955
|
+
description: A successful response.
|
|
21956
|
+
content: {}
|
|
21957
|
+
'400':
|
|
21958
|
+
$ref: '#/components/responses/400'
|
|
21959
|
+
'401':
|
|
21960
|
+
$ref: '#/components/responses/401'
|
|
21961
|
+
'403':
|
|
21962
|
+
$ref: '#/components/responses/403'
|
|
21963
|
+
'404':
|
|
21964
|
+
$ref: '#/components/responses/404'
|
|
21965
|
+
'500':
|
|
21966
|
+
$ref: '#/components/responses/500'
|
|
21967
|
+
patch:
|
|
21968
|
+
summary: Update Milvus account password
|
|
21969
|
+
description: Update a Milvus account password.
|
|
21970
|
+
operationId: updateMilvusAccountPassword
|
|
21971
|
+
parameters:
|
|
21972
|
+
- description: name of the Org
|
|
21973
|
+
in: path
|
|
21974
|
+
name: orgName
|
|
21975
|
+
required: true
|
|
21976
|
+
schema:
|
|
21977
|
+
type: string
|
|
21978
|
+
- description: name of the Cluster
|
|
21979
|
+
in: path
|
|
21980
|
+
name: clusterName
|
|
21981
|
+
required: true
|
|
21982
|
+
schema:
|
|
21983
|
+
type: string
|
|
21984
|
+
- description: name of the Account
|
|
21985
|
+
in: path
|
|
21986
|
+
name: accountName
|
|
21987
|
+
required: true
|
|
21988
|
+
schema:
|
|
21989
|
+
type: string
|
|
21990
|
+
tags:
|
|
21991
|
+
- account
|
|
21992
|
+
- milvus
|
|
21993
|
+
- shared
|
|
21994
|
+
requestBody:
|
|
21995
|
+
required: true
|
|
21996
|
+
content:
|
|
21997
|
+
application/json:
|
|
21998
|
+
schema:
|
|
21999
|
+
$ref: '#/components/schemas/MilvusAccountPassword'
|
|
22000
|
+
responses:
|
|
22001
|
+
'204':
|
|
22002
|
+
description: A successful response.
|
|
22003
|
+
content: {}
|
|
22004
|
+
'400':
|
|
22005
|
+
$ref: '#/components/responses/400'
|
|
22006
|
+
'401':
|
|
22007
|
+
$ref: '#/components/responses/401'
|
|
22008
|
+
'403':
|
|
22009
|
+
$ref: '#/components/responses/403'
|
|
22010
|
+
'404':
|
|
22011
|
+
$ref: '#/components/responses/404'
|
|
22012
|
+
'500':
|
|
22013
|
+
$ref: '#/components/responses/500'
|
|
22014
|
+
x-codegen-request-body-name: body
|
|
22015
|
+
/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles:
|
|
22016
|
+
put:
|
|
22017
|
+
summary: Update Milvus account roles
|
|
22018
|
+
description: Replace a Milvus account's role assignments.
|
|
22019
|
+
operationId: updateMilvusAccountRoles
|
|
22020
|
+
parameters:
|
|
22021
|
+
- description: name of the Org
|
|
22022
|
+
in: path
|
|
22023
|
+
name: orgName
|
|
22024
|
+
required: true
|
|
22025
|
+
schema:
|
|
22026
|
+
type: string
|
|
22027
|
+
- description: name of the Cluster
|
|
22028
|
+
in: path
|
|
22029
|
+
name: clusterName
|
|
22030
|
+
required: true
|
|
22031
|
+
schema:
|
|
22032
|
+
type: string
|
|
22033
|
+
- description: name of the Account
|
|
22034
|
+
in: path
|
|
22035
|
+
name: accountName
|
|
22036
|
+
required: true
|
|
22037
|
+
schema:
|
|
22038
|
+
type: string
|
|
22039
|
+
tags:
|
|
22040
|
+
- account
|
|
22041
|
+
- milvus
|
|
22042
|
+
- shared
|
|
22043
|
+
requestBody:
|
|
22044
|
+
required: true
|
|
22045
|
+
content:
|
|
22046
|
+
application/json:
|
|
22047
|
+
schema:
|
|
22048
|
+
$ref: '#/components/schemas/MilvusAccountRoles'
|
|
22049
|
+
responses:
|
|
22050
|
+
'204':
|
|
22051
|
+
description: A successful response.
|
|
22052
|
+
content: {}
|
|
22053
|
+
'400':
|
|
22054
|
+
$ref: '#/components/responses/400'
|
|
22055
|
+
'401':
|
|
22056
|
+
$ref: '#/components/responses/401'
|
|
22057
|
+
'403':
|
|
22058
|
+
$ref: '#/components/responses/403'
|
|
22059
|
+
'404':
|
|
22060
|
+
$ref: '#/components/responses/404'
|
|
22061
|
+
'409':
|
|
22062
|
+
$ref: '#/components/responses/409'
|
|
22063
|
+
'500':
|
|
22064
|
+
$ref: '#/components/responses/500'
|
|
22065
|
+
x-codegen-request-body-name: body
|
|
21839
22066
|
/admin/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
21840
22067
|
delete:
|
|
21841
22068
|
operationId: deleteMssqlAccount
|
|
@@ -36229,7 +36456,7 @@ components:
|
|
|
36229
36456
|
$ref: '#/components/schemas/engineQuota'
|
|
36230
36457
|
features:
|
|
36231
36458
|
type: array
|
|
36232
|
-
description: The licensed enterprise features. An empty list means all features are unrestricted for backward compatibility.
|
|
36459
|
+
description: The licensed enterprise features. An empty list means all features are unrestricted for backward compatibility; a list containing `none` disables every enterprise feature.
|
|
36233
36460
|
items:
|
|
36234
36461
|
type: string
|
|
36235
36462
|
notAfter:
|
|
@@ -41287,6 +41514,54 @@ components:
|
|
|
41287
41514
|
autoCommit:
|
|
41288
41515
|
type: string
|
|
41289
41516
|
description: Auto-commit status.
|
|
41517
|
+
MilvusAccount:
|
|
41518
|
+
type: object
|
|
41519
|
+
description: Milvus account creation request.
|
|
41520
|
+
required:
|
|
41521
|
+
- password
|
|
41522
|
+
properties:
|
|
41523
|
+
name:
|
|
41524
|
+
type: string
|
|
41525
|
+
description: Account name. Kept for compatibility with the generic account model.
|
|
41526
|
+
username:
|
|
41527
|
+
type: string
|
|
41528
|
+
description: Milvus username. When omitted, name is used.
|
|
41529
|
+
password:
|
|
41530
|
+
type: string
|
|
41531
|
+
description: Account password.
|
|
41532
|
+
role:
|
|
41533
|
+
type: string
|
|
41534
|
+
description: Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
41535
|
+
roles:
|
|
41536
|
+
type: array
|
|
41537
|
+
description: Milvus role names to assign to the user.
|
|
41538
|
+
items:
|
|
41539
|
+
type: string
|
|
41540
|
+
MilvusAccountPassword:
|
|
41541
|
+
type: object
|
|
41542
|
+
description: Milvus account password update request.
|
|
41543
|
+
required:
|
|
41544
|
+
- oldPassword
|
|
41545
|
+
- password
|
|
41546
|
+
properties:
|
|
41547
|
+
oldPassword:
|
|
41548
|
+
type: string
|
|
41549
|
+
description: Current account password. Required by Milvus.
|
|
41550
|
+
password:
|
|
41551
|
+
type: string
|
|
41552
|
+
description: New account password.
|
|
41553
|
+
MilvusAccountRoles:
|
|
41554
|
+
type: object
|
|
41555
|
+
description: Milvus account role update request.
|
|
41556
|
+
properties:
|
|
41557
|
+
role:
|
|
41558
|
+
type: string
|
|
41559
|
+
description: Generic account role. SUPERUSER maps to the Milvus admin role.
|
|
41560
|
+
roles:
|
|
41561
|
+
type: array
|
|
41562
|
+
description: Milvus role names to assign to the user. Existing roles are replaced.
|
|
41563
|
+
items:
|
|
41564
|
+
type: string
|
|
41290
41565
|
dbTDERequest:
|
|
41291
41566
|
type: object
|
|
41292
41567
|
properties:
|
|
@@ -41402,6 +41677,38 @@ components:
|
|
|
41402
41677
|
enum:
|
|
41403
41678
|
- encryption
|
|
41404
41679
|
description: The intended usage of the key.
|
|
41680
|
+
keyCluster:
|
|
41681
|
+
description: a cluster which uses the key
|
|
41682
|
+
type: object
|
|
41683
|
+
properties:
|
|
41684
|
+
clusterId:
|
|
41685
|
+
type: string
|
|
41686
|
+
description: the id of the cluster
|
|
41687
|
+
name:
|
|
41688
|
+
type: string
|
|
41689
|
+
description: the name of the cluster
|
|
41690
|
+
clusterDefinition:
|
|
41691
|
+
type: string
|
|
41692
|
+
description: the cluster definition (engine type) of the cluster
|
|
41693
|
+
status:
|
|
41694
|
+
type: string
|
|
41695
|
+
description: the status of the cluster
|
|
41696
|
+
keyBackup:
|
|
41697
|
+
description: a backup which uses the key
|
|
41698
|
+
type: object
|
|
41699
|
+
properties:
|
|
41700
|
+
id:
|
|
41701
|
+
type: string
|
|
41702
|
+
description: the id of the backup
|
|
41703
|
+
engine:
|
|
41704
|
+
type: string
|
|
41705
|
+
description: the engine of the backup
|
|
41706
|
+
name:
|
|
41707
|
+
type: string
|
|
41708
|
+
description: the name of the backup
|
|
41709
|
+
status:
|
|
41710
|
+
type: string
|
|
41711
|
+
description: the status of the backup
|
|
41405
41712
|
key:
|
|
41406
41713
|
description: mutiple kv pair
|
|
41407
41714
|
type: object
|
|
@@ -41419,12 +41726,12 @@ components:
|
|
|
41419
41726
|
clusters:
|
|
41420
41727
|
type: array
|
|
41421
41728
|
items:
|
|
41422
|
-
|
|
41729
|
+
$ref: '#/components/schemas/keyCluster'
|
|
41423
41730
|
description: the clusters which use the key
|
|
41424
41731
|
backups:
|
|
41425
41732
|
type: array
|
|
41426
41733
|
items:
|
|
41427
|
-
|
|
41734
|
+
$ref: '#/components/schemas/keyBackup'
|
|
41428
41735
|
description: the backups which use the key
|
|
41429
41736
|
createdAt:
|
|
41430
41737
|
type: string
|
|
@@ -50,6 +50,7 @@ apis/load-balancer-api.ts
|
|
|
50
50
|
apis/mark-cluster-api.ts
|
|
51
51
|
apis/member-api.ts
|
|
52
52
|
apis/metering-api.ts
|
|
53
|
+
apis/milvus-api.ts
|
|
53
54
|
apis/mongodb-api.ts
|
|
54
55
|
apis/mssql-api.ts
|
|
55
56
|
apis/oceanbase-api.ts
|
|
@@ -546,6 +547,8 @@ models/ip-pool-selection.ts
|
|
|
546
547
|
models/ip-pool.ts
|
|
547
548
|
models/ip-whitelist-list.ts
|
|
548
549
|
models/ip-whitelist.ts
|
|
550
|
+
models/key-backup.ts
|
|
551
|
+
models/key-cluster.ts
|
|
549
552
|
models/key-list.ts
|
|
550
553
|
models/key.ts
|
|
551
554
|
models/koordinator-node-reservation.ts
|
|
@@ -572,6 +575,9 @@ models/metering-track.ts
|
|
|
572
575
|
models/metrics-option-query.ts
|
|
573
576
|
models/metrics-option.ts
|
|
574
577
|
models/metrics-query-type.ts
|
|
578
|
+
models/milvus-account-password.ts
|
|
579
|
+
models/milvus-account-roles.ts
|
|
580
|
+
models/milvus-account.ts
|
|
575
581
|
models/mode-compatible-kubeblocks-version.ts
|
|
576
582
|
models/mode-component.ts
|
|
577
583
|
models/mode-object-storage-additional-helm-value-path.ts
|
package/src/openapi/api.ts
CHANGED
|
@@ -62,6 +62,7 @@ export * from './apis/load-balancer-api';
|
|
|
62
62
|
export * from './apis/mark-cluster-api';
|
|
63
63
|
export * from './apis/member-api';
|
|
64
64
|
export * from './apis/metering-api';
|
|
65
|
+
export * from './apis/milvus-api';
|
|
65
66
|
export * from './apis/mongodb-api';
|
|
66
67
|
export * from './apis/mssql-api';
|
|
67
68
|
export * from './apis/oceanbase-api';
|