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
|
@@ -252,6 +252,8 @@ models/cluster-backup.ts
|
|
|
252
252
|
models/cluster-batch-update-data.ts
|
|
253
253
|
models/cluster-batch-update.ts
|
|
254
254
|
models/cluster-create.ts
|
|
255
|
+
models/cluster-event-item.ts
|
|
256
|
+
models/cluster-event-list.ts
|
|
255
257
|
models/cluster-execution-log-aggregate-item.ts
|
|
256
258
|
models/cluster-execution-log-aggregate-response.ts
|
|
257
259
|
models/cluster-execution-log-aggregate-summary.ts
|
|
@@ -862,6 +864,8 @@ models/performance-trends.ts
|
|
|
862
864
|
models/permission-list.ts
|
|
863
865
|
models/permission.ts
|
|
864
866
|
models/pg-create-extension-opt.ts
|
|
867
|
+
models/pg-create-extension-result.ts
|
|
868
|
+
models/pg-create-extension-status.ts
|
|
865
869
|
models/pg-extension-available-database-schema.ts
|
|
866
870
|
models/pg-extension.ts
|
|
867
871
|
models/pgbench.ts
|
|
@@ -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';
|
|
@@ -804,6 +806,56 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
804
806
|
|
|
805
807
|
|
|
806
808
|
|
|
809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
812
|
+
|
|
813
|
+
return {
|
|
814
|
+
url: toPathString(localVarUrlObj),
|
|
815
|
+
options: localVarRequestOptions,
|
|
816
|
+
};
|
|
817
|
+
},
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
821
|
+
* @param {string} orgName
|
|
822
|
+
* @param {string} clusterName
|
|
823
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
828
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
829
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
830
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
831
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
832
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
833
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
834
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
836
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
837
|
+
let baseOptions;
|
|
838
|
+
if (configuration) {
|
|
839
|
+
baseOptions = configuration.baseOptions;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
843
|
+
const localVarHeaderParameter = {} as any;
|
|
844
|
+
const localVarQueryParameter = {} as any;
|
|
845
|
+
|
|
846
|
+
// authentication BearerToken required
|
|
847
|
+
// http bearer authentication required
|
|
848
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
849
|
+
|
|
850
|
+
// authentication DigestAuth required
|
|
851
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
852
|
+
|
|
853
|
+
if (limit !== undefined) {
|
|
854
|
+
localVarQueryParameter['limit'] = limit;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
807
859
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
808
860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
809
861
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1600,6 +1652,21 @@ export const ClusterApiFp = function(configuration?: Configuration) {
|
|
|
1600
1652
|
const localVarOperationServerBasePath = operationServerMap['ClusterApi.listCluster']?.[localVarOperationServerIndex]?.url;
|
|
1601
1653
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1602
1654
|
},
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
1658
|
+
* @param {string} orgName
|
|
1659
|
+
* @param {string} clusterName
|
|
1660
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
*/
|
|
1664
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
1665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
1666
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1667
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
1668
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1669
|
+
},
|
|
1603
1670
|
/**
|
|
1604
1671
|
*
|
|
1605
1672
|
* @summary List cluster endpoints
|
|
@@ -1906,6 +1973,16 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
|
|
|
1906
1973
|
listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
|
|
1907
1974
|
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));
|
|
1908
1975
|
},
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
1979
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
1984
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1985
|
+
},
|
|
1909
1986
|
/**
|
|
1910
1987
|
*
|
|
1911
1988
|
* @summary List cluster endpoints
|
|
@@ -2155,6 +2232,16 @@ export interface ClusterApiInterface {
|
|
|
2155
2232
|
*/
|
|
2156
2233
|
listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
|
|
2157
2234
|
|
|
2235
|
+
/**
|
|
2236
|
+
*
|
|
2237
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
2238
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
2239
|
+
* @param {*} [options] Override http request option.
|
|
2240
|
+
* @throws {RequiredError}
|
|
2241
|
+
* @memberof ClusterApiInterface
|
|
2242
|
+
*/
|
|
2243
|
+
listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
2244
|
+
|
|
2158
2245
|
/**
|
|
2159
2246
|
*
|
|
2160
2247
|
* @summary List cluster endpoints
|
|
@@ -2736,6 +2823,34 @@ export interface ClusterApiListClusterRequest {
|
|
|
2736
2823
|
readonly includeEndpoints?: boolean
|
|
2737
2824
|
}
|
|
2738
2825
|
|
|
2826
|
+
/**
|
|
2827
|
+
* Request parameters for listClusterEvents operation in ClusterApi.
|
|
2828
|
+
* @export
|
|
2829
|
+
* @interface ClusterApiListClusterEventsRequest
|
|
2830
|
+
*/
|
|
2831
|
+
export interface ClusterApiListClusterEventsRequest {
|
|
2832
|
+
/**
|
|
2833
|
+
*
|
|
2834
|
+
* @type {string}
|
|
2835
|
+
* @memberof ClusterApiListClusterEvents
|
|
2836
|
+
*/
|
|
2837
|
+
readonly orgName: string
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
*
|
|
2841
|
+
* @type {string}
|
|
2842
|
+
* @memberof ClusterApiListClusterEvents
|
|
2843
|
+
*/
|
|
2844
|
+
readonly clusterName: string
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Maximum number of recent events to return
|
|
2848
|
+
* @type {number}
|
|
2849
|
+
* @memberof ClusterApiListClusterEvents
|
|
2850
|
+
*/
|
|
2851
|
+
readonly limit?: number
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2739
2854
|
/**
|
|
2740
2855
|
* Request parameters for listEndpoints operation in ClusterApi.
|
|
2741
2856
|
* @export
|
|
@@ -3214,6 +3329,18 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
|
|
|
3214
3329
|
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));
|
|
3215
3330
|
}
|
|
3216
3331
|
|
|
3332
|
+
/**
|
|
3333
|
+
*
|
|
3334
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
3335
|
+
* @param {ClusterApiListClusterEventsRequest} requestParameters Request parameters.
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
* @memberof ClusterApi
|
|
3339
|
+
*/
|
|
3340
|
+
public listClusterEvents(requestParameters: ClusterApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
3341
|
+
return ClusterApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3217
3344
|
/**
|
|
3218
3345
|
*
|
|
3219
3346
|
* @summary List cluster endpoints
|
|
@@ -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';
|
|
@@ -10373,6 +10375,56 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10373
10375
|
|
|
10374
10376
|
|
|
10375
10377
|
|
|
10378
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10380
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10381
|
+
|
|
10382
|
+
return {
|
|
10383
|
+
url: toPathString(localVarUrlObj),
|
|
10384
|
+
options: localVarRequestOptions,
|
|
10385
|
+
};
|
|
10386
|
+
},
|
|
10387
|
+
/**
|
|
10388
|
+
*
|
|
10389
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
10390
|
+
* @param {string} orgName
|
|
10391
|
+
* @param {string} clusterName
|
|
10392
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
10393
|
+
* @param {*} [options] Override http request option.
|
|
10394
|
+
* @throws {RequiredError}
|
|
10395
|
+
*/
|
|
10396
|
+
listClusterEvents: async (orgName: string, clusterName: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10397
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10398
|
+
assertParamExists('listClusterEvents', 'orgName', orgName)
|
|
10399
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10400
|
+
assertParamExists('listClusterEvents', 'clusterName', clusterName)
|
|
10401
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/events`
|
|
10402
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10403
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10406
|
+
let baseOptions;
|
|
10407
|
+
if (configuration) {
|
|
10408
|
+
baseOptions = configuration.baseOptions;
|
|
10409
|
+
}
|
|
10410
|
+
|
|
10411
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10412
|
+
const localVarHeaderParameter = {} as any;
|
|
10413
|
+
const localVarQueryParameter = {} as any;
|
|
10414
|
+
|
|
10415
|
+
// authentication BearerToken required
|
|
10416
|
+
// http bearer authentication required
|
|
10417
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10418
|
+
|
|
10419
|
+
// authentication DigestAuth required
|
|
10420
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10421
|
+
|
|
10422
|
+
if (limit !== undefined) {
|
|
10423
|
+
localVarQueryParameter['limit'] = limit;
|
|
10424
|
+
}
|
|
10425
|
+
|
|
10426
|
+
|
|
10427
|
+
|
|
10376
10428
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10377
10429
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10378
10430
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21893,6 +21945,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21893
21945
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterAlertRules']?.[localVarOperationServerIndex]?.url;
|
|
21894
21946
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21895
21947
|
},
|
|
21948
|
+
/**
|
|
21949
|
+
*
|
|
21950
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
21951
|
+
* @param {string} orgName
|
|
21952
|
+
* @param {string} clusterName
|
|
21953
|
+
* @param {number} [limit] Maximum number of recent events to return
|
|
21954
|
+
* @param {*} [options] Override http request option.
|
|
21955
|
+
* @throws {RequiredError}
|
|
21956
|
+
*/
|
|
21957
|
+
async listClusterEvents(orgName: string, clusterName: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEventList>> {
|
|
21958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterEvents(orgName, clusterName, limit, options);
|
|
21959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21960
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterEvents']?.[localVarOperationServerIndex]?.url;
|
|
21961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21962
|
+
},
|
|
21896
21963
|
/**
|
|
21897
21964
|
*
|
|
21898
21965
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -26204,6 +26271,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
26204
26271
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
|
|
26205
26272
|
return localVarFp.listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
26206
26273
|
},
|
|
26274
|
+
/**
|
|
26275
|
+
*
|
|
26276
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
26277
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
26278
|
+
* @param {*} [options] Override http request option.
|
|
26279
|
+
* @throws {RequiredError}
|
|
26280
|
+
*/
|
|
26281
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList> {
|
|
26282
|
+
return localVarFp.listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
26283
|
+
},
|
|
26207
26284
|
/**
|
|
26208
26285
|
*
|
|
26209
26286
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -29579,6 +29656,16 @@ export interface SharedApiInterface {
|
|
|
29579
29656
|
*/
|
|
29580
29657
|
listClusterAlertRules(requestParameters: SharedApiListClusterAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
|
|
29581
29658
|
|
|
29659
|
+
/**
|
|
29660
|
+
*
|
|
29661
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
29662
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
29663
|
+
* @param {*} [options] Override http request option.
|
|
29664
|
+
* @throws {RequiredError}
|
|
29665
|
+
* @memberof SharedApiInterface
|
|
29666
|
+
*/
|
|
29667
|
+
listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEventList>;
|
|
29668
|
+
|
|
29582
29669
|
/**
|
|
29583
29670
|
*
|
|
29584
29671
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -37256,6 +37343,34 @@ export interface SharedApiListClusterAlertRulesRequest {
|
|
|
37256
37343
|
readonly clusterName: string
|
|
37257
37344
|
}
|
|
37258
37345
|
|
|
37346
|
+
/**
|
|
37347
|
+
* Request parameters for listClusterEvents operation in SharedApi.
|
|
37348
|
+
* @export
|
|
37349
|
+
* @interface SharedApiListClusterEventsRequest
|
|
37350
|
+
*/
|
|
37351
|
+
export interface SharedApiListClusterEventsRequest {
|
|
37352
|
+
/**
|
|
37353
|
+
*
|
|
37354
|
+
* @type {string}
|
|
37355
|
+
* @memberof SharedApiListClusterEvents
|
|
37356
|
+
*/
|
|
37357
|
+
readonly orgName: string
|
|
37358
|
+
|
|
37359
|
+
/**
|
|
37360
|
+
*
|
|
37361
|
+
* @type {string}
|
|
37362
|
+
* @memberof SharedApiListClusterEvents
|
|
37363
|
+
*/
|
|
37364
|
+
readonly clusterName: string
|
|
37365
|
+
|
|
37366
|
+
/**
|
|
37367
|
+
* Maximum number of recent events to return
|
|
37368
|
+
* @type {number}
|
|
37369
|
+
* @memberof SharedApiListClusterEvents
|
|
37370
|
+
*/
|
|
37371
|
+
readonly limit?: number
|
|
37372
|
+
}
|
|
37373
|
+
|
|
37259
37374
|
/**
|
|
37260
37375
|
* Request parameters for listClusterJars operation in SharedApi.
|
|
37261
37376
|
* @export
|
|
@@ -44870,6 +44985,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
44870
44985
|
return SharedApiFp(this.configuration).listClusterAlertRules(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
44871
44986
|
}
|
|
44872
44987
|
|
|
44988
|
+
/**
|
|
44989
|
+
*
|
|
44990
|
+
* @summary List Kubernetes events for the cluster, its components and InstanceSets
|
|
44991
|
+
* @param {SharedApiListClusterEventsRequest} requestParameters Request parameters.
|
|
44992
|
+
* @param {*} [options] Override http request option.
|
|
44993
|
+
* @throws {RequiredError}
|
|
44994
|
+
* @memberof SharedApi
|
|
44995
|
+
*/
|
|
44996
|
+
public listClusterEvents(requestParameters: SharedApiListClusterEventsRequest, options?: RawAxiosRequestConfig) {
|
|
44997
|
+
return SharedApiFp(this.configuration).listClusterEvents(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
44998
|
+
}
|
|
44999
|
+
|
|
44873
45000
|
/**
|
|
44874
45001
|
*
|
|
44875
45002
|
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { 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
|
|
|
@@ -159,6 +159,8 @@ export * from './cluster-backup-method';
|
|
|
159
159
|
export * from './cluster-batch-update';
|
|
160
160
|
export * from './cluster-batch-update-data';
|
|
161
161
|
export * from './cluster-create';
|
|
162
|
+
export * from './cluster-event-item';
|
|
163
|
+
export * from './cluster-event-list';
|
|
162
164
|
export * from './cluster-execution-log';
|
|
163
165
|
export * from './cluster-execution-log-aggregate-item';
|
|
164
166
|
export * from './cluster-execution-log-aggregate-response';
|
|
@@ -766,6 +768,8 @@ export * from './performance-trends';
|
|
|
766
768
|
export * from './permission';
|
|
767
769
|
export * from './permission-list';
|
|
768
770
|
export * from './pg-create-extension-opt';
|
|
771
|
+
export * from './pg-create-extension-result';
|
|
772
|
+
export * from './pg-create-extension-status';
|
|
769
773
|
export * from './pg-extension';
|
|
770
774
|
export * from './pg-extension-available-database-schema';
|
|
771
775
|
export * from './pgbench';
|
|
@@ -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}
|