kb-cloud-client-typescript 2.3.81 → 2.3.83
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/postgresql-api.d.ts +10 -10
- package/dist/adminapi/apis/postgresql-api.js +8 -8
- package/dist/adminapi/apis/shared-api.d.ts +72 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +79 -0
- 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/create-pg-extension-resp.d.ts +3 -3
- package/dist/adminapi/models/create-pg-extension-resp.d.ts.map +1 -1
- 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 +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/pg-create-extension-opt.d.ts +6 -6
- package/dist/adminapi/models/pg-create-extension-opt.d.ts.map +1 -1
- package/dist/adminapi/models/pg-create-extension-result.d.ts +44 -0
- package/dist/adminapi/models/pg-create-extension-result.d.ts.map +1 -0
- package/dist/adminapi/models/pg-create-extension-result.js +16 -0
- package/dist/adminapi/models/pg-create-extension-result.js.map +1 -0
- package/dist/adminapi/models/pg-create-extension-status.d.ts +24 -0
- package/dist/adminapi/models/pg-create-extension-status.d.ts.map +1 -0
- package/dist/adminapi/models/pg-create-extension-status.js +28 -0
- package/dist/adminapi/models/pg-create-extension-status.js.map +1 -0
- 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 +67 -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 +27 -0
- package/dist/internalapi/models/task-status.d.ts.map +1 -0
- package/dist/internalapi/models/task-status.js +31 -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/postgresql-api.d.ts +10 -10
- package/dist/openapi/apis/postgresql-api.js +8 -8
- package/dist/openapi/apis/shared-api.d.ts +72 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +79 -0
- 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/create-pg-extension-resp.d.ts +3 -3
- package/dist/openapi/models/create-pg-extension-resp.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/pg-create-extension-opt.d.ts +6 -6
- package/dist/openapi/models/pg-create-extension-opt.d.ts.map +1 -1
- package/dist/openapi/models/pg-create-extension-result.d.ts +44 -0
- package/dist/openapi/models/pg-create-extension-result.d.ts.map +1 -0
- package/dist/openapi/models/pg-create-extension-result.js +16 -0
- package/dist/openapi/models/pg-create-extension-result.js.map +1 -0
- package/dist/openapi/models/pg-create-extension-status.d.ts +24 -0
- package/dist/openapi/models/pg-create-extension-status.d.ts.map +1 -0
- package/dist/openapi/models/pg-create-extension-status.js +28 -0
- package/dist/openapi/models/pg-create-extension-status.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/cluster-api.ts +127 -0
- package/src/adminapi/apis/postgresql-api.ts +10 -10
- package/src/adminapi/apis/shared-api.ts +127 -0
- package/src/adminapi/models/cluster-event-item.ts +96 -0
- package/src/adminapi/models/cluster-event-list.ts +39 -0
- package/src/adminapi/models/create-pg-extension-resp.ts +3 -3
- package/src/adminapi/models/environment.ts +6 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi/models/pg-create-extension-opt.ts +6 -6
- package/src/adminapi/models/pg-create-extension-result.ts +53 -0
- package/src/adminapi/models/pg-create-extension-status.ts +33 -0
- package/src/adminapi.yaml +155 -15
- 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 +84 -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 +36 -0
- package/src/internalapi/models/tolerate-default-taints.ts +36 -0
- package/src/internalapi.yaml +1022 -177
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/apis/cluster-api.ts +127 -0
- package/src/openapi/apis/postgresql-api.ts +10 -10
- package/src/openapi/apis/shared-api.ts +127 -0
- package/src/openapi/models/cluster-event-item.ts +96 -0
- package/src/openapi/models/cluster-event-list.ts +39 -0
- package/src/openapi/models/create-pg-extension-resp.ts +3 -3
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi/models/pg-create-extension-opt.ts +6 -6
- package/src/openapi/models/pg-create-extension-result.ts +53 -0
- package/src/openapi/models/pg-create-extension-status.ts +33 -0
- package/src/openapi.yaml +151 -14
|
@@ -30,6 +30,8 @@ import type { ClusterBatchUpdate } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { ClusterCreate } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
+
import type { ClusterEventList } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
33
35
|
import type { ClusterList } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
35
37
|
import type { ClusterMetrics } from '../models';
|
|
@@ -800,6 +802,56 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
800
802
|
|
|
801
803
|
|
|
802
804
|
|
|
805
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
808
|
+
|
|
809
|
+
return {
|
|
810
|
+
url: toPathString(localVarUrlObj),
|
|
811
|
+
options: localVarRequestOptions,
|
|
812
|
+
};
|
|
813
|
+
},
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
817
|
+
* @param {string} orgName
|
|
818
|
+
* @param {string} clusterName
|
|
819
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
820
|
+
* @param {*} [options] Override http request option.
|
|
821
|
+
* @throws {RequiredError}
|
|
822
|
+
*/
|
|
823
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
824
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
825
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
826
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
827
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
828
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
829
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
830
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
831
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
832
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
833
|
+
let baseOptions;
|
|
834
|
+
if (configuration) {
|
|
835
|
+
baseOptions = configuration.baseOptions;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
839
|
+
const localVarHeaderParameter = {} as any;
|
|
840
|
+
const localVarQueryParameter = {} as any;
|
|
841
|
+
|
|
842
|
+
// authentication BearerToken required
|
|
843
|
+
// http bearer authentication required
|
|
844
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
845
|
+
|
|
846
|
+
// authentication DigestAuth required
|
|
847
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
848
|
+
|
|
849
|
+
if (limit !== undefined) {
|
|
850
|
+
localVarQueryParameter['limit'] = limit;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
803
855
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
804
856
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
805
857
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1657,6 +1709,21 @@ export const ClusterApiFp = function(configuration?: Configuration) {
|
|
|
1657
1709
|
const localVarOperationServerBasePath = operationServerMap['ClusterApi.listCluster']?.[localVarOperationServerIndex]?.url;
|
|
1658
1710
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1659
1711
|
},
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
1715
|
+
* @param {string} orgName
|
|
1716
|
+
* @param {string} clusterName
|
|
1717
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
1718
|
+
* @param {*} [options] Override http request option.
|
|
1719
|
+
* @throws {RequiredError}
|
|
1720
|
+
*/
|
|
1721
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
1722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
1723
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1724
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
1725
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1726
|
+
},
|
|
1660
1727
|
/**
|
|
1661
1728
|
* Get cluster list
|
|
1662
1729
|
* @summary Get cluster list
|
|
@@ -1980,6 +2047,16 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
|
|
|
1980
2047
|
listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
|
|
1981
2048
|
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
1982
2049
|
},
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
2053
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
2054
|
+
* @param {*} [options] Override http request option.
|
|
2055
|
+
* @throws {RequiredError}
|
|
2056
|
+
*/
|
|
2057
|
+
listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
2058
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
2059
|
+
},
|
|
1983
2060
|
/**
|
|
1984
2061
|
* Get cluster list
|
|
1985
2062
|
* @summary Get cluster list
|
|
@@ -2239,6 +2316,16 @@ export interface ClusterApiInterface {
|
|
|
2239
2316
|
*/
|
|
2240
2317
|
listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
|
|
2241
2318
|
|
|
2319
|
+
/**
|
|
2320
|
+
*
|
|
2321
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
2322
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
2323
|
+
* @param {*} [options] Override http request option.
|
|
2324
|
+
* @throws {RequiredError}
|
|
2325
|
+
* @memberof ClusterApiInterface
|
|
2326
|
+
*/
|
|
2327
|
+
listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
2328
|
+
|
|
2242
2329
|
/**
|
|
2243
2330
|
* Get cluster list
|
|
2244
2331
|
* @summary Get cluster list
|
|
@@ -2823,6 +2910,34 @@ export interface ClusterApiListClusterRequest {
|
|
|
2823
2910
|
readonly includeEndpoints?: boolean
|
|
2824
2911
|
}
|
|
2825
2912
|
|
|
2913
|
+
/**
|
|
2914
|
+
* Request parameters for listClusterEvents operation in ClusterApi.
|
|
2915
|
+
* @export
|
|
2916
|
+
* @interface ClusterApiListClusterEventsRequest
|
|
2917
|
+
*/
|
|
2918
|
+
export interface ClusterApiListClusterEventsRequest {
|
|
2919
|
+
/**
|
|
2920
|
+
*
|
|
2921
|
+
* @type {string}
|
|
2922
|
+
* @memberof ClusterApiListClusterEvents
|
|
2923
|
+
*/
|
|
2924
|
+
readonly orgName: string
|
|
2925
|
+
|
|
2926
|
+
/**
|
|
2927
|
+
*
|
|
2928
|
+
* @type {string}
|
|
2929
|
+
* @memberof ClusterApiListClusterEvents
|
|
2930
|
+
*/
|
|
2931
|
+
readonly clusterName: string
|
|
2932
|
+
|
|
2933
|
+
/**
|
|
2934
|
+
* Maximum number of recent events to return
|
|
2935
|
+
* @type {number}
|
|
2936
|
+
* @memberof ClusterApiListClusterEvents
|
|
2937
|
+
*/
|
|
2938
|
+
readonly limit?: number
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2826
2941
|
/**
|
|
2827
2942
|
* Request parameters for listClusters operation in ClusterApi.
|
|
2828
2943
|
* @export
|
|
@@ -3343,6 +3458,18 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
|
|
|
3343
3458
|
return ClusterApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
3344
3459
|
}
|
|
3345
3460
|
|
|
3461
|
+
/**
|
|
3462
|
+
*
|
|
3463
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
3464
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
3465
|
+
* @param {*} [options] Override http request option.
|
|
3466
|
+
* @throws {RequiredError}
|
|
3467
|
+
* @memberof ClusterApi
|
|
3468
|
+
*/
|
|
3469
|
+
public listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
3470
|
+
return ClusterApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3346
3473
|
/**
|
|
3347
3474
|
* Get cluster list
|
|
3348
3475
|
* @summary Get cluster list
|
|
@@ -36,8 +36,8 @@ import type { PgExtension } from '../models';
|
|
|
36
36
|
export const PostgresqlApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
39
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
40
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
41
41
|
* @param {string} orgName Organization name
|
|
42
42
|
* @param {string} clusterName name of the cluster
|
|
43
43
|
* @param {PgCreateExtensionOpt} pgCreateExtensionOpt
|
|
@@ -208,8 +208,8 @@ export const PostgresqlApiFp = function(configuration?: Configuration) {
|
|
|
208
208
|
const localVarAxiosParamCreator = PostgresqlApiAxiosParamCreator(configuration)
|
|
209
209
|
return {
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary
|
|
211
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
212
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
213
213
|
* @param {string} orgName Organization name
|
|
214
214
|
* @param {string} clusterName name of the cluster
|
|
215
215
|
* @param {PgCreateExtensionOpt} pgCreateExtensionOpt
|
|
@@ -265,8 +265,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
|
|
|
265
265
|
const localVarFp = PostgresqlApiFp(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
269
|
-
* @summary
|
|
268
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
269
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
270
270
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
272
272
|
* @throws {RequiredError}
|
|
@@ -304,8 +304,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
|
|
|
304
304
|
*/
|
|
305
305
|
export interface PostgresqlApiInterface {
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @summary
|
|
307
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
308
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
309
309
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
310
310
|
* @param {*} [options] Override http request option.
|
|
311
311
|
* @throws {RequiredError}
|
|
@@ -441,8 +441,8 @@ export interface PostgresqlApiListPGExtensionsRequest {
|
|
|
441
441
|
*/
|
|
442
442
|
export class PostgresqlApi extends BaseAPI implements PostgresqlApiInterface {
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
445
|
-
* @summary
|
|
444
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
445
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
446
446
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
@@ -92,6 +92,8 @@ import type { ClusterBackupMethod } from '../models';
|
|
|
92
92
|
// @ts-ignore
|
|
93
93
|
import type { ClusterCreate } from '../models';
|
|
94
94
|
// @ts-ignore
|
|
95
|
+
import type { ClusterEventList } from '../models';
|
|
96
|
+
// @ts-ignore
|
|
95
97
|
import type { ClusterExecutionLog } from '../models';
|
|
96
98
|
// @ts-ignore
|
|
97
99
|
import type { ClusterExecutionLogAggregateResponse } from '../models';
|
|
@@ -10216,6 +10218,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10216
10218
|
|
|
10217
10219
|
|
|
10218
10220
|
|
|
10221
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10222
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10223
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10224
|
+
|
|
10225
|
+
return {
|
|
10226
|
+
url: toPathString(localVarUrlObj),
|
|
10227
|
+
options: localVarRequestOptions,
|
|
10228
|
+
};
|
|
10229
|
+
},
|
|
10230
|
+
/**
|
|
10231
|
+
*
|
|
10232
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
10233
|
+
* @param {string} orgName
|
|
10234
|
+
* @param {string} clusterName
|
|
10235
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
10236
|
+
* @param {*} [options] Override http request option.
|
|
10237
|
+
* @throws {RequiredError}
|
|
10238
|
+
*/
|
|
10239
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10240
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10241
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
10242
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10243
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
10244
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
10245
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10246
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10249
|
+
let baseOptions;
|
|
10250
|
+
if (configuration) {
|
|
10251
|
+
baseOptions = configuration.baseOptions;
|
|
10252
|
+
}
|
|
10253
|
+
|
|
10254
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10255
|
+
const localVarHeaderParameter = {} as any;
|
|
10256
|
+
const localVarQueryParameter = {} as any;
|
|
10257
|
+
|
|
10258
|
+
// authentication BearerToken required
|
|
10259
|
+
// http bearer authentication required
|
|
10260
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10261
|
+
|
|
10262
|
+
// authentication DigestAuth required
|
|
10263
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10264
|
+
|
|
10265
|
+
if (limit !== undefined) {
|
|
10266
|
+
localVarQueryParameter['limit'] = limit;
|
|
10267
|
+
}
|
|
10268
|
+
|
|
10269
|
+
|
|
10270
|
+
|
|
10219
10271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10220
10272
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10221
10273
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21793,6 +21845,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21793
21845
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
|
|
21794
21846
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21795
21847
|
},
|
|
21848
|
+
/**
|
|
21849
|
+
*
|
|
21850
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
21851
|
+
* @param {string} orgName
|
|
21852
|
+
* @param {string} clusterName
|
|
21853
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
21854
|
+
* @param {*} [options] Override http request option.
|
|
21855
|
+
* @throws {RequiredError}
|
|
21856
|
+
*/
|
|
21857
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
21858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
21859
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21860
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
21861
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21862
|
+
},
|
|
21796
21863
|
/**
|
|
21797
21864
|
*
|
|
21798
21865
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -26130,6 +26197,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
26130
26197
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
|
|
26131
26198
|
return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
26132
26199
|
},
|
|
26200
|
+
/**
|
|
26201
|
+
*
|
|
26202
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
26203
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
26204
|
+
* @param {*} [options] Override http request option.
|
|
26205
|
+
* @throws {RequiredError}
|
|
26206
|
+
*/
|
|
26207
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
26208
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
26209
|
+
},
|
|
26133
26210
|
/**
|
|
26134
26211
|
*
|
|
26135
26212
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -29523,6 +29600,16 @@ export interface SharedApiInterface {
|
|
|
29523
29600
|
*/
|
|
29524
29601
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
|
|
29525
29602
|
|
|
29603
|
+
/**
|
|
29604
|
+
*
|
|
29605
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
29606
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
29607
|
+
* @param {*} [options] Override http request option.
|
|
29608
|
+
* @throws {RequiredError}
|
|
29609
|
+
* @memberof SharedApiInterface
|
|
29610
|
+
*/
|
|
29611
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
29612
|
+
|
|
29526
29613
|
/**
|
|
29527
29614
|
*
|
|
29528
29615
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -36953,6 +37040,34 @@ export interface SharedApiListClusterAlertRulesRequest {
|
|
|
36953
37040
|
readonly clusterName: string
|
|
36954
37041
|
}
|
|
36955
37042
|
|
|
37043
|
+
/**
|
|
37044
|
+
* Request parameters for listClusterEvents operation in SharedApi.
|
|
37045
|
+
* @export
|
|
37046
|
+
* @interface SharedApiListClusterEventsRequest
|
|
37047
|
+
*/
|
|
37048
|
+
export interface SharedApiListClusterEventsRequest {
|
|
37049
|
+
/**
|
|
37050
|
+
*
|
|
37051
|
+
* @type {string}
|
|
37052
|
+
* @memberof SharedApiListClusterEvents
|
|
37053
|
+
*/
|
|
37054
|
+
readonly orgName: string
|
|
37055
|
+
|
|
37056
|
+
/**
|
|
37057
|
+
*
|
|
37058
|
+
* @type {string}
|
|
37059
|
+
* @memberof SharedApiListClusterEvents
|
|
37060
|
+
*/
|
|
37061
|
+
readonly clusterName: string
|
|
37062
|
+
|
|
37063
|
+
/**
|
|
37064
|
+
* Maximum number of recent events to return
|
|
37065
|
+
* @type {number}
|
|
37066
|
+
* @memberof SharedApiListClusterEvents
|
|
37067
|
+
*/
|
|
37068
|
+
readonly limit?: number
|
|
37069
|
+
}
|
|
37070
|
+
|
|
36956
37071
|
/**
|
|
36957
37072
|
* Request parameters for listClusterJars operation in SharedApi.
|
|
36958
37073
|
* @export
|
|
@@ -44594,6 +44709,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
44594
44709
|
return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
44595
44710
|
}
|
|
44596
44711
|
|
|
44712
|
+
/**
|
|
44713
|
+
*
|
|
44714
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
44715
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
44716
|
+
* @param {*} [options] Override http request option.
|
|
44717
|
+
* @throws {RequiredError}
|
|
44718
|
+
* @memberof SharedApi
|
|
44719
|
+
*/
|
|
44720
|
+
public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
44721
|
+
return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
44722
|
+
}
|
|
44723
|
+
|
|
44597
44724
|
/**
|
|
44598
44725
|
*
|
|
44599
44726
|
* @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
|
+
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { OpsRequestName } from './ops-request-name';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import type {
|
|
21
|
+
import type { PgCreateExtensionResult } from './pg-create-extension-result';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -34,9 +34,9 @@ export interface CreatePgExtensionResp {
|
|
|
34
34
|
'opsRequestResult'?: OpsRequestName;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<PgCreateExtensionResult>}
|
|
38
38
|
* @memberof CreatePgExtensionResp
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'items': Array<PgCreateExtensionResult>;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -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}
|
|
@@ -177,6 +177,8 @@ export * from './cluster-backup-method';
|
|
|
177
177
|
export * from './cluster-batch-update';
|
|
178
178
|
export * from './cluster-batch-update-data';
|
|
179
179
|
export * from './cluster-create';
|
|
180
|
+
export * from './cluster-event-item';
|
|
181
|
+
export * from './cluster-event-list';
|
|
180
182
|
export * from './cluster-execution-log';
|
|
181
183
|
export * from './cluster-execution-log-aggregate-item';
|
|
182
184
|
export * from './cluster-execution-log-aggregate-response';
|
|
@@ -873,6 +875,8 @@ export * from './permission-list';
|
|
|
873
875
|
export * from './persistent-volume-claim';
|
|
874
876
|
export * from './persistent-volume-claim-list';
|
|
875
877
|
export * from './pg-create-extension-opt';
|
|
878
|
+
export * from './pg-create-extension-result';
|
|
879
|
+
export * from './pg-create-extension-status';
|
|
876
880
|
export * from './pg-extension';
|
|
877
881
|
export * from './pg-extension-available-database-schema';
|
|
878
882
|
export * from './placement-scope';
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PgCreateExtensionOpt {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
24
|
+
* Target databases. At most 100 database-extension pairs per request.
|
|
25
|
+
* @type {Array<string>}
|
|
26
26
|
* @memberof PgCreateExtensionOpt
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'databases': Array<string>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
30
|
+
* Extensions to enable using their default versions and schemas.
|
|
31
|
+
* @type {Array<string>}
|
|
32
32
|
* @memberof PgCreateExtensionOpt
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'names': Array<string>;
|
|
35
35
|
/**
|
|
36
36
|
* The version of the extension to install.
|
|
37
37
|
* @type {string}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { PgCreateExtensionStatus } from './pg-create-extension-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface PgCreateExtensionResult
|
|
24
|
+
*/
|
|
25
|
+
export interface PgCreateExtensionResult {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PgCreateExtensionResult
|
|
30
|
+
*/
|
|
31
|
+
'database': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PgCreateExtensionResult
|
|
36
|
+
*/
|
|
37
|
+
'name': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {PgCreateExtensionStatus}
|
|
41
|
+
* @memberof PgCreateExtensionResult
|
|
42
|
+
*/
|
|
43
|
+
'status': PgCreateExtensionStatus;
|
|
44
|
+
/**
|
|
45
|
+
* The error for an extension that failed to install or schedule.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PgCreateExtensionResult
|
|
48
|
+
*/
|
|
49
|
+
'error'?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|