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
|
@@ -24,6 +24,10 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { APIErrorResponse } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
+
import type { BackupRepo } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { BackupRepoCreate } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
27
31
|
import type { HttpBody } from '../models';
|
|
28
32
|
/**
|
|
29
33
|
* EnvironmentApi - axios parameter creator
|
|
@@ -31,6 +35,62 @@ import type { HttpBody } from '../models';
|
|
|
31
35
|
*/
|
|
32
36
|
export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
* Creates a backup repository. With envInstall enabled, uses the persisted environment installation storage and repository selection, reserves names before Kubernetes creation, and resumes the same installation on retries.
|
|
40
|
+
* @summary Create a backup repository
|
|
41
|
+
* @param {string} environmentName
|
|
42
|
+
* @param {string} uid
|
|
43
|
+
* @param {BackupRepoCreate} backupRepoCreate
|
|
44
|
+
* @param {boolean} [envInstall] Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation.
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
createBackupRepoInternal: async (environmentName: string, uid: string, backupRepoCreate: BackupRepoCreate, envInstall?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'environmentName' is not null or undefined
|
|
50
|
+
assertParamExists('createBackupRepoInternal', 'environmentName', environmentName)
|
|
51
|
+
// verify required parameter 'uid' is not null or undefined
|
|
52
|
+
assertParamExists('createBackupRepoInternal', 'uid', uid)
|
|
53
|
+
// verify required parameter 'backupRepoCreate' is not null or undefined
|
|
54
|
+
assertParamExists('createBackupRepoInternal', 'backupRepoCreate', backupRepoCreate)
|
|
55
|
+
const localVarPath = `/internal/v1/environments/{environmentName}/backupRepo`
|
|
56
|
+
.replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
if (configuration) {
|
|
61
|
+
baseOptions = configuration.baseOptions;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65
|
+
const localVarHeaderParameter = {} as any;
|
|
66
|
+
const localVarQueryParameter = {} as any;
|
|
67
|
+
|
|
68
|
+
// authentication BasicAuth required
|
|
69
|
+
// http basic authentication required
|
|
70
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
71
|
+
|
|
72
|
+
if (uid !== undefined) {
|
|
73
|
+
localVarQueryParameter['uid'] = uid;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (envInstall !== undefined) {
|
|
77
|
+
localVarQueryParameter['envInstall'] = envInstall;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83
|
+
|
|
84
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
+
localVarRequestOptions.data = serializeDataIfNeeded(backupRepoCreate, localVarRequestOptions, configuration)
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
url: toPathString(localVarUrlObj),
|
|
91
|
+
options: localVarRequestOptions,
|
|
92
|
+
};
|
|
93
|
+
},
|
|
34
94
|
/**
|
|
35
95
|
*
|
|
36
96
|
* @summary Delete Environment
|
|
@@ -230,6 +290,22 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
230
290
|
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
231
291
|
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
232
292
|
return {
|
|
293
|
+
/**
|
|
294
|
+
* Creates a backup repository. With envInstall enabled, uses the persisted environment installation storage and repository selection, reserves names before Kubernetes creation, and resumes the same installation on retries.
|
|
295
|
+
* @summary Create a backup repository
|
|
296
|
+
* @param {string} environmentName
|
|
297
|
+
* @param {string} uid
|
|
298
|
+
* @param {BackupRepoCreate} backupRepoCreate
|
|
299
|
+
* @param {boolean} [envInstall] Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation.
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
async createBackupRepoInternal(environmentName: string, uid: string, backupRepoCreate: BackupRepoCreate, envInstall?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BackupRepo>> {
|
|
304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createBackupRepoInternal(environmentName, uid, backupRepoCreate, envInstall, options);
|
|
305
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
306
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.createBackupRepoInternal']?.[localVarOperationServerIndex]?.url;
|
|
307
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
308
|
+
},
|
|
233
309
|
/**
|
|
234
310
|
*
|
|
235
311
|
* @summary Delete Environment
|
|
@@ -299,6 +375,16 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
299
375
|
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
300
376
|
const localVarFp = EnvironmentApiFp(configuration)
|
|
301
377
|
return {
|
|
378
|
+
/**
|
|
379
|
+
* Creates a backup repository. With envInstall enabled, uses the persisted environment installation storage and repository selection, reserves names before Kubernetes creation, and resumes the same installation on retries.
|
|
380
|
+
* @summary Create a backup repository
|
|
381
|
+
* @param {EnvironmentApiCreateBackupRepoInternalRequest} requestParameters Request parameters.
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
createBackupRepoInternal(requestParameters: EnvironmentApiCreateBackupRepoInternalRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo> {
|
|
386
|
+
return localVarFp.createBackupRepoInternal(requestParameters.environmentName, requestParameters.uid, requestParameters.backupRepoCreate, requestParameters.envInstall, options).then((request) => request(axios, basePath));
|
|
387
|
+
},
|
|
302
388
|
/**
|
|
303
389
|
*
|
|
304
390
|
* @summary Delete Environment
|
|
@@ -348,6 +434,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
348
434
|
* @interface EnvironmentApi
|
|
349
435
|
*/
|
|
350
436
|
export interface EnvironmentApiInterface {
|
|
437
|
+
/**
|
|
438
|
+
* Creates a backup repository. With envInstall enabled, uses the persisted environment installation storage and repository selection, reserves names before Kubernetes creation, and resumes the same installation on retries.
|
|
439
|
+
* @summary Create a backup repository
|
|
440
|
+
* @param {EnvironmentApiCreateBackupRepoInternalRequest} requestParameters Request parameters.
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
* @memberof EnvironmentApiInterface
|
|
444
|
+
*/
|
|
445
|
+
createBackupRepoInternal(requestParameters: EnvironmentApiCreateBackupRepoInternalRequest, options?: RawAxiosRequestConfig): AxiosPromise<BackupRepo>;
|
|
446
|
+
|
|
351
447
|
/**
|
|
352
448
|
*
|
|
353
449
|
* @summary Delete Environment
|
|
@@ -390,6 +486,41 @@ export interface EnvironmentApiInterface {
|
|
|
390
486
|
|
|
391
487
|
}
|
|
392
488
|
|
|
489
|
+
/**
|
|
490
|
+
* Request parameters for createBackupRepoInternal operation in EnvironmentApi.
|
|
491
|
+
* @export
|
|
492
|
+
* @interface EnvironmentApiCreateBackupRepoInternalRequest
|
|
493
|
+
*/
|
|
494
|
+
export interface EnvironmentApiCreateBackupRepoInternalRequest {
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof EnvironmentApiCreateBackupRepoInternal
|
|
499
|
+
*/
|
|
500
|
+
readonly environmentName: string
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof EnvironmentApiCreateBackupRepoInternal
|
|
506
|
+
*/
|
|
507
|
+
readonly uid: string
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {BackupRepoCreate}
|
|
512
|
+
* @memberof EnvironmentApiCreateBackupRepoInternal
|
|
513
|
+
*/
|
|
514
|
+
readonly backupRepoCreate: BackupRepoCreate
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Use the environment installation repository selection and retry handling. Omitted or false performs ordinary repository creation.
|
|
518
|
+
* @type {boolean}
|
|
519
|
+
* @memberof EnvironmentApiCreateBackupRepoInternal
|
|
520
|
+
*/
|
|
521
|
+
readonly envInstall?: boolean
|
|
522
|
+
}
|
|
523
|
+
|
|
393
524
|
/**
|
|
394
525
|
* Request parameters for deleteEnvironment operation in EnvironmentApi.
|
|
395
526
|
* @export
|
|
@@ -502,6 +633,18 @@ export interface EnvironmentApiSyncEnvironmentAlertConfigsRequest {
|
|
|
502
633
|
* @extends {BaseAPI}
|
|
503
634
|
*/
|
|
504
635
|
export class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
|
|
636
|
+
/**
|
|
637
|
+
* Creates a backup repository. With envInstall enabled, uses the persisted environment installation storage and repository selection, reserves names before Kubernetes creation, and resumes the same installation on retries.
|
|
638
|
+
* @summary Create a backup repository
|
|
639
|
+
* @param {EnvironmentApiCreateBackupRepoInternalRequest} requestParameters Request parameters.
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
* @memberof EnvironmentApi
|
|
643
|
+
*/
|
|
644
|
+
public createBackupRepoInternal(requestParameters: EnvironmentApiCreateBackupRepoInternalRequest, options?: RawAxiosRequestConfig) {
|
|
645
|
+
return EnvironmentApiFp(this.configuration).createBackupRepoInternal(requestParameters.environmentName, requestParameters.uid, requestParameters.backupRepoCreate, requestParameters.envInstall, options).then((request) => request(this.axios, this.basePath));
|
|
646
|
+
}
|
|
647
|
+
|
|
505
648
|
/**
|
|
506
649
|
*
|
|
507
650
|
* @summary Delete Environment
|
|
@@ -34,7 +34,7 @@ import type { VictoriaLogsConfig } from '../models';
|
|
|
34
34
|
export const VictoriaLogsClusterApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35
35
|
return {
|
|
36
36
|
/**
|
|
37
|
-
* Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
|
|
37
|
+
* Create VictoriaLogs with optional per-component resources and retention, or attach an existing cluster. Reuse does not apply component overrides or retention changes. Omitted components keep installer defaults on create.
|
|
38
38
|
* @summary Create VictoriaLogs cluster
|
|
39
39
|
* @param {string} environmentName name of the environment
|
|
40
40
|
* @param {VictoriaLogsConfig} [victoriaLogsConfig]
|
|
@@ -86,7 +86,7 @@ export const VictoriaLogsClusterApiFp = function(configuration?: Configuration)
|
|
|
86
86
|
const localVarAxiosParamCreator = VictoriaLogsClusterApiAxiosParamCreator(configuration)
|
|
87
87
|
return {
|
|
88
88
|
/**
|
|
89
|
-
* Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
|
|
89
|
+
* Create VictoriaLogs with optional per-component resources and retention, or attach an existing cluster. Reuse does not apply component overrides or retention changes. Omitted components keep installer defaults on create.
|
|
90
90
|
* @summary Create VictoriaLogs cluster
|
|
91
91
|
* @param {string} environmentName name of the environment
|
|
92
92
|
* @param {VictoriaLogsConfig} [victoriaLogsConfig]
|
|
@@ -110,7 +110,7 @@ export const VictoriaLogsClusterApiFactory = function (configuration?: Configura
|
|
|
110
110
|
const localVarFp = VictoriaLogsClusterApiFp(configuration)
|
|
111
111
|
return {
|
|
112
112
|
/**
|
|
113
|
-
* Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
|
|
113
|
+
* Create VictoriaLogs with optional per-component resources and retention, or attach an existing cluster. Reuse does not apply component overrides or retention changes. Omitted components keep installer defaults on create.
|
|
114
114
|
* @summary Create VictoriaLogs cluster
|
|
115
115
|
* @param {VictoriaLogsClusterApiCreateVictoriaLogsClusterRequest} requestParameters Request parameters.
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
@@ -129,7 +129,7 @@ export const VictoriaLogsClusterApiFactory = function (configuration?: Configura
|
|
|
129
129
|
*/
|
|
130
130
|
export interface VictoriaLogsClusterApiInterface {
|
|
131
131
|
/**
|
|
132
|
-
* Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
|
|
132
|
+
* Create VictoriaLogs with optional per-component resources and retention, or attach an existing cluster. Reuse does not apply component overrides or retention changes. Omitted components keep installer defaults on create.
|
|
133
133
|
* @summary Create VictoriaLogs cluster
|
|
134
134
|
* @param {VictoriaLogsClusterApiCreateVictoriaLogsClusterRequest} requestParameters Request parameters.
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
@@ -169,7 +169,7 @@ export interface VictoriaLogsClusterApiCreateVictoriaLogsClusterRequest {
|
|
|
169
169
|
*/
|
|
170
170
|
export class VictoriaLogsClusterApi extends BaseAPI implements VictoriaLogsClusterApiInterface {
|
|
171
171
|
/**
|
|
172
|
-
* Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
|
|
172
|
+
* Create VictoriaLogs with optional per-component resources and retention, or attach an existing cluster. Reuse does not apply component overrides or retention changes. Omitted components keep installer defaults on create.
|
|
173
173
|
* @summary Create VictoriaLogs cluster
|
|
174
174
|
* @param {VictoriaLogsClusterApiCreateVictoriaLogsClusterRequest} requestParameters Request parameters.
|
|
175
175
|
* @param {*} [options] Override http request option.
|
|
@@ -37,7 +37,7 @@ export const VictoriaMetricsClusterApiAxiosParamCreator = function (configuratio
|
|
|
37
37
|
* create VictoriaMetrics Cluster and install victoria-metrics addon when it\'s uninstalled
|
|
38
38
|
* @summary create metrics Monitor
|
|
39
39
|
* @param {string} environmentName name of the environment
|
|
40
|
-
* @param {StaticCluster} [staticCluster]
|
|
40
|
+
* @param {StaticCluster} [staticCluster] Per-component resources for a new cluster, or reusedClusterName and reusedClusterNamespace to attach an existing cluster. Reuse does not apply component overrides.
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
@@ -89,7 +89,7 @@ export const VictoriaMetricsClusterApiFp = function(configuration?: Configuratio
|
|
|
89
89
|
* create VictoriaMetrics Cluster and install victoria-metrics addon when it\'s uninstalled
|
|
90
90
|
* @summary create metrics Monitor
|
|
91
91
|
* @param {string} environmentName name of the environment
|
|
92
|
-
* @param {StaticCluster} [staticCluster]
|
|
92
|
+
* @param {StaticCluster} [staticCluster] Per-component resources for a new cluster, or reusedClusterName and reusedClusterNamespace to attach an existing cluster. Reuse does not apply component overrides.
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
94
|
* @throws {RequiredError}
|
|
95
95
|
*/
|
|
@@ -154,7 +154,7 @@ export interface VictoriaMetricsClusterApiCreateVictoriaMetricsClusterRequest {
|
|
|
154
154
|
readonly environmentName: string
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* Per-component resources for a new cluster, or reusedClusterName and reusedClusterNamespace to attach an existing cluster. Reuse does not apply component overrides.
|
|
158
158
|
* @type {StaticCluster}
|
|
159
159
|
* @memberof VictoriaMetricsClusterApiCreateVictoriaMetricsCluster
|
|
160
160
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
* the access method for backup repo
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const BackupRepoAccessMethod = {
|
|
24
|
+
Mount: 'Mount',
|
|
25
|
+
Tool: 'Tool'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type BackupRepoAccessMethod = typeof BackupRepoAccessMethod[keyof typeof BackupRepoAccessMethod];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { BackupRepoAccessMethod } from './backup-repo-access-method';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { BackupRepoPVReclaimPolicy } from './backup-repo-pvreclaim-policy';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* BackupRepoCreate is the payload to create a KubeBlocks cluster backup repo
|
|
25
|
+
* @export
|
|
26
|
+
* @interface BackupRepoCreate
|
|
27
|
+
*/
|
|
28
|
+
export interface BackupRepoCreate {
|
|
29
|
+
/**
|
|
30
|
+
* the id of storage that backup repo used
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BackupRepoCreate
|
|
33
|
+
*/
|
|
34
|
+
'storageID': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {BackupRepoAccessMethod}
|
|
38
|
+
* @memberof BackupRepoCreate
|
|
39
|
+
*/
|
|
40
|
+
'accessMethod'?: BackupRepoAccessMethod;
|
|
41
|
+
/**
|
|
42
|
+
* default specifies whether the backupRepo is the default backupRepo
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof BackupRepoCreate
|
|
45
|
+
*/
|
|
46
|
+
'default'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* name of the backupRepo
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BackupRepoCreate
|
|
51
|
+
*/
|
|
52
|
+
'name': string;
|
|
53
|
+
/**
|
|
54
|
+
* the parameters to create the storage
|
|
55
|
+
* @type {{ [key: string]: string; }}
|
|
56
|
+
* @memberof BackupRepoCreate
|
|
57
|
+
*/
|
|
58
|
+
'params'?: { [key: string]: string; };
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {BackupRepoPVReclaimPolicy}
|
|
62
|
+
* @memberof BackupRepoCreate
|
|
63
|
+
*/
|
|
64
|
+
'pvReclaimPolicy'?: BackupRepoPVReclaimPolicy;
|
|
65
|
+
/**
|
|
66
|
+
* Specify the capacity of the new created PVC
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BackupRepoCreate
|
|
69
|
+
*/
|
|
70
|
+
'volumeCapacity'?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
* Specify the reclaim policy for PVs created by this backup repo
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const BackupRepoPVReclaimPolicy = {
|
|
24
|
+
Retain: 'Retain',
|
|
25
|
+
Delete: 'Delete'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type BackupRepoPVReclaimPolicy = typeof BackupRepoPVReclaimPolicy[keyof typeof BackupRepoPVReclaimPolicy];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud Internal API
|
|
5
|
+
* The Internal API is using for interaction of ApeCloud platform microservices.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { 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';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* backupRepo is the payload for KubeBlocks cluster backup repo
|
|
25
|
+
* @export
|
|
26
|
+
* @interface BackupRepo
|
|
27
|
+
*/
|
|
28
|
+
export interface BackupRepo {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {BackupRepoAccessMethod}
|
|
32
|
+
* @memberof BackupRepo
|
|
33
|
+
*/
|
|
34
|
+
'accessMethod'?: BackupRepoAccessMethod;
|
|
35
|
+
/**
|
|
36
|
+
* the id of backup repo
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BackupRepo
|
|
39
|
+
*/
|
|
40
|
+
'id'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* backupNums specifies the number of backups in the backupRepo
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof BackupRepo
|
|
45
|
+
*/
|
|
46
|
+
'backupNums'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* config specifies the configuration of the backupRepo
|
|
49
|
+
* @type {{ [key: string]: string; }}
|
|
50
|
+
* @memberof BackupRepo
|
|
51
|
+
*/
|
|
52
|
+
'config': { [key: string]: string; };
|
|
53
|
+
/**
|
|
54
|
+
* createdAt specifies the creation time of the backupRepo
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BackupRepo
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* default specifies whether the backupRepo is the default backupRepo
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof BackupRepo
|
|
63
|
+
*/
|
|
64
|
+
'default': boolean;
|
|
65
|
+
/**
|
|
66
|
+
* environmentId of the backupRepo
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BackupRepo
|
|
69
|
+
*/
|
|
70
|
+
'environmentId': string;
|
|
71
|
+
/**
|
|
72
|
+
* environmentName of the backupRepo
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof BackupRepo
|
|
75
|
+
*/
|
|
76
|
+
'environmentName': string;
|
|
77
|
+
/**
|
|
78
|
+
* name of the backupRepo
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof BackupRepo
|
|
81
|
+
*/
|
|
82
|
+
'name': string;
|
|
83
|
+
/**
|
|
84
|
+
* status specifies the status of the backupRepo
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof BackupRepo
|
|
87
|
+
*/
|
|
88
|
+
'status'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* the name of storage used by backup repo
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof BackupRepo
|
|
93
|
+
*/
|
|
94
|
+
'storageName'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* the id of storage used by backup repo
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof BackupRepo
|
|
99
|
+
*/
|
|
100
|
+
'storageID'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* storageProvider specifies the storage provider of the backupRepo
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof BackupRepo
|
|
105
|
+
*/
|
|
106
|
+
'storageProvider': string;
|
|
107
|
+
/**
|
|
108
|
+
* totalSize specifies the total size of backups in the backupRepo
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof BackupRepo
|
|
111
|
+
*/
|
|
112
|
+
'totalSize'?: string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {BackupRepoCheckResult}
|
|
116
|
+
* @memberof BackupRepo
|
|
117
|
+
*/
|
|
118
|
+
'check'?: BackupRepoCheckResult;
|
|
119
|
+
/**
|
|
120
|
+
* failedReason specifies the reason of the backupRepo failure
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof BackupRepo
|
|
123
|
+
*/
|
|
124
|
+
'failedReason'?: string;
|
|
125
|
+
/**
|
|
126
|
+
* failedMessage specifies the message of the backupRepo failure
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof BackupRepo
|
|
129
|
+
*/
|
|
130
|
+
'failedMessage'?: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
@@ -6,6 +6,12 @@ export * from './apiserver-phase-detail';
|
|
|
6
6
|
export * from './apiserver-phase-status';
|
|
7
7
|
export * from './apiserver-status';
|
|
8
8
|
export * from './apiserver-status-response';
|
|
9
|
+
export * from './backup-repo';
|
|
10
|
+
export * from './backup-repo-access-method';
|
|
11
|
+
export * from './backup-repo-check-result';
|
|
12
|
+
export * from './backup-repo-check-status';
|
|
13
|
+
export * from './backup-repo-create';
|
|
14
|
+
export * from './backup-repo-pvreclaim-policy';
|
|
9
15
|
export * from './backup-retention-policy';
|
|
10
16
|
export * from './cluster';
|
|
11
17
|
export * from './cluster-backup';
|
|
@@ -24,10 +24,22 @@ import type { StaticClusterComponent } from './static-cluster-component';
|
|
|
24
24
|
*/
|
|
25
25
|
export interface StaticCluster {
|
|
26
26
|
/**
|
|
27
|
-
* Optional component overrides. Unknown, duplicate or other-engine components are rejected.
|
|
27
|
+
* Optional component overrides. Unknown, duplicate or other-engine components are rejected. Must be omitted when reusedClusterName is set; adding an environment does not resize an existing cluster.
|
|
28
28
|
* @type {Array<StaticClusterComponent>}
|
|
29
29
|
* @memberof StaticCluster
|
|
30
30
|
*/
|
|
31
31
|
'components'?: Array<StaticClusterComponent>;
|
|
32
|
+
/**
|
|
33
|
+
* Kubernetes name of an existing cluster to attach. Set together with reusedClusterNamespace. The existing cluster\'s actual resources are used, and component overrides are rejected.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof StaticCluster
|
|
36
|
+
*/
|
|
37
|
+
'reusedClusterName'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Namespace of the cluster named by reusedClusterName. Required when reusedClusterName is set.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof StaticCluster
|
|
42
|
+
*/
|
|
43
|
+
'reusedClusterNamespace'?: string;
|
|
32
44
|
}
|
|
33
45
|
|