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
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const PgCreateExtensionStatus = {
|
|
24
|
+
installed: 'installed',
|
|
25
|
+
already_installed: 'already_installed',
|
|
26
|
+
scheduled: 'scheduled',
|
|
27
|
+
failed: 'failed'
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type PgCreateExtensionStatus = typeof PgCreateExtensionStatus[keyof typeof PgCreateExtensionStatus];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
package/src/adminapi.yaml
CHANGED
|
@@ -3787,6 +3787,50 @@ paths:
|
|
|
3787
3787
|
tags:
|
|
3788
3788
|
- cluster
|
|
3789
3789
|
- shared
|
|
3790
|
+
/admin/v1/organizations/{orgName}/clusters/{clusterName}/events:
|
|
3791
|
+
get:
|
|
3792
|
+
operationId: listClusterEvents
|
|
3793
|
+
tags:
|
|
3794
|
+
- cluster
|
|
3795
|
+
- shared
|
|
3796
|
+
summary: List Kubernetes events for the cluster, its components and InstanceSets
|
|
3797
|
+
parameters:
|
|
3798
|
+
- name: orgName
|
|
3799
|
+
in: path
|
|
3800
|
+
required: true
|
|
3801
|
+
schema:
|
|
3802
|
+
type: string
|
|
3803
|
+
- name: clusterName
|
|
3804
|
+
in: path
|
|
3805
|
+
required: true
|
|
3806
|
+
schema:
|
|
3807
|
+
type: string
|
|
3808
|
+
- name: limit
|
|
3809
|
+
in: query
|
|
3810
|
+
description: Maximum number of recent events to return
|
|
3811
|
+
schema:
|
|
3812
|
+
type: integer
|
|
3813
|
+
format: int32
|
|
3814
|
+
default: 100
|
|
3815
|
+
minimum: 1
|
|
3816
|
+
maximum: 500
|
|
3817
|
+
responses:
|
|
3818
|
+
'200':
|
|
3819
|
+
description: A successful response.
|
|
3820
|
+
content:
|
|
3821
|
+
application/json:
|
|
3822
|
+
schema:
|
|
3823
|
+
$ref: '#/components/schemas/clusterEventList'
|
|
3824
|
+
'400':
|
|
3825
|
+
$ref: '#/components/responses/400'
|
|
3826
|
+
'401':
|
|
3827
|
+
$ref: '#/components/responses/401'
|
|
3828
|
+
'403':
|
|
3829
|
+
$ref: '#/components/responses/403'
|
|
3830
|
+
'404':
|
|
3831
|
+
$ref: '#/components/responses/404'
|
|
3832
|
+
'500':
|
|
3833
|
+
$ref: '#/components/responses/500'
|
|
3790
3834
|
/admin/v1/organizations/{orgName}/clusters/{clusterName}/instances/{instanceName}/events:
|
|
3791
3835
|
get:
|
|
3792
3836
|
operationId: listInstanceEvents
|
|
@@ -13237,7 +13281,7 @@ paths:
|
|
|
13237
13281
|
$ref: '#/components/schemas/imageRegistry'
|
|
13238
13282
|
required: true
|
|
13239
13283
|
responses:
|
|
13240
|
-
'
|
|
13284
|
+
'200':
|
|
13241
13285
|
content:
|
|
13242
13286
|
application/json:
|
|
13243
13287
|
schema:
|
|
@@ -26972,8 +27016,8 @@ paths:
|
|
|
26972
27016
|
'500':
|
|
26973
27017
|
$ref: '#/components/responses/500'
|
|
26974
27018
|
post:
|
|
26975
|
-
summary:
|
|
26976
|
-
description:
|
|
27019
|
+
summary: Enable PostgreSQL extensions in selected databases
|
|
27020
|
+
description: Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
26977
27021
|
operationId: createPGExtension
|
|
26978
27022
|
tags:
|
|
26979
27023
|
- postgresql
|
|
@@ -32495,6 +32539,63 @@ components:
|
|
|
32495
32539
|
required:
|
|
32496
32540
|
- items
|
|
32497
32541
|
type: object
|
|
32542
|
+
clusterEventItem:
|
|
32543
|
+
description: Kubernetes event for a cluster, component or InstanceSet
|
|
32544
|
+
type: object
|
|
32545
|
+
required:
|
|
32546
|
+
- clusterName
|
|
32547
|
+
- objectKind
|
|
32548
|
+
- objectName
|
|
32549
|
+
- objectUID
|
|
32550
|
+
- name
|
|
32551
|
+
- type
|
|
32552
|
+
- reason
|
|
32553
|
+
- message
|
|
32554
|
+
- source
|
|
32555
|
+
- count
|
|
32556
|
+
- eventTime
|
|
32557
|
+
properties:
|
|
32558
|
+
clusterName:
|
|
32559
|
+
type: string
|
|
32560
|
+
objectKind:
|
|
32561
|
+
description: Kubernetes kind of the involved object
|
|
32562
|
+
type: string
|
|
32563
|
+
objectName:
|
|
32564
|
+
type: string
|
|
32565
|
+
objectUID:
|
|
32566
|
+
type: string
|
|
32567
|
+
componentName:
|
|
32568
|
+
type: string
|
|
32569
|
+
name:
|
|
32570
|
+
type: string
|
|
32571
|
+
type:
|
|
32572
|
+
type: string
|
|
32573
|
+
reason:
|
|
32574
|
+
type: string
|
|
32575
|
+
message:
|
|
32576
|
+
type: string
|
|
32577
|
+
source:
|
|
32578
|
+
type: string
|
|
32579
|
+
count:
|
|
32580
|
+
type: integer
|
|
32581
|
+
format: int32
|
|
32582
|
+
eventTime:
|
|
32583
|
+
description: Last observation time, falling back to the event creation time
|
|
32584
|
+
type: string
|
|
32585
|
+
format: date-time
|
|
32586
|
+
clusterEventList:
|
|
32587
|
+
type: object
|
|
32588
|
+
required:
|
|
32589
|
+
- items
|
|
32590
|
+
- truncated
|
|
32591
|
+
properties:
|
|
32592
|
+
items:
|
|
32593
|
+
type: array
|
|
32594
|
+
items:
|
|
32595
|
+
$ref: '#/components/schemas/clusterEventItem'
|
|
32596
|
+
truncated:
|
|
32597
|
+
description: Whether more matching events exist than the limit
|
|
32598
|
+
type: boolean
|
|
32498
32599
|
instanceEventItem:
|
|
32499
32600
|
description: Instance event
|
|
32500
32601
|
properties:
|
|
@@ -38111,6 +38212,9 @@ components:
|
|
|
38111
38212
|
- updatedAt
|
|
38112
38213
|
- ipPoolProviders
|
|
38113
38214
|
properties:
|
|
38215
|
+
taskId:
|
|
38216
|
+
type: string
|
|
38217
|
+
description: Installation task ID, returned when environment creation starts a task.
|
|
38114
38218
|
logBackend:
|
|
38115
38219
|
$ref: '#/components/schemas/logBackendType'
|
|
38116
38220
|
provider:
|
|
@@ -50802,30 +50906,66 @@ components:
|
|
|
50802
50906
|
PgCreateExtensionOpt:
|
|
50803
50907
|
type: object
|
|
50804
50908
|
required:
|
|
50805
|
-
-
|
|
50806
|
-
-
|
|
50909
|
+
- databases
|
|
50910
|
+
- names
|
|
50807
50911
|
properties:
|
|
50808
|
-
|
|
50809
|
-
type:
|
|
50810
|
-
|
|
50811
|
-
|
|
50812
|
-
|
|
50813
|
-
|
|
50912
|
+
databases:
|
|
50913
|
+
type: array
|
|
50914
|
+
minItems: 1
|
|
50915
|
+
maxItems: 100
|
|
50916
|
+
items:
|
|
50917
|
+
type: string
|
|
50918
|
+
minLength: 1
|
|
50919
|
+
description: Target databases. At most 100 database-extension pairs per request.
|
|
50920
|
+
names:
|
|
50921
|
+
type: array
|
|
50922
|
+
minItems: 1
|
|
50923
|
+
maxItems: 100
|
|
50924
|
+
items:
|
|
50925
|
+
type: string
|
|
50926
|
+
minLength: 1
|
|
50927
|
+
description: Extensions to enable using their default versions and schemas.
|
|
50814
50928
|
version:
|
|
50815
50929
|
type: string
|
|
50816
50930
|
description: The version of the extension to install.
|
|
50817
50931
|
schema:
|
|
50818
50932
|
type: string
|
|
50819
50933
|
description: The schema where the extension is installed.
|
|
50934
|
+
PgCreateExtensionStatus:
|
|
50935
|
+
type: string
|
|
50936
|
+
enum:
|
|
50937
|
+
- installed
|
|
50938
|
+
- already_installed
|
|
50939
|
+
- scheduled
|
|
50940
|
+
- failed
|
|
50941
|
+
PgCreateExtensionResult:
|
|
50942
|
+
type: object
|
|
50943
|
+
required:
|
|
50944
|
+
- database
|
|
50945
|
+
- name
|
|
50946
|
+
- status
|
|
50947
|
+
properties:
|
|
50948
|
+
database:
|
|
50949
|
+
type: string
|
|
50950
|
+
name:
|
|
50951
|
+
type: string
|
|
50952
|
+
status:
|
|
50953
|
+
$ref: '#/components/schemas/PgCreateExtensionStatus'
|
|
50954
|
+
description: Scheduled means accepted for installation after the reconfiguration task, not installed yet.
|
|
50955
|
+
error:
|
|
50956
|
+
type: string
|
|
50957
|
+
description: The error for an extension that failed to install or schedule.
|
|
50820
50958
|
createPgExtensionResp:
|
|
50821
50959
|
type: object
|
|
50960
|
+
required:
|
|
50961
|
+
- items
|
|
50822
50962
|
properties:
|
|
50823
50963
|
opsRequestResult:
|
|
50824
|
-
type: object
|
|
50825
50964
|
$ref: '#/components/schemas/opsRequestName'
|
|
50826
|
-
|
|
50827
|
-
type:
|
|
50828
|
-
|
|
50965
|
+
items:
|
|
50966
|
+
type: array
|
|
50967
|
+
items:
|
|
50968
|
+
$ref: '#/components/schemas/PgCreateExtensionResult'
|
|
50829
50969
|
encryptionAlgorithm:
|
|
50830
50970
|
description: the encryption algorithm
|
|
50831
50971
|
type: string
|
|
@@ -9,6 +9,7 @@ apis/datasource-api.ts
|
|
|
9
9
|
apis/dbdoctor-api.ts
|
|
10
10
|
apis/engine-api.ts
|
|
11
11
|
apis/environment-api.ts
|
|
12
|
+
apis/image-registry-api.ts
|
|
12
13
|
apis/imagepullsecret-api.ts
|
|
13
14
|
apis/nodeplane-api.ts
|
|
14
15
|
apis/platform-parameter-api.ts
|
|
@@ -16,6 +17,7 @@ apis/recycle-bin-cluster-api.ts
|
|
|
16
17
|
apis/shared-api.ts
|
|
17
18
|
apis/slaapi.ts
|
|
18
19
|
apis/storage-api.ts
|
|
20
|
+
apis/task-api.ts
|
|
19
21
|
apis/victoria-logs-cluster-api.ts
|
|
20
22
|
apis/victoria-metrics-cluster-api.ts
|
|
21
23
|
base.ts
|
|
@@ -30,6 +32,7 @@ models/apiserver-phase-detail.ts
|
|
|
30
32
|
models/apiserver-phase-status.ts
|
|
31
33
|
models/apiserver-status-response.ts
|
|
32
34
|
models/apiserver-status.ts
|
|
35
|
+
models/autohealing-config.ts
|
|
33
36
|
models/backup-repo-access-method.ts
|
|
34
37
|
models/backup-repo-check-result.ts
|
|
35
38
|
models/backup-repo-check-status.ts
|
|
@@ -38,29 +41,42 @@ models/backup-repo-pvreclaim-policy.ts
|
|
|
38
41
|
models/backup-repo.ts
|
|
39
42
|
models/backup-retention-policy.ts
|
|
40
43
|
models/cluster-backup.ts
|
|
44
|
+
models/cluster-info.ts
|
|
41
45
|
models/cluster-license.ts
|
|
42
46
|
models/cluster-list-item.ts
|
|
43
47
|
models/cluster-list.ts
|
|
44
48
|
models/cluster-maintaince-window.ts
|
|
45
49
|
models/cluster-object-storage-config.ts
|
|
46
50
|
models/cluster-reference.ts
|
|
51
|
+
models/cluster-scheduling-policy.ts
|
|
47
52
|
models/cluster-termination-policy.ts
|
|
48
53
|
models/cluster-type.ts
|
|
49
54
|
models/cluster-update.ts
|
|
55
|
+
models/cluster-validation-policy.ts
|
|
50
56
|
models/cluster.ts
|
|
51
57
|
models/component-item.ts
|
|
52
58
|
models/component-network.ts
|
|
53
59
|
models/component-volume-item.ts
|
|
60
|
+
models/component.ts
|
|
54
61
|
models/dbdoctor-response.ts
|
|
62
|
+
models/dns.ts
|
|
55
63
|
models/endpoint-list.ts
|
|
56
64
|
models/endpoint-network-type.ts
|
|
57
65
|
models/endpoint-type.ts
|
|
58
66
|
models/endpoint.ts
|
|
59
67
|
models/engine-status.ts
|
|
60
68
|
models/engine.ts
|
|
69
|
+
models/environment-architecture.ts
|
|
70
|
+
models/environment-create.ts
|
|
71
|
+
models/environment-delete-policy.ts
|
|
72
|
+
models/environment-module-status.ts
|
|
73
|
+
models/environment-module.ts
|
|
74
|
+
models/environment-register-type.ts
|
|
75
|
+
models/environment-state.ts
|
|
61
76
|
models/environment-storage-type.ts
|
|
62
77
|
models/environment-storage.ts
|
|
63
78
|
models/environment-type.ts
|
|
79
|
+
models/environment.ts
|
|
64
80
|
models/grafana-datasource-create.ts
|
|
65
81
|
models/grafana-datasource.ts
|
|
66
82
|
models/http-body.ts
|
|
@@ -69,25 +85,43 @@ models/index.ts
|
|
|
69
85
|
models/init-option-item.ts
|
|
70
86
|
models/instance-template-create-env-inner.ts
|
|
71
87
|
models/instance-template-create.ts
|
|
88
|
+
models/internal-image-registry-list.ts
|
|
89
|
+
models/internal-image-registry.ts
|
|
90
|
+
models/internal-task-list.ts
|
|
91
|
+
models/internal-task-steps-inner.ts
|
|
92
|
+
models/internal-task.ts
|
|
72
93
|
models/io-quantity.ts
|
|
73
94
|
models/ip-pool-provider.ts
|
|
74
95
|
models/ip-pool-selection.ts
|
|
75
96
|
models/koordinator-reservation-resource-class.ts
|
|
76
97
|
models/localized-description.ts
|
|
98
|
+
models/log-backend-type.ts
|
|
99
|
+
models/network-config.ts
|
|
77
100
|
models/network-mode.ts
|
|
101
|
+
models/node-pool-node.ts
|
|
78
102
|
models/outage-record.ts
|
|
79
103
|
models/page-result.ts
|
|
104
|
+
models/pagination-result.ts
|
|
80
105
|
models/param-tpls-item.ts
|
|
81
106
|
models/parameter-template-partition.ts
|
|
82
107
|
models/platform-parameter-constraints.ts
|
|
83
108
|
models/platform-parameter.ts
|
|
84
109
|
models/postable-alert.ts
|
|
110
|
+
models/provision-config.ts
|
|
111
|
+
models/register.ts
|
|
112
|
+
models/scheduling-config.ts
|
|
85
113
|
models/scheduling-policy-type.ts
|
|
86
114
|
models/service-descriptor.ts
|
|
87
115
|
models/service-ref.ts
|
|
88
116
|
models/static-cluster-component.ts
|
|
89
117
|
models/static-cluster.ts
|
|
118
|
+
models/storage-config-backup.ts
|
|
119
|
+
models/storage-config.ts
|
|
90
120
|
models/storage-create.ts
|
|
91
121
|
models/storage-display-name.ts
|
|
92
122
|
models/storage.ts
|
|
123
|
+
models/system-component-scheduler-policy.ts
|
|
93
124
|
models/tag.ts
|
|
125
|
+
models/task-retry-mode.ts
|
|
126
|
+
models/task-status.ts
|
|
127
|
+
models/tolerate-default-taints.ts
|
package/src/internalapi/api.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './apis/datasource-api';
|
|
|
21
21
|
export * from './apis/dbdoctor-api';
|
|
22
22
|
export * from './apis/engine-api';
|
|
23
23
|
export * from './apis/environment-api';
|
|
24
|
+
export * from './apis/image-registry-api';
|
|
24
25
|
export * from './apis/imagepullsecret-api';
|
|
25
26
|
export * from './apis/nodeplane-api';
|
|
26
27
|
export * from './apis/platform-parameter-api';
|
|
@@ -28,6 +29,7 @@ export * from './apis/recycle-bin-cluster-api';
|
|
|
28
29
|
export * from './apis/slaapi';
|
|
29
30
|
export * from './apis/shared-api';
|
|
30
31
|
export * from './apis/storage-api';
|
|
32
|
+
export * from './apis/task-api';
|
|
31
33
|
export * from './apis/victoria-logs-cluster-api';
|
|
32
34
|
export * from './apis/victoria-metrics-cluster-api';
|
|
33
35
|
|
|
@@ -28,6 +28,10 @@ import type { BackupRepo } from '../models';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { BackupRepoCreate } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
+
import type { Environment } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { EnvironmentCreate } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
31
35
|
import type { HttpBody } from '../models';
|
|
32
36
|
/**
|
|
33
37
|
* EnvironmentApi - axios parameter creator
|
|
@@ -91,6 +95,46 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
91
95
|
options: localVarRequestOptions,
|
|
92
96
|
};
|
|
93
97
|
},
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @summary Create environment
|
|
101
|
+
* @param {EnvironmentCreate} body
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
createEnvironment: async (body: EnvironmentCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
106
|
+
// verify required parameter 'body' is not null or undefined
|
|
107
|
+
assertParamExists('createEnvironment', 'body', body)
|
|
108
|
+
const localVarPath = `/internal/v1/environments`;
|
|
109
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
|
+
let baseOptions;
|
|
112
|
+
if (configuration) {
|
|
113
|
+
baseOptions = configuration.baseOptions;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
117
|
+
const localVarHeaderParameter = {} as any;
|
|
118
|
+
const localVarQueryParameter = {} as any;
|
|
119
|
+
|
|
120
|
+
// authentication BasicAuth required
|
|
121
|
+
// http basic authentication required
|
|
122
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
127
|
+
|
|
128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
131
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
url: toPathString(localVarUrlObj),
|
|
135
|
+
options: localVarRequestOptions,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
94
138
|
/**
|
|
95
139
|
*
|
|
96
140
|
* @summary Delete Environment
|
|
@@ -189,6 +233,44 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
189
233
|
options: localVarRequestOptions,
|
|
190
234
|
};
|
|
191
235
|
},
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @summary Get environment
|
|
239
|
+
* @param {string} environmentName name of the environment
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
getEnvironment: async (environmentName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
244
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
245
|
+
assertParamExists('getEnvironment', 'environmentName', environmentName)
|
|
246
|
+
const localVarPath = `/internal/v1/environments/{environmentName}`
|
|
247
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
250
|
+
let baseOptions;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
256
|
+
const localVarHeaderParameter = {} as any;
|
|
257
|
+
const localVarQueryParameter = {} as any;
|
|
258
|
+
|
|
259
|
+
// authentication BasicAuth required
|
|
260
|
+
// http basic authentication required
|
|
261
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
266
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
267
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
268
|
+
|
|
269
|
+
return {
|
|
270
|
+
url: toPathString(localVarUrlObj),
|
|
271
|
+
options: localVarRequestOptions,
|
|
272
|
+
};
|
|
273
|
+
},
|
|
192
274
|
/**
|
|
193
275
|
*
|
|
194
276
|
* @summary Get environment kubeconfig
|
|
@@ -306,6 +388,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
306
388
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.createBackupRepoInternal']?.[localVarOperationServerIndex]?.url;
|
|
307
389
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
308
390
|
},
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @summary Create environment
|
|
394
|
+
* @param {EnvironmentCreate} body
|
|
395
|
+
* @param {*} [options] Override http request option.
|
|
396
|
+
* @throws {RequiredError}
|
|
397
|
+
*/
|
|
398
|
+
async createEnvironment(body: EnvironmentCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
|
|
399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironment(body, options);
|
|
400
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
401
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.createEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
402
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
403
|
+
},
|
|
309
404
|
/**
|
|
310
405
|
*
|
|
311
406
|
* @summary Delete Environment
|
|
@@ -336,6 +431,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
336
431
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.executeEnvironmentModuleUninstall']?.[localVarOperationServerIndex]?.url;
|
|
337
432
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
338
433
|
},
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @summary Get environment
|
|
437
|
+
* @param {string} environmentName name of the environment
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
async getEnvironment(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
|
|
442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironment(environmentName, options);
|
|
443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
444
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.getEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
446
|
+
},
|
|
339
447
|
/**
|
|
340
448
|
*
|
|
341
449
|
* @summary Get environment kubeconfig
|
|
@@ -385,6 +493,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
385
493
|
createBackupRepoInternal(requestParameters: EnvironmentApiCreateBackupRepoInternalRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo> {
|
|
386
494
|
return localVarFp.createBackupRepoInternal(requestParameters.environmentName, requestParameters.uid, requestParameters.backupRepoCreate, requestParameters.envInstall, options).then((request) => request(axios, basePath));
|
|
387
495
|
},
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @summary Create environment
|
|
499
|
+
* @param {EnvironmentApiCreateEnvironmentRequest} requestParameters Request parameters.
|
|
500
|
+
* @param {*} [options] Override http request option.
|
|
501
|
+
* @throws {RequiredError}
|
|
502
|
+
*/
|
|
503
|
+
createEnvironment(requestParameters: EnvironmentApiCreateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Environment> {
|
|
504
|
+
return localVarFp.createEnvironment(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
505
|
+
},
|
|
388
506
|
/**
|
|
389
507
|
*
|
|
390
508
|
* @summary Delete Environment
|
|
@@ -405,6 +523,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
405
523
|
executeEnvironmentModuleUninstall(requestParameters: EnvironmentApiExecuteEnvironmentModuleUninstallRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
406
524
|
return localVarFp.executeEnvironmentModuleUninstall(requestParameters.environmentName, requestParameters.moduleName, requestParameters.stage, requestParameters.requestBody, requestParameters.uid, options).then((request) => request(axios, basePath));
|
|
407
525
|
},
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @summary Get environment
|
|
529
|
+
* @param {EnvironmentApiGetEnvironmentRequest} requestParameters Request parameters.
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
getEnvironment(requestParameters: EnvironmentApiGetEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Environment> {
|
|
534
|
+
return localVarFp.getEnvironment(requestParameters.environmentName, options).then((request) => request(axios, basePath));
|
|
535
|
+
},
|
|
408
536
|
/**
|
|
409
537
|
*
|
|
410
538
|
* @summary Get environment kubeconfig
|
|
@@ -444,6 +572,16 @@ export interface EnvironmentApiInterface {
|
|
|
444
572
|
*/
|
|
445
573
|
createBackupRepoInternal(requestParameters: EnvironmentApiCreateBackupRepoInternalRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo>;
|
|
446
574
|
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @summary Create environment
|
|
578
|
+
* @param {EnvironmentApiCreateEnvironmentRequest} requestParameters Request parameters.
|
|
579
|
+
* @param {*} [options] Override http request option.
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
* @memberof EnvironmentApiInterface
|
|
582
|
+
*/
|
|
583
|
+
createEnvironment(requestParameters: EnvironmentApiCreateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Environment>;
|
|
584
|
+
|
|
447
585
|
/**
|
|
448
586
|
*
|
|
449
587
|
* @summary Delete Environment
|
|
@@ -464,6 +602,16 @@ export interface EnvironmentApiInterface {
|
|
|
464
602
|
*/
|
|
465
603
|
executeEnvironmentModuleUninstall(requestParameters: EnvironmentApiExecuteEnvironmentModuleUninstallRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
466
604
|
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @summary Get environment
|
|
608
|
+
* @param {EnvironmentApiGetEnvironmentRequest} requestParameters Request parameters.
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
* @memberof EnvironmentApiInterface
|
|
612
|
+
*/
|
|
613
|
+
getEnvironment(requestParameters: EnvironmentApiGetEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Environment>;
|
|
614
|
+
|
|
467
615
|
/**
|
|
468
616
|
*
|
|
469
617
|
* @summary Get environment kubeconfig
|
|
@@ -521,6 +669,20 @@ export interface EnvironmentApiCreateBackupRepoInternalRequest {
|
|
|
521
669
|
readonly envInstall?: boolean
|
|
522
670
|
}
|
|
523
671
|
|
|
672
|
+
/**
|
|
673
|
+
* Request parameters for createEnvironment operation in EnvironmentApi.
|
|
674
|
+
* @export
|
|
675
|
+
* @interface EnvironmentApiCreateEnvironmentRequest
|
|
676
|
+
*/
|
|
677
|
+
export interface EnvironmentApiCreateEnvironmentRequest {
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @type {EnvironmentCreate}
|
|
681
|
+
* @memberof EnvironmentApiCreateEnvironment
|
|
682
|
+
*/
|
|
683
|
+
readonly body: EnvironmentCreate
|
|
684
|
+
}
|
|
685
|
+
|
|
524
686
|
/**
|
|
525
687
|
* Request parameters for deleteEnvironment operation in EnvironmentApi.
|
|
526
688
|
* @export
|
|
@@ -577,6 +739,20 @@ export interface EnvironmentApiExecuteEnvironmentModuleUninstallRequest {
|
|
|
577
739
|
readonly uid?: string
|
|
578
740
|
}
|
|
579
741
|
|
|
742
|
+
/**
|
|
743
|
+
* Request parameters for getEnvironment operation in EnvironmentApi.
|
|
744
|
+
* @export
|
|
745
|
+
* @interface EnvironmentApiGetEnvironmentRequest
|
|
746
|
+
*/
|
|
747
|
+
export interface EnvironmentApiGetEnvironmentRequest {
|
|
748
|
+
/**
|
|
749
|
+
* name of the environment
|
|
750
|
+
* @type {string}
|
|
751
|
+
* @memberof EnvironmentApiGetEnvironment
|
|
752
|
+
*/
|
|
753
|
+
readonly environmentName: string
|
|
754
|
+
}
|
|
755
|
+
|
|
580
756
|
/**
|
|
581
757
|
* Request parameters for getEnvironmentKubeconfigInternal operation in EnvironmentApi.
|
|
582
758
|
* @export
|
|
@@ -645,6 +821,18 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
|
|
|
645
821
|
return EnvironmentApiFp(this.configuration).createBackupRepoInternal(requestParameters.environmentName, requestParameters.uid, requestParameters.backupRepoCreate, requestParameters.envInstall, options).then((request) => request(this.axios, this.basePath));
|
|
646
822
|
}
|
|
647
823
|
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @summary Create environment
|
|
827
|
+
* @param {EnvironmentApiCreateEnvironmentRequest} requestParameters Request parameters.
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
* @memberof EnvironmentApi
|
|
831
|
+
*/
|
|
832
|
+
public createEnvironment(requestParameters: EnvironmentApiCreateEnvironmentRequest, options?: RawAxiosRequestConfig) {
|
|
833
|
+
return EnvironmentApiFp(this.configuration).createEnvironment(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
834
|
+
}
|
|
835
|
+
|
|
648
836
|
/**
|
|
649
837
|
*
|
|
650
838
|
* @summary Delete Environment
|
|
@@ -669,6 +857,18 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
|
|
|
669
857
|
return EnvironmentApiFp(this.configuration).executeEnvironmentModuleUninstall(requestParameters.environmentName, requestParameters.moduleName, requestParameters.stage, requestParameters.requestBody, requestParameters.uid, options).then((request) => request(this.axios, this.basePath));
|
|
670
858
|
}
|
|
671
859
|
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* @summary Get environment
|
|
863
|
+
* @param {EnvironmentApiGetEnvironmentRequest} requestParameters Request parameters.
|
|
864
|
+
* @param {*} [options] Override http request option.
|
|
865
|
+
* @throws {RequiredError}
|
|
866
|
+
* @memberof EnvironmentApi
|
|
867
|
+
*/
|
|
868
|
+
public getEnvironment(requestParameters: EnvironmentApiGetEnvironmentRequest, options?: RawAxiosRequestConfig) {
|
|
869
|
+
return EnvironmentApiFp(this.configuration).getEnvironment(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
|
|
870
|
+
}
|
|
871
|
+
|
|
672
872
|
/**
|
|
673
873
|
*
|
|
674
874
|
* @summary Get environment kubeconfig
|