kb-cloud-client-typescript 2.4.0-alpha.153 → 2.4.0-alpha.155
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/platform-component-api.d.ts +38 -0
- package/dist/adminapi/apis/platform-component-api.d.ts.map +1 -1
- package/dist/adminapi/apis/platform-component-api.js +62 -0
- package/dist/adminapi/apis/platform-component-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +3 -3
- package/dist/adminapi/apis/rdbms-api.js +2 -2
- package/dist/adminapi/apis/session-api.d.ts +3 -3
- package/dist/adminapi/apis/session-api.js +2 -2
- package/dist/adminapi/apis/shared-api.d.ts +3 -3
- package/dist/adminapi/apis/shared-api.js +2 -2
- package/dist/adminapi/models/backup-repo.d.ts +7 -0
- package/dist/adminapi/models/backup-repo.d.ts.map +1 -1
- package/dist/adminapi/models/dms-session.d.ts +2 -2
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/platform-component-node.d.ts +49 -0
- package/dist/adminapi/models/platform-component-node.d.ts.map +1 -0
- package/dist/adminapi/models/platform-component-node.js +16 -0
- package/dist/adminapi/models/platform-component-node.js.map +1 -0
- package/dist/adminapi/models/platform-component-overview.d.ts +53 -0
- package/dist/adminapi/models/platform-component-overview.d.ts.map +1 -0
- package/dist/adminapi/models/platform-component-overview.js +16 -0
- package/dist/adminapi/models/platform-component-overview.js.map +1 -0
- package/dist/adminapi/models/platform-component-pod-stats.d.ts +37 -0
- package/dist/adminapi/models/platform-component-pod-stats.d.ts.map +1 -0
- package/dist/adminapi/models/platform-component-pod-stats.js +16 -0
- package/dist/adminapi/models/platform-component-pod-stats.js.map +1 -0
- package/dist/adminapi/models/storage-provider-schema-props.d.ts +3 -3
- package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
- package/dist/internalapi/models/backup-repo.d.ts +7 -0
- package/dist/internalapi/models/backup-repo.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/storage-display-name.d.ts +31 -0
- package/dist/internalapi/models/storage-display-name.d.ts.map +1 -0
- package/dist/internalapi/models/storage-display-name.js +16 -0
- package/dist/internalapi/models/storage-display-name.js.map +1 -0
- package/dist/openapi/apis/rdbms-api.d.ts +3 -3
- package/dist/openapi/apis/rdbms-api.js +2 -2
- package/dist/openapi/apis/session-api.d.ts +3 -3
- package/dist/openapi/apis/session-api.js +2 -2
- package/dist/openapi/apis/shared-api.d.ts +3 -3
- package/dist/openapi/apis/shared-api.js +2 -2
- package/dist/openapi/models/backup-repo.d.ts +7 -0
- package/dist/openapi/models/backup-repo.d.ts.map +1 -1
- package/dist/openapi/models/dms-session.d.ts +2 -2
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/storage-display-name.d.ts +31 -0
- package/dist/openapi/models/storage-display-name.d.ts.map +1 -0
- package/dist/openapi/models/storage-display-name.js +16 -0
- package/dist/openapi/models/storage-display-name.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/apis/platform-component-api.ts +80 -0
- package/src/adminapi/apis/rdbms-api.ts +3 -3
- package/src/adminapi/apis/session-api.ts +3 -3
- package/src/adminapi/apis/shared-api.ts +3 -3
- package/src/adminapi/models/backup-repo.ts +9 -0
- package/src/adminapi/models/dms-session.ts +2 -2
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi/models/platform-component-node.ts +54 -0
- package/src/adminapi/models/platform-component-overview.ts +66 -0
- package/src/adminapi/models/platform-component-pod-stats.ts +42 -0
- package/src/adminapi/models/storage-provider-schema-props.ts +3 -3
- package/src/adminapi.yaml +91 -13
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/models/backup-repo.ts +9 -0
- package/src/internalapi/models/index.ts +1 -0
- package/src/internalapi/models/storage-display-name.ts +36 -0
- package/src/internalapi.yaml +12 -0
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/rdbms-api.ts +3 -3
- package/src/openapi/apis/session-api.ts +3 -3
- package/src/openapi/apis/shared-api.ts +3 -3
- package/src/openapi/models/backup-repo.ts +9 -0
- package/src/openapi/models/dms-session.ts +2 -2
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/storage-display-name.ts +36 -0
- package/src/openapi.yaml +15 -3
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { PlatformComponentNode } from './platform-component-node';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { PlatformComponentPodStats } from './platform-component-pod-stats';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { ResourceStats } from './resource-stats';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { StorageStats } from './storage-stats';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Central platform resources. CPU is measured in cores; memory and storage in GiB. Missing usage is -1. Storage includes only PVCs referenced by platform component Pods.
|
|
31
|
+
* @export
|
|
32
|
+
* @interface PlatformComponentOverview
|
|
33
|
+
*/
|
|
34
|
+
export interface PlatformComponentOverview {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<PlatformComponentNode>}
|
|
38
|
+
* @memberof PlatformComponentOverview
|
|
39
|
+
*/
|
|
40
|
+
'nodes': Array<PlatformComponentNode>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {ResourceStats}
|
|
44
|
+
* @memberof PlatformComponentOverview
|
|
45
|
+
*/
|
|
46
|
+
'cpuStats': ResourceStats;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {ResourceStats}
|
|
50
|
+
* @memberof PlatformComponentOverview
|
|
51
|
+
*/
|
|
52
|
+
'memoryStats': ResourceStats;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {StorageStats}
|
|
56
|
+
* @memberof PlatformComponentOverview
|
|
57
|
+
*/
|
|
58
|
+
'storageStats': StorageStats;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {PlatformComponentPodStats}
|
|
62
|
+
* @memberof PlatformComponentOverview
|
|
63
|
+
*/
|
|
64
|
+
'podStats': PlatformComponentPodStats;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PlatformComponentPodStats
|
|
21
|
+
*/
|
|
22
|
+
export interface PlatformComponentPodStats {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PlatformComponentPodStats
|
|
27
|
+
*/
|
|
28
|
+
'running': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PlatformComponentPodStats
|
|
33
|
+
*/
|
|
34
|
+
'pending': number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PlatformComponentPodStats
|
|
39
|
+
*/
|
|
40
|
+
'failed': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -24,11 +24,11 @@ import type { LocalizedDescription } from './localized-description';
|
|
|
24
24
|
*/
|
|
25
25
|
export interface StorageProviderSchemaProps {
|
|
26
26
|
/**
|
|
27
|
-
* default value for the parameter
|
|
28
|
-
* @type {
|
|
27
|
+
* default value for the parameter; its JSON type follows the parameter type
|
|
28
|
+
* @type {any}
|
|
29
29
|
* @memberof StorageProviderSchemaProps
|
|
30
30
|
*/
|
|
31
|
-
'default'?:
|
|
31
|
+
'default'?: any;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {LocalizedDescription}
|
package/src/adminapi.yaml
CHANGED
|
@@ -20975,6 +20975,24 @@ paths:
|
|
|
20975
20975
|
$ref: '#/components/responses/403'
|
|
20976
20976
|
tags:
|
|
20977
20977
|
- platformComponent
|
|
20978
|
+
/admin/v1/platformComponents/overview:
|
|
20979
|
+
get:
|
|
20980
|
+
summary: Get platform component nodes and resource statistics
|
|
20981
|
+
description: Get hosting nodes, node CPU and memory usage, component PVC statistics, and component Pod counts in the central Kubernetes cluster. Unavailable resource usage is reported as -1.
|
|
20982
|
+
operationId: getPlatformComponentOverview
|
|
20983
|
+
responses:
|
|
20984
|
+
'200':
|
|
20985
|
+
description: OK
|
|
20986
|
+
content:
|
|
20987
|
+
application/json:
|
|
20988
|
+
schema:
|
|
20989
|
+
$ref: '#/components/schemas/platformComponentOverview'
|
|
20990
|
+
'401':
|
|
20991
|
+
$ref: '#/components/responses/401'
|
|
20992
|
+
'403':
|
|
20993
|
+
$ref: '#/components/responses/403'
|
|
20994
|
+
tags:
|
|
20995
|
+
- platformComponent
|
|
20978
20996
|
/admin/v1/platformComponents/{componentName}:
|
|
20979
20997
|
get:
|
|
20980
20998
|
description: Get platform component detail by name, including monitoring and log query metadata
|
|
@@ -27289,7 +27307,7 @@ paths:
|
|
|
27289
27307
|
required: true
|
|
27290
27308
|
schema:
|
|
27291
27309
|
type: string
|
|
27292
|
-
- description: session id
|
|
27310
|
+
- description: session id; for Redis, use the connection address in host:port form
|
|
27293
27311
|
in: path
|
|
27294
27312
|
name: session
|
|
27295
27313
|
required: true
|
|
@@ -39970,7 +39988,7 @@ components:
|
|
|
39970
39988
|
nullable: true
|
|
39971
39989
|
sessionId:
|
|
39972
39990
|
type: string
|
|
39973
|
-
description: native session ID used by the terminate API
|
|
39991
|
+
description: native session ID used by the terminate API; for Redis this is the connection address in host:port form
|
|
39974
39992
|
nullable: true
|
|
39975
39993
|
user:
|
|
39976
39994
|
type: string
|
|
@@ -40001,7 +40019,7 @@ components:
|
|
|
40001
40019
|
nullable: true
|
|
40002
40020
|
info:
|
|
40003
40021
|
type: string
|
|
40004
|
-
description: additional session information
|
|
40022
|
+
description: additional session information; for Redis this is a JSON object with the full CLIENT LIST entry
|
|
40005
40023
|
nullable: true
|
|
40006
40024
|
ip:
|
|
40007
40025
|
type: string
|
|
@@ -43609,6 +43627,14 @@ components:
|
|
|
43609
43627
|
- Mount
|
|
43610
43628
|
- Tool
|
|
43611
43629
|
type: string
|
|
43630
|
+
storageDisplayName:
|
|
43631
|
+
type: object
|
|
43632
|
+
description: the storage displayName
|
|
43633
|
+
properties:
|
|
43634
|
+
zh:
|
|
43635
|
+
type: string
|
|
43636
|
+
en:
|
|
43637
|
+
type: string
|
|
43612
43638
|
backupRepoCheckStatus:
|
|
43613
43639
|
type: string
|
|
43614
43640
|
enum:
|
|
@@ -43674,6 +43700,10 @@ components:
|
|
|
43674
43700
|
storageProvider:
|
|
43675
43701
|
description: storageProvider specifies the storage provider of the backupRepo
|
|
43676
43702
|
type: string
|
|
43703
|
+
storageProviderDisplayName:
|
|
43704
|
+
description: Localized display name from the storage provider metadata. Omitted when the provider or its display name is unavailable.
|
|
43705
|
+
readOnly: true
|
|
43706
|
+
$ref: '#/components/schemas/storageDisplayName'
|
|
43677
43707
|
totalSize:
|
|
43678
43708
|
description: totalSize specifies the total size of backups in the backupRepo
|
|
43679
43709
|
type: string
|
|
@@ -49002,8 +49032,7 @@ components:
|
|
|
49002
49032
|
description: the schema properties for storage provider parameters
|
|
49003
49033
|
properties:
|
|
49004
49034
|
default:
|
|
49005
|
-
|
|
49006
|
-
description: default value for the parameter
|
|
49035
|
+
description: default value for the parameter; its JSON type follows the parameter type
|
|
49007
49036
|
description:
|
|
49008
49037
|
$ref: '#/components/schemas/localizedDescription'
|
|
49009
49038
|
description: localized description of the parameter
|
|
@@ -49017,14 +49046,6 @@ components:
|
|
|
49017
49046
|
type: boolean
|
|
49018
49047
|
description: whether to hide this parameter from frontend display
|
|
49019
49048
|
default: false
|
|
49020
|
-
storageDisplayName:
|
|
49021
|
-
type: object
|
|
49022
|
-
description: the storage displayName
|
|
49023
|
-
properties:
|
|
49024
|
-
zh:
|
|
49025
|
-
type: string
|
|
49026
|
-
en:
|
|
49027
|
-
type: string
|
|
49028
49049
|
storageProvider:
|
|
49029
49050
|
type: object
|
|
49030
49051
|
description: Storage Provider comprises specifications that provide guidance accessing remote storage.
|
|
@@ -50345,6 +50366,63 @@ components:
|
|
|
50345
50366
|
items:
|
|
50346
50367
|
$ref: '#/components/schemas/platformComponent'
|
|
50347
50368
|
description: List of platform components
|
|
50369
|
+
platformComponentNode:
|
|
50370
|
+
type: object
|
|
50371
|
+
properties:
|
|
50372
|
+
name:
|
|
50373
|
+
type: string
|
|
50374
|
+
ip:
|
|
50375
|
+
type: string
|
|
50376
|
+
description: Internal node IP, falling back to external IP
|
|
50377
|
+
role:
|
|
50378
|
+
type: string
|
|
50379
|
+
description: Kubernetes node role, control-plane or worker
|
|
50380
|
+
status:
|
|
50381
|
+
type: string
|
|
50382
|
+
description: Ready when the NodeReady condition is True, otherwise NotReady
|
|
50383
|
+
components:
|
|
50384
|
+
type: array
|
|
50385
|
+
items:
|
|
50386
|
+
type: string
|
|
50387
|
+
description: Names of platform components with Pods assigned to this node
|
|
50388
|
+
platformComponentPodStats:
|
|
50389
|
+
type: object
|
|
50390
|
+
properties:
|
|
50391
|
+
running:
|
|
50392
|
+
type: integer
|
|
50393
|
+
format: int64
|
|
50394
|
+
pending:
|
|
50395
|
+
type: integer
|
|
50396
|
+
format: int64
|
|
50397
|
+
failed:
|
|
50398
|
+
type: integer
|
|
50399
|
+
format: int64
|
|
50400
|
+
required:
|
|
50401
|
+
- running
|
|
50402
|
+
- pending
|
|
50403
|
+
- failed
|
|
50404
|
+
platformComponentOverview:
|
|
50405
|
+
type: object
|
|
50406
|
+
description: Central platform resources. CPU is measured in cores; memory and storage in GiB. Missing usage is -1. Storage includes only PVCs referenced by platform component Pods.
|
|
50407
|
+
properties:
|
|
50408
|
+
nodes:
|
|
50409
|
+
type: array
|
|
50410
|
+
items:
|
|
50411
|
+
$ref: '#/components/schemas/platformComponentNode'
|
|
50412
|
+
cpuStats:
|
|
50413
|
+
$ref: '#/components/schemas/resourceStats'
|
|
50414
|
+
memoryStats:
|
|
50415
|
+
$ref: '#/components/schemas/resourceStats'
|
|
50416
|
+
storageStats:
|
|
50417
|
+
$ref: '#/components/schemas/storageStats'
|
|
50418
|
+
podStats:
|
|
50419
|
+
$ref: '#/components/schemas/platformComponentPodStats'
|
|
50420
|
+
required:
|
|
50421
|
+
- nodes
|
|
50422
|
+
- cpuStats
|
|
50423
|
+
- memoryStats
|
|
50424
|
+
- storageStats
|
|
50425
|
+
- podStats
|
|
50348
50426
|
platformComponentPod:
|
|
50349
50427
|
type: object
|
|
50350
50428
|
description: Pod summary for platform component detail
|
|
@@ -19,6 +19,9 @@ import type { BackupRepoAccessMethod } from './backup-repo-access-method';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { BackupRepoCheckResult } from './backup-repo-check-result';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { StorageDisplayName } from './storage-display-name';
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
* backupRepo is the payload for KubeBlocks cluster backup repo
|
|
@@ -104,6 +107,12 @@ export interface BackupRepo {
|
|
|
104
107
|
* @memberof BackupRepo
|
|
105
108
|
*/
|
|
106
109
|
'storageProvider': string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {StorageDisplayName}
|
|
113
|
+
* @memberof BackupRepo
|
|
114
|
+
*/
|
|
115
|
+
'storageProviderDisplayName'?: StorageDisplayName;
|
|
107
116
|
/**
|
|
108
117
|
* totalSize specifies the total size of backups in the backupRepo
|
|
109
118
|
* @type {string}
|
|
@@ -71,6 +71,7 @@ export * from './static-cluster';
|
|
|
71
71
|
export * from './static-cluster-component';
|
|
72
72
|
export * from './storage';
|
|
73
73
|
export * from './storage-create';
|
|
74
|
+
export * from './storage-display-name';
|
|
74
75
|
export * from './tag';
|
|
75
76
|
export * from './task-schedule';
|
|
76
77
|
export * from './task-schedule-type';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
* the storage displayName
|
|
19
|
+
* @export
|
|
20
|
+
* @interface StorageDisplayName
|
|
21
|
+
*/
|
|
22
|
+
export interface StorageDisplayName {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof StorageDisplayName
|
|
27
|
+
*/
|
|
28
|
+
'zh'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof StorageDisplayName
|
|
33
|
+
*/
|
|
34
|
+
'en'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
package/src/internalapi.yaml
CHANGED
|
@@ -1312,6 +1312,14 @@ components:
|
|
|
1312
1312
|
- name
|
|
1313
1313
|
- storageID
|
|
1314
1314
|
type: object
|
|
1315
|
+
storageDisplayName:
|
|
1316
|
+
type: object
|
|
1317
|
+
description: the storage displayName
|
|
1318
|
+
properties:
|
|
1319
|
+
zh:
|
|
1320
|
+
type: string
|
|
1321
|
+
en:
|
|
1322
|
+
type: string
|
|
1315
1323
|
backupRepoCheckStatus:
|
|
1316
1324
|
type: string
|
|
1317
1325
|
enum:
|
|
@@ -1377,6 +1385,10 @@ components:
|
|
|
1377
1385
|
storageProvider:
|
|
1378
1386
|
description: storageProvider specifies the storage provider of the backupRepo
|
|
1379
1387
|
type: string
|
|
1388
|
+
storageProviderDisplayName:
|
|
1389
|
+
description: Localized display name from the storage provider metadata. Omitted when the provider or its display name is unavailable.
|
|
1390
|
+
readOnly: true
|
|
1391
|
+
$ref: '#/components/schemas/storageDisplayName'
|
|
1380
1392
|
totalSize:
|
|
1381
1393
|
description: totalSize specifies the total size of backups in the backupRepo
|
|
1382
1394
|
type: string
|
|
@@ -1106,6 +1106,7 @@ models/standard-definition.ts
|
|
|
1106
1106
|
models/standard-resource.ts
|
|
1107
1107
|
models/storage-class-info.ts
|
|
1108
1108
|
models/storage-class-list.ts
|
|
1109
|
+
models/storage-display-name.ts
|
|
1109
1110
|
models/storage-option.ts
|
|
1110
1111
|
models/storage.ts
|
|
1111
1112
|
models/sysbench-test-type.ts
|
|
@@ -918,7 +918,7 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
918
918
|
* @param {string} engineName name of the engine
|
|
919
919
|
* @param {string} orgName name of the Org
|
|
920
920
|
* @param {string} clusterName name of the Cluster
|
|
921
|
-
* @param {string} session session id
|
|
921
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
922
922
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
923
923
|
* @param {*} [options] Override http request option.
|
|
924
924
|
* @throws {RequiredError}
|
|
@@ -2094,7 +2094,7 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
2094
2094
|
* @param {string} engineName name of the engine
|
|
2095
2095
|
* @param {string} orgName name of the Org
|
|
2096
2096
|
* @param {string} clusterName name of the Cluster
|
|
2097
|
-
* @param {string} session session id
|
|
2097
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
2098
2098
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
2099
2099
|
* @param {*} [options] Override http request option.
|
|
2100
2100
|
* @throws {RequiredError}
|
|
@@ -3601,7 +3601,7 @@ export interface RdbmsApiKillSessionRequest {
|
|
|
3601
3601
|
readonly clusterName: string
|
|
3602
3602
|
|
|
3603
3603
|
/**
|
|
3604
|
-
* session id
|
|
3604
|
+
* session id; for Redis, use the connection address in host:port form
|
|
3605
3605
|
* @type {string}
|
|
3606
3606
|
* @memberof RdbmsApiKillSession
|
|
3607
3607
|
*/
|
|
@@ -37,7 +37,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
37
37
|
* @param {string} engineName name of the engine
|
|
38
38
|
* @param {string} orgName name of the Org
|
|
39
39
|
* @param {string} clusterName name of the Cluster
|
|
40
|
-
* @param {string} session session id
|
|
40
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
41
41
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
@@ -159,7 +159,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
159
159
|
* @param {string} engineName name of the engine
|
|
160
160
|
* @param {string} orgName name of the Org
|
|
161
161
|
* @param {string} clusterName name of the Cluster
|
|
162
|
-
* @param {string} session session id
|
|
162
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
163
163
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
165
165
|
* @throws {RequiredError}
|
|
@@ -275,7 +275,7 @@ export interface SessionApiKillSessionRequest {
|
|
|
275
275
|
readonly clusterName: string
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
|
-
* session id
|
|
278
|
+
* session id; for Redis, use the connection address in host:port form
|
|
279
279
|
* @type {string}
|
|
280
280
|
* @memberof SessionApiKillSession
|
|
281
281
|
*/
|
|
@@ -10801,7 +10801,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10801
10801
|
* @param {string} engineName name of the engine
|
|
10802
10802
|
* @param {string} orgName name of the Org
|
|
10803
10803
|
* @param {string} clusterName name of the Cluster
|
|
10804
|
-
* @param {string} session session id
|
|
10804
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
10805
10805
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
10806
10806
|
* @param {*} [options] Override http request option.
|
|
10807
10807
|
* @throws {RequiredError}
|
|
@@ -24165,7 +24165,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24165
24165
|
* @param {string} engineName name of the engine
|
|
24166
24166
|
* @param {string} orgName name of the Org
|
|
24167
24167
|
* @param {string} clusterName name of the Cluster
|
|
24168
|
-
* @param {string} session session id
|
|
24168
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
24169
24169
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
24170
24170
|
* @param {*} [options] Override http request option.
|
|
24171
24171
|
* @throws {RequiredError}
|
|
@@ -41044,7 +41044,7 @@ export interface SharedApiKillSessionRequest {
|
|
|
41044
41044
|
readonly clusterName: string
|
|
41045
41045
|
|
|
41046
41046
|
/**
|
|
41047
|
-
* session id
|
|
41047
|
+
* session id; for Redis, use the connection address in host:port form
|
|
41048
41048
|
* @type {string}
|
|
41049
41049
|
* @memberof SharedApiKillSession
|
|
41050
41050
|
*/
|
|
@@ -19,6 +19,9 @@ import type { BackupRepoAccessMethod } from './backup-repo-access-method';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { BackupRepoCheckResult } from './backup-repo-check-result';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { StorageDisplayName } from './storage-display-name';
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
* backupRepo is the payload for KubeBlocks cluster backup repo
|
|
@@ -104,6 +107,12 @@ export interface BackupRepo {
|
|
|
104
107
|
* @memberof BackupRepo
|
|
105
108
|
*/
|
|
106
109
|
'storageProvider': string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {StorageDisplayName}
|
|
113
|
+
* @memberof BackupRepo
|
|
114
|
+
*/
|
|
115
|
+
'storageProviderDisplayName'?: StorageDisplayName;
|
|
107
116
|
/**
|
|
108
117
|
* totalSize specifies the total size of backups in the backupRepo
|
|
109
118
|
* @type {string}
|
|
@@ -27,7 +27,7 @@ export interface DmsSession {
|
|
|
27
27
|
*/
|
|
28
28
|
'id'?: number | null;
|
|
29
29
|
/**
|
|
30
|
-
* native session ID used by the terminate API
|
|
30
|
+
* native session ID used by the terminate API; for Redis this is the connection address in host:port form
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof DmsSession
|
|
33
33
|
*/
|
|
@@ -75,7 +75,7 @@ export interface DmsSession {
|
|
|
75
75
|
*/
|
|
76
76
|
'state'?: string | null;
|
|
77
77
|
/**
|
|
78
|
-
* additional session information
|
|
78
|
+
* additional session information; for Redis this is a JSON object with the full CLIENT LIST entry
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof DmsSession
|
|
81
81
|
*/
|
|
@@ -1009,6 +1009,7 @@ export * from './standard-resource';
|
|
|
1009
1009
|
export * from './storage';
|
|
1010
1010
|
export * from './storage-class-info';
|
|
1011
1011
|
export * from './storage-class-list';
|
|
1012
|
+
export * from './storage-display-name';
|
|
1012
1013
|
export * from './storage-option';
|
|
1013
1014
|
export * from './sysbench';
|
|
1014
1015
|
export * from './sysbench-test-type';
|
|
@@ -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
|
+
* the storage displayName
|
|
19
|
+
* @export
|
|
20
|
+
* @interface StorageDisplayName
|
|
21
|
+
*/
|
|
22
|
+
export interface StorageDisplayName {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof StorageDisplayName
|
|
27
|
+
*/
|
|
28
|
+
'zh'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof StorageDisplayName
|
|
33
|
+
*/
|
|
34
|
+
'en'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -23101,7 +23101,7 @@ paths:
|
|
|
23101
23101
|
required: true
|
|
23102
23102
|
schema:
|
|
23103
23103
|
type: string
|
|
23104
|
-
- description: session id
|
|
23104
|
+
- description: session id; for Redis, use the connection address in host:port form
|
|
23105
23105
|
in: path
|
|
23106
23106
|
name: session
|
|
23107
23107
|
required: true
|
|
@@ -37635,6 +37635,14 @@ components:
|
|
|
37635
37635
|
- Mount
|
|
37636
37636
|
- Tool
|
|
37637
37637
|
type: string
|
|
37638
|
+
storageDisplayName:
|
|
37639
|
+
type: object
|
|
37640
|
+
description: the storage displayName
|
|
37641
|
+
properties:
|
|
37642
|
+
zh:
|
|
37643
|
+
type: string
|
|
37644
|
+
en:
|
|
37645
|
+
type: string
|
|
37638
37646
|
backupRepoCheckStatus:
|
|
37639
37647
|
type: string
|
|
37640
37648
|
enum:
|
|
@@ -37700,6 +37708,10 @@ components:
|
|
|
37700
37708
|
storageProvider:
|
|
37701
37709
|
description: storageProvider specifies the storage provider of the backupRepo
|
|
37702
37710
|
type: string
|
|
37711
|
+
storageProviderDisplayName:
|
|
37712
|
+
description: Localized display name from the storage provider metadata. Omitted when the provider or its display name is unavailable.
|
|
37713
|
+
readOnly: true
|
|
37714
|
+
$ref: '#/components/schemas/storageDisplayName'
|
|
37703
37715
|
totalSize:
|
|
37704
37716
|
description: totalSize specifies the total size of backups in the backupRepo
|
|
37705
37717
|
type: string
|
|
@@ -43626,7 +43638,7 @@ components:
|
|
|
43626
43638
|
nullable: true
|
|
43627
43639
|
sessionId:
|
|
43628
43640
|
type: string
|
|
43629
|
-
description: native session ID used by the terminate API
|
|
43641
|
+
description: native session ID used by the terminate API; for Redis this is the connection address in host:port form
|
|
43630
43642
|
nullable: true
|
|
43631
43643
|
user:
|
|
43632
43644
|
type: string
|
|
@@ -43657,7 +43669,7 @@ components:
|
|
|
43657
43669
|
nullable: true
|
|
43658
43670
|
info:
|
|
43659
43671
|
type: string
|
|
43660
|
-
description: additional session information
|
|
43672
|
+
description: additional session information; for Redis this is a JSON object with the full CLIENT LIST entry
|
|
43661
43673
|
nullable: true
|
|
43662
43674
|
ip:
|
|
43663
43675
|
type: string
|