kb-cloud-client-typescript 2.3.0-alpha.121 → 2.3.0-alpha.123
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/diagnostics-api.d.ts +10 -2
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +10 -5
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +6 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-storage-usage-history-instance.d.ts +56 -0
- package/dist/adminapi/models/cluster-storage-usage-history-instance.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-storage-usage-history-instance.js +16 -0
- package/dist/adminapi/models/cluster-storage-usage-history-instance.js.map +1 -0
- package/dist/adminapi/models/cluster-storage-usage-history-point.d.ts +6 -0
- package/dist/adminapi/models/cluster-storage-usage-history-point.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-storage-usage-history.d.ts +4 -4
- package/dist/adminapi/models/cluster-storage-usage-history.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-space-analysis.d.ts +10 -4
- package/dist/adminapi/models/postgresql-space-analysis.d.ts.map +1 -1
- package/dist/adminapi/models/postgresql-storage-instance-usage.d.ts +79 -0
- package/dist/adminapi/models/postgresql-storage-instance-usage.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-storage-instance-usage.js +16 -0
- package/dist/adminapi/models/postgresql-storage-instance-usage.js.map +1 -0
- package/dist/adminapi/models/postgresql-storage-overview.d.ts +6 -29
- package/dist/adminapi/models/postgresql-storage-overview.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +406 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +427 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +10 -2
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +10 -5
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +406 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +427 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +406 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +427 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +6 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/cluster-storage-usage-history-instance.d.ts +56 -0
- package/dist/openapi/models/cluster-storage-usage-history-instance.d.ts.map +1 -0
- package/dist/openapi/models/cluster-storage-usage-history-instance.js +16 -0
- package/dist/openapi/models/cluster-storage-usage-history-instance.js.map +1 -0
- package/dist/openapi/models/cluster-storage-usage-history-point.d.ts +6 -0
- package/dist/openapi/models/cluster-storage-usage-history-point.d.ts.map +1 -1
- package/dist/openapi/models/cluster-storage-usage-history.d.ts +4 -4
- package/dist/openapi/models/cluster-storage-usage-history.d.ts.map +1 -1
- package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
- package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-create-request.js +16 -0
- package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
- package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
- package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-status.js +26 -0
- package/dist/openapi/models/dms-service-account-status.js.map +1 -0
- package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
- package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-update-request.js +16 -0
- package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
- package/dist/openapi/models/dms-service-account.d.ts +73 -0
- package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account.js +16 -0
- package/dist/openapi/models/dms-service-account.js.map +1 -0
- package/dist/openapi/models/index.d.ts +6 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +6 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-space-analysis.d.ts +10 -4
- package/dist/openapi/models/postgresql-space-analysis.d.ts.map +1 -1
- package/dist/openapi/models/postgresql-storage-instance-usage.d.ts +79 -0
- package/dist/openapi/models/postgresql-storage-instance-usage.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-storage-instance-usage.js +16 -0
- package/dist/openapi/models/postgresql-storage-instance-usage.js.map +1 -0
- package/dist/openapi/models/postgresql-storage-overview.d.ts +6 -29
- package/dist/openapi/models/postgresql-storage-overview.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/apis/diagnostics-api.ts +18 -5
- package/src/adminapi/models/account-option.ts +6 -0
- package/src/adminapi/models/cluster-storage-usage-history-instance.ts +63 -0
- package/src/adminapi/models/cluster-storage-usage-history-point.ts +6 -0
- package/src/adminapi/models/cluster-storage-usage-history.ts +4 -4
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/postgresql-space-analysis.ts +10 -4
- package/src/adminapi/models/postgresql-storage-instance-usage.ts +84 -0
- package/src/adminapi/models/postgresql-storage-overview.ts +8 -29
- package/src/adminapi.yaml +81 -11
- package/src/openapi/.openapi-generator/FILES +6 -0
- package/src/openapi/apis/account-api.ts +703 -0
- package/src/openapi/apis/diagnostics-api.ts +18 -5
- package/src/openapi/apis/rdbms-api.ts +703 -0
- package/src/openapi/apis/shared-api.ts +703 -0
- package/src/openapi/models/account-option.ts +6 -0
- package/src/openapi/models/cluster-storage-usage-history-instance.ts +63 -0
- package/src/openapi/models/cluster-storage-usage-history-point.ts +6 -0
- package/src/openapi/models/cluster-storage-usage-history.ts +4 -4
- package/src/openapi/models/dms-service-account-create-request.ts +60 -0
- package/src/openapi/models/dms-service-account-status.ts +31 -0
- package/src/openapi/models/dms-service-account-update-request.ts +41 -0
- package/src/openapi/models/dms-service-account.ts +78 -0
- package/src/openapi/models/index.ts +6 -0
- package/src/openapi/models/postgresql-space-analysis.ts +10 -4
- package/src/openapi/models/postgresql-storage-instance-usage.ts +84 -0
- package/src/openapi/models/postgresql-storage-overview.ts +8 -29
- package/src/openapi.yaml +411 -11
|
@@ -80,6 +80,12 @@ export interface AccountOption {
|
|
|
80
80
|
* @memberof AccountOption
|
|
81
81
|
*/
|
|
82
82
|
'supportLock'?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the engine supports service account access-key management.
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof AccountOption
|
|
87
|
+
*/
|
|
88
|
+
'supportServiceAccount'?: boolean;
|
|
83
89
|
/**
|
|
84
90
|
* Account names that are protected from update, delete, lock, and unlock actions.
|
|
85
91
|
* @type {Array<string>}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { ClusterStorageUsageHistoryPoint } from './cluster-storage-usage-history-point';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ClusterStorageUsageHistoryInstance
|
|
24
|
+
*/
|
|
25
|
+
export interface ClusterStorageUsageHistoryInstance {
|
|
26
|
+
/**
|
|
27
|
+
* Kubernetes pod name for this storage usage series.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ClusterStorageUsageHistoryInstance
|
|
30
|
+
*/
|
|
31
|
+
'instanceName'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* PersistentVolumeClaim name when it can be read from metrics labels.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ClusterStorageUsageHistoryInstance
|
|
36
|
+
*/
|
|
37
|
+
'pvcName'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Raw database replica role value read from metrics labels, kept aligned with instance detail display.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ClusterStorageUsageHistoryInstance
|
|
42
|
+
*/
|
|
43
|
+
'role'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional KubeBlocks component name when it can be read from metrics labels.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ClusterStorageUsageHistoryInstance
|
|
48
|
+
*/
|
|
49
|
+
'componentName'?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<ClusterStorageUsageHistoryPoint>}
|
|
53
|
+
* @memberof ClusterStorageUsageHistoryInstance
|
|
54
|
+
*/
|
|
55
|
+
'points': Array<ClusterStorageUsageHistoryPoint>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ClusterStorageUsageHistoryInstance
|
|
60
|
+
*/
|
|
61
|
+
'source'?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -38,6 +38,12 @@ export interface ClusterStorageUsageHistoryPoint {
|
|
|
38
38
|
* @memberof ClusterStorageUsageHistoryPoint
|
|
39
39
|
*/
|
|
40
40
|
'totalBytes': number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ClusterStorageUsageHistoryPoint
|
|
45
|
+
*/
|
|
46
|
+
'availableBytes': number;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {number}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import type {
|
|
18
|
+
import type { ClusterStorageUsageHistoryInstance } from './cluster-storage-usage-history-instance';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Per-instance cluster storage usage history collected from backend-owned fixed metrics.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface ClusterStorageUsageHistory
|
|
24
24
|
*/
|
|
@@ -43,10 +43,10 @@ export interface ClusterStorageUsageHistory {
|
|
|
43
43
|
'end': string;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<ClusterStorageUsageHistoryInstance>}
|
|
47
47
|
* @memberof ClusterStorageUsageHistory
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'instances': Array<ClusterStorageUsageHistoryInstance>;
|
|
50
50
|
/**
|
|
51
51
|
* Metrics source used to build the history.
|
|
52
52
|
* @type {string}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
* MinIO service account access-key create request
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DmsServiceAccountCreateRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface DmsServiceAccountCreateRequest {
|
|
23
|
+
/**
|
|
24
|
+
* MinIO user that owns the service account.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DmsServiceAccountCreateRequest
|
|
27
|
+
*/
|
|
28
|
+
'userName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional fixed access key. If omitted, MinIO generates it.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DmsServiceAccountCreateRequest
|
|
33
|
+
*/
|
|
34
|
+
'accessKey'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional fixed secret key. If omitted, MinIO generates it.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DmsServiceAccountCreateRequest
|
|
39
|
+
*/
|
|
40
|
+
'secretKey'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Display name of the service account.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DmsServiceAccountCreateRequest
|
|
45
|
+
*/
|
|
46
|
+
'name'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Description of the service account.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DmsServiceAccountCreateRequest
|
|
51
|
+
*/
|
|
52
|
+
'description'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Optional service account expiration time.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DmsServiceAccountCreateRequest
|
|
57
|
+
*/
|
|
58
|
+
'expiration'?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* MinIO service account status.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const DmsServiceAccountStatus = {
|
|
24
|
+
enabled: 'enabled',
|
|
25
|
+
disabled: 'disabled'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type DmsServiceAccountStatus = typeof DmsServiceAccountStatus[keyof typeof DmsServiceAccountStatus];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { DmsServiceAccountStatus } from './dms-service-account-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* MinIO service account access-key update request
|
|
22
|
+
* @export
|
|
23
|
+
* @interface DmsServiceAccountUpdateRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface DmsServiceAccountUpdateRequest {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DmsServiceAccountStatus}
|
|
29
|
+
* @memberof DmsServiceAccountUpdateRequest
|
|
30
|
+
*/
|
|
31
|
+
'status'?: DmsServiceAccountStatus;
|
|
32
|
+
/**
|
|
33
|
+
* Optional service account expiration time. Use the Unix epoch to clear expiration.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof DmsServiceAccountUpdateRequest
|
|
36
|
+
*/
|
|
37
|
+
'expiration'?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
* MinIO service account access-key
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DmsServiceAccount
|
|
21
|
+
*/
|
|
22
|
+
export interface DmsServiceAccount {
|
|
23
|
+
/**
|
|
24
|
+
* MinIO user that owns the service account.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DmsServiceAccount
|
|
27
|
+
*/
|
|
28
|
+
'userName'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Service account access key.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DmsServiceAccount
|
|
33
|
+
*/
|
|
34
|
+
'accessKey'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Secret key returned only by create.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DmsServiceAccount
|
|
39
|
+
*/
|
|
40
|
+
'secretKey'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Service account status.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DmsServiceAccount
|
|
45
|
+
*/
|
|
46
|
+
'status'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Display name of the service account.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DmsServiceAccount
|
|
51
|
+
*/
|
|
52
|
+
'name'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the service account.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DmsServiceAccount
|
|
57
|
+
*/
|
|
58
|
+
'description'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Service account expiration time.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DmsServiceAccount
|
|
63
|
+
*/
|
|
64
|
+
'expiration'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Service account policy text.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DmsServiceAccount
|
|
69
|
+
*/
|
|
70
|
+
'policy'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the policy is implied from the parent user.
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof DmsServiceAccount
|
|
75
|
+
*/
|
|
76
|
+
'impliedPolicy'?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -173,6 +173,7 @@ export * from './cluster-slow-log-stats';
|
|
|
173
173
|
export * from './cluster-slow-log-template';
|
|
174
174
|
export * from './cluster-slow-log-template-list';
|
|
175
175
|
export * from './cluster-storage-usage-history';
|
|
176
|
+
export * from './cluster-storage-usage-history-instance';
|
|
176
177
|
export * from './cluster-storage-usage-history-point';
|
|
177
178
|
export * from './cluster-tags';
|
|
178
179
|
export * from './cluster-termination-policy';
|
|
@@ -290,6 +291,10 @@ export * from './dms-query-request';
|
|
|
290
291
|
export * from './dms-query-response';
|
|
291
292
|
export * from './dms-result';
|
|
292
293
|
export * from './dms-result-stats';
|
|
294
|
+
export * from './dms-service-account';
|
|
295
|
+
export * from './dms-service-account-create-request';
|
|
296
|
+
export * from './dms-service-account-status';
|
|
297
|
+
export * from './dms-service-account-update-request';
|
|
293
298
|
export * from './dms-session';
|
|
294
299
|
export * from './dms-table-column';
|
|
295
300
|
export * from './dms-table-column-generated';
|
|
@@ -574,6 +579,7 @@ export * from './postgresql-session';
|
|
|
574
579
|
export * from './postgresql-space-analysis';
|
|
575
580
|
export * from './postgresql-space-source';
|
|
576
581
|
export * from './postgresql-space-summary';
|
|
582
|
+
export * from './postgresql-storage-instance-usage';
|
|
577
583
|
export * from './postgresql-storage-overview';
|
|
578
584
|
export * from './postgresql-table-space';
|
|
579
585
|
export * from './postgresql-toast-relation-space';
|
|
@@ -54,25 +54,31 @@ export interface PostgresqlSpaceAnalysis {
|
|
|
54
54
|
*/
|
|
55
55
|
'storageOverview': PostgresqlStorageOverview;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Sizes of all connectable non-template databases in the PostgreSQL instance.
|
|
58
58
|
* @type {Array<PostgresqlDatabaseSpace>}
|
|
59
59
|
* @memberof PostgresqlSpaceAnalysis
|
|
60
60
|
*/
|
|
61
61
|
'databases': Array<PostgresqlDatabaseSpace>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Database used for tables, indexes, and toastRelations in this response.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PostgresqlSpaceAnalysis
|
|
66
|
+
*/
|
|
67
|
+
'selectedDatabase': string;
|
|
68
|
+
/**
|
|
69
|
+
* Top tables from selectedDatabase.
|
|
64
70
|
* @type {Array<PostgresqlTableSpace>}
|
|
65
71
|
* @memberof PostgresqlSpaceAnalysis
|
|
66
72
|
*/
|
|
67
73
|
'tables': Array<PostgresqlTableSpace>;
|
|
68
74
|
/**
|
|
69
|
-
*
|
|
75
|
+
* Top indexes from selectedDatabase.
|
|
70
76
|
* @type {Array<PostgresqlIndexSpace>}
|
|
71
77
|
* @memberof PostgresqlSpaceAnalysis
|
|
72
78
|
*/
|
|
73
79
|
'indexes': Array<PostgresqlIndexSpace>;
|
|
74
80
|
/**
|
|
75
|
-
*
|
|
81
|
+
* Toast relations derived from selectedDatabase table space data.
|
|
76
82
|
* @type {Array<PostgresqlToastRelationSpace>}
|
|
77
83
|
* @memberof PostgresqlSpaceAnalysis
|
|
78
84
|
*/
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PostgresqlStorageInstanceUsage
|
|
21
|
+
*/
|
|
22
|
+
export interface PostgresqlStorageInstanceUsage {
|
|
23
|
+
/**
|
|
24
|
+
* Kubernetes pod name for this PostgreSQL replica storage sample.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
27
|
+
*/
|
|
28
|
+
'instanceName'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* PersistentVolumeClaim name when it can be read from metrics labels.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
33
|
+
*/
|
|
34
|
+
'pvcName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Raw PostgreSQL replica role value read from metrics labels, kept aligned with instance detail display.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
39
|
+
*/
|
|
40
|
+
'role'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Optional KubeBlocks component name when it can be read from metrics labels.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
45
|
+
*/
|
|
46
|
+
'componentName'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Physical PVC capacity in bytes for this replica storage sample.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
51
|
+
*/
|
|
52
|
+
'totalBytes'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Physical PVC used bytes for this replica storage sample.
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
57
|
+
*/
|
|
58
|
+
'usedBytes'?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Available bytes derived from totalBytes - usedBytes when both values are available.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
63
|
+
*/
|
|
64
|
+
'availableBytes'?: number;
|
|
65
|
+
/**
|
|
66
|
+
* usedBytes / totalBytes for this replica storage sample when both values are available.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
69
|
+
*/
|
|
70
|
+
'usageRatio'?: number | null;
|
|
71
|
+
/**
|
|
72
|
+
* Metrics collection timestamp in UTC.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
75
|
+
*/
|
|
76
|
+
'updatedAt'?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PostgresqlStorageInstanceUsage
|
|
81
|
+
*/
|
|
82
|
+
'source'?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { PostgresqlStorageInstanceUsage } from './postgresql-storage-instance-usage';
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
21
|
*
|
|
@@ -21,40 +24,16 @@
|
|
|
21
24
|
*/
|
|
22
25
|
export interface PostgresqlStorageOverview {
|
|
23
26
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof PostgresqlStorageOverview
|
|
27
|
-
*/
|
|
28
|
-
'totalBytes'?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Current PVC used bytes when backend-owned metrics are available.
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof PostgresqlStorageOverview
|
|
33
|
-
*/
|
|
34
|
-
'usedBytes'?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Current available PVC bytes derived from totalBytes - usedBytes when both values are available.
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof PostgresqlStorageOverview
|
|
39
|
-
*/
|
|
40
|
-
'availableBytes'?: number;
|
|
41
|
-
/**
|
|
42
|
-
* Current usedBytes / totalBytes ratio when both values are available.
|
|
43
|
-
* @type {number}
|
|
44
|
-
* @memberof PostgresqlStorageOverview
|
|
45
|
-
*/
|
|
46
|
-
'usageRatio'?: number;
|
|
47
|
-
/**
|
|
48
|
-
* Metrics collection timestamp in UTC.
|
|
27
|
+
*
|
|
49
28
|
* @type {string}
|
|
50
29
|
* @memberof PostgresqlStorageOverview
|
|
51
30
|
*/
|
|
52
|
-
'
|
|
31
|
+
'source': string;
|
|
53
32
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {
|
|
33
|
+
* Physical PostgreSQL replica storage usage split by pod/PVC/role.
|
|
34
|
+
* @type {Array<PostgresqlStorageInstanceUsage>}
|
|
56
35
|
* @memberof PostgresqlStorageOverview
|
|
57
36
|
*/
|
|
58
|
-
'
|
|
37
|
+
'instances': Array<PostgresqlStorageInstanceUsage>;
|
|
59
38
|
}
|
|
60
39
|
|