kb-cloud-client-typescript 2.4.0-alpha.54 → 2.4.0-alpha.56
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/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/compute-group-api.d.ts +947 -0
- package/dist/adminapi/apis/compute-group-api.d.ts.map +1 -0
- package/dist/adminapi/apis/compute-group-api.js +1005 -0
- package/dist/adminapi/apis/compute-group-api.js.map +1 -0
- package/dist/adminapi/apis/inspection-api.d.ts +17 -16
- package/dist/adminapi/apis/inspection-api.d.ts.map +1 -1
- package/dist/adminapi/apis/inspection-api.js +18 -18
- package/dist/adminapi/apis/inspection-api.js.map +1 -1
- package/dist/adminapi/models/component-item-create.d.ts +2 -2
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/compute-group-account-list.d.ts +26 -0
- package/dist/adminapi/models/compute-group-account-list.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-account-list.js +16 -0
- package/dist/adminapi/models/compute-group-account-list.js.map +1 -0
- package/dist/adminapi/models/compute-group-account.d.ts +61 -0
- package/dist/adminapi/models/compute-group-account.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-account.js +16 -0
- package/dist/adminapi/models/compute-group-account.js.map +1 -0
- package/dist/adminapi/models/compute-group-backend.d.ts +73 -0
- package/dist/adminapi/models/compute-group-backend.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-backend.js +16 -0
- package/dist/adminapi/models/compute-group-backend.js.map +1 -0
- package/dist/adminapi/models/compute-group-create.d.ts +37 -0
- package/dist/adminapi/models/compute-group-create.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-create.js +16 -0
- package/dist/adminapi/models/compute-group-create.js.map +1 -0
- package/dist/adminapi/models/compute-group-list.d.ts +38 -0
- package/dist/adminapi/models/compute-group-list.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-list.js +16 -0
- package/dist/adminapi/models/compute-group-list.js.map +1 -0
- package/dist/adminapi/models/compute-group-scale.d.ts +31 -0
- package/dist/adminapi/models/compute-group-scale.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-scale.js +16 -0
- package/dist/adminapi/models/compute-group-scale.js.map +1 -0
- package/dist/adminapi/models/compute-group.d.ts +110 -0
- package/dist/adminapi/models/compute-group.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group.js +16 -0
- package/dist/adminapi/models/compute-group.js.map +1 -0
- package/dist/adminapi/models/engine-mode-transition.d.ts +13 -0
- package/dist/adminapi/models/engine-mode-transition.d.ts.map +1 -1
- package/dist/adminapi/models/env-rerender.d.ts +31 -0
- package/dist/adminapi/models/env-rerender.d.ts.map +1 -0
- package/dist/adminapi/models/env-rerender.js +16 -0
- package/dist/adminapi/models/env-rerender.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +9 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +9 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task-create.d.ts +49 -0
- package/dist/adminapi/models/inspection-task-create.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-task-create.js +16 -0
- package/dist/adminapi/models/inspection-task-create.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/compute-group-api.d.ts +947 -0
- package/dist/openapi/apis/compute-group-api.d.ts.map +1 -0
- package/dist/openapi/apis/compute-group-api.js +1005 -0
- package/dist/openapi/apis/compute-group-api.js.map +1 -0
- package/dist/openapi/apis/inspection-api.d.ts +17 -16
- package/dist/openapi/apis/inspection-api.d.ts.map +1 -1
- package/dist/openapi/apis/inspection-api.js +18 -18
- package/dist/openapi/apis/inspection-api.js.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +2 -2
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/compute-group-account-list.d.ts +26 -0
- package/dist/openapi/models/compute-group-account-list.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-account-list.js +16 -0
- package/dist/openapi/models/compute-group-account-list.js.map +1 -0
- package/dist/openapi/models/compute-group-account.d.ts +61 -0
- package/dist/openapi/models/compute-group-account.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-account.js +16 -0
- package/dist/openapi/models/compute-group-account.js.map +1 -0
- package/dist/openapi/models/compute-group-backend.d.ts +73 -0
- package/dist/openapi/models/compute-group-backend.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-backend.js +16 -0
- package/dist/openapi/models/compute-group-backend.js.map +1 -0
- package/dist/openapi/models/compute-group-create.d.ts +37 -0
- package/dist/openapi/models/compute-group-create.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-create.js +16 -0
- package/dist/openapi/models/compute-group-create.js.map +1 -0
- package/dist/openapi/models/compute-group-list.d.ts +38 -0
- package/dist/openapi/models/compute-group-list.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-list.js +16 -0
- package/dist/openapi/models/compute-group-list.js.map +1 -0
- package/dist/openapi/models/compute-group-scale.d.ts +31 -0
- package/dist/openapi/models/compute-group-scale.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-scale.js +16 -0
- package/dist/openapi/models/compute-group-scale.js.map +1 -0
- package/dist/openapi/models/compute-group.d.ts +110 -0
- package/dist/openapi/models/compute-group.d.ts.map +1 -0
- package/dist/openapi/models/compute-group.js +16 -0
- package/dist/openapi/models/compute-group.js.map +1 -0
- package/dist/openapi/models/engine-mode-transition.d.ts +13 -0
- package/dist/openapi/models/engine-mode-transition.d.ts.map +1 -1
- package/dist/openapi/models/env-rerender.d.ts +31 -0
- package/dist/openapi/models/env-rerender.d.ts.map +1 -0
- package/dist/openapi/models/env-rerender.js +16 -0
- package/dist/openapi/models/env-rerender.js.map +1 -0
- package/dist/openapi/models/index.d.ts +9 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +9 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task-create.d.ts +49 -0
- package/dist/openapi/models/inspection-task-create.d.ts.map +1 -0
- package/dist/openapi/models/inspection-task-create.js +16 -0
- package/dist/openapi/models/inspection-task-create.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +10 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/compute-group-api.ts +1618 -0
- package/src/adminapi/apis/inspection-api.ts +24 -22
- package/src/adminapi/models/component-item-create.ts +2 -2
- package/src/adminapi/models/compute-group-account-list.ts +33 -0
- package/src/adminapi/models/compute-group-account.ts +66 -0
- package/src/adminapi/models/compute-group-backend.ts +78 -0
- package/src/adminapi/models/compute-group-create.ts +42 -0
- package/src/adminapi/models/compute-group-list.ts +45 -0
- package/src/adminapi/models/compute-group-scale.ts +36 -0
- package/src/adminapi/models/compute-group.ts +117 -0
- package/src/adminapi/models/engine-mode-transition.ts +15 -0
- package/src/adminapi/models/env-rerender.ts +36 -0
- package/src/adminapi/models/index.ts +9 -0
- package/src/adminapi/models/inspection-task-create.ts +54 -0
- package/src/adminapi.yaml +774 -59
- package/src/openapi/.openapi-generator/FILES +10 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/compute-group-api.ts +1618 -0
- package/src/openapi/apis/inspection-api.ts +24 -22
- package/src/openapi/models/component-item-create.ts +2 -2
- package/src/openapi/models/compute-group-account-list.ts +33 -0
- package/src/openapi/models/compute-group-account.ts +66 -0
- package/src/openapi/models/compute-group-backend.ts +78 -0
- package/src/openapi/models/compute-group-create.ts +42 -0
- package/src/openapi/models/compute-group-list.ts +45 -0
- package/src/openapi/models/compute-group-scale.ts +36 -0
- package/src/openapi/models/compute-group.ts +117 -0
- package/src/openapi/models/engine-mode-transition.ts +15 -0
- package/src/openapi/models/env-rerender.ts +36 -0
- package/src/openapi/models/index.ts +9 -0
- package/src/openapi/models/inspection-task-create.ts +54 -0
- package/src/openapi.yaml +719 -4
|
@@ -38,6 +38,8 @@ import type { InspectionScript } from '../models';
|
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
import type { InspectionTask } from '../models';
|
|
40
40
|
// @ts-ignore
|
|
41
|
+
import type { InspectionTaskCreate } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
41
43
|
import type { InspectionTaskFormat } from '../models';
|
|
42
44
|
/**
|
|
43
45
|
* InspectionApi - axios parameter creator
|
|
@@ -179,18 +181,18 @@ export const InspectionApiAxiosParamCreator = function (configuration?: Configur
|
|
|
179
181
|
};
|
|
180
182
|
},
|
|
181
183
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @summary
|
|
184
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
185
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
184
186
|
* @param {string} orgName name of the Org
|
|
185
|
-
* @param {
|
|
187
|
+
* @param {InspectionTaskCreate} inspectionTaskCreate
|
|
186
188
|
* @param {*} [options] Override http request option.
|
|
187
189
|
* @throws {RequiredError}
|
|
188
190
|
*/
|
|
189
|
-
createInspectionTaskByOrg: async (orgName: string,
|
|
191
|
+
createInspectionTaskByOrg: async (orgName: string, inspectionTaskCreate: InspectionTaskCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
192
|
// verify required parameter 'orgName' is not null or undefined
|
|
191
193
|
assertParamExists('createInspectionTaskByOrg', 'orgName', orgName)
|
|
192
|
-
// verify required parameter '
|
|
193
|
-
assertParamExists('createInspectionTaskByOrg', '
|
|
194
|
+
// verify required parameter 'inspectionTaskCreate' is not null or undefined
|
|
195
|
+
assertParamExists('createInspectionTaskByOrg', 'inspectionTaskCreate', inspectionTaskCreate)
|
|
194
196
|
const localVarPath = `/admin/v1/organizations/{orgName}/inspectionTasksByOrg`
|
|
195
197
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
196
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -218,7 +220,7 @@ export const InspectionApiAxiosParamCreator = function (configuration?: Configur
|
|
|
218
220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
219
221
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
222
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
221
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
223
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inspectionTaskCreate, localVarRequestOptions, configuration)
|
|
222
224
|
|
|
223
225
|
return {
|
|
224
226
|
url: toPathString(localVarUrlObj),
|
|
@@ -893,15 +895,15 @@ export const InspectionApiFp = function(configuration?: Configuration) {
|
|
|
893
895
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
894
896
|
},
|
|
895
897
|
/**
|
|
896
|
-
*
|
|
897
|
-
* @summary
|
|
898
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
899
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
898
900
|
* @param {string} orgName name of the Org
|
|
899
|
-
* @param {
|
|
901
|
+
* @param {InspectionTaskCreate} inspectionTaskCreate
|
|
900
902
|
* @param {*} [options] Override http request option.
|
|
901
903
|
* @throws {RequiredError}
|
|
902
904
|
*/
|
|
903
|
-
async createInspectionTaskByOrg(orgName: string,
|
|
904
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createInspectionTaskByOrg(orgName,
|
|
905
|
+
async createInspectionTaskByOrg(orgName: string, inspectionTaskCreate: InspectionTaskCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createInspectionTaskByOrg(orgName, inspectionTaskCreate, options);
|
|
905
907
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
906
908
|
const localVarOperationServerBasePath = operationServerMap['InspectionApi.createInspectionTaskByOrg']?.[localVarOperationServerIndex]?.url;
|
|
907
909
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1124,14 +1126,14 @@ export const InspectionApiFactory = function (configuration?: Configuration, bas
|
|
|
1124
1126
|
return localVarFp.createInspectionTaskByEnv(requestParameters.environmentName, requestParameters.inspectionTask, options).then((request) => request(axios, basePath));
|
|
1125
1127
|
},
|
|
1126
1128
|
/**
|
|
1127
|
-
*
|
|
1128
|
-
* @summary
|
|
1129
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
1130
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
1129
1131
|
* @param {InspectionApiCreateInspectionTaskByOrgRequest} requestParameters Request parameters.
|
|
1130
1132
|
* @param {*} [options] Override http request option.
|
|
1131
1133
|
* @throws {RequiredError}
|
|
1132
1134
|
*/
|
|
1133
1135
|
createInspectionTaskByOrg(requestParameters: InspectionApiCreateInspectionTaskByOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1134
|
-
return localVarFp.createInspectionTaskByOrg(requestParameters.orgName, requestParameters.
|
|
1136
|
+
return localVarFp.createInspectionTaskByOrg(requestParameters.orgName, requestParameters.inspectionTaskCreate, options).then((request) => request(axios, basePath));
|
|
1135
1137
|
},
|
|
1136
1138
|
/**
|
|
1137
1139
|
*
|
|
@@ -1293,8 +1295,8 @@ export interface InspectionApiInterface {
|
|
|
1293
1295
|
createInspectionTaskByEnv(requestParameters: InspectionApiCreateInspectionTaskByEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1294
1296
|
|
|
1295
1297
|
/**
|
|
1296
|
-
*
|
|
1297
|
-
* @summary
|
|
1298
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
1299
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
1298
1300
|
* @param {InspectionApiCreateInspectionTaskByOrgRequest} requestParameters Request parameters.
|
|
1299
1301
|
* @param {*} [options] Override http request option.
|
|
1300
1302
|
* @throws {RequiredError}
|
|
@@ -1488,10 +1490,10 @@ export interface InspectionApiCreateInspectionTaskByOrgRequest {
|
|
|
1488
1490
|
|
|
1489
1491
|
/**
|
|
1490
1492
|
*
|
|
1491
|
-
* @type {
|
|
1493
|
+
* @type {InspectionTaskCreate}
|
|
1492
1494
|
* @memberof InspectionApiCreateInspectionTaskByOrg
|
|
1493
1495
|
*/
|
|
1494
|
-
readonly
|
|
1496
|
+
readonly inspectionTaskCreate: InspectionTaskCreate
|
|
1495
1497
|
}
|
|
1496
1498
|
|
|
1497
1499
|
/**
|
|
@@ -1853,15 +1855,15 @@ export class InspectionApi extends BaseAPI implements InspectionApiInterface {
|
|
|
1853
1855
|
}
|
|
1854
1856
|
|
|
1855
1857
|
/**
|
|
1856
|
-
*
|
|
1857
|
-
* @summary
|
|
1858
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
1859
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
1858
1860
|
* @param {InspectionApiCreateInspectionTaskByOrgRequest} requestParameters Request parameters.
|
|
1859
1861
|
* @param {*} [options] Override http request option.
|
|
1860
1862
|
* @throws {RequiredError}
|
|
1861
1863
|
* @memberof InspectionApi
|
|
1862
1864
|
*/
|
|
1863
1865
|
public createInspectionTaskByOrg(requestParameters: InspectionApiCreateInspectionTaskByOrgRequest, options?: RawAxiosRequestConfig) {
|
|
1864
|
-
return InspectionApiFp(this.configuration).createInspectionTaskByOrg(requestParameters.orgName, requestParameters.
|
|
1866
|
+
return InspectionApiFp(this.configuration).createInspectionTaskByOrg(requestParameters.orgName, requestParameters.inspectionTaskCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1865
1867
|
}
|
|
1866
1868
|
|
|
1867
1869
|
/**
|
|
@@ -39,11 +39,11 @@ export interface ComponentItemCreate {
|
|
|
39
39
|
*/
|
|
40
40
|
'compNum'?: number;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas.
|
|
43
43
|
* @type {number}
|
|
44
44
|
* @memberof ComponentItemCreate
|
|
45
45
|
*/
|
|
46
|
-
'replicas'?: number;
|
|
46
|
+
'replicas'?: number | null;
|
|
47
47
|
/**
|
|
48
48
|
* Whether to skip resource constraint validation when creating cluster
|
|
49
49
|
* @type {boolean}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ComputeGroupAccount } from './compute-group-account';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ComputeGroupAccountList
|
|
24
|
+
*/
|
|
25
|
+
export interface ComputeGroupAccountList {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ComputeGroupAccount>}
|
|
29
|
+
* @memberof ComputeGroupAccountList
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<ComputeGroupAccount>;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
* Grants reported by the engine can include role inheritance. Revoking a direct grant does not remove inherited permissions.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ComputeGroupAccount
|
|
21
|
+
*/
|
|
22
|
+
export interface ComputeGroupAccount {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ComputeGroupAccount
|
|
27
|
+
*/
|
|
28
|
+
'identity'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ComputeGroupAccount
|
|
33
|
+
*/
|
|
34
|
+
'accountName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof ComputeGroupAccount
|
|
39
|
+
*/
|
|
40
|
+
'manageable'?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ComputeGroupAccount
|
|
45
|
+
*/
|
|
46
|
+
'globalGrants'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ComputeGroupAccount
|
|
51
|
+
*/
|
|
52
|
+
'computeGrants'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ComputeGroupAccount
|
|
57
|
+
*/
|
|
58
|
+
'roles'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof ComputeGroupAccount
|
|
63
|
+
*/
|
|
64
|
+
'isDefault'?: boolean;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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 ComputeGroupBackend
|
|
21
|
+
*/
|
|
22
|
+
export interface ComputeGroupBackend {
|
|
23
|
+
/**
|
|
24
|
+
* Opaque backend ID; do not convert to a JavaScript number.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ComputeGroupBackend
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ComputeGroupBackend
|
|
33
|
+
*/
|
|
34
|
+
'host'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ComputeGroupBackend
|
|
39
|
+
*/
|
|
40
|
+
'heartbeatPort'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof ComputeGroupBackend
|
|
45
|
+
*/
|
|
46
|
+
'alive'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ComputeGroupBackend
|
|
51
|
+
*/
|
|
52
|
+
'decommissioned'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof ComputeGroupBackend
|
|
57
|
+
*/
|
|
58
|
+
'tabletCount'?: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ComputeGroupBackend
|
|
63
|
+
*/
|
|
64
|
+
'lastHeartbeat'?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ComputeGroupBackend
|
|
69
|
+
*/
|
|
70
|
+
'version'?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ComputeGroupBackend
|
|
75
|
+
*/
|
|
76
|
+
'errorMessage'?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -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 ComputeGroupCreate
|
|
21
|
+
*/
|
|
22
|
+
export interface ComputeGroupCreate {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ComputeGroupCreate
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ComputeGroupCreate
|
|
33
|
+
*/
|
|
34
|
+
'replicas': number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ComputeGroupCreate
|
|
39
|
+
*/
|
|
40
|
+
'classCode': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ComputeGroup } from './compute-group';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ComputeGroupList
|
|
24
|
+
*/
|
|
25
|
+
export interface ComputeGroupList {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ComputeGroup>}
|
|
29
|
+
* @memberof ComputeGroupList
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<ComputeGroup>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ComputeGroupList
|
|
36
|
+
*/
|
|
37
|
+
'managementSupported'?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ComputeGroupList
|
|
42
|
+
*/
|
|
43
|
+
'unsupportedReason'?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -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 ComputeGroupScale
|
|
21
|
+
*/
|
|
22
|
+
export interface ComputeGroupScale {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ComputeGroupScale
|
|
27
|
+
*/
|
|
28
|
+
'replicas'?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ComputeGroupScale
|
|
33
|
+
*/
|
|
34
|
+
'classCode'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { ComputeGroupBackend } from './compute-group-backend';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ComputeGroup
|
|
24
|
+
*/
|
|
25
|
+
export interface ComputeGroup {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ComputeGroup
|
|
30
|
+
*/
|
|
31
|
+
'name'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ComputeGroup
|
|
36
|
+
*/
|
|
37
|
+
'componentName'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ComputeGroup
|
|
42
|
+
*/
|
|
43
|
+
'managed'?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof ComputeGroup
|
|
48
|
+
*/
|
|
49
|
+
'isDefault'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Kubernetes component phase, independent of engine membership.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ComputeGroup
|
|
54
|
+
*/
|
|
55
|
+
'phase'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof ComputeGroup
|
|
60
|
+
*/
|
|
61
|
+
'stopped'?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof ComputeGroup
|
|
66
|
+
*/
|
|
67
|
+
'replicas'?: number;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ComputeGroup
|
|
72
|
+
*/
|
|
73
|
+
'classCode'?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof ComputeGroup
|
|
78
|
+
*/
|
|
79
|
+
'cpu'?: number;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof ComputeGroup
|
|
84
|
+
*/
|
|
85
|
+
'memory'?: number;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof ComputeGroup
|
|
90
|
+
*/
|
|
91
|
+
'backendCount'?: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof ComputeGroup
|
|
96
|
+
*/
|
|
97
|
+
'aliveBackendCount'?: number;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<string>}
|
|
101
|
+
* @memberof ComputeGroup
|
|
102
|
+
*/
|
|
103
|
+
'defaultUsers'?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<ComputeGroupBackend>}
|
|
107
|
+
* @memberof ComputeGroup
|
|
108
|
+
*/
|
|
109
|
+
'backends'?: Array<ComputeGroupBackend>;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Array<string>}
|
|
113
|
+
* @memberof ComputeGroup
|
|
114
|
+
*/
|
|
115
|
+
'allowedActions'?: Array<string>;
|
|
116
|
+
}
|
|
117
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { EnvRerender } from './env-rerender';
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
21
|
*
|
|
@@ -20,11 +23,23 @@
|
|
|
20
23
|
* @interface EngineModeTransition
|
|
21
24
|
*/
|
|
22
25
|
export interface EngineModeTransition {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {EnvRerender}
|
|
29
|
+
* @memberof EngineModeTransition
|
|
30
|
+
*/
|
|
31
|
+
'envRerender'?: EnvRerender;
|
|
23
32
|
/**
|
|
24
33
|
* Target mode name.
|
|
25
34
|
* @type {string}
|
|
26
35
|
* @memberof EngineModeTransition
|
|
27
36
|
*/
|
|
28
37
|
'mode': string;
|
|
38
|
+
/**
|
|
39
|
+
* Components that must be running once the mode change is done, in addition to the ones the transition creates. Declare a component here when the transition re-renders it instead of creating it, so it must settle before the transition is considered finished.
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof EngineModeTransition
|
|
42
|
+
*/
|
|
43
|
+
'waitComponentsRunningAfterModeChange'?: Array<string>;
|
|
29
44
|
}
|
|
30
45
|
|
|
@@ -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
|
+
* Rule telling whether the env of an existing component is re-rendered when the mode transitions.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface EnvRerender
|
|
21
|
+
*/
|
|
22
|
+
export interface EnvRerender {
|
|
23
|
+
/**
|
|
24
|
+
* Re-render the whole env of the component.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof EnvRerender
|
|
27
|
+
*/
|
|
28
|
+
'allEnv'?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Re-render only these env vars, when allEnv is not set.
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof EnvRerender
|
|
33
|
+
*/
|
|
34
|
+
'includeEnvs'?: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -219,6 +219,13 @@ export * from './component-option-version-major-version-version-mapping-inner';
|
|
|
219
219
|
export * from './component-option-version-minor-version';
|
|
220
220
|
export * from './component-version-architecture';
|
|
221
221
|
export * from './component-volume-item';
|
|
222
|
+
export * from './compute-group';
|
|
223
|
+
export * from './compute-group-account';
|
|
224
|
+
export * from './compute-group-account-list';
|
|
225
|
+
export * from './compute-group-backend';
|
|
226
|
+
export * from './compute-group-create';
|
|
227
|
+
export * from './compute-group-list';
|
|
228
|
+
export * from './compute-group-scale';
|
|
222
229
|
export * from './config-entry';
|
|
223
230
|
export * from './config-spec-option';
|
|
224
231
|
export * from './config-type';
|
|
@@ -461,6 +468,7 @@ export * from './engine-version-disable-service-version';
|
|
|
461
468
|
export * from './engine-version-list';
|
|
462
469
|
export * from './engine-version-update';
|
|
463
470
|
export * from './env-module-version';
|
|
471
|
+
export * from './env-rerender';
|
|
464
472
|
export * from './environment';
|
|
465
473
|
export * from './environment-architecture';
|
|
466
474
|
export * from './environment-backup-repo';
|
|
@@ -553,6 +561,7 @@ export * from './inspection-evaluation-mode';
|
|
|
553
561
|
export * from './inspection-script';
|
|
554
562
|
export * from './inspection-script-category';
|
|
555
563
|
export * from './inspection-task';
|
|
564
|
+
export * from './inspection-task-create';
|
|
556
565
|
export * from './inspection-task-format';
|
|
557
566
|
export * from './inspection-task-item';
|
|
558
567
|
export * from './inspection-threshold-direction';
|