kb-cloud-client-typescript 2.4.0-alpha.149 → 2.4.0-alpha.150
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 -11
- 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 -5
- 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
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
|
|
12
13
|
import type { TaskSchedule } from './task-schedule';
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* 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.
|
|
15
16
|
* @export
|
|
16
17
|
* @interface OpsUpgrade
|
|
17
18
|
*/
|
|
@@ -22,6 +23,12 @@ export interface OpsUpgrade {
|
|
|
22
23
|
* @memberof OpsUpgrade
|
|
23
24
|
*/
|
|
24
25
|
'version': string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<InstanceTemplateUpgrade>}
|
|
29
|
+
* @memberof OpsUpgrade
|
|
30
|
+
*/
|
|
31
|
+
'instanceTemplates'?: Array<InstanceTemplateUpgrade>;
|
|
25
32
|
/**
|
|
26
33
|
*
|
|
27
34
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ops-upgrade.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ops-upgrade.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;CAC7B"}
|
|
1
|
+
{"version":3,"file":"ops-upgrade.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ops-upgrade.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;CAC7B"}
|
package/package.json
CHANGED
|
@@ -225,6 +225,8 @@ models/backup-option.ts
|
|
|
225
225
|
models/backup-parameters-inner.ts
|
|
226
226
|
models/backup-policy.ts
|
|
227
227
|
models/backup-repo-access-method.ts
|
|
228
|
+
models/backup-repo-check-result.ts
|
|
229
|
+
models/backup-repo-check-status.ts
|
|
228
230
|
models/backup-repo-check.ts
|
|
229
231
|
models/backup-repo-create.ts
|
|
230
232
|
models/backup-repo-list.ts
|
|
@@ -674,6 +676,7 @@ models/environment-register-type.ts
|
|
|
674
676
|
models/environment-resource-stats.ts
|
|
675
677
|
models/environment-state-event.ts
|
|
676
678
|
models/environment-state.ts
|
|
679
|
+
models/environment-static-cluster-list.ts
|
|
677
680
|
models/environment-status-history-day.ts
|
|
678
681
|
models/environment-status-history.ts
|
|
679
682
|
models/environment-status.ts
|
|
@@ -787,6 +790,8 @@ models/instance-template-create.ts
|
|
|
787
790
|
models/instance-template-env.ts
|
|
788
791
|
models/instance-template-op.ts
|
|
789
792
|
models/instance-template-replicas.ts
|
|
793
|
+
models/instance-template-service-versions.ts
|
|
794
|
+
models/instance-template-upgrade.ts
|
|
790
795
|
models/instance-template-volume-expand.ts
|
|
791
796
|
models/instance.ts
|
|
792
797
|
models/integer-option.ts
|
|
@@ -1125,6 +1130,7 @@ models/provider-update.ts
|
|
|
1125
1130
|
models/provider.ts
|
|
1126
1131
|
models/provision-config.ts
|
|
1127
1132
|
models/raw-backup-repo.ts
|
|
1133
|
+
models/raw-cluster-component.ts
|
|
1128
1134
|
models/raw-cluster.ts
|
|
1129
1135
|
models/rbmq-account-request.ts
|
|
1130
1136
|
models/rbmq-accounts-list-items-inner.ts
|
|
@@ -1255,6 +1261,7 @@ models/standard-definition.ts
|
|
|
1255
1261
|
models/standard-resource.ts
|
|
1256
1262
|
models/static-cluster-component.ts
|
|
1257
1263
|
models/static-cluster.ts
|
|
1264
|
+
models/static-service-cluster-engine.ts
|
|
1258
1265
|
models/storage-check-result.ts
|
|
1259
1266
|
models/storage-class-create.ts
|
|
1260
1267
|
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';
|
|
@@ -1735,6 +1737,49 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
1735
1737
|
options: localVarRequestOptions,
|
|
1736
1738
|
};
|
|
1737
1739
|
},
|
|
1740
|
+
/**
|
|
1741
|
+
* 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.
|
|
1742
|
+
* @summary List reusable environment service clusters
|
|
1743
|
+
* @param {EnvironmentStaticClusterList} body
|
|
1744
|
+
* @param {*} [options] Override http request option.
|
|
1745
|
+
* @throws {RequiredError}
|
|
1746
|
+
*/
|
|
1747
|
+
listEnvironmentStaticClusters: async (body: EnvironmentStaticClusterList, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1748
|
+
// verify required parameter 'body' is not null or undefined
|
|
1749
|
+
assertParamExists('listEnvironmentStaticClusters', 'body', body)
|
|
1750
|
+
const localVarPath = `/admin/v1/environmentStaticClusters`;
|
|
1751
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1752
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1753
|
+
let baseOptions;
|
|
1754
|
+
if (configuration) {
|
|
1755
|
+
baseOptions = configuration.baseOptions;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1759
|
+
const localVarHeaderParameter = {} as any;
|
|
1760
|
+
const localVarQueryParameter = {} as any;
|
|
1761
|
+
|
|
1762
|
+
// authentication BearerToken required
|
|
1763
|
+
// http bearer authentication required
|
|
1764
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1765
|
+
|
|
1766
|
+
// authentication DigestAuth required
|
|
1767
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1772
|
+
|
|
1773
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1774
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1775
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1776
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1777
|
+
|
|
1778
|
+
return {
|
|
1779
|
+
url: toPathString(localVarUrlObj),
|
|
1780
|
+
options: localVarRequestOptions,
|
|
1781
|
+
};
|
|
1782
|
+
},
|
|
1738
1783
|
/**
|
|
1739
1784
|
* List Kubernetes nodes before registered as environment
|
|
1740
1785
|
* @summary List Kubernetes nodes
|
|
@@ -3007,6 +3052,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
3007
3052
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentObjectStorage']?.[localVarOperationServerIndex]?.url;
|
|
3008
3053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3009
3054
|
},
|
|
3055
|
+
/**
|
|
3056
|
+
* 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.
|
|
3057
|
+
* @summary List reusable environment service clusters
|
|
3058
|
+
* @param {EnvironmentStaticClusterList} body
|
|
3059
|
+
* @param {*} [options] Override http request option.
|
|
3060
|
+
* @throws {RequiredError}
|
|
3061
|
+
*/
|
|
3062
|
+
async listEnvironmentStaticClusters(body: EnvironmentStaticClusterList, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentObjectStorage>> {
|
|
3063
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentStaticClusters(body, options);
|
|
3064
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3065
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentStaticClusters']?.[localVarOperationServerIndex]?.url;
|
|
3066
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3067
|
+
},
|
|
3010
3068
|
/**
|
|
3011
3069
|
* List Kubernetes nodes before registered as environment
|
|
3012
3070
|
* @summary List Kubernetes nodes
|
|
@@ -3604,6 +3662,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
3604
3662
|
listEnvironmentObjectStorage(requestParameters: EnvironmentApiListEnvironmentObjectStorageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage> {
|
|
3605
3663
|
return localVarFp.listEnvironmentObjectStorage(requestParameters.kubeconfig, options).then((request) => request(axios, basePath));
|
|
3606
3664
|
},
|
|
3665
|
+
/**
|
|
3666
|
+
* 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.
|
|
3667
|
+
* @summary List reusable environment service clusters
|
|
3668
|
+
* @param {EnvironmentApiListEnvironmentStaticClustersRequest} requestParameters Request parameters.
|
|
3669
|
+
* @param {*} [options] Override http request option.
|
|
3670
|
+
* @throws {RequiredError}
|
|
3671
|
+
*/
|
|
3672
|
+
listEnvironmentStaticClusters(requestParameters: EnvironmentApiListEnvironmentStaticClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage> {
|
|
3673
|
+
return localVarFp.listEnvironmentStaticClusters(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3674
|
+
},
|
|
3607
3675
|
/**
|
|
3608
3676
|
* List Kubernetes nodes before registered as environment
|
|
3609
3677
|
* @summary List Kubernetes nodes
|
|
@@ -4131,6 +4199,16 @@ export interface EnvironmentApiInterface {
|
|
|
4131
4199
|
*/
|
|
4132
4200
|
listEnvironmentObjectStorage(requestParameters?: EnvironmentApiListEnvironmentObjectStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage>;
|
|
4133
4201
|
|
|
4202
|
+
/**
|
|
4203
|
+
* 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.
|
|
4204
|
+
* @summary List reusable environment service clusters
|
|
4205
|
+
* @param {EnvironmentApiListEnvironmentStaticClustersRequest} requestParameters Request parameters.
|
|
4206
|
+
* @param {*} [options] Override http request option.
|
|
4207
|
+
* @throws {RequiredError}
|
|
4208
|
+
* @memberof EnvironmentApiInterface
|
|
4209
|
+
*/
|
|
4210
|
+
listEnvironmentStaticClusters(requestParameters: EnvironmentApiListEnvironmentStaticClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentObjectStorage>;
|
|
4211
|
+
|
|
4134
4212
|
/**
|
|
4135
4213
|
* List Kubernetes nodes before registered as environment
|
|
4136
4214
|
* @summary List Kubernetes nodes
|
|
@@ -4993,6 +5071,20 @@ export interface EnvironmentApiListEnvironmentObjectStorageRequest {
|
|
|
4993
5071
|
readonly kubeconfig?: Kubeconfig
|
|
4994
5072
|
}
|
|
4995
5073
|
|
|
5074
|
+
/**
|
|
5075
|
+
* Request parameters for listEnvironmentStaticClusters operation in EnvironmentApi.
|
|
5076
|
+
* @export
|
|
5077
|
+
* @interface EnvironmentApiListEnvironmentStaticClustersRequest
|
|
5078
|
+
*/
|
|
5079
|
+
export interface EnvironmentApiListEnvironmentStaticClustersRequest {
|
|
5080
|
+
/**
|
|
5081
|
+
*
|
|
5082
|
+
* @type {EnvironmentStaticClusterList}
|
|
5083
|
+
* @memberof EnvironmentApiListEnvironmentStaticClusters
|
|
5084
|
+
*/
|
|
5085
|
+
readonly body: EnvironmentStaticClusterList
|
|
5086
|
+
}
|
|
5087
|
+
|
|
4996
5088
|
/**
|
|
4997
5089
|
* Request parameters for listKubernetesNode operation in EnvironmentApi.
|
|
4998
5090
|
* @export
|
|
@@ -5801,6 +5893,18 @@ export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
|
|
|
5801
5893
|
return EnvironmentApiFp(this.configuration).listEnvironmentObjectStorage(requestParameters.kubeconfig, options).then((request) => request(this.axios, this.basePath));
|
|
5802
5894
|
}
|
|
5803
5895
|
|
|
5896
|
+
/**
|
|
5897
|
+
* 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.
|
|
5898
|
+
* @summary List reusable environment service clusters
|
|
5899
|
+
* @param {EnvironmentApiListEnvironmentStaticClustersRequest} requestParameters Request parameters.
|
|
5900
|
+
* @param {*} [options] Override http request option.
|
|
5901
|
+
* @throws {RequiredError}
|
|
5902
|
+
* @memberof EnvironmentApi
|
|
5903
|
+
*/
|
|
5904
|
+
public listEnvironmentStaticClusters(requestParameters: EnvironmentApiListEnvironmentStaticClustersRequest, options?: RawAxiosRequestConfig) {
|
|
5905
|
+
return EnvironmentApiFp(this.configuration).listEnvironmentStaticClusters(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5906
|
+
}
|
|
5907
|
+
|
|
5804
5908
|
/**
|
|
5805
5909
|
* List Kubernetes nodes before registered as environment
|
|
5806
5910
|
* @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
|
+
|
|
@@ -117,6 +117,8 @@ export * from './backup-policy';
|
|
|
117
117
|
export * from './backup-repo';
|
|
118
118
|
export * from './backup-repo-access-method';
|
|
119
119
|
export * from './backup-repo-check';
|
|
120
|
+
export * from './backup-repo-check-result';
|
|
121
|
+
export * from './backup-repo-check-status';
|
|
120
122
|
export * from './backup-repo-create';
|
|
121
123
|
export * from './backup-repo-list';
|
|
122
124
|
export * from './backup-repo-pvreclaim-policy';
|
|
@@ -576,6 +578,7 @@ export * from './environment-register-type';
|
|
|
576
578
|
export * from './environment-resource-stats';
|
|
577
579
|
export * from './environment-state';
|
|
578
580
|
export * from './environment-state-event';
|
|
581
|
+
export * from './environment-static-cluster-list';
|
|
579
582
|
export * from './environment-status';
|
|
580
583
|
export * from './environment-status-history';
|
|
581
584
|
export * from './environment-status-history-day';
|
|
@@ -676,6 +679,8 @@ export * from './instance-template-create-env-inner';
|
|
|
676
679
|
export * from './instance-template-env';
|
|
677
680
|
export * from './instance-template-op';
|
|
678
681
|
export * from './instance-template-replicas';
|
|
682
|
+
export * from './instance-template-service-versions';
|
|
683
|
+
export * from './instance-template-upgrade';
|
|
679
684
|
export * from './instance-template-volume-expand';
|
|
680
685
|
export * from './integer-option';
|
|
681
686
|
export * from './international-desc';
|
|
@@ -1014,6 +1019,7 @@ export * from './provider-update';
|
|
|
1014
1019
|
export * from './provision-config';
|
|
1015
1020
|
export * from './raw-backup-repo';
|
|
1016
1021
|
export * from './raw-cluster';
|
|
1022
|
+
export * from './raw-cluster-component';
|
|
1017
1023
|
export * from './rbmq-account-request';
|
|
1018
1024
|
export * from './rbmq-accounts-list';
|
|
1019
1025
|
export * from './rbmq-accounts-list-items-inner';
|
|
@@ -1143,6 +1149,7 @@ export * from './standard-definition';
|
|
|
1143
1149
|
export * from './standard-resource';
|
|
1144
1150
|
export * from './static-cluster';
|
|
1145
1151
|
export * from './static-cluster-component';
|
|
1152
|
+
export * from './static-service-cluster-engine';
|
|
1146
1153
|
export * from './storage';
|
|
1147
1154
|
export * from './storage-check-result';
|
|
1148
1155
|
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}
|