kb-cloud-client-typescript 2.3.72 → 2.3.74
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/environment-api.d.ts +5 -5
- package/dist/adminapi/apis/environment-api.js +4 -4
- package/dist/adminapi/apis/vip-pool-api.d.ts +65 -0
- package/dist/adminapi/apis/vip-pool-api.d.ts.map +1 -1
- package/dist/adminapi/apis/vip-pool-api.js +75 -0
- package/dist/adminapi/apis/vip-pool-api.js.map +1 -1
- package/dist/adminapi/models/environment-module-action.d.ts +2 -1
- package/dist/adminapi/models/environment-module-action.d.ts.map +1 -1
- package/dist/adminapi/models/environment-module-action.js +3 -2
- package/dist/adminapi/models/environment-module-action.js.map +1 -1
- package/dist/adminapi/models/environment-module-status.d.ts +2 -0
- package/dist/adminapi/models/environment-module-status.d.ts.map +1 -1
- package/dist/adminapi/models/environment-module-status.js +2 -0
- package/dist/adminapi/models/environment-module-status.js.map +1 -1
- package/dist/adminapi/models/environment-module-update.d.ts +1 -1
- package/dist/adminapi/models/environment-module.d.ts +12 -0
- package/dist/adminapi/models/environment-module.d.ts.map +1 -1
- 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/vip-port-check-request.d.ts +31 -0
- package/dist/adminapi/models/vip-port-check-request.d.ts.map +1 -0
- package/dist/adminapi/models/vip-port-check-request.js +16 -0
- package/dist/adminapi/models/vip-port-check-request.js.map +1 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
- package/dist/adminapi/models/vip-port-check-result.d.ts +38 -0
- package/dist/adminapi/models/vip-port-check-result.d.ts.map +1 -0
- package/dist/adminapi/models/vip-port-check-result.js +16 -0
- package/dist/adminapi/models/vip-port-check-result.js.map +1 -0
- package/dist/internalapi/apis/environment-api.d.ts +101 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +98 -1
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/openapi/apis/vip-pool-api.d.ts +65 -0
- package/dist/openapi/apis/vip-pool-api.d.ts.map +1 -1
- package/dist/openapi/apis/vip-pool-api.js +75 -0
- package/dist/openapi/apis/vip-pool-api.js.map +1 -1
- package/dist/openapi/models/environment-module-status.d.ts +2 -0
- package/dist/openapi/models/environment-module-status.d.ts.map +1 -1
- package/dist/openapi/models/environment-module-status.js +2 -0
- package/dist/openapi/models/environment-module-status.js.map +1 -1
- package/dist/openapi/models/environment-module.d.ts +12 -0
- package/dist/openapi/models/environment-module.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/vip-port-check-request.d.ts +31 -0
- package/dist/openapi/models/vip-port-check-request.d.ts.map +1 -0
- package/dist/openapi/models/vip-port-check-request.js +16 -0
- package/dist/openapi/models/vip-port-check-request.js.map +1 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
- package/dist/openapi/models/vip-port-check-result.d.ts +38 -0
- package/dist/openapi/models/vip-port-check-result.d.ts.map +1 -0
- package/dist/openapi/models/vip-port-check-result.js +16 -0
- package/dist/openapi/models/vip-port-check-result.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/apis/environment-api.ts +5 -5
- package/src/adminapi/apis/vip-pool-api.ts +118 -0
- package/src/adminapi/models/environment-module-action.ts +3 -2
- package/src/adminapi/models/environment-module-status.ts +2 -0
- package/src/adminapi/models/environment-module-update.ts +1 -1
- package/src/adminapi/models/environment-module.ts +12 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi/models/vip-port-check-request.ts +36 -0
- package/src/adminapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
- package/src/adminapi/models/vip-port-check-result.ts +45 -0
- package/src/adminapi.yaml +93 -2
- package/src/internalapi/apis/environment-api.ts +159 -0
- package/src/internalapi.yaml +61 -15
- package/src/openapi/.openapi-generator/FILES +3 -0
- package/src/openapi/apis/vip-pool-api.ts +118 -0
- package/src/openapi/models/environment-module-status.ts +2 -0
- package/src/openapi/models/environment-module.ts +12 -0
- package/src/openapi/models/index.ts +3 -0
- package/src/openapi/models/vip-port-check-request.ts +36 -0
- package/src/openapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
- package/src/openapi/models/vip-port-check-result.ts +45 -0
- package/src/openapi.yaml +88 -0
|
@@ -101,6 +101,18 @@ export interface EnvironmentModule {
|
|
|
101
101
|
* @memberof EnvironmentModule
|
|
102
102
|
*/
|
|
103
103
|
'actionWarning'?: LocalizedDescription;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the module supports the Uninstall action. A dry run checks whether it is currently safe to uninstall.
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof EnvironmentModule
|
|
108
|
+
*/
|
|
109
|
+
'uninstallSupported'?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {LocalizedDescription}
|
|
113
|
+
* @memberof EnvironmentModule
|
|
114
|
+
*/
|
|
115
|
+
'uninstallWarning'?: LocalizedDescription;
|
|
104
116
|
}
|
|
105
117
|
|
|
106
118
|
|
|
@@ -960,6 +960,9 @@ export * from './user-org-list';
|
|
|
960
960
|
export * from './user-update';
|
|
961
961
|
export * from './vip-pool';
|
|
962
962
|
export * from './vip-pool-list';
|
|
963
|
+
export * from './vip-port-check-request';
|
|
964
|
+
export * from './vip-port-check-result';
|
|
965
|
+
export * from './vip-port-check-result-occupied-ports-inner';
|
|
963
966
|
export * from './volume-restore-policy';
|
|
964
967
|
export * from './webhook-config';
|
|
965
968
|
export * from './ycsb';
|
|
@@ -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
|
+
* VIP port check request
|
|
19
|
+
* @export
|
|
20
|
+
* @interface VipPortCheckRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface VipPortCheckRequest {
|
|
23
|
+
/**
|
|
24
|
+
* VIP address to check
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof VipPortCheckRequest
|
|
27
|
+
*/
|
|
28
|
+
'ip': string;
|
|
29
|
+
/**
|
|
30
|
+
* TCP ports to check. When empty, only the occupied ports are returned.
|
|
31
|
+
* @type {Array<number>}
|
|
32
|
+
* @memberof VipPortCheckRequest
|
|
33
|
+
*/
|
|
34
|
+
'ports'?: Array<number>;
|
|
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
|
+
* A port already used on the VIP
|
|
19
|
+
* @export
|
|
20
|
+
* @interface VipPortCheckResultOccupiedPortsInner
|
|
21
|
+
*/
|
|
22
|
+
export interface VipPortCheckResultOccupiedPortsInner {
|
|
23
|
+
/**
|
|
24
|
+
* Port number
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof VipPortCheckResultOccupiedPortsInner
|
|
27
|
+
*/
|
|
28
|
+
'port': number;
|
|
29
|
+
/**
|
|
30
|
+
* Port protocol
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof VipPortCheckResultOccupiedPortsInner
|
|
33
|
+
*/
|
|
34
|
+
'protocol': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { VipPortCheckResultOccupiedPortsInner } from './vip-port-check-result-occupied-ports-inner';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* VIP port check result
|
|
22
|
+
* @export
|
|
23
|
+
* @interface VipPortCheckResult
|
|
24
|
+
*/
|
|
25
|
+
export interface VipPortCheckResult {
|
|
26
|
+
/**
|
|
27
|
+
* Requested ports that are already in use
|
|
28
|
+
* @type {Array<number>}
|
|
29
|
+
* @memberof VipPortCheckResult
|
|
30
|
+
*/
|
|
31
|
+
'conflicts'?: Array<number>;
|
|
32
|
+
/**
|
|
33
|
+
* Checked VIP address
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof VipPortCheckResult
|
|
36
|
+
*/
|
|
37
|
+
'ip': string;
|
|
38
|
+
/**
|
|
39
|
+
* Ports already used on the VIP. Resource ownership details are intentionally omitted.
|
|
40
|
+
* @type {Array<VipPortCheckResultOccupiedPortsInner>}
|
|
41
|
+
* @memberof VipPortCheckResult
|
|
42
|
+
*/
|
|
43
|
+
'occupiedPorts': Array<VipPortCheckResultOccupiedPortsInner>;
|
|
44
|
+
}
|
|
45
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -2307,6 +2307,38 @@ paths:
|
|
|
2307
2307
|
$ref: '#/components/responses/404'
|
|
2308
2308
|
tags:
|
|
2309
2309
|
- vipPool
|
|
2310
|
+
/api/v1/environments/{environmentName}/loadbalancer/vipPool/checkPorts:
|
|
2311
|
+
post:
|
|
2312
|
+
operationId: checkVIPPorts
|
|
2313
|
+
summary: Check whether ports are already used on a VIP
|
|
2314
|
+
parameters:
|
|
2315
|
+
- description: name of the environment
|
|
2316
|
+
in: path
|
|
2317
|
+
name: environmentName
|
|
2318
|
+
required: true
|
|
2319
|
+
schema:
|
|
2320
|
+
type: string
|
|
2321
|
+
requestBody:
|
|
2322
|
+
content:
|
|
2323
|
+
application/json:
|
|
2324
|
+
schema:
|
|
2325
|
+
$ref: '#/components/schemas/vipPortCheckRequest'
|
|
2326
|
+
required: true
|
|
2327
|
+
responses:
|
|
2328
|
+
'200':
|
|
2329
|
+
content:
|
|
2330
|
+
application/json:
|
|
2331
|
+
schema:
|
|
2332
|
+
$ref: '#/components/schemas/vipPortCheckResult'
|
|
2333
|
+
description: A successful response.
|
|
2334
|
+
'400':
|
|
2335
|
+
$ref: '#/components/responses/400'
|
|
2336
|
+
'403':
|
|
2337
|
+
$ref: '#/components/responses/403'
|
|
2338
|
+
'404':
|
|
2339
|
+
$ref: '#/components/responses/404'
|
|
2340
|
+
tags:
|
|
2341
|
+
- vipPool
|
|
2310
2342
|
/api/v1/environments/{environmentName}/nodeGroups:
|
|
2311
2343
|
get:
|
|
2312
2344
|
operationId: listNodeGroup
|
|
@@ -26007,6 +26039,54 @@ components:
|
|
|
26007
26039
|
required:
|
|
26008
26040
|
- items
|
|
26009
26041
|
type: object
|
|
26042
|
+
vipPortCheckRequest:
|
|
26043
|
+
description: VIP port check request
|
|
26044
|
+
properties:
|
|
26045
|
+
ip:
|
|
26046
|
+
description: VIP address to check
|
|
26047
|
+
type: string
|
|
26048
|
+
ports:
|
|
26049
|
+
description: TCP ports to check. When empty, only the occupied ports are returned.
|
|
26050
|
+
items:
|
|
26051
|
+
format: int32
|
|
26052
|
+
type: integer
|
|
26053
|
+
type: array
|
|
26054
|
+
required:
|
|
26055
|
+
- ip
|
|
26056
|
+
type: object
|
|
26057
|
+
vipPortCheckResult:
|
|
26058
|
+
description: VIP port check result
|
|
26059
|
+
properties:
|
|
26060
|
+
conflicts:
|
|
26061
|
+
description: Requested ports that are already in use
|
|
26062
|
+
items:
|
|
26063
|
+
format: int32
|
|
26064
|
+
type: integer
|
|
26065
|
+
type: array
|
|
26066
|
+
ip:
|
|
26067
|
+
description: Checked VIP address
|
|
26068
|
+
type: string
|
|
26069
|
+
occupiedPorts:
|
|
26070
|
+
description: Ports already used on the VIP. Resource ownership details are intentionally omitted.
|
|
26071
|
+
items:
|
|
26072
|
+
description: A port already used on the VIP
|
|
26073
|
+
properties:
|
|
26074
|
+
port:
|
|
26075
|
+
description: Port number
|
|
26076
|
+
format: int32
|
|
26077
|
+
type: integer
|
|
26078
|
+
protocol:
|
|
26079
|
+
description: Port protocol
|
|
26080
|
+
type: string
|
|
26081
|
+
required:
|
|
26082
|
+
- port
|
|
26083
|
+
- protocol
|
|
26084
|
+
type: object
|
|
26085
|
+
type: array
|
|
26086
|
+
required:
|
|
26087
|
+
- ip
|
|
26088
|
+
- occupiedPorts
|
|
26089
|
+
type: object
|
|
26010
26090
|
nodeGroup:
|
|
26011
26091
|
required:
|
|
26012
26092
|
- name
|
|
@@ -26108,6 +26188,8 @@ components:
|
|
|
26108
26188
|
- Upgradeable
|
|
26109
26189
|
- Upgrading
|
|
26110
26190
|
- UpgradeFailed
|
|
26191
|
+
- Uninstalling
|
|
26192
|
+
- UninstallationFailed
|
|
26111
26193
|
- Unknown
|
|
26112
26194
|
clusterInfo:
|
|
26113
26195
|
type: object
|
|
@@ -26161,6 +26243,12 @@ components:
|
|
|
26161
26243
|
actionWarning:
|
|
26162
26244
|
$ref: '#/components/schemas/localizedDescription'
|
|
26163
26245
|
description: Localized business-impact warning for the component action represented by the current status.
|
|
26246
|
+
uninstallSupported:
|
|
26247
|
+
type: boolean
|
|
26248
|
+
description: Whether the module supports the Uninstall action. A dry run checks whether it is currently safe to uninstall.
|
|
26249
|
+
uninstallWarning:
|
|
26250
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
26251
|
+
description: Localized warning about resources and data removed by uninstallation.
|
|
26164
26252
|
required:
|
|
26165
26253
|
- name
|
|
26166
26254
|
- status
|