kb-cloud-client-typescript 2.3.76 → 2.3.77
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/backup-repo-api.d.ts +10 -2
- package/dist/adminapi/apis/backup-repo-api.d.ts.map +1 -1
- package/dist/adminapi/apis/backup-repo-api.js +10 -5
- package/dist/adminapi/apis/backup-repo-api.js.map +1 -1
- package/dist/adminapi/apis/environment-api.d.ts +56 -0
- package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
- package/dist/adminapi/apis/environment-api.js +70 -0
- package/dist/adminapi/apis/environment-api.js.map +1 -1
- package/dist/adminapi/models/backup-repo-check-result.d.ts +38 -0
- package/dist/adminapi/models/backup-repo-check-result.d.ts.map +1 -0
- package/dist/adminapi/models/backup-repo-check-result.js +16 -0
- package/dist/adminapi/models/backup-repo-check-result.js.map +1 -0
- package/dist/adminapi/models/backup-repo-check-status.d.ts +23 -0
- package/dist/adminapi/models/backup-repo-check-status.d.ts.map +1 -0
- package/dist/adminapi/models/backup-repo-check-status.js +27 -0
- package/dist/adminapi/models/backup-repo-check-status.js.map +1 -0
- package/dist/adminapi/models/backup-repo.d.ts +7 -0
- package/dist/adminapi/models/backup-repo.d.ts.map +1 -1
- package/dist/adminapi/models/engine-service-versions.d.ts +7 -0
- package/dist/adminapi/models/engine-service-versions.d.ts.map +1 -1
- package/dist/adminapi/models/environment-static-cluster-list.d.ts +32 -0
- package/dist/adminapi/models/environment-static-cluster-list.d.ts.map +1 -0
- package/dist/adminapi/models/environment-static-cluster-list.js +16 -0
- package/dist/adminapi/models/environment-static-cluster-list.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/instance-template-op.d.ts +1 -0
- package/dist/adminapi/models/instance-template-op.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-op.js +2 -1
- package/dist/adminapi/models/instance-template-op.js.map +1 -1
- package/dist/adminapi/models/instance-template-service-versions.d.ts +37 -0
- package/dist/adminapi/models/instance-template-service-versions.d.ts.map +1 -0
- package/dist/adminapi/models/instance-template-service-versions.js +16 -0
- package/dist/adminapi/models/instance-template-service-versions.js.map +1 -0
- package/dist/adminapi/models/instance-template-upgrade.d.ts +31 -0
- package/dist/adminapi/models/instance-template-upgrade.d.ts.map +1 -0
- package/dist/adminapi/models/instance-template-upgrade.js +16 -0
- package/dist/adminapi/models/instance-template-upgrade.js.map +1 -0
- package/dist/adminapi/models/ops-upgrade.d.ts +8 -1
- package/dist/adminapi/models/ops-upgrade.d.ts.map +1 -1
- package/dist/adminapi/models/raw-cluster-component.d.ts +55 -0
- package/dist/adminapi/models/raw-cluster-component.d.ts.map +1 -0
- package/dist/adminapi/models/raw-cluster-component.js +16 -0
- package/dist/adminapi/models/raw-cluster-component.js.map +1 -0
- package/dist/adminapi/models/raw-cluster.d.ts +13 -0
- package/dist/adminapi/models/raw-cluster.d.ts.map +1 -1
- package/dist/adminapi/models/static-cluster.d.ts +13 -1
- package/dist/adminapi/models/static-cluster.d.ts.map +1 -1
- package/dist/adminapi/models/static-service-cluster-engine.d.ts +24 -0
- package/dist/adminapi/models/static-service-cluster-engine.d.ts.map +1 -0
- package/dist/adminapi/models/static-service-cluster-engine.js +28 -0
- package/dist/adminapi/models/static-service-cluster-engine.js.map +1 -0
- package/dist/adminapi/models/storage-config-backup.d.ts +9 -3
- package/dist/adminapi/models/storage-config-backup.d.ts.map +1 -1
- package/dist/adminapi/models/storage-config.d.ts +1 -1
- package/dist/adminapi/models/storage-config.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.d.ts +81 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +85 -0
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/internalapi/apis/victoria-logs-cluster-api.d.ts +5 -5
- package/dist/internalapi/apis/victoria-logs-cluster-api.js +4 -4
- package/dist/internalapi/apis/victoria-metrics-cluster-api.d.ts +3 -3
- package/dist/internalapi/apis/victoria-metrics-cluster-api.js +2 -2
- package/dist/internalapi/models/backup-repo-access-method.d.ts +22 -0
- package/dist/internalapi/models/backup-repo-access-method.d.ts.map +1 -0
- package/dist/internalapi/models/backup-repo-access-method.js +26 -0
- package/dist/internalapi/models/backup-repo-access-method.js.map +1 -0
- package/dist/internalapi/models/backup-repo-check-result.d.ts +38 -0
- package/dist/internalapi/models/backup-repo-check-result.d.ts.map +1 -0
- package/dist/internalapi/models/backup-repo-check-result.js +16 -0
- package/dist/internalapi/models/backup-repo-check-result.js.map +1 -0
- package/dist/internalapi/models/backup-repo-check-status.d.ts +23 -0
- package/dist/internalapi/models/backup-repo-check-status.d.ts.map +1 -0
- package/dist/internalapi/models/backup-repo-check-status.js +27 -0
- package/dist/internalapi/models/backup-repo-check-status.js.map +1 -0
- package/dist/internalapi/models/backup-repo-create.d.ts +65 -0
- package/dist/internalapi/models/backup-repo-create.d.ts.map +1 -0
- package/dist/internalapi/models/backup-repo-create.js +16 -0
- package/dist/internalapi/models/backup-repo-create.js.map +1 -0
- package/dist/internalapi/models/backup-repo-pvreclaim-policy.d.ts +22 -0
- package/dist/internalapi/models/backup-repo-pvreclaim-policy.d.ts.map +1 -0
- package/dist/internalapi/models/backup-repo-pvreclaim-policy.js +26 -0
- package/dist/internalapi/models/backup-repo-pvreclaim-policy.js.map +1 -0
- package/dist/internalapi/models/backup-repo.d.ts +125 -0
- package/dist/internalapi/models/backup-repo.d.ts.map +1 -0
- package/dist/internalapi/models/backup-repo.js +16 -0
- package/dist/internalapi/models/backup-repo.js.map +1 -0
- package/dist/internalapi/models/index.d.ts +6 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +6 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/static-cluster.d.ts +13 -1
- package/dist/internalapi/models/static-cluster.d.ts.map +1 -1
- package/dist/openapi/models/backup-repo-check-result.d.ts +38 -0
- package/dist/openapi/models/backup-repo-check-result.d.ts.map +1 -0
- package/dist/openapi/models/backup-repo-check-result.js +16 -0
- package/dist/openapi/models/backup-repo-check-result.js.map +1 -0
- package/dist/openapi/models/backup-repo-check-status.d.ts +23 -0
- package/dist/openapi/models/backup-repo-check-status.d.ts.map +1 -0
- package/dist/openapi/models/backup-repo-check-status.js +27 -0
- package/dist/openapi/models/backup-repo-check-status.js.map +1 -0
- package/dist/openapi/models/backup-repo.d.ts +7 -0
- package/dist/openapi/models/backup-repo.d.ts.map +1 -1
- package/dist/openapi/models/engine-service-versions.d.ts +7 -0
- package/dist/openapi/models/engine-service-versions.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/instance-template-op.d.ts +1 -0
- package/dist/openapi/models/instance-template-op.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-op.js +2 -1
- package/dist/openapi/models/instance-template-op.js.map +1 -1
- package/dist/openapi/models/instance-template-service-versions.d.ts +37 -0
- package/dist/openapi/models/instance-template-service-versions.d.ts.map +1 -0
- package/dist/openapi/models/instance-template-service-versions.js +16 -0
- package/dist/openapi/models/instance-template-service-versions.js.map +1 -0
- package/dist/openapi/models/instance-template-upgrade.d.ts +31 -0
- package/dist/openapi/models/instance-template-upgrade.d.ts.map +1 -0
- package/dist/openapi/models/instance-template-upgrade.js +16 -0
- package/dist/openapi/models/instance-template-upgrade.js.map +1 -0
- package/dist/openapi/models/ops-upgrade.d.ts +8 -1
- package/dist/openapi/models/ops-upgrade.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/backup-repo-api.ts +18 -5
- package/src/adminapi/apis/environment-api.ts +104 -0
- package/src/adminapi/models/backup-repo-check-result.ts +47 -0
- package/src/adminapi/models/backup-repo-check-status.ts +32 -0
- package/src/adminapi/models/backup-repo.ts +9 -0
- package/src/adminapi/models/engine-service-versions.ts +9 -0
- package/src/adminapi/models/environment-static-cluster-list.ts +41 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/instance-template-op.ts +2 -1
- package/src/adminapi/models/instance-template-service-versions.ts +42 -0
- package/src/adminapi/models/instance-template-upgrade.ts +36 -0
- package/src/adminapi/models/ops-upgrade.ts +10 -1
- package/src/adminapi/models/raw-cluster-component.ts +60 -0
- package/src/adminapi/models/raw-cluster.ts +15 -0
- package/src/adminapi/models/static-cluster.ts +13 -1
- package/src/adminapi/models/static-service-cluster-engine.ts +33 -0
- package/src/adminapi/models/storage-config-backup.ts +9 -3
- package/src/adminapi/models/storage-config.ts +1 -1
- package/src/adminapi.yaml +162 -9
- package/src/internalapi/.openapi-generator/FILES +6 -0
- package/src/internalapi/apis/environment-api.ts +143 -0
- package/src/internalapi/apis/victoria-logs-cluster-api.ts +5 -5
- package/src/internalapi/apis/victoria-metrics-cluster-api.ts +3 -3
- package/src/internalapi/models/backup-repo-access-method.ts +31 -0
- package/src/internalapi/models/backup-repo-check-result.ts +47 -0
- package/src/internalapi/models/backup-repo-check-status.ts +32 -0
- package/src/internalapi/models/backup-repo-create.ts +74 -0
- package/src/internalapi/models/backup-repo-pvreclaim-policy.ts +31 -0
- package/src/internalapi/models/backup-repo.ts +134 -0
- package/src/internalapi/models/index.ts +6 -0
- package/src/internalapi/models/static-cluster.ts +13 -1
- package/src/internalapi.yaml +176 -3
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/models/backup-repo-check-result.ts +47 -0
- package/src/openapi/models/backup-repo-check-status.ts +32 -0
- package/src/openapi/models/backup-repo.ts +9 -0
- package/src/openapi/models/engine-service-versions.ts +9 -0
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi/models/instance-template-op.ts +2 -1
- package/src/openapi/models/instance-template-service-versions.ts +42 -0
- package/src/openapi/models/instance-template-upgrade.ts +36 -0
- package/src/openapi/models/ops-upgrade.ts +10 -1
- package/src/openapi.yaml +57 -1
|
@@ -220,6 +220,8 @@ models/backup-option.ts
|
|
|
220
220
|
models/backup-parameters-inner.ts
|
|
221
221
|
models/backup-policy.ts
|
|
222
222
|
models/backup-repo-access-method.ts
|
|
223
|
+
models/backup-repo-check-result.ts
|
|
224
|
+
models/backup-repo-check-status.ts
|
|
223
225
|
models/backup-repo-check.ts
|
|
224
226
|
models/backup-repo-create.ts
|
|
225
227
|
models/backup-repo-list.ts
|
|
@@ -638,6 +640,7 @@ models/environment-register-type.ts
|
|
|
638
640
|
models/environment-resource-stats.ts
|
|
639
641
|
models/environment-state-event.ts
|
|
640
642
|
models/environment-state.ts
|
|
643
|
+
models/environment-static-cluster-list.ts
|
|
641
644
|
models/environment-status-history-day.ts
|
|
642
645
|
models/environment-status-history.ts
|
|
643
646
|
models/environment-status.ts
|
|
@@ -733,6 +736,8 @@ models/instance-template-create.ts
|
|
|
733
736
|
models/instance-template-env.ts
|
|
734
737
|
models/instance-template-op.ts
|
|
735
738
|
models/instance-template-replicas.ts
|
|
739
|
+
models/instance-template-service-versions.ts
|
|
740
|
+
models/instance-template-upgrade.ts
|
|
736
741
|
models/instance-template-volume-expand.ts
|
|
737
742
|
models/instance.ts
|
|
738
743
|
models/integer-option.ts
|
|
@@ -1033,6 +1038,7 @@ models/provider-update.ts
|
|
|
1033
1038
|
models/provider.ts
|
|
1034
1039
|
models/provision-config.ts
|
|
1035
1040
|
models/raw-backup-repo.ts
|
|
1041
|
+
models/raw-cluster-component.ts
|
|
1036
1042
|
models/raw-cluster.ts
|
|
1037
1043
|
models/rbmq-account-request.ts
|
|
1038
1044
|
models/rbmq-accounts-list-items-inner.ts
|
|
@@ -1152,6 +1158,7 @@ models/standard-definition.ts
|
|
|
1152
1158
|
models/standard-resource.ts
|
|
1153
1159
|
models/static-cluster-component.ts
|
|
1154
1160
|
models/static-cluster.ts
|
|
1161
|
+
models/static-service-cluster-engine.ts
|
|
1155
1162
|
models/storage-check-result.ts
|
|
1156
1163
|
models/storage-class-create.ts
|
|
1157
1164
|
models/storage-class-info.ts
|
|
@@ -100,10 +100,11 @@ export const BackupRepoApiAxiosParamCreator = function (configuration?: Configur
|
|
|
100
100
|
* @summary Create backup repo
|
|
101
101
|
* @param {string} environmentName name of the environment
|
|
102
102
|
* @param {BackupRepoCreate} body
|
|
103
|
+
* @param {boolean} [envInstall] Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation.
|
|
103
104
|
* @param {*} [options] Override http request option.
|
|
104
105
|
* @throws {RequiredError}
|
|
105
106
|
*/
|
|
106
|
-
createBackupRepo: async (environmentName: string, body: BackupRepoCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107
|
+
createBackupRepo: async (environmentName: string, body: BackupRepoCreate, envInstall?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107
108
|
// verify required parameter 'environmentName' is not null or undefined
|
|
108
109
|
assertParamExists('createBackupRepo', 'environmentName', environmentName)
|
|
109
110
|
// verify required parameter 'body' is not null or undefined
|
|
@@ -128,6 +129,10 @@ export const BackupRepoApiAxiosParamCreator = function (configuration?: Configur
|
|
|
128
129
|
// authentication DigestAuth required
|
|
129
130
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
130
131
|
|
|
132
|
+
if (envInstall !== undefined) {
|
|
133
|
+
localVarQueryParameter['envInstall'] = envInstall;
|
|
134
|
+
}
|
|
135
|
+
|
|
131
136
|
|
|
132
137
|
|
|
133
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -465,11 +470,12 @@ export const BackupRepoApiFp = function(configuration?: Configuration) {
|
|
|
465
470
|
* @summary Create backup repo
|
|
466
471
|
* @param {string} environmentName name of the environment
|
|
467
472
|
* @param {BackupRepoCreate} body
|
|
473
|
+
* @param {boolean} [envInstall] Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation.
|
|
468
474
|
* @param {*} [options] Override http request option.
|
|
469
475
|
* @throws {RequiredError}
|
|
470
476
|
*/
|
|
471
|
-
async createBackupRepo(environmentName: string, body: BackupRepoCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackupRepo>> {
|
|
472
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createBackupRepo(environmentName, body, options);
|
|
477
|
+
async createBackupRepo(environmentName: string, body: BackupRepoCreate, envInstall?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackupRepo>> {
|
|
478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createBackupRepo(environmentName, body, envInstall, options);
|
|
473
479
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
474
480
|
const localVarOperationServerBasePath = operationServerMap['BackupRepoApi.createBackupRepo']?.[localVarOperationServerIndex]?.url;
|
|
475
481
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -590,7 +596,7 @@ export const BackupRepoApiFactory = function (configuration?: Configuration, bas
|
|
|
590
596
|
* @throws {RequiredError}
|
|
591
597
|
*/
|
|
592
598
|
createBackupRepo(requestParameters: BackupRepoApiCreateBackupRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo> {
|
|
593
|
-
return localVarFp.createBackupRepo(requestParameters.environmentName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
599
|
+
return localVarFp.createBackupRepo(requestParameters.environmentName, requestParameters.body, requestParameters.envInstall, options).then((request) => request(axios, basePath));
|
|
594
600
|
},
|
|
595
601
|
/**
|
|
596
602
|
*
|
|
@@ -790,6 +796,13 @@ export interface BackupRepoApiCreateBackupRepoRequest {
|
|
|
790
796
|
* @memberof BackupRepoApiCreateBackupRepo
|
|
791
797
|
*/
|
|
792
798
|
readonly body: BackupRepoCreate
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation.
|
|
802
|
+
* @type {boolean}
|
|
803
|
+
* @memberof BackupRepoApiCreateBackupRepo
|
|
804
|
+
*/
|
|
805
|
+
readonly envInstall?: boolean
|
|
793
806
|
}
|
|
794
807
|
|
|
795
808
|
/**
|
|
@@ -974,7 +987,7 @@ export class BackupRepoApi extends BaseAPI implements BackupRepoApiInterface {
|
|
|
974
987
|
* @memberof BackupRepoApi
|
|
975
988
|
*/
|
|
976
989
|
public createBackupRepo(requestParameters: BackupRepoApiCreateBackupRepoRequest, options?: RawAxiosRequestConfig) {
|
|
977
|
-
return BackupRepoApiFp(this.configuration).createBackupRepo(requestParameters.environmentName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
990
|
+
return BackupRepoApiFp(this.configuration).createBackupRepo(requestParameters.environmentName, requestParameters.body, requestParameters.envInstall, options).then((request) => request(this.axios, this.basePath));
|
|
978
991
|
}
|
|
979
992
|
|
|
980
993
|
/**
|
|
@@ -60,6 +60,8 @@ import type { EnvironmentModuleUpdate } from '../models';
|
|
|
60
60
|
// @ts-ignore
|
|
61
61
|
import type { EnvironmentObjectStorage } from '../models';
|
|
62
62
|
// @ts-ignore
|
|
63
|
+
import type { EnvironmentStaticClusterList } from '../models';
|
|
64
|
+
// @ts-ignore
|
|
63
65
|
import type { EnvironmentStatus } from '../models';
|
|
64
66
|
// @ts-ignore
|
|
65
67
|
import type { EnvironmentStatusHistory } from '../models';
|
|
@@ -1651,6 +1653,49 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
1651
1653
|
options: localVarRequestOptions,
|
|
1652
1654
|
};
|
|
1653
1655
|
},
|
|
1656
|
+
/**
|
|
1657
|
+
* List retained MinIO, VictoriaMetrics, and VictoriaLogs clusters that can be explicitly attached when adding an environment. The optional engine filter restricts the results to one engine; omitted or empty returns all supported engines. Does not select a cluster.
|
|
1658
|
+
* @summary List reusable environment service clusters
|
|
1659
|
+
* @param {EnvironmentStaticClusterList} body
|
|
1660
|
+
* @param {*} [options] Override http request option.
|
|
1661
|
+
* @throws {RequiredError}
|
|
1662
|
+
*/
|
|
1663
|
+
listEnvironmentStaticClusters: async (body: EnvironmentStaticClusterList, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1664
|
+
// verify required parameter 'body' is not null or undefined
|
|
1665
|
+
assertParamExists('listEnvironmentStaticClusters', 'body', body)
|
|
1666
|
+
const localVarPath = `/admin/v1/environmentStaticClusters`;
|
|
1667
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1668
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1669
|
+
let baseOptions;
|
|
1670
|
+
if (configuration) {
|
|
1671
|
+
baseOptions = configuration.baseOptions;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1675
|
+
const localVarHeaderParameter = {} as any;
|
|
1676
|
+
const localVarQueryParameter = {} as any;
|
|
1677
|
+
|
|
1678
|
+
// authentication BearerToken required
|
|
1679
|
+
// http bearer authentication required
|
|
1680
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1681
|
+
|
|
1682
|
+
// authentication DigestAuth required
|
|
1683
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1688
|
+
|
|
1689
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1690
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1691
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1692
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1693
|
+
|
|
1694
|
+
return {
|
|
1695
|
+
url: toPathString(localVarUrlObj),
|
|
1696
|
+
options: localVarRequestOptions,
|
|
1697
|
+
};
|
|
1698
|
+
},
|
|
1654
1699
|
/**
|
|
1655
1700
|
* List Kubernetes nodes before registered as environment
|
|
1656
1701
|
* @summary List Kubernetes nodes
|
|
@@ -2850,6 +2895,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
2850
2895
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentObjectStorage']?.[localVarOperationServerIndex]?.url;
|
|
2851
2896
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2852
2897
|
},
|
|
2898
|
+
/**
|
|
2899
|
+
* List retained MinIO, VictoriaMetrics, and VictoriaLogs clusters that can be explicitly attached when adding an environment. The optional engine filter restricts the results to one engine; omitted or empty returns all supported engines. Does not select a cluster.
|
|
2900
|
+
* @summary List reusable environment service clusters
|
|
2901
|
+
* @param {EnvironmentStaticClusterList} body
|
|
2902
|
+
* @param {*} [options] Override http request option.
|
|
2903
|
+
* @throws {RequiredError}
|
|
2904
|
+
*/
|
|
2905
|
+
async listEnvironmentStaticClusters(body: EnvironmentStaticClusterList, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentObjectStorage>> {
|
|
2906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentStaticClusters(body, options);
|
|
2907
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2908
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentStaticClusters']?.[localVarOperationServerIndex]?.url;
|
|
2909
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2910
|
+
},
|
|
2853
2911
|
/**
|
|
2854
2912
|
* List Kubernetes nodes before registered as environment
|
|
2855
2913
|
* @summary List Kubernetes nodes
|
|
@@ -3413,6 +3471,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
3413
3471
|
listEnvironmentObjectStorage(requestParameters: EnvironmentApiListEnvironmentObjectStorageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage> {
|
|
3414
3472
|
return localVarFp.listEnvironmentObjectStorage(requestParameters.kubeconfig, options).then((request) => request(axios, basePath));
|
|
3415
3473
|
},
|
|
3474
|
+
/**
|
|
3475
|
+
* List retained MinIO, VictoriaMetrics, and VictoriaLogs clusters that can be explicitly attached when adding an environment. The optional engine filter restricts the results to one engine; omitted or empty returns all supported engines. Does not select a cluster.
|
|
3476
|
+
* @summary List reusable environment service clusters
|
|
3477
|
+
* @param {EnvironmentApiListEnvironmentStaticClustersRequest} requestParameters Request parameters.
|
|
3478
|
+
* @param {*} [options] Override http request option.
|
|
3479
|
+
* @throws {RequiredError}
|
|
3480
|
+
*/
|
|
3481
|
+
listEnvironmentStaticClusters(requestParameters: EnvironmentApiListEnvironmentStaticClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage> {
|
|
3482
|
+
return localVarFp.listEnvironmentStaticClusters(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3483
|
+
},
|
|
3416
3484
|
/**
|
|
3417
3485
|
* List Kubernetes nodes before registered as environment
|
|
3418
3486
|
* @summary List Kubernetes nodes
|
|
@@ -3910,6 +3978,16 @@ export interface EnvironmentApiInterface {
|
|
|
3910
3978
|
*/
|
|
3911
3979
|
listEnvironmentObjectStorage(requestParameters?: EnvironmentApiListEnvironmentObjectStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage>;
|
|
3912
3980
|
|
|
3981
|
+
/**
|
|
3982
|
+
* List retained MinIO, VictoriaMetrics, and VictoriaLogs clusters that can be explicitly attached when adding an environment. The optional engine filter restricts the results to one engine; omitted or empty returns all supported engines. Does not select a cluster.
|
|
3983
|
+
* @summary List reusable environment service clusters
|
|
3984
|
+
* @param {EnvironmentApiListEnvironmentStaticClustersRequest} requestParameters Request parameters.
|
|
3985
|
+
* @param {*} [options] Override http request option.
|
|
3986
|
+
* @throws {RequiredError}
|
|
3987
|
+
* @memberof EnvironmentApiInterface
|
|
3988
|
+
*/
|
|
3989
|
+
listEnvironmentStaticClusters(requestParameters: EnvironmentApiListEnvironmentStaticClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage>;
|
|
3990
|
+
|
|
3913
3991
|
/**
|
|
3914
3992
|
* List Kubernetes nodes before registered as environment
|
|
3915
3993
|
* @summary List Kubernetes nodes
|
|
@@ -4734,6 +4812,20 @@ export interface EnvironmentApiListEnvironmentObjectStorageRequest {
|
|
|
4734
4812
|
readonly kubeconfig?: Kubeconfig
|
|
4735
4813
|
}
|
|
4736
4814
|
|
|
4815
|
+
/**
|
|
4816
|
+
* Request parameters for listEnvironmentStaticClusters operation in EnvironmentApi.
|
|
4817
|
+
* @export
|
|
4818
|
+
* @interface EnvironmentApiListEnvironmentStaticClustersRequest
|
|
4819
|
+
*/
|
|
4820
|
+
export interface EnvironmentApiListEnvironmentStaticClustersRequest {
|
|
4821
|
+
/**
|
|
4822
|
+
*
|
|
4823
|
+
* @type {EnvironmentStaticClusterList}
|
|
4824
|
+
* @memberof EnvironmentApiListEnvironmentStaticClusters
|
|
4825
|
+
*/
|
|
4826
|
+
readonly body: EnvironmentStaticClusterList
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4737
4829
|
/**
|
|
4738
4830
|
* Request parameters for listKubernetesNode operation in EnvironmentApi.
|
|
4739
4831
|
* @export
|
|
@@ -5497,6 +5589,18 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
|
|
|
5497
5589
|
return EnvironmentApiFp(this.configuration).listEnvironmentObjectStorage(requestParameters.kubeconfig, options).then((request) => request(this.axios, this.basePath));
|
|
5498
5590
|
}
|
|
5499
5591
|
|
|
5592
|
+
/**
|
|
5593
|
+
* List retained MinIO, VictoriaMetrics, and VictoriaLogs clusters that can be explicitly attached when adding an environment. The optional engine filter restricts the results to one engine; omitted or empty returns all supported engines. Does not select a cluster.
|
|
5594
|
+
* @summary List reusable environment service clusters
|
|
5595
|
+
* @param {EnvironmentApiListEnvironmentStaticClustersRequest} requestParameters Request parameters.
|
|
5596
|
+
* @param {*} [options] Override http request option.
|
|
5597
|
+
* @throws {RequiredError}
|
|
5598
|
+
* @memberof EnvironmentApi
|
|
5599
|
+
*/
|
|
5600
|
+
public listEnvironmentStaticClusters(requestParameters: EnvironmentApiListEnvironmentStaticClustersRequest, options?: RawAxiosRequestConfig) {
|
|
5601
|
+
return EnvironmentApiFp(this.configuration).listEnvironmentStaticClusters(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5500
5604
|
/**
|
|
5501
5605
|
* List Kubernetes nodes before registered as environment
|
|
5502
5606
|
* @summary List Kubernetes nodes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { BackupRepoCheckStatus } from './backup-repo-check-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Result of the platform storage access check, independent of the BackupRepo CR phase.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface BackupRepoCheckResult
|
|
24
|
+
*/
|
|
25
|
+
export interface BackupRepoCheckResult {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {BackupRepoCheckStatus}
|
|
29
|
+
* @memberof BackupRepoCheckResult
|
|
30
|
+
*/
|
|
31
|
+
'status': BackupRepoCheckStatus;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof BackupRepoCheckResult
|
|
36
|
+
*/
|
|
37
|
+
'message'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BackupRepoCheckResult
|
|
42
|
+
*/
|
|
43
|
+
'checkedAt'?: string | null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
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 BackupRepoCheckStatus = {
|
|
24
|
+
Passed: 'Passed',
|
|
25
|
+
Failed: 'Failed',
|
|
26
|
+
NotChecked: 'NotChecked'
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type BackupRepoCheckStatus = typeof BackupRepoCheckStatus[keyof typeof BackupRepoCheckStatus];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import type { BackupRepoAccessMethod } from './backup-repo-access-method';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { BackupRepoCheckResult } from './backup-repo-check-result';
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
24
|
* backupRepo is the payload for KubeBlocks cluster backup repo
|
|
@@ -107,6 +110,12 @@ export interface BackupRepo {
|
|
|
107
110
|
* @memberof BackupRepo
|
|
108
111
|
*/
|
|
109
112
|
'totalSize'?: string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {BackupRepoCheckResult}
|
|
116
|
+
* @memberof BackupRepo
|
|
117
|
+
*/
|
|
118
|
+
'check'?: BackupRepoCheckResult;
|
|
110
119
|
/**
|
|
111
120
|
* failedReason specifies the reason of the backupRepo failure
|
|
112
121
|
* @type {string}
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import type { EngineServiceVersionsItem } from './engine-service-versions-item';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { InstanceTemplateServiceVersions } from './instance-template-service-versions';
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
24
|
*
|
|
@@ -23,6 +26,12 @@ import type { EngineServiceVersionsItem } from './engine-service-versions-item';
|
|
|
23
26
|
* @interface EngineServiceVersions
|
|
24
27
|
*/
|
|
25
28
|
export interface EngineServiceVersions {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<InstanceTemplateServiceVersions>}
|
|
32
|
+
* @memberof EngineServiceVersions
|
|
33
|
+
*/
|
|
34
|
+
'instanceTemplates'?: Array<InstanceTemplateServiceVersions>;
|
|
26
35
|
/**
|
|
27
36
|
* component type, refer to componentDef and support NamePrefix
|
|
28
37
|
* @type {string}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { StaticServiceClusterEngine } from './static-service-cluster-engine';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface EnvironmentStaticClusterList
|
|
24
|
+
*/
|
|
25
|
+
export interface EnvironmentStaticClusterList {
|
|
26
|
+
/**
|
|
27
|
+
* The base64 encoded kubeconfig file contents to connect to this Kubernetes cluster.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof EnvironmentStaticClusterList
|
|
30
|
+
*/
|
|
31
|
+
'kubeconfig': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {StaticServiceClusterEngine}
|
|
35
|
+
* @memberof EnvironmentStaticClusterList
|
|
36
|
+
*/
|
|
37
|
+
'engine'?: StaticServiceClusterEngine;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
@@ -115,6 +115,8 @@ export * from './backup-policy';
|
|
|
115
115
|
export * from './backup-repo';
|
|
116
116
|
export * from './backup-repo-access-method';
|
|
117
117
|
export * from './backup-repo-check';
|
|
118
|
+
export * from './backup-repo-check-result';
|
|
119
|
+
export * from './backup-repo-check-status';
|
|
118
120
|
export * from './backup-repo-create';
|
|
119
121
|
export * from './backup-repo-list';
|
|
120
122
|
export * from './backup-repo-pvreclaim-policy';
|
|
@@ -543,6 +545,7 @@ export * from './environment-register-type';
|
|
|
543
545
|
export * from './environment-resource-stats';
|
|
544
546
|
export * from './environment-state';
|
|
545
547
|
export * from './environment-state-event';
|
|
548
|
+
export * from './environment-static-cluster-list';
|
|
546
549
|
export * from './environment-status';
|
|
547
550
|
export * from './environment-status-history';
|
|
548
551
|
export * from './environment-status-history-day';
|
|
@@ -625,6 +628,8 @@ export * from './instance-template-create-env-inner';
|
|
|
625
628
|
export * from './instance-template-env';
|
|
626
629
|
export * from './instance-template-op';
|
|
627
630
|
export * from './instance-template-replicas';
|
|
631
|
+
export * from './instance-template-service-versions';
|
|
632
|
+
export * from './instance-template-upgrade';
|
|
628
633
|
export * from './instance-template-volume-expand';
|
|
629
634
|
export * from './integer-option';
|
|
630
635
|
export * from './international-desc';
|
|
@@ -925,6 +930,7 @@ export * from './provider-update';
|
|
|
925
930
|
export * from './provision-config';
|
|
926
931
|
export * from './raw-backup-repo';
|
|
927
932
|
export * from './raw-cluster';
|
|
933
|
+
export * from './raw-cluster-component';
|
|
928
934
|
export * from './rbmq-account-request';
|
|
929
935
|
export * from './rbmq-accounts-list';
|
|
930
936
|
export * from './rbmq-accounts-list-items-inner';
|
|
@@ -1043,6 +1049,7 @@ export * from './standard-definition';
|
|
|
1043
1049
|
export * from './standard-resource';
|
|
1044
1050
|
export * from './static-cluster';
|
|
1045
1051
|
export * from './static-cluster-component';
|
|
1052
|
+
export * from './static-service-cluster-engine';
|
|
1046
1053
|
export * from './storage';
|
|
1047
1054
|
export * from './storage-check-result';
|
|
1048
1055
|
export * from './storage-class-create';
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
export const InstanceTemplateOp = {
|
|
24
24
|
hscale: 'hscale',
|
|
25
25
|
vscale: 'vscale',
|
|
26
|
-
storageExpansion: 'storageExpansion'
|
|
26
|
+
storageExpansion: 'storageExpansion',
|
|
27
|
+
upgrade: 'upgrade'
|
|
27
28
|
} as const;
|
|
28
29
|
|
|
29
30
|
export type InstanceTemplateOp = typeof InstanceTemplateOp[keyof typeof InstanceTemplateOp];
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* @interface InstanceTemplateServiceVersions
|
|
21
|
+
*/
|
|
22
|
+
export interface InstanceTemplateServiceVersions {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InstanceTemplateServiceVersions
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InstanceTemplateServiceVersions
|
|
33
|
+
*/
|
|
34
|
+
'currentVersion'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof InstanceTemplateServiceVersions
|
|
39
|
+
*/
|
|
40
|
+
'upgradeableVersions'?: Array<string>;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
* @interface InstanceTemplateUpgrade
|
|
21
|
+
*/
|
|
22
|
+
export interface InstanceTemplateUpgrade {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InstanceTemplateUpgrade
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InstanceTemplateUpgrade
|
|
33
|
+
*/
|
|
34
|
+
'serviceVersion': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { TaskSchedule } from './task-schedule';
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
24
|
+
* Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates.
|
|
22
25
|
* @export
|
|
23
26
|
* @interface OpsUpgrade
|
|
24
27
|
*/
|
|
@@ -29,6 +32,12 @@ export interface OpsUpgrade {
|
|
|
29
32
|
* @memberof OpsUpgrade
|
|
30
33
|
*/
|
|
31
34
|
'version': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<InstanceTemplateUpgrade>}
|
|
38
|
+
* @memberof OpsUpgrade
|
|
39
|
+
*/
|
|
40
|
+
'instanceTemplates'?: Array<InstanceTemplateUpgrade>;
|
|
32
41
|
/**
|
|
33
42
|
*
|
|
34
43
|
* @type {string}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
* Actual resources of one component in a discovered cluster.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RawClusterComponent
|
|
21
|
+
*/
|
|
22
|
+
export interface RawClusterComponent {
|
|
23
|
+
/**
|
|
24
|
+
* Component name, such as vm-storage or vlselect.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RawClusterComponent
|
|
27
|
+
*/
|
|
28
|
+
'component'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* the replicas of this component
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof RawClusterComponent
|
|
33
|
+
*/
|
|
34
|
+
'replicas'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Storage size, the unit is Gi
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof RawClusterComponent
|
|
39
|
+
*/
|
|
40
|
+
'storage'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* CPU cores.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof RawClusterComponent
|
|
45
|
+
*/
|
|
46
|
+
'cpu'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Memory, the unit is Gi.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof RawClusterComponent
|
|
51
|
+
*/
|
|
52
|
+
'memory'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Class code recorded for this component.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RawClusterComponent
|
|
57
|
+
*/
|
|
58
|
+
'classCode'?: string;
|
|
59
|
+
}
|
|
60
|
+
|