kb-cloud-client-typescript 2.4.0-alpha.154 → 2.4.0-alpha.156
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/cluster-api.d.ts +72 -0
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +79 -0
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- 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 +75 -3
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +81 -2
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-event-item.d.ts +91 -0
- package/dist/adminapi/models/cluster-event-item.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-event-item.js +16 -0
- package/dist/adminapi/models/cluster-event-item.js.map +1 -0
- package/dist/adminapi/models/cluster-event-list.d.ts +32 -0
- package/dist/adminapi/models/cluster-event-list.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-event-list.js +16 -0
- package/dist/adminapi/models/cluster-event-list.js.map +1 -0
- package/dist/adminapi/models/dms-session.d.ts +2 -2
- package/dist/adminapi/models/environment.d.ts +6 -0
- package/dist/adminapi/models/environment.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +5 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +5 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/platform-component-node.d.ts +68 -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/api.d.ts +2 -0
- package/dist/internalapi/api.d.ts.map +1 -1
- package/dist/internalapi/api.js +2 -0
- package/dist/internalapi/api.js.map +1 -1
- package/dist/internalapi/apis/environment-api.d.ts +112 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +135 -0
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/internalapi/apis/image-registry-api.d.ts +142 -0
- package/dist/internalapi/apis/image-registry-api.d.ts.map +1 -0
- package/dist/internalapi/apis/image-registry-api.js +192 -0
- package/dist/internalapi/apis/image-registry-api.js.map +1 -0
- package/dist/internalapi/apis/task-api.d.ts +256 -0
- package/dist/internalapi/apis/task-api.d.ts.map +1 -0
- package/dist/internalapi/apis/task-api.js +290 -0
- package/dist/internalapi/apis/task-api.js.map +1 -0
- package/dist/internalapi/models/autohealing-config.d.ts +55 -0
- package/dist/internalapi/models/autohealing-config.d.ts.map +1 -0
- package/dist/internalapi/models/autohealing-config.js +16 -0
- package/dist/internalapi/models/autohealing-config.js.map +1 -0
- package/dist/internalapi/models/cluster-info.d.ts +37 -0
- package/dist/internalapi/models/cluster-info.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-info.js +16 -0
- package/dist/internalapi/models/cluster-info.js.map +1 -0
- package/dist/internalapi/models/cluster-scheduling-policy.d.ts +24 -0
- package/dist/internalapi/models/cluster-scheduling-policy.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-scheduling-policy.js +28 -0
- package/dist/internalapi/models/cluster-scheduling-policy.js.map +1 -0
- package/dist/internalapi/models/cluster-validation-policy.d.ts +23 -0
- package/dist/internalapi/models/cluster-validation-policy.d.ts.map +1 -0
- package/dist/internalapi/models/cluster-validation-policy.js +27 -0
- package/dist/internalapi/models/cluster-validation-policy.js.map +1 -0
- package/dist/internalapi/models/component.d.ts +79 -0
- package/dist/internalapi/models/component.d.ts.map +1 -0
- package/dist/internalapi/models/component.js +16 -0
- package/dist/internalapi/models/component.js.map +1 -0
- package/dist/internalapi/models/dns.d.ts +31 -0
- package/dist/internalapi/models/dns.d.ts.map +1 -0
- package/dist/internalapi/models/dns.js +16 -0
- package/dist/internalapi/models/dns.js.map +1 -0
- package/dist/internalapi/models/environment-architecture.d.ts +23 -0
- package/dist/internalapi/models/environment-architecture.d.ts.map +1 -0
- package/dist/internalapi/models/environment-architecture.js +27 -0
- package/dist/internalapi/models/environment-architecture.js.map +1 -0
- package/dist/internalapi/models/environment-create.d.ts +133 -0
- package/dist/internalapi/models/environment-create.d.ts.map +1 -0
- package/dist/internalapi/models/environment-create.js +16 -0
- package/dist/internalapi/models/environment-create.js.map +1 -0
- package/dist/internalapi/models/environment-delete-policy.d.ts +22 -0
- package/dist/internalapi/models/environment-delete-policy.d.ts.map +1 -0
- package/dist/internalapi/models/environment-delete-policy.js +26 -0
- package/dist/internalapi/models/environment-delete-policy.js.map +1 -0
- package/dist/internalapi/models/environment-module-status.d.ts +34 -0
- package/dist/internalapi/models/environment-module-status.d.ts.map +1 -0
- package/dist/internalapi/models/environment-module-status.js +38 -0
- package/dist/internalapi/models/environment-module-status.js.map +1 -0
- package/dist/internalapi/models/environment-module.d.ts +106 -0
- package/dist/internalapi/models/environment-module.d.ts.map +1 -0
- package/dist/internalapi/models/environment-module.js +16 -0
- package/dist/internalapi/models/environment-module.js.map +1 -0
- package/dist/internalapi/models/environment-register-type.d.ts +21 -0
- package/dist/internalapi/models/environment-register-type.d.ts.map +1 -0
- package/dist/internalapi/models/environment-register-type.js +25 -0
- package/dist/internalapi/models/environment-register-type.js.map +1 -0
- package/dist/internalapi/models/environment-state.d.ts +30 -0
- package/dist/internalapi/models/environment-state.d.ts.map +1 -0
- package/dist/internalapi/models/environment-state.js +34 -0
- package/dist/internalapi/models/environment-state.js.map +1 -0
- package/dist/internalapi/models/environment.d.ts +193 -0
- package/dist/internalapi/models/environment.d.ts.map +1 -0
- package/dist/internalapi/models/environment.js +16 -0
- package/dist/internalapi/models/environment.js.map +1 -0
- package/dist/internalapi/models/index.d.ts +32 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +32 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/internal-image-registry-list.d.ts +26 -0
- package/dist/internalapi/models/internal-image-registry-list.d.ts.map +1 -0
- package/dist/internalapi/models/internal-image-registry-list.js +16 -0
- package/dist/internalapi/models/internal-image-registry-list.js.map +1 -0
- package/dist/internalapi/models/internal-image-registry.d.ts +31 -0
- package/dist/internalapi/models/internal-image-registry.d.ts.map +1 -0
- package/dist/internalapi/models/internal-image-registry.js +16 -0
- package/dist/internalapi/models/internal-image-registry.js.map +1 -0
- package/dist/internalapi/models/internal-task-list.d.ts +33 -0
- package/dist/internalapi/models/internal-task-list.d.ts.map +1 -0
- package/dist/internalapi/models/internal-task-list.js +16 -0
- package/dist/internalapi/models/internal-task-list.js.map +1 -0
- package/dist/internalapi/models/internal-task-steps-inner.d.ts +32 -0
- package/dist/internalapi/models/internal-task-steps-inner.d.ts.map +1 -0
- package/dist/internalapi/models/internal-task-steps-inner.js +16 -0
- package/dist/internalapi/models/internal-task-steps-inner.js.map +1 -0
- package/dist/internalapi/models/internal-task.d.ts +57 -0
- package/dist/internalapi/models/internal-task.d.ts.map +1 -0
- package/dist/internalapi/models/internal-task.js +16 -0
- package/dist/internalapi/models/internal-task.js.map +1 -0
- package/dist/internalapi/models/log-backend-type.d.ts +22 -0
- package/dist/internalapi/models/log-backend-type.d.ts.map +1 -0
- package/dist/internalapi/models/log-backend-type.js +26 -0
- package/dist/internalapi/models/log-backend-type.js.map +1 -0
- package/dist/internalapi/models/network-config.d.ts +50 -0
- package/dist/internalapi/models/network-config.d.ts.map +1 -0
- package/dist/internalapi/models/network-config.js +16 -0
- package/dist/internalapi/models/network-config.js.map +1 -0
- package/dist/internalapi/models/node-pool-node.d.ts +49 -0
- package/dist/internalapi/models/node-pool-node.d.ts.map +1 -0
- package/dist/internalapi/models/node-pool-node.js +16 -0
- package/dist/internalapi/models/node-pool-node.js.map +1 -0
- package/dist/internalapi/models/pagination-result.d.ts +37 -0
- package/dist/internalapi/models/pagination-result.d.ts.map +1 -0
- package/dist/internalapi/models/pagination-result.js +16 -0
- package/dist/internalapi/models/pagination-result.js.map +1 -0
- package/dist/internalapi/models/provision-config.d.ts +68 -0
- package/dist/internalapi/models/provision-config.d.ts.map +1 -0
- package/dist/internalapi/models/provision-config.js +16 -0
- package/dist/internalapi/models/provision-config.js.map +1 -0
- package/dist/internalapi/models/register.d.ts +32 -0
- package/dist/internalapi/models/register.d.ts.map +1 -0
- package/dist/internalapi/models/register.js +16 -0
- package/dist/internalapi/models/register.js.map +1 -0
- package/dist/internalapi/models/scheduling-config.d.ts +53 -0
- package/dist/internalapi/models/scheduling-config.d.ts.map +1 -0
- package/dist/internalapi/models/scheduling-config.js +16 -0
- package/dist/internalapi/models/scheduling-config.js.map +1 -0
- package/dist/internalapi/models/storage-config-backup.d.ts +43 -0
- package/dist/internalapi/models/storage-config-backup.d.ts.map +1 -0
- package/dist/internalapi/models/storage-config-backup.js +16 -0
- package/dist/internalapi/models/storage-config-backup.js.map +1 -0
- package/dist/internalapi/models/storage-config.d.ts +33 -0
- package/dist/internalapi/models/storage-config.d.ts.map +1 -0
- package/dist/internalapi/models/storage-config.js +16 -0
- package/dist/internalapi/models/storage-config.js.map +1 -0
- package/dist/internalapi/models/system-component-scheduler-policy.d.ts +22 -0
- package/dist/internalapi/models/system-component-scheduler-policy.d.ts.map +1 -0
- package/dist/internalapi/models/system-component-scheduler-policy.js +26 -0
- package/dist/internalapi/models/system-component-scheduler-policy.js.map +1 -0
- package/dist/internalapi/models/task-retry-mode.d.ts +22 -0
- package/dist/internalapi/models/task-retry-mode.d.ts.map +1 -0
- package/dist/internalapi/models/task-retry-mode.js +26 -0
- package/dist/internalapi/models/task-retry-mode.js.map +1 -0
- package/dist/internalapi/models/task-status.d.ts +28 -0
- package/dist/internalapi/models/task-status.d.ts.map +1 -0
- package/dist/internalapi/models/task-status.js +32 -0
- package/dist/internalapi/models/task-status.js.map +1 -0
- package/dist/internalapi/models/tolerate-default-taints.d.ts +31 -0
- package/dist/internalapi/models/tolerate-default-taints.d.ts.map +1 -0
- package/dist/internalapi/models/tolerate-default-taints.js +16 -0
- package/dist/internalapi/models/tolerate-default-taints.js.map +1 -0
- package/dist/openapi/apis/cluster-api.d.ts +72 -0
- package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.js +79 -0
- package/dist/openapi/apis/cluster-api.js.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 +75 -3
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +81 -2
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-event-item.d.ts +91 -0
- package/dist/openapi/models/cluster-event-item.d.ts.map +1 -0
- package/dist/openapi/models/cluster-event-item.js +16 -0
- package/dist/openapi/models/cluster-event-item.js.map +1 -0
- package/dist/openapi/models/cluster-event-list.d.ts +32 -0
- package/dist/openapi/models/cluster-event-list.d.ts.map +1 -0
- package/dist/openapi/models/cluster-event-list.js +16 -0
- package/dist/openapi/models/cluster-event-list.js.map +1 -0
- package/dist/openapi/models/dms-session.d.ts +2 -2
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +5 -0
- package/src/adminapi/apis/cluster-api.ts +127 -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 +130 -3
- package/src/adminapi/models/cluster-event-item.ts +96 -0
- package/src/adminapi/models/cluster-event-list.ts +39 -0
- package/src/adminapi/models/dms-session.ts +2 -2
- package/src/adminapi/models/environment.ts +6 -0
- package/src/adminapi/models/index.ts +5 -0
- package/src/adminapi/models/platform-component-node.ts +75 -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 +191 -6
- package/src/internalapi/.openapi-generator/FILES +34 -0
- package/src/internalapi/api.ts +2 -0
- package/src/internalapi/apis/environment-api.ts +200 -0
- package/src/internalapi/apis/image-registry-api.ts +246 -0
- package/src/internalapi/apis/task-api.ts +433 -0
- package/src/internalapi/models/autohealing-config.ts +60 -0
- package/src/internalapi/models/cluster-info.ts +42 -0
- package/src/internalapi/models/cluster-scheduling-policy.ts +33 -0
- package/src/internalapi/models/cluster-validation-policy.ts +32 -0
- package/src/internalapi/models/component.ts +84 -0
- package/src/internalapi/models/dns.ts +36 -0
- package/src/internalapi/models/environment-architecture.ts +32 -0
- package/src/internalapi/models/environment-create.ts +152 -0
- package/src/internalapi/models/environment-delete-policy.ts +31 -0
- package/src/internalapi/models/environment-module-status.ts +43 -0
- package/src/internalapi/models/environment-module.ts +119 -0
- package/src/internalapi/models/environment-register-type.ts +30 -0
- package/src/internalapi/models/environment-state.ts +39 -0
- package/src/internalapi/models/environment.ts +224 -0
- package/src/internalapi/models/index.ts +32 -0
- package/src/internalapi/models/internal-image-registry-list.ts +33 -0
- package/src/internalapi/models/internal-image-registry.ts +36 -0
- package/src/internalapi/models/internal-task-list.ts +42 -0
- package/src/internalapi/models/internal-task-steps-inner.ts +41 -0
- package/src/internalapi/models/internal-task.ts +68 -0
- package/src/internalapi/models/log-backend-type.ts +31 -0
- package/src/internalapi/models/network-config.ts +57 -0
- package/src/internalapi/models/node-pool-node.ts +54 -0
- package/src/internalapi/models/pagination-result.ts +42 -0
- package/src/internalapi/models/provision-config.ts +87 -0
- package/src/internalapi/models/register.ts +41 -0
- package/src/internalapi/models/scheduling-config.ts +68 -0
- package/src/internalapi/models/storage-config-backup.ts +48 -0
- package/src/internalapi/models/storage-config.ts +42 -0
- package/src/internalapi/models/system-component-scheduler-policy.ts +31 -0
- package/src/internalapi/models/task-retry-mode.ts +31 -0
- package/src/internalapi/models/task-status.ts +37 -0
- package/src/internalapi/models/tolerate-default-taints.ts +36 -0
- package/src/internalapi.yaml +1039 -193
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/cluster-api.ts +127 -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 +130 -3
- package/src/openapi/models/cluster-event-item.ts +96 -0
- package/src/openapi/models/cluster-event-list.ts +39 -0
- package/src/openapi/models/dms-session.ts +2 -2
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi.yaml +104 -3
|
@@ -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
|
*/
|
|
@@ -90,6 +90,8 @@ import type { ClusterBackupMethod } from '../models';
|
|
|
90
90
|
// @ts-ignore
|
|
91
91
|
import type { ClusterCreate } from '../models';
|
|
92
92
|
// @ts-ignore
|
|
93
|
+
import type { ClusterEventList } from '../models';
|
|
94
|
+
// @ts-ignore
|
|
93
95
|
import type { ClusterExecutionLog } from '../models';
|
|
94
96
|
// @ts-ignore
|
|
95
97
|
import type { ClusterExecutionLogAggregateResponse } from '../models';
|
|
@@ -10565,7 +10567,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10565
10567
|
* @param {string} engineName name of the engine
|
|
10566
10568
|
* @param {string} orgName name of the Org
|
|
10567
10569
|
* @param {string} clusterName name of the Cluster
|
|
10568
|
-
* @param {string} session session id
|
|
10570
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
10569
10571
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
10570
10572
|
* @param {*} [options] Override http request option.
|
|
10571
10573
|
* @throws {RequiredError}
|
|
@@ -11384,6 +11386,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11384
11386
|
|
|
11385
11387
|
|
|
11386
11388
|
|
|
11389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11392
|
+
|
|
11393
|
+
return {
|
|
11394
|
+
url: toPathString(localVarUrlObj),
|
|
11395
|
+
options: localVarRequestOptions,
|
|
11396
|
+
};
|
|
11397
|
+
},
|
|
11398
|
+
/**
|
|
11399
|
+
*
|
|
11400
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
11401
|
+
* @param {string} orgName
|
|
11402
|
+
* @param {string} clusterName
|
|
11403
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
11404
|
+
* @param {*} [options] Override http request option.
|
|
11405
|
+
* @throws {RequiredError}
|
|
11406
|
+
*/
|
|
11407
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11408
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11409
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
11410
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11411
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
11412
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
11413
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11414
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11416
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11417
|
+
let baseOptions;
|
|
11418
|
+
if (configuration) {
|
|
11419
|
+
baseOptions = configuration.baseOptions;
|
|
11420
|
+
}
|
|
11421
|
+
|
|
11422
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11423
|
+
const localVarHeaderParameter = {} as any;
|
|
11424
|
+
const localVarQueryParameter = {} as any;
|
|
11425
|
+
|
|
11426
|
+
// authentication BearerToken required
|
|
11427
|
+
// http bearer authentication required
|
|
11428
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11429
|
+
|
|
11430
|
+
// authentication DigestAuth required
|
|
11431
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11432
|
+
|
|
11433
|
+
if (limit !== undefined) {
|
|
11434
|
+
localVarQueryParameter['limit'] = limit;
|
|
11435
|
+
}
|
|
11436
|
+
|
|
11437
|
+
|
|
11438
|
+
|
|
11387
11439
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11388
11440
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11389
11441
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24040,7 +24092,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24040
24092
|
* @param {string} engineName name of the engine
|
|
24041
24093
|
* @param {string} orgName name of the Org
|
|
24042
24094
|
* @param {string} clusterName name of the Cluster
|
|
24043
|
-
* @param {string} session session id
|
|
24095
|
+
* @param {string} session session id; for Redis, use the connection address in host:port form
|
|
24044
24096
|
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
24045
24097
|
* @param {*} [options] Override http request option.
|
|
24046
24098
|
* @throws {RequiredError}
|
|
@@ -24274,6 +24326,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24274
24326
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
|
|
24275
24327
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24276
24328
|
},
|
|
24329
|
+
/**
|
|
24330
|
+
*
|
|
24331
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
24332
|
+
* @param {string} orgName
|
|
24333
|
+
* @param {string} clusterName
|
|
24334
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
24335
|
+
* @param {*} [options] Override http request option.
|
|
24336
|
+
* @throws {RequiredError}
|
|
24337
|
+
*/
|
|
24338
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
24339
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
24340
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24341
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
24342
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24343
|
+
},
|
|
24277
24344
|
/**
|
|
24278
24345
|
*
|
|
24279
24346
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -29077,6 +29144,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
29077
29144
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
|
|
29078
29145
|
return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
29079
29146
|
},
|
|
29147
|
+
/**
|
|
29148
|
+
*
|
|
29149
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
29150
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
29151
|
+
* @param {*} [options] Override http request option.
|
|
29152
|
+
* @throws {RequiredError}
|
|
29153
|
+
*/
|
|
29154
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
29155
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
29156
|
+
},
|
|
29080
29157
|
/**
|
|
29081
29158
|
*
|
|
29082
29159
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -32819,6 +32896,16 @@ export interface SharedApiInterface {
|
|
|
32819
32896
|
*/
|
|
32820
32897
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
|
|
32821
32898
|
|
|
32899
|
+
/**
|
|
32900
|
+
*
|
|
32901
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
32902
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
32903
|
+
* @param {*} [options] Override http request option.
|
|
32904
|
+
* @throws {RequiredError}
|
|
32905
|
+
* @memberof SharedApiInterface
|
|
32906
|
+
*/
|
|
32907
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
32908
|
+
|
|
32822
32909
|
/**
|
|
32823
32910
|
*
|
|
32824
32911
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -40727,7 +40814,7 @@ export interface SharedApiKillSessionRequest {
|
|
|
40727
40814
|
readonly clusterName: string
|
|
40728
40815
|
|
|
40729
40816
|
/**
|
|
40730
|
-
* session id
|
|
40817
|
+
* session id; for Redis, use the connection address in host:port form
|
|
40731
40818
|
* @type {string}
|
|
40732
40819
|
* @memberof SharedApiKillSession
|
|
40733
40820
|
*/
|
|
@@ -41217,6 +41304,34 @@ export interface SharedApiListClusterAlertRulesRequest {
|
|
|
41217
41304
|
readonly clusterName: string
|
|
41218
41305
|
}
|
|
41219
41306
|
|
|
41307
|
+
/**
|
|
41308
|
+
* Request parameters for listClusterEvents operation in SharedApi.
|
|
41309
|
+
* @export
|
|
41310
|
+
* @interface SharedApiListClusterEventsRequest
|
|
41311
|
+
*/
|
|
41312
|
+
export interface SharedApiListClusterEventsRequest {
|
|
41313
|
+
/**
|
|
41314
|
+
*
|
|
41315
|
+
* @type {string}
|
|
41316
|
+
* @memberof SharedApiListClusterEvents
|
|
41317
|
+
*/
|
|
41318
|
+
readonly orgName: string
|
|
41319
|
+
|
|
41320
|
+
/**
|
|
41321
|
+
*
|
|
41322
|
+
* @type {string}
|
|
41323
|
+
* @memberof SharedApiListClusterEvents
|
|
41324
|
+
*/
|
|
41325
|
+
readonly clusterName: string
|
|
41326
|
+
|
|
41327
|
+
/**
|
|
41328
|
+
* Maximum number of recent events to return
|
|
41329
|
+
* @type {number}
|
|
41330
|
+
* @memberof SharedApiListClusterEvents
|
|
41331
|
+
*/
|
|
41332
|
+
readonly limit?: number
|
|
41333
|
+
}
|
|
41334
|
+
|
|
41220
41335
|
/**
|
|
41221
41336
|
* Request parameters for listClusterJars operation in SharedApi.
|
|
41222
41337
|
* @export
|
|
@@ -49773,6 +49888,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
49773
49888
|
return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
49774
49889
|
}
|
|
49775
49890
|
|
|
49891
|
+
/**
|
|
49892
|
+
*
|
|
49893
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
49894
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
49895
|
+
* @param {*} [options] Override http request option.
|
|
49896
|
+
* @throws {RequiredError}
|
|
49897
|
+
* @memberof SharedApi
|
|
49898
|
+
*/
|
|
49899
|
+
public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
49900
|
+
return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
49901
|
+
}
|
|
49902
|
+
|
|
49776
49903
|
/**
|
|
49777
49904
|
*
|
|
49778
49905
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
* Kubernetes event for a cluster, component or InstanceSet
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ClusterEventItem
|
|
21
|
+
*/
|
|
22
|
+
export interface ClusterEventItem {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ClusterEventItem
|
|
27
|
+
*/
|
|
28
|
+
'clusterName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Kubernetes kind of the involved object
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ClusterEventItem
|
|
33
|
+
*/
|
|
34
|
+
'objectKind': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ClusterEventItem
|
|
39
|
+
*/
|
|
40
|
+
'objectName': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ClusterEventItem
|
|
45
|
+
*/
|
|
46
|
+
'objectUID': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ClusterEventItem
|
|
51
|
+
*/
|
|
52
|
+
'componentName'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ClusterEventItem
|
|
57
|
+
*/
|
|
58
|
+
'name': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ClusterEventItem
|
|
63
|
+
*/
|
|
64
|
+
'type': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ClusterEventItem
|
|
69
|
+
*/
|
|
70
|
+
'reason': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ClusterEventItem
|
|
75
|
+
*/
|
|
76
|
+
'message': string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ClusterEventItem
|
|
81
|
+
*/
|
|
82
|
+
'source': string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof ClusterEventItem
|
|
87
|
+
*/
|
|
88
|
+
'count': number;
|
|
89
|
+
/**
|
|
90
|
+
* Last observation time, falling back to the event creation time
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ClusterEventItem
|
|
93
|
+
*/
|
|
94
|
+
'eventTime': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ClusterEventItem } from './cluster-event-item';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ClusterEventList
|
|
24
|
+
*/
|
|
25
|
+
export interface ClusterEventList {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ClusterEventItem>}
|
|
29
|
+
* @memberof ClusterEventList
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<ClusterEventItem>;
|
|
32
|
+
/**
|
|
33
|
+
* Whether more matching events exist than the limit
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ClusterEventList
|
|
36
|
+
*/
|
|
37
|
+
'truncated': boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -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
|
*/
|
|
@@ -56,6 +56,12 @@ import type { SchedulingConfig } from './scheduling-config';
|
|
|
56
56
|
* @interface Environment
|
|
57
57
|
*/
|
|
58
58
|
export interface Environment {
|
|
59
|
+
/**
|
|
60
|
+
* Installation task ID, returned when environment creation starts a task.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Environment
|
|
63
|
+
*/
|
|
64
|
+
'taskId'?: string;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {LogBackendType}
|
|
@@ -199,6 +199,8 @@ export * from './cluster-backup-method';
|
|
|
199
199
|
export * from './cluster-batch-update';
|
|
200
200
|
export * from './cluster-batch-update-data';
|
|
201
201
|
export * from './cluster-create';
|
|
202
|
+
export * from './cluster-event-item';
|
|
203
|
+
export * from './cluster-event-list';
|
|
202
204
|
export * from './cluster-execution-log';
|
|
203
205
|
export * from './cluster-execution-log-aggregate-item';
|
|
204
206
|
export * from './cluster-execution-log-aggregate-response';
|
|
@@ -969,7 +971,10 @@ export * from './pg-extension-available-database-schema';
|
|
|
969
971
|
export * from './placement-scope';
|
|
970
972
|
export * from './platform-component';
|
|
971
973
|
export * from './platform-component-details';
|
|
974
|
+
export * from './platform-component-node';
|
|
975
|
+
export * from './platform-component-overview';
|
|
972
976
|
export * from './platform-component-pod';
|
|
977
|
+
export * from './platform-component-pod-stats';
|
|
973
978
|
export * from './platform-component-status';
|
|
974
979
|
export * from './platform-parameter';
|
|
975
980
|
export * from './platform-parameter-constraints';
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { ResourceStats } from './resource-stats';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* A node hosting platform components. CPU and memory report capacity, allocatable capacity and actual usage in cores and GiB respectively. Filesystem statistics report root filesystem capacity and usage in GiB. Unavailable samples are -1.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface PlatformComponentNode
|
|
24
|
+
*/
|
|
25
|
+
export interface PlatformComponentNode {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PlatformComponentNode
|
|
30
|
+
*/
|
|
31
|
+
'name'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Internal node IP, falling back to external IP
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PlatformComponentNode
|
|
36
|
+
*/
|
|
37
|
+
'ip'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Kubernetes node role, control-plane or worker
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PlatformComponentNode
|
|
42
|
+
*/
|
|
43
|
+
'role'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Ready when the NodeReady condition is True, otherwise NotReady
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PlatformComponentNode
|
|
48
|
+
*/
|
|
49
|
+
'status'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Names of platform components with Pods assigned to this node
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof PlatformComponentNode
|
|
54
|
+
*/
|
|
55
|
+
'components'?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ResourceStats}
|
|
59
|
+
* @memberof PlatformComponentNode
|
|
60
|
+
*/
|
|
61
|
+
'cpuStats'?: ResourceStats;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ResourceStats}
|
|
65
|
+
* @memberof PlatformComponentNode
|
|
66
|
+
*/
|
|
67
|
+
'memoryStats'?: ResourceStats;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {ResourceStats}
|
|
71
|
+
* @memberof PlatformComponentNode
|
|
72
|
+
*/
|
|
73
|
+
'filesystemStats'?: ResourceStats;
|
|
74
|
+
}
|
|
75
|
+
|