kb-cloud-client-typescript 2.4.0-alpha.163 → 2.4.0-alpha.164
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/alert-object-api.d.ts +26 -2
- package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-object-api.js +20 -5
- package/dist/adminapi/apis/alert-object-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +1 -1
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/component-item-create.d.ts +1 -1
- package/dist/adminapi/models/component-item.d.ts +1 -1
- package/dist/adminapi/models/instance-template-attribute.d.ts +0 -2
- package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-attribute.js +0 -2
- package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
- package/dist/adminapi/models/instance-template-create.d.ts +1 -17
- package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/internalapi/models/component-item.d.ts +1 -1
- package/dist/internalapi/models/instance-template-create.d.ts +1 -17
- package/dist/internalapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/account-option.d.ts +1 -1
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +1 -1
- package/dist/openapi/models/component-item.d.ts +1 -1
- package/dist/openapi/models/instance-template-attribute.d.ts +0 -2
- package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-attribute.js +0 -2
- package/dist/openapi/models/instance-template-attribute.js.map +1 -1
- package/dist/openapi/models/instance-template-create.d.ts +1 -17
- package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/alert-object-api.ts +44 -5
- package/src/adminapi/models/account-option.ts +1 -1
- package/src/adminapi/models/component-item-create.ts +1 -1
- package/src/adminapi/models/component-item.ts +1 -1
- package/src/adminapi/models/instance-template-attribute.ts +0 -2
- package/src/adminapi/models/instance-template-create.ts +1 -13
- package/src/adminapi.yaml +22 -16
- package/src/internalapi/models/component-item.ts +1 -1
- package/src/internalapi/models/instance-template-create.ts +1 -13
- package/src/internalapi.yaml +2 -12
- package/src/openapi/models/account-option.ts +1 -1
- package/src/openapi/models/component-item-create.ts +1 -1
- package/src/openapi/models/component-item.ts +1 -1
- package/src/openapi/models/instance-template-attribute.ts +0 -2
- package/src/openapi/models/instance-template-create.ts +1 -13
- package/src/openapi.yaml +4 -16
|
@@ -25,10 +25,13 @@ export declare const AlertObjectApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
* @param {string} [orgName] name of the Org
|
|
26
26
|
* @param {number} [page] page number
|
|
27
27
|
* @param {number} [pageSize] page size
|
|
28
|
+
* @param {string} [clusterName] filter by cluster name
|
|
29
|
+
* @param {string} [status] filter by alert status
|
|
30
|
+
* @param {string} [severity] filter by alert severity
|
|
28
31
|
* @param {*} [options] Override http request option.
|
|
29
32
|
* @throws {RequiredError}
|
|
30
33
|
*/
|
|
31
|
-
listAlertObjects: (orgName?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
listAlertObjects: (orgName?: string, page?: number, pageSize?: number, clusterName?: string, status?: string, severity?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
35
|
/**
|
|
33
36
|
*
|
|
34
37
|
* @summary Set alert object status
|
|
@@ -59,10 +62,13 @@ export declare const AlertObjectApiFp: (configuration?: Configuration) => {
|
|
|
59
62
|
* @param {string} [orgName] name of the Org
|
|
60
63
|
* @param {number} [page] page number
|
|
61
64
|
* @param {number} [pageSize] page size
|
|
65
|
+
* @param {string} [clusterName] filter by cluster name
|
|
66
|
+
* @param {string} [status] filter by alert status
|
|
67
|
+
* @param {string} [severity] filter by alert severity
|
|
62
68
|
* @param {*} [options] Override http request option.
|
|
63
69
|
* @throws {RequiredError}
|
|
64
70
|
*/
|
|
65
|
-
listAlertObjects(orgName?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertObjectList>>;
|
|
71
|
+
listAlertObjects(orgName?: string, page?: number, pageSize?: number, clusterName?: string, status?: string, severity?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertObjectList>>;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @summary Set alert object status
|
|
@@ -170,6 +176,24 @@ export interface AlertObjectApiListAlertObjectsRequest {
|
|
|
170
176
|
* @memberof AlertObjectApiListAlertObjects
|
|
171
177
|
*/
|
|
172
178
|
readonly pageSize?: number;
|
|
179
|
+
/**
|
|
180
|
+
* filter by cluster name
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
183
|
+
*/
|
|
184
|
+
readonly clusterName?: string;
|
|
185
|
+
/**
|
|
186
|
+
* filter by alert status
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
189
|
+
*/
|
|
190
|
+
readonly status?: string;
|
|
191
|
+
/**
|
|
192
|
+
* filter by alert severity
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
195
|
+
*/
|
|
196
|
+
readonly severity?: string;
|
|
173
197
|
}
|
|
174
198
|
/**
|
|
175
199
|
* Request parameters for setAlertObjectStatus operation in AlertObjectApi.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-object-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/alert-object-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAA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E,qBAAqB;CAG9H"}
|
|
@@ -35,10 +35,13 @@ const AlertObjectApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
* @param {string} [orgName] name of the Org
|
|
36
36
|
* @param {number} [page] page number
|
|
37
37
|
* @param {number} [pageSize] page size
|
|
38
|
+
* @param {string} [clusterName] filter by cluster name
|
|
39
|
+
* @param {string} [status] filter by alert status
|
|
40
|
+
* @param {string} [severity] filter by alert severity
|
|
38
41
|
* @param {*} [options] Override http request option.
|
|
39
42
|
* @throws {RequiredError}
|
|
40
43
|
*/
|
|
41
|
-
listAlertObjects: async (orgName, page, pageSize, options = {}) => {
|
|
44
|
+
listAlertObjects: async (orgName, page, pageSize, clusterName, status, severity, options = {}) => {
|
|
42
45
|
const localVarPath = `/admin/v1/alerts/objects`;
|
|
43
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
47
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -63,6 +66,15 @@ const AlertObjectApiAxiosParamCreator = function (configuration) {
|
|
|
63
66
|
if (pageSize !== undefined) {
|
|
64
67
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
65
68
|
}
|
|
69
|
+
if (clusterName !== undefined) {
|
|
70
|
+
localVarQueryParameter['clusterName'] = clusterName;
|
|
71
|
+
}
|
|
72
|
+
if (status !== undefined) {
|
|
73
|
+
localVarQueryParameter['status'] = status;
|
|
74
|
+
}
|
|
75
|
+
if (severity !== undefined) {
|
|
76
|
+
localVarQueryParameter['severity'] = severity;
|
|
77
|
+
}
|
|
66
78
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
67
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
80
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -166,12 +178,15 @@ const AlertObjectApiFp = function (configuration) {
|
|
|
166
178
|
* @param {string} [orgName] name of the Org
|
|
167
179
|
* @param {number} [page] page number
|
|
168
180
|
* @param {number} [pageSize] page size
|
|
181
|
+
* @param {string} [clusterName] filter by cluster name
|
|
182
|
+
* @param {string} [status] filter by alert status
|
|
183
|
+
* @param {string} [severity] filter by alert severity
|
|
169
184
|
* @param {*} [options] Override http request option.
|
|
170
185
|
* @throws {RequiredError}
|
|
171
186
|
*/
|
|
172
|
-
async listAlertObjects(orgName, page, pageSize, options) {
|
|
187
|
+
async listAlertObjects(orgName, page, pageSize, clusterName, status, severity, options) {
|
|
173
188
|
var _a, _b, _c;
|
|
174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertObjects(orgName, page, pageSize, options);
|
|
189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertObjects(orgName, page, pageSize, clusterName, status, severity, options);
|
|
175
190
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
176
191
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertObjectApi.listAlertObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
177
192
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -224,7 +239,7 @@ const AlertObjectApiFactory = function (configuration, basePath, axios) {
|
|
|
224
239
|
* @throws {RequiredError}
|
|
225
240
|
*/
|
|
226
241
|
listAlertObjects(requestParameters = {}, options) {
|
|
227
|
-
return localVarFp.listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
242
|
+
return localVarFp.listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, requestParameters.clusterName, requestParameters.status, requestParameters.severity, options).then((request) => request(axios, basePath));
|
|
228
243
|
},
|
|
229
244
|
/**
|
|
230
245
|
*
|
|
@@ -265,7 +280,7 @@ class AlertObjectApi extends base_1.BaseAPI {
|
|
|
265
280
|
* @memberof AlertObjectApi
|
|
266
281
|
*/
|
|
267
282
|
listAlertObjects(requestParameters = {}, options) {
|
|
268
|
-
return (0, exports.AlertObjectApiFp)(this.configuration).listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
283
|
+
return (0, exports.AlertObjectApiFp)(this.configuration).listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, requestParameters.clusterName, requestParameters.status, requestParameters.severity, options).then((request) => request(this.axios, this.basePath));
|
|
269
284
|
}
|
|
270
285
|
/**
|
|
271
286
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-object-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/alert-object-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;;GAGG;AACI,MAAM,+BAA+B,GAAG,UAAU,aAA6B;IAClF,OAAO;QACH
|
|
1
|
+
{"version":3,"file":"alert-object-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/alert-object-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;;GAGG;AACI,MAAM,+BAA+B,GAAG,UAAU,aAA6B;IAClF,OAAO;QACH;;;;;;;;;;;WAWG;QACH,gBAAgB,EAAE,KAAK,EAAE,OAAgB,EAAE,IAAa,EAAE,QAAiB,EAAE,WAAoB,EAAE,MAAe,EAAE,QAAiB,EAAE,UAAiC,EAAE,EAAwB,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E,OAA+B;QACvH,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9L,CAAC;CACJ;AApCD,wCAoCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzC"}
|
|
@@ -65,7 +65,7 @@ export interface ComponentItemCreate {
|
|
|
65
65
|
*/
|
|
66
66
|
'replicas'?: number;
|
|
67
67
|
/**
|
|
68
|
-
* Per-template replicas and optional overlays (env,
|
|
68
|
+
* Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
69
69
|
* @type {Array<InstanceTemplateCreate>}
|
|
70
70
|
* @memberof ComponentItemCreate
|
|
71
71
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ComponentItem {
|
|
|
47
47
|
*/
|
|
48
48
|
'availabilityZone'?: string;
|
|
49
49
|
/**
|
|
50
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
50
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
51
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
52
52
|
* @memberof ComponentItem
|
|
53
53
|
*/
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const InstanceTemplateAttribute: {
|
|
18
18
|
readonly env: "env";
|
|
19
|
-
readonly annotations: "annotations";
|
|
20
|
-
readonly labels: "labels";
|
|
21
19
|
readonly storageClass: "storageClass";
|
|
22
20
|
};
|
|
23
21
|
export type InstanceTemplateAttribute = typeof InstanceTemplateAttribute[keyof typeof InstanceTemplateAttribute];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
* Create assignment for one instance template. name and replicas are required. env,
|
|
14
|
+
* Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -52,21 +52,5 @@ export interface InstanceTemplateCreate {
|
|
|
52
52
|
* @memberof InstanceTemplateCreate
|
|
53
53
|
*/
|
|
54
54
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
55
|
-
/**
|
|
56
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof InstanceTemplateCreate
|
|
59
|
-
*/
|
|
60
|
-
'annotations'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
65
|
-
* @type {{ [key: string]: string; }}
|
|
66
|
-
* @memberof InstanceTemplateCreate
|
|
67
|
-
*/
|
|
68
|
-
'labels'?: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
55
|
}
|
|
72
56
|
//# sourceMappingURL=instance-template-create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CACjD"}
|
|
@@ -47,7 +47,7 @@ export interface ComponentItem {
|
|
|
47
47
|
*/
|
|
48
48
|
'availabilityZone'?: string;
|
|
49
49
|
/**
|
|
50
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
50
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
51
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
52
52
|
* @memberof ComponentItem
|
|
53
53
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
* Create assignment for one instance template. name and replicas are required. env,
|
|
14
|
+
* Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -52,21 +52,5 @@ export interface InstanceTemplateCreate {
|
|
|
52
52
|
* @memberof InstanceTemplateCreate
|
|
53
53
|
*/
|
|
54
54
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
55
|
-
/**
|
|
56
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof InstanceTemplateCreate
|
|
59
|
-
*/
|
|
60
|
-
'annotations'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
65
|
-
* @type {{ [key: string]: string; }}
|
|
66
|
-
* @memberof InstanceTemplateCreate
|
|
67
|
-
*/
|
|
68
|
-
'labels'?: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
55
|
}
|
|
72
56
|
//# sourceMappingURL=instance-template-create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CACjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzC"}
|
|
@@ -65,7 +65,7 @@ export interface ComponentItemCreate {
|
|
|
65
65
|
*/
|
|
66
66
|
'replicas'?: number;
|
|
67
67
|
/**
|
|
68
|
-
* Per-template replicas and optional overlays (env,
|
|
68
|
+
* Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
69
69
|
* @type {Array<InstanceTemplateCreate>}
|
|
70
70
|
* @memberof ComponentItemCreate
|
|
71
71
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ComponentItem {
|
|
|
47
47
|
*/
|
|
48
48
|
'availabilityZone'?: string;
|
|
49
49
|
/**
|
|
50
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
50
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
51
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
52
52
|
* @memberof ComponentItem
|
|
53
53
|
*/
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const InstanceTemplateAttribute: {
|
|
18
18
|
readonly env: "env";
|
|
19
|
-
readonly annotations: "annotations";
|
|
20
|
-
readonly labels: "labels";
|
|
21
19
|
readonly storageClass: "storageClass";
|
|
22
20
|
};
|
|
23
21
|
export type InstanceTemplateAttribute = typeof InstanceTemplateAttribute[keyof typeof InstanceTemplateAttribute];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
* Create assignment for one instance template. name and replicas are required. env,
|
|
14
|
+
* Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -52,21 +52,5 @@ export interface InstanceTemplateCreate {
|
|
|
52
52
|
* @memberof InstanceTemplateCreate
|
|
53
53
|
*/
|
|
54
54
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
55
|
-
/**
|
|
56
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof InstanceTemplateCreate
|
|
59
|
-
*/
|
|
60
|
-
'annotations'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
65
|
-
* @type {{ [key: string]: string; }}
|
|
66
|
-
* @memberof InstanceTemplateCreate
|
|
67
|
-
*/
|
|
68
|
-
'labels'?: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
55
|
}
|
|
72
56
|
//# sourceMappingURL=instance-template-create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CACjD"}
|
package/package.json
CHANGED
|
@@ -39,10 +39,13 @@ export const AlertObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
39
39
|
* @param {string} [orgName] name of the Org
|
|
40
40
|
* @param {number} [page] page number
|
|
41
41
|
* @param {number} [pageSize] page size
|
|
42
|
+
* @param {string} [clusterName] filter by cluster name
|
|
43
|
+
* @param {string} [status] filter by alert status
|
|
44
|
+
* @param {string} [severity] filter by alert severity
|
|
42
45
|
* @param {*} [options] Override http request option.
|
|
43
46
|
* @throws {RequiredError}
|
|
44
47
|
*/
|
|
45
|
-
listAlertObjects: async (orgName?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
|
+
listAlertObjects: async (orgName?: string, page?: number, pageSize?: number, clusterName?: string, status?: string, severity?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
49
|
const localVarPath = `/admin/v1/alerts/objects`;
|
|
47
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
51
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -74,6 +77,18 @@ export const AlertObjectApiAxiosParamCreator = function (configuration?: Configu
|
|
|
74
77
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
75
78
|
}
|
|
76
79
|
|
|
80
|
+
if (clusterName !== undefined) {
|
|
81
|
+
localVarQueryParameter['clusterName'] = clusterName;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (status !== undefined) {
|
|
85
|
+
localVarQueryParameter['status'] = status;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (severity !== undefined) {
|
|
89
|
+
localVarQueryParameter['severity'] = severity;
|
|
90
|
+
}
|
|
91
|
+
|
|
77
92
|
|
|
78
93
|
|
|
79
94
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -197,11 +212,14 @@ export const AlertObjectApiFp = function(configuration?: Configuration) {
|
|
|
197
212
|
* @param {string} [orgName] name of the Org
|
|
198
213
|
* @param {number} [page] page number
|
|
199
214
|
* @param {number} [pageSize] page size
|
|
215
|
+
* @param {string} [clusterName] filter by cluster name
|
|
216
|
+
* @param {string} [status] filter by alert status
|
|
217
|
+
* @param {string} [severity] filter by alert severity
|
|
200
218
|
* @param {*} [options] Override http request option.
|
|
201
219
|
* @throws {RequiredError}
|
|
202
220
|
*/
|
|
203
|
-
async listAlertObjects(orgName?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertObjectList>> {
|
|
204
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertObjects(orgName, page, pageSize, options);
|
|
221
|
+
async listAlertObjects(orgName?: string, page?: number, pageSize?: number, clusterName?: string, status?: string, severity?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertObjectList>> {
|
|
222
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertObjects(orgName, page, pageSize, clusterName, status, severity, options);
|
|
205
223
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
206
224
|
const localVarOperationServerBasePath = operationServerMap['AlertObjectApi.listAlertObjects']?.[localVarOperationServerIndex]?.url;
|
|
207
225
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -252,7 +270,7 @@ export const AlertObjectApiFactory = function (configuration?: Configuration, ba
|
|
|
252
270
|
* @throws {RequiredError}
|
|
253
271
|
*/
|
|
254
272
|
listAlertObjects(requestParameters: AlertObjectApiListAlertObjectsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AlertObjectList> {
|
|
255
|
-
return localVarFp.listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
273
|
+
return localVarFp.listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, requestParameters.clusterName, requestParameters.status, requestParameters.severity, options).then((request) => request(axios, basePath));
|
|
256
274
|
},
|
|
257
275
|
/**
|
|
258
276
|
*
|
|
@@ -341,6 +359,27 @@ export interface AlertObjectApiListAlertObjectsRequest {
|
|
|
341
359
|
* @memberof AlertObjectApiListAlertObjects
|
|
342
360
|
*/
|
|
343
361
|
readonly pageSize?: number
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* filter by cluster name
|
|
365
|
+
* @type {string}
|
|
366
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
367
|
+
*/
|
|
368
|
+
readonly clusterName?: string
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* filter by alert status
|
|
372
|
+
* @type {string}
|
|
373
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
374
|
+
*/
|
|
375
|
+
readonly status?: string
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* filter by alert severity
|
|
379
|
+
* @type {string}
|
|
380
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
381
|
+
*/
|
|
382
|
+
readonly severity?: string
|
|
344
383
|
}
|
|
345
384
|
|
|
346
385
|
/**
|
|
@@ -401,7 +440,7 @@ export class AlertObjectApi extends BaseAPI implements AlertObjectApiInterface {
|
|
|
401
440
|
* @memberof AlertObjectApi
|
|
402
441
|
*/
|
|
403
442
|
public listAlertObjects(requestParameters: AlertObjectApiListAlertObjectsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
404
|
-
return AlertObjectApiFp(this.configuration).listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
443
|
+
return AlertObjectApiFp(this.configuration).listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, requestParameters.clusterName, requestParameters.status, requestParameters.severity, options).then((request) => request(this.axios, this.basePath));
|
|
405
444
|
}
|
|
406
445
|
|
|
407
446
|
/**
|
|
@@ -72,7 +72,7 @@ export interface ComponentItemCreate {
|
|
|
72
72
|
*/
|
|
73
73
|
'replicas'?: number;
|
|
74
74
|
/**
|
|
75
|
-
* Per-template replicas and optional overlays (env,
|
|
75
|
+
* Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
76
76
|
* @type {Array<InstanceTemplateCreate>}
|
|
77
77
|
* @memberof ComponentItemCreate
|
|
78
78
|
*/
|
|
@@ -54,7 +54,7 @@ export interface ComponentItem {
|
|
|
54
54
|
*/
|
|
55
55
|
'availabilityZone'?: string;
|
|
56
56
|
/**
|
|
57
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
57
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
58
58
|
* @type {Array<InstanceTemplateCreate>}
|
|
59
59
|
* @memberof ComponentItem
|
|
60
60
|
*/
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Create assignment for one instance template. name and replicas are required. env,
|
|
21
|
+
* Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
@@ -59,17 +59,5 @@ export interface InstanceTemplateCreate {
|
|
|
59
59
|
* @memberof InstanceTemplateCreate
|
|
60
60
|
*/
|
|
61
61
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
62
|
-
/**
|
|
63
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
64
|
-
* @type {{ [key: string]: string; }}
|
|
65
|
-
* @memberof InstanceTemplateCreate
|
|
66
|
-
*/
|
|
67
|
-
'annotations'?: { [key: string]: string; };
|
|
68
|
-
/**
|
|
69
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
70
|
-
* @type {{ [key: string]: string; }}
|
|
71
|
-
* @memberof InstanceTemplateCreate
|
|
72
|
-
*/
|
|
73
|
-
'labels'?: { [key: string]: string; };
|
|
74
62
|
}
|
|
75
63
|
|
package/src/adminapi.yaml
CHANGED
|
@@ -16811,6 +16811,24 @@ paths:
|
|
|
16811
16811
|
required: false
|
|
16812
16812
|
schema:
|
|
16813
16813
|
type: integer
|
|
16814
|
+
- name: clusterName
|
|
16815
|
+
in: query
|
|
16816
|
+
description: filter by cluster name
|
|
16817
|
+
required: false
|
|
16818
|
+
schema:
|
|
16819
|
+
type: string
|
|
16820
|
+
- name: status
|
|
16821
|
+
in: query
|
|
16822
|
+
description: filter by alert status
|
|
16823
|
+
required: false
|
|
16824
|
+
schema:
|
|
16825
|
+
type: string
|
|
16826
|
+
- name: severity
|
|
16827
|
+
in: query
|
|
16828
|
+
description: filter by alert severity
|
|
16829
|
+
required: false
|
|
16830
|
+
schema:
|
|
16831
|
+
type: string
|
|
16814
16832
|
responses:
|
|
16815
16833
|
'200':
|
|
16816
16834
|
description: A successful response.
|
|
@@ -35204,7 +35222,7 @@ components:
|
|
|
35204
35222
|
instanceTemplateCreate:
|
|
35205
35223
|
type: object
|
|
35206
35224
|
additionalProperties: false
|
|
35207
|
-
description: Create assignment for one instance template. name and replicas are required. env,
|
|
35225
|
+
description: Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
35208
35226
|
required:
|
|
35209
35227
|
- name
|
|
35210
35228
|
- replicas
|
|
@@ -35241,16 +35259,6 @@ components:
|
|
|
35241
35259
|
type: string
|
|
35242
35260
|
minLength: 1
|
|
35243
35261
|
description: Plain string value only. valueFrom is not supported.
|
|
35244
|
-
annotations:
|
|
35245
|
-
type: object
|
|
35246
|
-
additionalProperties:
|
|
35247
|
-
type: string
|
|
35248
|
-
description: Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
35249
|
-
labels:
|
|
35250
|
-
type: object
|
|
35251
|
-
additionalProperties:
|
|
35252
|
-
type: string
|
|
35253
|
-
description: Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
35254
35262
|
ioQuantity:
|
|
35255
35263
|
description: IO Quantity describes IOPS and BPS of a volume
|
|
35256
35264
|
properties:
|
|
@@ -35353,7 +35361,7 @@ components:
|
|
|
35353
35361
|
instanceTemplates:
|
|
35354
35362
|
type: array
|
|
35355
35363
|
minItems: 1
|
|
35356
|
-
description: Per-template replicas and optional overlays (env,
|
|
35364
|
+
description: Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
35357
35365
|
items:
|
|
35358
35366
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
35359
35367
|
skipResourceConstraints:
|
|
@@ -35696,7 +35704,7 @@ components:
|
|
|
35696
35704
|
instanceTemplates:
|
|
35697
35705
|
type: array
|
|
35698
35706
|
x-omitempty: true
|
|
35699
|
-
description: Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
35707
|
+
description: Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
35700
35708
|
items:
|
|
35701
35709
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
35702
35710
|
name:
|
|
@@ -45289,8 +45297,6 @@ components:
|
|
|
45289
45297
|
description: Heterogeneous attribute the frontend may render on an instance template at create.
|
|
45290
45298
|
enum:
|
|
45291
45299
|
- env
|
|
45292
|
-
- annotations
|
|
45293
|
-
- labels
|
|
45294
45300
|
- storageClass
|
|
45295
45301
|
instanceTemplateEnv:
|
|
45296
45302
|
type: object
|
|
@@ -45804,7 +45810,7 @@ components:
|
|
|
45804
45810
|
description: Account names that cannot be deleted, locked, unlocked, or have their privileges modified. This does not hide accounts or restrict password changes.
|
|
45805
45811
|
items:
|
|
45806
45812
|
type: string
|
|
45807
|
-
|
|
45813
|
+
hiddenAccounts:
|
|
45808
45814
|
type: array
|
|
45809
45815
|
description: Account names hidden from the generic account list. Matching is case-sensitive, without whitespace normalization or patterns. Other accounts remain visible subject to existing displayRootAccount rules.
|
|
45810
45816
|
items:
|
|
@@ -54,7 +54,7 @@ export interface ComponentItem {
|
|
|
54
54
|
*/
|
|
55
55
|
'availabilityZone'?: string;
|
|
56
56
|
/**
|
|
57
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
57
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
58
58
|
* @type {Array<InstanceTemplateCreate>}
|
|
59
59
|
* @memberof ComponentItem
|
|
60
60
|
*/
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Create assignment for one instance template. name and replicas are required. env,
|
|
21
|
+
* Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
@@ -59,17 +59,5 @@ export interface InstanceTemplateCreate {
|
|
|
59
59
|
* @memberof InstanceTemplateCreate
|
|
60
60
|
*/
|
|
61
61
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
62
|
-
/**
|
|
63
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
64
|
-
* @type {{ [key: string]: string; }}
|
|
65
|
-
* @memberof InstanceTemplateCreate
|
|
66
|
-
*/
|
|
67
|
-
'annotations'?: { [key: string]: string; };
|
|
68
|
-
/**
|
|
69
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
70
|
-
* @type {{ [key: string]: string; }}
|
|
71
|
-
* @memberof InstanceTemplateCreate
|
|
72
|
-
*/
|
|
73
|
-
'labels'?: { [key: string]: string; };
|
|
74
62
|
}
|
|
75
63
|
|
package/src/internalapi.yaml
CHANGED
|
@@ -2653,7 +2653,7 @@ components:
|
|
|
2653
2653
|
instanceTemplateCreate:
|
|
2654
2654
|
type: object
|
|
2655
2655
|
additionalProperties: false
|
|
2656
|
-
description: Create assignment for one instance template. name and replicas are required. env,
|
|
2656
|
+
description: Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
2657
2657
|
required:
|
|
2658
2658
|
- name
|
|
2659
2659
|
- replicas
|
|
@@ -2690,16 +2690,6 @@ components:
|
|
|
2690
2690
|
type: string
|
|
2691
2691
|
minLength: 1
|
|
2692
2692
|
description: Plain string value only. valueFrom is not supported.
|
|
2693
|
-
annotations:
|
|
2694
|
-
type: object
|
|
2695
|
-
additionalProperties:
|
|
2696
|
-
type: string
|
|
2697
|
-
description: Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
2698
|
-
labels:
|
|
2699
|
-
type: object
|
|
2700
|
-
additionalProperties:
|
|
2701
|
-
type: string
|
|
2702
|
-
description: Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
2703
2693
|
ioQuantity:
|
|
2704
2694
|
description: IO Quantity describes IOPS and BPS of a volume
|
|
2705
2695
|
properties:
|
|
@@ -2784,7 +2774,7 @@ components:
|
|
|
2784
2774
|
instanceTemplates:
|
|
2785
2775
|
type: array
|
|
2786
2776
|
x-omitempty: true
|
|
2787
|
-
description: Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
2777
|
+
description: Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
2788
2778
|
items:
|
|
2789
2779
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
2790
2780
|
name:
|
|
@@ -72,7 +72,7 @@ export interface ComponentItemCreate {
|
|
|
72
72
|
*/
|
|
73
73
|
'replicas'?: number;
|
|
74
74
|
/**
|
|
75
|
-
* Per-template replicas and optional overlays (env,
|
|
75
|
+
* Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
76
76
|
* @type {Array<InstanceTemplateCreate>}
|
|
77
77
|
* @memberof ComponentItemCreate
|
|
78
78
|
*/
|
|
@@ -54,7 +54,7 @@ export interface ComponentItem {
|
|
|
54
54
|
*/
|
|
55
55
|
'availabilityZone'?: string;
|
|
56
56
|
/**
|
|
57
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
57
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
58
58
|
* @type {Array<InstanceTemplateCreate>}
|
|
59
59
|
* @memberof ComponentItem
|
|
60
60
|
*/
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Create assignment for one instance template. name and replicas are required. env,
|
|
21
|
+
* Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
@@ -59,17 +59,5 @@ export interface InstanceTemplateCreate {
|
|
|
59
59
|
* @memberof InstanceTemplateCreate
|
|
60
60
|
*/
|
|
61
61
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
62
|
-
/**
|
|
63
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
64
|
-
* @type {{ [key: string]: string; }}
|
|
65
|
-
* @memberof InstanceTemplateCreate
|
|
66
|
-
*/
|
|
67
|
-
'annotations'?: { [key: string]: string; };
|
|
68
|
-
/**
|
|
69
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
70
|
-
* @type {{ [key: string]: string; }}
|
|
71
|
-
* @memberof InstanceTemplateCreate
|
|
72
|
-
*/
|
|
73
|
-
'labels'?: { [key: string]: string; };
|
|
74
62
|
}
|
|
75
63
|
|
package/src/openapi.yaml
CHANGED
|
@@ -30490,7 +30490,7 @@ components:
|
|
|
30490
30490
|
instanceTemplateCreate:
|
|
30491
30491
|
type: object
|
|
30492
30492
|
additionalProperties: false
|
|
30493
|
-
description: Create assignment for one instance template. name and replicas are required. env,
|
|
30493
|
+
description: Create assignment for one instance template. name and replicas are required. env, availabilityZone, nodeGroup and storageClass are optional overlays. The request must include every chart-rendered instance template exactly once. Explicit placement requires availabilityZone and optionally accepts nodeGroup, without inheriting upper-level AZ or NodeGroup. Omitting both leaves SchedulingPolicy unset for KubeBlocks default inheritance. Hostname, user scheduling rules and additional topology keys are preserved.
|
|
30494
30494
|
required:
|
|
30495
30495
|
- name
|
|
30496
30496
|
- replicas
|
|
@@ -30527,16 +30527,6 @@ components:
|
|
|
30527
30527
|
type: string
|
|
30528
30528
|
minLength: 1
|
|
30529
30529
|
description: Plain string value only. valueFrom is not supported.
|
|
30530
|
-
annotations:
|
|
30531
|
-
type: object
|
|
30532
|
-
additionalProperties:
|
|
30533
|
-
type: string
|
|
30534
|
-
description: Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
30535
|
-
labels:
|
|
30536
|
-
type: object
|
|
30537
|
-
additionalProperties:
|
|
30538
|
-
type: string
|
|
30539
|
-
description: Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
30540
30530
|
ioQuantity:
|
|
30541
30531
|
description: IO Quantity describes IOPS and BPS of a volume
|
|
30542
30532
|
properties:
|
|
@@ -30634,7 +30624,7 @@ components:
|
|
|
30634
30624
|
instanceTemplates:
|
|
30635
30625
|
type: array
|
|
30636
30626
|
minItems: 1
|
|
30637
|
-
description: Per-template replicas and optional overlays (env,
|
|
30627
|
+
description: Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
30638
30628
|
items:
|
|
30639
30629
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
30640
30630
|
skipResourceConstraints:
|
|
@@ -30964,7 +30954,7 @@ components:
|
|
|
30964
30954
|
instanceTemplates:
|
|
30965
30955
|
type: array
|
|
30966
30956
|
x-omitempty: true
|
|
30967
|
-
description: Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
30957
|
+
description: Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
30968
30958
|
items:
|
|
30969
30959
|
$ref: '#/components/schemas/instanceTemplateCreate'
|
|
30970
30960
|
name:
|
|
@@ -38989,8 +38979,6 @@ components:
|
|
|
38989
38979
|
description: Heterogeneous attribute the frontend may render on an instance template at create.
|
|
38990
38980
|
enum:
|
|
38991
38981
|
- env
|
|
38992
|
-
- annotations
|
|
38993
|
-
- labels
|
|
38994
38982
|
- storageClass
|
|
38995
38983
|
instanceTemplateEnv:
|
|
38996
38984
|
type: object
|
|
@@ -39504,7 +39492,7 @@ components:
|
|
|
39504
39492
|
description: Account names that cannot be deleted, locked, unlocked, or have their privileges modified. This does not hide accounts or restrict password changes.
|
|
39505
39493
|
items:
|
|
39506
39494
|
type: string
|
|
39507
|
-
|
|
39495
|
+
hiddenAccounts:
|
|
39508
39496
|
type: array
|
|
39509
39497
|
description: Account names hidden from the generic account list. Matching is case-sensitive, without whitespace normalization or patterns. Other accounts remain visible subject to existing displayRootAccount rules.
|
|
39510
39498
|
items:
|