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.
Files changed (171) hide show
  1. package/dist/adminapi/apis/backup-repo-api.d.ts +10 -2
  2. package/dist/adminapi/apis/backup-repo-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/backup-repo-api.js +10 -5
  4. package/dist/adminapi/apis/backup-repo-api.js.map +1 -1
  5. package/dist/adminapi/apis/environment-api.d.ts +56 -0
  6. package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/environment-api.js +70 -0
  8. package/dist/adminapi/apis/environment-api.js.map +1 -1
  9. package/dist/adminapi/models/backup-repo-check-result.d.ts +38 -0
  10. package/dist/adminapi/models/backup-repo-check-result.d.ts.map +1 -0
  11. package/dist/adminapi/models/backup-repo-check-result.js +16 -0
  12. package/dist/adminapi/models/backup-repo-check-result.js.map +1 -0
  13. package/dist/adminapi/models/backup-repo-check-status.d.ts +23 -0
  14. package/dist/adminapi/models/backup-repo-check-status.d.ts.map +1 -0
  15. package/dist/adminapi/models/backup-repo-check-status.js +27 -0
  16. package/dist/adminapi/models/backup-repo-check-status.js.map +1 -0
  17. package/dist/adminapi/models/backup-repo.d.ts +7 -0
  18. package/dist/adminapi/models/backup-repo.d.ts.map +1 -1
  19. package/dist/adminapi/models/engine-service-versions.d.ts +7 -0
  20. package/dist/adminapi/models/engine-service-versions.d.ts.map +1 -1
  21. package/dist/adminapi/models/environment-static-cluster-list.d.ts +32 -0
  22. package/dist/adminapi/models/environment-static-cluster-list.d.ts.map +1 -0
  23. package/dist/adminapi/models/environment-static-cluster-list.js +16 -0
  24. package/dist/adminapi/models/environment-static-cluster-list.js.map +1 -0
  25. package/dist/adminapi/models/index.d.ts +7 -0
  26. package/dist/adminapi/models/index.d.ts.map +1 -1
  27. package/dist/adminapi/models/index.js +7 -0
  28. package/dist/adminapi/models/index.js.map +1 -1
  29. package/dist/adminapi/models/instance-template-op.d.ts +1 -0
  30. package/dist/adminapi/models/instance-template-op.d.ts.map +1 -1
  31. package/dist/adminapi/models/instance-template-op.js +2 -1
  32. package/dist/adminapi/models/instance-template-op.js.map +1 -1
  33. package/dist/adminapi/models/instance-template-service-versions.d.ts +37 -0
  34. package/dist/adminapi/models/instance-template-service-versions.d.ts.map +1 -0
  35. package/dist/adminapi/models/instance-template-service-versions.js +16 -0
  36. package/dist/adminapi/models/instance-template-service-versions.js.map +1 -0
  37. package/dist/adminapi/models/instance-template-upgrade.d.ts +31 -0
  38. package/dist/adminapi/models/instance-template-upgrade.d.ts.map +1 -0
  39. package/dist/adminapi/models/instance-template-upgrade.js +16 -0
  40. package/dist/adminapi/models/instance-template-upgrade.js.map +1 -0
  41. package/dist/adminapi/models/ops-upgrade.d.ts +8 -1
  42. package/dist/adminapi/models/ops-upgrade.d.ts.map +1 -1
  43. package/dist/adminapi/models/raw-cluster-component.d.ts +55 -0
  44. package/dist/adminapi/models/raw-cluster-component.d.ts.map +1 -0
  45. package/dist/adminapi/models/raw-cluster-component.js +16 -0
  46. package/dist/adminapi/models/raw-cluster-component.js.map +1 -0
  47. package/dist/adminapi/models/raw-cluster.d.ts +13 -0
  48. package/dist/adminapi/models/raw-cluster.d.ts.map +1 -1
  49. package/dist/adminapi/models/static-cluster.d.ts +13 -1
  50. package/dist/adminapi/models/static-cluster.d.ts.map +1 -1
  51. package/dist/adminapi/models/static-service-cluster-engine.d.ts +24 -0
  52. package/dist/adminapi/models/static-service-cluster-engine.d.ts.map +1 -0
  53. package/dist/adminapi/models/static-service-cluster-engine.js +28 -0
  54. package/dist/adminapi/models/static-service-cluster-engine.js.map +1 -0
  55. package/dist/adminapi/models/storage-config-backup.d.ts +9 -3
  56. package/dist/adminapi/models/storage-config-backup.d.ts.map +1 -1
  57. package/dist/adminapi/models/storage-config.d.ts +1 -1
  58. package/dist/adminapi/models/storage-config.d.ts.map +1 -1
  59. package/dist/internalapi/apis/environment-api.d.ts +81 -0
  60. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  61. package/dist/internalapi/apis/environment-api.js +85 -0
  62. package/dist/internalapi/apis/environment-api.js.map +1 -1
  63. package/dist/internalapi/apis/victoria-logs-cluster-api.d.ts +5 -5
  64. package/dist/internalapi/apis/victoria-logs-cluster-api.js +4 -4
  65. package/dist/internalapi/apis/victoria-metrics-cluster-api.d.ts +3 -3
  66. package/dist/internalapi/apis/victoria-metrics-cluster-api.js +2 -2
  67. package/dist/internalapi/models/backup-repo-access-method.d.ts +22 -0
  68. package/dist/internalapi/models/backup-repo-access-method.d.ts.map +1 -0
  69. package/dist/internalapi/models/backup-repo-access-method.js +26 -0
  70. package/dist/internalapi/models/backup-repo-access-method.js.map +1 -0
  71. package/dist/internalapi/models/backup-repo-check-result.d.ts +38 -0
  72. package/dist/internalapi/models/backup-repo-check-result.d.ts.map +1 -0
  73. package/dist/internalapi/models/backup-repo-check-result.js +16 -0
  74. package/dist/internalapi/models/backup-repo-check-result.js.map +1 -0
  75. package/dist/internalapi/models/backup-repo-check-status.d.ts +23 -0
  76. package/dist/internalapi/models/backup-repo-check-status.d.ts.map +1 -0
  77. package/dist/internalapi/models/backup-repo-check-status.js +27 -0
  78. package/dist/internalapi/models/backup-repo-check-status.js.map +1 -0
  79. package/dist/internalapi/models/backup-repo-create.d.ts +65 -0
  80. package/dist/internalapi/models/backup-repo-create.d.ts.map +1 -0
  81. package/dist/internalapi/models/backup-repo-create.js +16 -0
  82. package/dist/internalapi/models/backup-repo-create.js.map +1 -0
  83. package/dist/internalapi/models/backup-repo-pvreclaim-policy.d.ts +22 -0
  84. package/dist/internalapi/models/backup-repo-pvreclaim-policy.d.ts.map +1 -0
  85. package/dist/internalapi/models/backup-repo-pvreclaim-policy.js +26 -0
  86. package/dist/internalapi/models/backup-repo-pvreclaim-policy.js.map +1 -0
  87. package/dist/internalapi/models/backup-repo.d.ts +125 -0
  88. package/dist/internalapi/models/backup-repo.d.ts.map +1 -0
  89. package/dist/internalapi/models/backup-repo.js +16 -0
  90. package/dist/internalapi/models/backup-repo.js.map +1 -0
  91. package/dist/internalapi/models/index.d.ts +6 -0
  92. package/dist/internalapi/models/index.d.ts.map +1 -1
  93. package/dist/internalapi/models/index.js +6 -0
  94. package/dist/internalapi/models/index.js.map +1 -1
  95. package/dist/internalapi/models/static-cluster.d.ts +13 -1
  96. package/dist/internalapi/models/static-cluster.d.ts.map +1 -1
  97. package/dist/openapi/models/backup-repo-check-result.d.ts +38 -0
  98. package/dist/openapi/models/backup-repo-check-result.d.ts.map +1 -0
  99. package/dist/openapi/models/backup-repo-check-result.js +16 -0
  100. package/dist/openapi/models/backup-repo-check-result.js.map +1 -0
  101. package/dist/openapi/models/backup-repo-check-status.d.ts +23 -0
  102. package/dist/openapi/models/backup-repo-check-status.d.ts.map +1 -0
  103. package/dist/openapi/models/backup-repo-check-status.js +27 -0
  104. package/dist/openapi/models/backup-repo-check-status.js.map +1 -0
  105. package/dist/openapi/models/backup-repo.d.ts +7 -0
  106. package/dist/openapi/models/backup-repo.d.ts.map +1 -1
  107. package/dist/openapi/models/engine-service-versions.d.ts +7 -0
  108. package/dist/openapi/models/engine-service-versions.d.ts.map +1 -1
  109. package/dist/openapi/models/index.d.ts +4 -0
  110. package/dist/openapi/models/index.d.ts.map +1 -1
  111. package/dist/openapi/models/index.js +4 -0
  112. package/dist/openapi/models/index.js.map +1 -1
  113. package/dist/openapi/models/instance-template-op.d.ts +1 -0
  114. package/dist/openapi/models/instance-template-op.d.ts.map +1 -1
  115. package/dist/openapi/models/instance-template-op.js +2 -1
  116. package/dist/openapi/models/instance-template-op.js.map +1 -1
  117. package/dist/openapi/models/instance-template-service-versions.d.ts +37 -0
  118. package/dist/openapi/models/instance-template-service-versions.d.ts.map +1 -0
  119. package/dist/openapi/models/instance-template-service-versions.js +16 -0
  120. package/dist/openapi/models/instance-template-service-versions.js.map +1 -0
  121. package/dist/openapi/models/instance-template-upgrade.d.ts +31 -0
  122. package/dist/openapi/models/instance-template-upgrade.d.ts.map +1 -0
  123. package/dist/openapi/models/instance-template-upgrade.js +16 -0
  124. package/dist/openapi/models/instance-template-upgrade.js.map +1 -0
  125. package/dist/openapi/models/ops-upgrade.d.ts +8 -1
  126. package/dist/openapi/models/ops-upgrade.d.ts.map +1 -1
  127. package/package.json +1 -1
  128. package/src/adminapi/.openapi-generator/FILES +7 -0
  129. package/src/adminapi/apis/backup-repo-api.ts +18 -5
  130. package/src/adminapi/apis/environment-api.ts +104 -0
  131. package/src/adminapi/models/backup-repo-check-result.ts +47 -0
  132. package/src/adminapi/models/backup-repo-check-status.ts +32 -0
  133. package/src/adminapi/models/backup-repo.ts +9 -0
  134. package/src/adminapi/models/engine-service-versions.ts +9 -0
  135. package/src/adminapi/models/environment-static-cluster-list.ts +41 -0
  136. package/src/adminapi/models/index.ts +7 -0
  137. package/src/adminapi/models/instance-template-op.ts +2 -1
  138. package/src/adminapi/models/instance-template-service-versions.ts +42 -0
  139. package/src/adminapi/models/instance-template-upgrade.ts +36 -0
  140. package/src/adminapi/models/ops-upgrade.ts +10 -1
  141. package/src/adminapi/models/raw-cluster-component.ts +60 -0
  142. package/src/adminapi/models/raw-cluster.ts +15 -0
  143. package/src/adminapi/models/static-cluster.ts +13 -1
  144. package/src/adminapi/models/static-service-cluster-engine.ts +33 -0
  145. package/src/adminapi/models/storage-config-backup.ts +9 -3
  146. package/src/adminapi/models/storage-config.ts +1 -1
  147. package/src/adminapi.yaml +162 -9
  148. package/src/internalapi/.openapi-generator/FILES +6 -0
  149. package/src/internalapi/apis/environment-api.ts +143 -0
  150. package/src/internalapi/apis/victoria-logs-cluster-api.ts +5 -5
  151. package/src/internalapi/apis/victoria-metrics-cluster-api.ts +3 -3
  152. package/src/internalapi/models/backup-repo-access-method.ts +31 -0
  153. package/src/internalapi/models/backup-repo-check-result.ts +47 -0
  154. package/src/internalapi/models/backup-repo-check-status.ts +32 -0
  155. package/src/internalapi/models/backup-repo-create.ts +74 -0
  156. package/src/internalapi/models/backup-repo-pvreclaim-policy.ts +31 -0
  157. package/src/internalapi/models/backup-repo.ts +134 -0
  158. package/src/internalapi/models/index.ts +6 -0
  159. package/src/internalapi/models/static-cluster.ts +13 -1
  160. package/src/internalapi.yaml +176 -3
  161. package/src/openapi/.openapi-generator/FILES +4 -0
  162. package/src/openapi/models/backup-repo-check-result.ts +47 -0
  163. package/src/openapi/models/backup-repo-check-status.ts +32 -0
  164. package/src/openapi/models/backup-repo.ts +9 -0
  165. package/src/openapi/models/engine-service-versions.ts +9 -0
  166. package/src/openapi/models/index.ts +4 -0
  167. package/src/openapi/models/instance-template-op.ts +2 -1
  168. package/src/openapi/models/instance-template-service-versions.ts +42 -0
  169. package/src/openapi/models/instance-template-upgrade.ts +36 -0
  170. package/src/openapi/models/ops-upgrade.ts +10 -1
  171. 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
- * OpsUpgrade is the payload to upgrade a KubeBlocks cluster
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
+