kb-cloud-client-typescript 2.4.0-alpha.154 → 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/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/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/dms-session.d.ts +2 -2
- 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/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 +79 -5
- 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/dms-session.ts +2 -2
- package/src/openapi.yaml +3 -3
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin API
|
|
3
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PlatformComponentNode
|
|
16
|
+
*/
|
|
17
|
+
export interface PlatformComponentNode {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PlatformComponentNode
|
|
22
|
+
*/
|
|
23
|
+
'name'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Internal node IP, falling back to external IP
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PlatformComponentNode
|
|
28
|
+
*/
|
|
29
|
+
'ip'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Kubernetes node role, control-plane or worker
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PlatformComponentNode
|
|
34
|
+
*/
|
|
35
|
+
'role'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Ready when the NodeReady condition is True, otherwise NotReady
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PlatformComponentNode
|
|
40
|
+
*/
|
|
41
|
+
'status'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Names of platform components with Pods assigned to this node
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof PlatformComponentNode
|
|
46
|
+
*/
|
|
47
|
+
'components'?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=platform-component-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-component-node.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/platform-component-node.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Admin API
|
|
6
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=platform-component-node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-component-node.js","sourceRoot":"","sources":["../../../src/adminapi/models/platform-component-node.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin API
|
|
3
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PlatformComponentNode } from './platform-component-node';
|
|
13
|
+
import type { PlatformComponentPodStats } from './platform-component-pod-stats';
|
|
14
|
+
import type { ResourceStats } from './resource-stats';
|
|
15
|
+
import type { StorageStats } from './storage-stats';
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PlatformComponentOverview
|
|
20
|
+
*/
|
|
21
|
+
export interface PlatformComponentOverview {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<PlatformComponentNode>}
|
|
25
|
+
* @memberof PlatformComponentOverview
|
|
26
|
+
*/
|
|
27
|
+
'nodes': Array<PlatformComponentNode>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ResourceStats}
|
|
31
|
+
* @memberof PlatformComponentOverview
|
|
32
|
+
*/
|
|
33
|
+
'cpuStats': ResourceStats;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ResourceStats}
|
|
37
|
+
* @memberof PlatformComponentOverview
|
|
38
|
+
*/
|
|
39
|
+
'memoryStats': ResourceStats;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {StorageStats}
|
|
43
|
+
* @memberof PlatformComponentOverview
|
|
44
|
+
*/
|
|
45
|
+
'storageStats': StorageStats;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {PlatformComponentPodStats}
|
|
49
|
+
* @memberof PlatformComponentOverview
|
|
50
|
+
*/
|
|
51
|
+
'podStats': PlatformComponentPodStats;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=platform-component-overview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-component-overview.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/platform-component-overview.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAGhF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACtC;;;;OAIG;IACH,UAAU,EAAE,aAAa,CAAC;IAC1B;;;;OAIG;IACH,aAAa,EAAE,aAAa,CAAC;IAC7B;;;;OAIG;IACH,cAAc,EAAE,YAAY,CAAC;IAC7B;;;;OAIG;IACH,UAAU,EAAE,yBAAyB,CAAC;CACzC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Admin API
|
|
6
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=platform-component-overview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-component-overview.js","sourceRoot":"","sources":["../../../src/adminapi/models/platform-component-overview.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin API
|
|
3
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@apecloud.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PlatformComponentPodStats
|
|
16
|
+
*/
|
|
17
|
+
export interface PlatformComponentPodStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PlatformComponentPodStats
|
|
22
|
+
*/
|
|
23
|
+
'running': number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PlatformComponentPodStats
|
|
28
|
+
*/
|
|
29
|
+
'pending': number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PlatformComponentPodStats
|
|
34
|
+
*/
|
|
35
|
+
'failed': number;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=platform-component-pod-stats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-component-pod-stats.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/platform-component-pod-stats.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Admin API
|
|
6
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=platform-component-pod-stats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-component-pod-stats.js","sourceRoot":"","sources":["../../../src/adminapi/models/platform-component-pod-stats.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -17,11 +17,11 @@ import type { LocalizedDescription } from './localized-description';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface StorageProviderSchemaProps {
|
|
19
19
|
/**
|
|
20
|
-
* default value for the parameter
|
|
21
|
-
* @type {
|
|
20
|
+
* default value for the parameter; its JSON type follows the parameter type
|
|
21
|
+
* @type {any}
|
|
22
22
|
* @memberof StorageProviderSchemaProps
|
|
23
23
|
*/
|
|
24
|
-
'default'?:
|
|
24
|
+
'default'?: any;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {LocalizedDescription}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-provider-schema-props.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/storage-provider-schema-props.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"storage-provider-schema-props.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/storage-provider-schema-props.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -211,7 +211,7 @@ export declare const RdbmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
211
211
|
* @param {string} engineName name of the engine
|
|
212
212
|
* @param {string} orgName name of the Org
|
|
213
213
|
* @param {string} clusterName name of the Cluster
|
|
214
|
-
* @param {string} session session id
|
|
214
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
215
215
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
217
217
|
* @throws {RequiredError}
|
|
@@ -579,7 +579,7 @@ export declare const RdbmsApiFp: (configuration?: Configuration) => {
|
|
|
579
579
|
* @param {string} engineName name of the engine
|
|
580
580
|
* @param {string} orgName name of the Org
|
|
581
581
|
* @param {string} clusterName name of the Cluster
|
|
582
|
-
* @param {string} session session id
|
|
582
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
583
583
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
584
584
|
* @param {*} [options] Override http request option.
|
|
585
585
|
* @throws {RequiredError}
|
|
@@ -1841,7 +1841,7 @@ export interface RdbmsApiKillSessionRequest {
|
|
|
1841
1841
|
*/
|
|
1842
1842
|
readonly clusterName: string;
|
|
1843
1843
|
/**
|
|
1844
|
-
* session id
|
|
1844
|
+
* session id; for Redis, use the connection address in host:port form
|
|
1845
1845
|
* @type {string}
|
|
1846
1846
|
* @memberof RdbmsApiKillSession
|
|
1847
1847
|
*/
|
|
@@ -764,7 +764,7 @@ const RdbmsApiAxiosParamCreator = function (configuration) {
|
|
|
764
764
|
* @param {string} engineName name of the engine
|
|
765
765
|
* @param {string} orgName name of the Org
|
|
766
766
|
* @param {string} clusterName name of the Cluster
|
|
767
|
-
* @param {string} session session id
|
|
767
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
768
768
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
769
769
|
* @param {*} [options] Override http request option.
|
|
770
770
|
* @throws {RequiredError}
|
|
@@ -1822,7 +1822,7 @@ const RdbmsApiFp = function (configuration) {
|
|
|
1822
1822
|
* @param {string} engineName name of the engine
|
|
1823
1823
|
* @param {string} orgName name of the Org
|
|
1824
1824
|
* @param {string} clusterName name of the Cluster
|
|
1825
|
-
* @param {string} session session id
|
|
1825
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
1826
1826
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
1827
1827
|
* @param {*} [options] Override http request option.
|
|
1828
1828
|
* @throws {RequiredError}
|
|
@@ -24,7 +24,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
* @param {string} engineName name of the engine
|
|
25
25
|
* @param {string} orgName name of the Org
|
|
26
26
|
* @param {string} clusterName name of the Cluster
|
|
27
|
-
* @param {string} session session id
|
|
27
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
28
28
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
@@ -53,7 +53,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
53
53
|
* @param {string} engineName name of the engine
|
|
54
54
|
* @param {string} orgName name of the Org
|
|
55
55
|
* @param {string} clusterName name of the Cluster
|
|
56
|
-
* @param {string} session session id
|
|
56
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
57
57
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
@@ -143,7 +143,7 @@ export interface SessionApiKillSessionRequest {
|
|
|
143
143
|
*/
|
|
144
144
|
readonly clusterName: string;
|
|
145
145
|
/**
|
|
146
|
-
* session id
|
|
146
|
+
* session id; for Redis, use the connection address in host:port form
|
|
147
147
|
* @type {string}
|
|
148
148
|
* @memberof SessionApiKillSession
|
|
149
149
|
*/
|
|
@@ -35,7 +35,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
* @param {string} engineName name of the engine
|
|
36
36
|
* @param {string} orgName name of the Org
|
|
37
37
|
* @param {string} clusterName name of the Cluster
|
|
38
|
-
* @param {string} session session id
|
|
38
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
39
39
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
@@ -141,7 +141,7 @@ const SessionApiFp = function (configuration) {
|
|
|
141
141
|
* @param {string} engineName name of the engine
|
|
142
142
|
* @param {string} orgName name of the Org
|
|
143
143
|
* @param {string} clusterName name of the Cluster
|
|
144
|
-
* @param {string} session session id
|
|
144
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
145
145
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
@@ -2322,7 +2322,7 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2322
2322
|
* @param {string} engineName name of the engine
|
|
2323
2323
|
* @param {string} orgName name of the Org
|
|
2324
2324
|
* @param {string} clusterName name of the Cluster
|
|
2325
|
-
* @param {string} session session id
|
|
2325
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
2326
2326
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
2327
2327
|
* @param {*} [options] Override http request option.
|
|
2328
2328
|
* @throws {RequiredError}
|
|
@@ -6433,7 +6433,7 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
6433
6433
|
* @param {string} engineName name of the engine
|
|
6434
6434
|
* @param {string} orgName name of the Org
|
|
6435
6435
|
* @param {string} clusterName name of the Cluster
|
|
6436
|
-
* @param {string} session session id
|
|
6436
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
6437
6437
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
6438
6438
|
* @param {*} [options] Override http request option.
|
|
6439
6439
|
* @throws {RequiredError}
|
|
@@ -20561,7 +20561,7 @@ export interface SharedApiKillSessionRequest {
|
|
|
20561
20561
|
*/
|
|
20562
20562
|
readonly clusterName: string;
|
|
20563
20563
|
/**
|
|
20564
|
-
* session id
|
|
20564
|
+
* session id; for Redis, use the connection address in host:port form
|
|
20565
20565
|
* @type {string}
|
|
20566
20566
|
* @memberof SharedApiKillSession
|
|
20567
20567
|
*/
|
|
@@ -8721,7 +8721,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8721
8721
|
* @param {string} engineName name of the engine
|
|
8722
8722
|
* @param {string} orgName name of the Org
|
|
8723
8723
|
* @param {string} clusterName name of the Cluster
|
|
8724
|
-
* @param {string} session session id
|
|
8724
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
8725
8725
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
8726
8726
|
* @param {*} [options] Override http request option.
|
|
8727
8727
|
* @throws {RequiredError}
|
|
@@ -20656,7 +20656,7 @@ const SharedApiFp = function (configuration) {
|
|
|
20656
20656
|
* @param {string} engineName name of the engine
|
|
20657
20657
|
* @param {string} orgName name of the Org
|
|
20658
20658
|
* @param {string} clusterName name of the Cluster
|
|
20659
|
-
* @param {string} session session id
|
|
20659
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
20660
20660
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
20661
20661
|
* @param {*} [options] Override http request option.
|
|
20662
20662
|
* @throws {RequiredError}
|
|
@@ -22,7 +22,7 @@ export interface DmsSession {
|
|
|
22
22
|
*/
|
|
23
23
|
'id'?: number | null;
|
|
24
24
|
/**
|
|
25
|
-
* native session ID used by the terminate API
|
|
25
|
+
* native session ID used by the terminate API; for Redis this is the connection address in host:port form
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof DmsSession
|
|
28
28
|
*/
|
|
@@ -70,7 +70,7 @@ export interface DmsSession {
|
|
|
70
70
|
*/
|
|
71
71
|
'state'?: string | null;
|
|
72
72
|
/**
|
|
73
|
-
* additional session information
|
|
73
|
+
* additional session information; for Redis this is a JSON object with the full CLIENT LIST entry
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof DmsSession
|
|
76
76
|
*/
|
package/package.json
CHANGED
|
@@ -1080,6 +1080,9 @@ models/pg-extension-available-database-schema.ts
|
|
|
1080
1080
|
models/pg-extension.ts
|
|
1081
1081
|
models/placement-scope.ts
|
|
1082
1082
|
models/platform-component-details.ts
|
|
1083
|
+
models/platform-component-node.ts
|
|
1084
|
+
models/platform-component-overview.ts
|
|
1085
|
+
models/platform-component-pod-stats.ts
|
|
1083
1086
|
models/platform-component-pod.ts
|
|
1084
1087
|
models/platform-component-status.ts
|
|
1085
1088
|
models/platform-component.ts
|
|
@@ -27,6 +27,8 @@ import type { APIErrorResponse } from '../models';
|
|
|
27
27
|
import type { PlatformComponent } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { PlatformComponentDetails } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { PlatformComponentOverview } from '../models';
|
|
30
32
|
/**
|
|
31
33
|
* PlatformComponentApi - axios parameter creator
|
|
32
34
|
* @export
|
|
@@ -65,6 +67,43 @@ export const PlatformComponentApiAxiosParamCreator = function (configuration?: C
|
|
|
65
67
|
|
|
66
68
|
|
|
67
69
|
|
|
70
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
71
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
url: toPathString(localVarUrlObj),
|
|
76
|
+
options: localVarRequestOptions,
|
|
77
|
+
};
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* 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.
|
|
81
|
+
* @summary Get platform component nodes and resource statistics
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
getPlatformComponentOverview: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
86
|
+
const localVarPath = `/admin/v1/platformComponents/overview`;
|
|
87
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
89
|
+
let baseOptions;
|
|
90
|
+
if (configuration) {
|
|
91
|
+
baseOptions = configuration.baseOptions;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
95
|
+
const localVarHeaderParameter = {} as any;
|
|
96
|
+
const localVarQueryParameter = {} as any;
|
|
97
|
+
|
|
98
|
+
// authentication BearerToken required
|
|
99
|
+
// http bearer authentication required
|
|
100
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
101
|
+
|
|
102
|
+
// authentication DigestAuth required
|
|
103
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
68
107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69
108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
109
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -134,6 +173,18 @@ export const PlatformComponentApiFp = function(configuration?: Configuration) {
|
|
|
134
173
|
const localVarOperationServerBasePath = operationServerMap['PlatformComponentApi.getPlatformComponent']?.[localVarOperationServerIndex]?.url;
|
|
135
174
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
136
175
|
},
|
|
176
|
+
/**
|
|
177
|
+
* 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.
|
|
178
|
+
* @summary Get platform component nodes and resource statistics
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
async getPlatformComponentOverview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentOverview>> {
|
|
183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlatformComponentOverview(options);
|
|
184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
185
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformComponentApi.getPlatformComponentOverview']?.[localVarOperationServerIndex]?.url;
|
|
186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
187
|
+
},
|
|
137
188
|
/**
|
|
138
189
|
* List platform components with monitoring and log query metadata
|
|
139
190
|
* @summary List platform components
|
|
@@ -166,6 +217,15 @@ export const PlatformComponentApiFactory = function (configuration?: Configurati
|
|
|
166
217
|
getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentDetails> {
|
|
167
218
|
return localVarFp.getPlatformComponent(requestParameters.componentName, options).then((request) => request(axios, basePath));
|
|
168
219
|
},
|
|
220
|
+
/**
|
|
221
|
+
* 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.
|
|
222
|
+
* @summary Get platform component nodes and resource statistics
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
getPlatformComponentOverview(options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentOverview> {
|
|
227
|
+
return localVarFp.getPlatformComponentOverview(options).then((request) => request(axios, basePath));
|
|
228
|
+
},
|
|
169
229
|
/**
|
|
170
230
|
* List platform components with monitoring and log query metadata
|
|
171
231
|
* @summary List platform components
|
|
@@ -194,6 +254,15 @@ export interface PlatformComponentApiInterface {
|
|
|
194
254
|
*/
|
|
195
255
|
getPlatformComponent(requestParameters: PlatformComponentApiGetPlatformComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentDetails>;
|
|
196
256
|
|
|
257
|
+
/**
|
|
258
|
+
* 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.
|
|
259
|
+
* @summary Get platform component nodes and resource statistics
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
* @memberof PlatformComponentApiInterface
|
|
263
|
+
*/
|
|
264
|
+
getPlatformComponentOverview(options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentOverview>;
|
|
265
|
+
|
|
197
266
|
/**
|
|
198
267
|
* List platform components with monitoring and log query metadata
|
|
199
268
|
* @summary List platform components
|
|
@@ -238,6 +307,17 @@ export class PlatformComponentApi extends BaseAPI implements PlatformComponentAp
|
|
|
238
307
|
return PlatformComponentApiFp(this.configuration).getPlatformComponent(requestParameters.componentName, options).then((request) => request(this.axios, this.basePath));
|
|
239
308
|
}
|
|
240
309
|
|
|
310
|
+
/**
|
|
311
|
+
* 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.
|
|
312
|
+
* @summary Get platform component nodes and resource statistics
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
* @memberof PlatformComponentApi
|
|
316
|
+
*/
|
|
317
|
+
public getPlatformComponentOverview(options?: RawAxiosRequestConfig) {
|
|
318
|
+
return PlatformComponentApiFp(this.configuration).getPlatformComponentOverview(options).then((request) => request(this.axios, this.basePath));
|
|
319
|
+
}
|
|
320
|
+
|
|
241
321
|
/**
|
|
242
322
|
* List platform components with monitoring and log query metadata
|
|
243
323
|
* @summary List platform components
|
|
@@ -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
|
*/
|
|
@@ -10565,7 +10565,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10565
10565
|
* @param {string} engineName name of the engine
|
|
10566
10566
|
* @param {string} orgName name of the Org
|
|
10567
10567
|
* @param {string} clusterName name of the Cluster
|
|
10568
|
-
* @param {string} session session id
|
|
10568
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
10569
10569
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
10570
10570
|
* @param {*} [options] Override http request option.
|
|
10571
10571
|
* @throws {RequiredError}
|
|
@@ -24040,7 +24040,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24040
24040
|
* @param {string} engineName name of the engine
|
|
24041
24041
|
* @param {string} orgName name of the Org
|
|
24042
24042
|
* @param {string} clusterName name of the Cluster
|
|
24043
|
-
* @param {string} session session id
|
|
24043
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
24044
24044
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
24045
24045
|
* @param {*} [options] Override http request option.
|
|
24046
24046
|
* @throws {RequiredError}
|
|
@@ -40727,7 +40727,7 @@ export interface SharedApiKillSessionRequest {
|
|
|
40727
40727
|
readonly clusterName: string
|
|
40728
40728
|
|
|
40729
40729
|
/**
|
|
40730
|
-
* session id
|
|
40730
|
+
* session id; for Redis, use the connection address in host:port form
|
|
40731
40731
|
* @type {string}
|
|
40732
40732
|
* @memberof SharedApiKillSession
|
|
40733
40733
|
*/
|
|
@@ -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
|
*/
|