kb-cloud-client-typescript 2.3.0-alpha.130 → 2.3.0-alpha.131
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/diagnostics-api.d.ts +80 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/cdc-settings.d.ts +10 -6
- package/dist/adminapi/models/cdc-settings.d.ts.map +1 -1
- package/dist/adminapi/models/cdc-sql-executor.d.ts +6 -0
- package/dist/adminapi/models/cdc-sql-executor.d.ts.map +1 -1
- package/dist/adminapi/models/engine-mapping.d.ts +7 -0
- package/dist/adminapi/models/engine-mapping.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/performance-trend-point.d.ts +31 -0
- package/dist/adminapi/models/performance-trend-point.d.ts.map +1 -0
- package/dist/adminapi/models/performance-trend-point.js +16 -0
- package/dist/adminapi/models/performance-trend-point.js.map +1 -0
- package/dist/adminapi/models/performance-trend-range.d.ts +43 -0
- package/dist/adminapi/models/performance-trend-range.d.ts.map +1 -0
- package/dist/adminapi/models/performance-trend-range.js +16 -0
- package/dist/adminapi/models/performance-trend-range.js.map +1 -0
- package/dist/adminapi/models/performance-trend-series.d.ts +83 -0
- package/dist/adminapi/models/performance-trend-series.d.ts.map +1 -0
- package/dist/adminapi/models/performance-trend-series.js +16 -0
- package/dist/adminapi/models/performance-trend-series.js.map +1 -0
- package/dist/adminapi/models/performance-trend-source.d.ts +49 -0
- package/dist/adminapi/models/performance-trend-source.d.ts.map +1 -0
- package/dist/adminapi/models/performance-trend-source.js +16 -0
- package/dist/adminapi/models/performance-trend-source.js.map +1 -0
- package/dist/adminapi/models/performance-trend-summary.d.ts +106 -0
- package/dist/adminapi/models/performance-trend-summary.d.ts.map +1 -0
- package/dist/adminapi/models/performance-trend-summary.js +16 -0
- package/dist/adminapi/models/performance-trend-summary.js.map +1 -0
- package/dist/adminapi/models/performance-trends.d.ts +65 -0
- package/dist/adminapi/models/performance-trends.d.ts.map +1 -0
- package/dist/adminapi/models/performance-trends.js +16 -0
- package/dist/adminapi/models/performance-trends.js.map +1 -0
- package/dist/adminapi/models/select-module-mode.d.ts +22 -0
- package/dist/adminapi/models/select-module-mode.d.ts.map +1 -0
- package/dist/adminapi/models/select-module-mode.js +26 -0
- package/dist/adminapi/models/select-module-mode.js.map +1 -0
- package/dist/openapi/apis/diagnostics-api.d.ts +80 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/models/cdc-settings.d.ts +10 -6
- package/dist/openapi/models/cdc-settings.d.ts.map +1 -1
- package/dist/openapi/models/cdc-sql-executor.d.ts +6 -0
- package/dist/openapi/models/cdc-sql-executor.d.ts.map +1 -1
- package/dist/openapi/models/engine-mapping.d.ts +7 -0
- package/dist/openapi/models/engine-mapping.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +7 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +7 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/performance-trend-point.d.ts +31 -0
- package/dist/openapi/models/performance-trend-point.d.ts.map +1 -0
- package/dist/openapi/models/performance-trend-point.js +16 -0
- package/dist/openapi/models/performance-trend-point.js.map +1 -0
- package/dist/openapi/models/performance-trend-range.d.ts +43 -0
- package/dist/openapi/models/performance-trend-range.d.ts.map +1 -0
- package/dist/openapi/models/performance-trend-range.js +16 -0
- package/dist/openapi/models/performance-trend-range.js.map +1 -0
- package/dist/openapi/models/performance-trend-series.d.ts +83 -0
- package/dist/openapi/models/performance-trend-series.d.ts.map +1 -0
- package/dist/openapi/models/performance-trend-series.js +16 -0
- package/dist/openapi/models/performance-trend-series.js.map +1 -0
- package/dist/openapi/models/performance-trend-source.d.ts +49 -0
- package/dist/openapi/models/performance-trend-source.d.ts.map +1 -0
- package/dist/openapi/models/performance-trend-source.js +16 -0
- package/dist/openapi/models/performance-trend-source.js.map +1 -0
- package/dist/openapi/models/performance-trend-summary.d.ts +106 -0
- package/dist/openapi/models/performance-trend-summary.d.ts.map +1 -0
- package/dist/openapi/models/performance-trend-summary.js +16 -0
- package/dist/openapi/models/performance-trend-summary.js.map +1 -0
- package/dist/openapi/models/performance-trends.d.ts +65 -0
- package/dist/openapi/models/performance-trends.d.ts.map +1 -0
- package/dist/openapi/models/performance-trends.js +16 -0
- package/dist/openapi/models/performance-trends.js.map +1 -0
- package/dist/openapi/models/select-module-mode.d.ts +22 -0
- package/dist/openapi/models/select-module-mode.d.ts.map +1 -0
- package/dist/openapi/models/select-module-mode.js +26 -0
- package/dist/openapi/models/select-module-mode.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/diagnostics-api.ts +140 -0
- package/src/adminapi/models/cdc-settings.ts +6 -6
- package/src/adminapi/models/cdc-sql-executor.ts +6 -0
- package/src/adminapi/models/engine-mapping.ts +11 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/performance-trend-point.ts +36 -0
- package/src/adminapi/models/performance-trend-range.ts +48 -0
- package/src/adminapi/models/performance-trend-series.ts +90 -0
- package/src/adminapi/models/performance-trend-source.ts +54 -0
- package/src/adminapi/models/performance-trend-summary.ts +111 -0
- package/src/adminapi/models/performance-trends.ts +78 -0
- package/src/adminapi/models/select-module-mode.ts +31 -0
- package/src/adminapi.yaml +249 -2
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/diagnostics-api.ts +140 -0
- package/src/openapi/models/cdc-settings.ts +6 -6
- package/src/openapi/models/cdc-sql-executor.ts +6 -0
- package/src/openapi/models/engine-mapping.ts +11 -0
- package/src/openapi/models/index.ts +7 -0
- package/src/openapi/models/performance-trend-point.ts +36 -0
- package/src/openapi/models/performance-trend-range.ts +48 -0
- package/src/openapi/models/performance-trend-series.ts +90 -0
- package/src/openapi/models/performance-trend-source.ts +54 -0
- package/src/openapi/models/performance-trend-summary.ts +111 -0
- package/src/openapi/models/performance-trends.ts +78 -0
- package/src/openapi/models/select-module-mode.ts +31 -0
- package/src/openapi.yaml +249 -2
|
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { APIErrorResponse } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
+
import type { PerformanceTrends } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
27
29
|
import type { PostgresqlLockAnalysis } from '../models';
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import type { PostgresqlSQLAnalysis } from '../models';
|
|
@@ -37,6 +39,61 @@ import type { PostgresqlSpaceAnalysis } from '../models';
|
|
|
37
39
|
*/
|
|
38
40
|
export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39
41
|
return {
|
|
42
|
+
/**
|
|
43
|
+
* Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
|
|
44
|
+
* @summary Get PostgreSQL performance trends
|
|
45
|
+
* @param {string} orgName Organization name
|
|
46
|
+
* @param {string} clusterName Cluster name
|
|
47
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, and 24h. Defaults to 1h.
|
|
48
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, and 15m. Defaults to 1m for 1h, 5m for 6h, and 15m for 24h.
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
getDiagnosticsPostgresqlPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
54
|
+
assertParamExists('getDiagnosticsPostgresqlPerformanceTrends', 'orgName', orgName)
|
|
55
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
56
|
+
assertParamExists('getDiagnosticsPostgresqlPerformanceTrends', 'clusterName', clusterName)
|
|
57
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/performanceTrends`
|
|
58
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
59
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
60
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62
|
+
let baseOptions;
|
|
63
|
+
if (configuration) {
|
|
64
|
+
baseOptions = configuration.baseOptions;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68
|
+
const localVarHeaderParameter = {} as any;
|
|
69
|
+
const localVarQueryParameter = {} as any;
|
|
70
|
+
|
|
71
|
+
// authentication BearerToken required
|
|
72
|
+
// http bearer authentication required
|
|
73
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
74
|
+
|
|
75
|
+
// authentication DigestAuth required
|
|
76
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
77
|
+
|
|
78
|
+
if (range !== undefined) {
|
|
79
|
+
localVarQueryParameter['range'] = range;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (step !== undefined) {
|
|
83
|
+
localVarQueryParameter['step'] = step;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
url: toPathString(localVarUrlObj),
|
|
94
|
+
options: localVarRequestOptions,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
40
97
|
/**
|
|
41
98
|
* Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
|
|
42
99
|
* @summary Get PostgreSQL SQL analysis
|
|
@@ -300,6 +357,22 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
300
357
|
export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
301
358
|
const localVarAxiosParamCreator = DiagnosticsApiAxiosParamCreator(configuration)
|
|
302
359
|
return {
|
|
360
|
+
/**
|
|
361
|
+
* Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
|
|
362
|
+
* @summary Get PostgreSQL performance trends
|
|
363
|
+
* @param {string} orgName Organization name
|
|
364
|
+
* @param {string} clusterName Cluster name
|
|
365
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, and 24h. Defaults to 1h.
|
|
366
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, and 15m. Defaults to 1m for 1h, 5m for 6h, and 15m for 24h.
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
*/
|
|
370
|
+
async getDiagnosticsPostgresqlPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
|
|
371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsPostgresqlPerformanceTrends(orgName, clusterName, range, step, options);
|
|
372
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
373
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsPostgresqlPerformanceTrends']?.[localVarOperationServerIndex]?.url;
|
|
374
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
375
|
+
},
|
|
303
376
|
/**
|
|
304
377
|
* Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
|
|
305
378
|
* @summary Get PostgreSQL SQL analysis
|
|
@@ -386,6 +459,16 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
386
459
|
export const DiagnosticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
387
460
|
const localVarFp = DiagnosticsApiFp(configuration)
|
|
388
461
|
return {
|
|
462
|
+
/**
|
|
463
|
+
* Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
|
|
464
|
+
* @summary Get PostgreSQL performance trends
|
|
465
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
|
|
470
|
+
return localVarFp.getDiagnosticsPostgresqlPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
|
|
471
|
+
},
|
|
389
472
|
/**
|
|
390
473
|
* Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
|
|
391
474
|
* @summary Get PostgreSQL SQL analysis
|
|
@@ -445,6 +528,16 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
|
|
|
445
528
|
* @interface DiagnosticsApi
|
|
446
529
|
*/
|
|
447
530
|
export interface DiagnosticsApiInterface {
|
|
531
|
+
/**
|
|
532
|
+
* Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
|
|
533
|
+
* @summary Get PostgreSQL performance trends
|
|
534
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
* @memberof DiagnosticsApiInterface
|
|
538
|
+
*/
|
|
539
|
+
getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
|
|
540
|
+
|
|
448
541
|
/**
|
|
449
542
|
* Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
|
|
450
543
|
* @summary Get PostgreSQL SQL analysis
|
|
@@ -497,6 +590,41 @@ export interface DiagnosticsApiInterface {
|
|
|
497
590
|
|
|
498
591
|
}
|
|
499
592
|
|
|
593
|
+
/**
|
|
594
|
+
* Request parameters for getDiagnosticsPostgresqlPerformanceTrends operation in DiagnosticsApi.
|
|
595
|
+
* @export
|
|
596
|
+
* @interface DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest
|
|
597
|
+
*/
|
|
598
|
+
export interface DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest {
|
|
599
|
+
/**
|
|
600
|
+
* Organization name
|
|
601
|
+
* @type {string}
|
|
602
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrends
|
|
603
|
+
*/
|
|
604
|
+
readonly orgName: string
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Cluster name
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrends
|
|
610
|
+
*/
|
|
611
|
+
readonly clusterName: string
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Controlled query range. Allowed values are 1h, 6h, and 24h. Defaults to 1h.
|
|
615
|
+
* @type {string}
|
|
616
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrends
|
|
617
|
+
*/
|
|
618
|
+
readonly range?: string
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Controlled query granularity. Allowed values are 1m, 5m, and 15m. Defaults to 1m for 1h, 5m for 6h, and 15m for 24h.
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrends
|
|
624
|
+
*/
|
|
625
|
+
readonly step?: string
|
|
626
|
+
}
|
|
627
|
+
|
|
500
628
|
/**
|
|
501
629
|
* Request parameters for getDiagnosticsPostgresqlSQLAnalysis operation in DiagnosticsApi.
|
|
502
630
|
* @export
|
|
@@ -651,6 +779,18 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
|
|
|
651
779
|
* @extends {BaseAPI}
|
|
652
780
|
*/
|
|
653
781
|
export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
|
|
782
|
+
/**
|
|
783
|
+
* Get read-only PostgreSQL performance trends from backend-owned Prometheus queries. The response does not expose SQL, PromQL, internal endpoints, or remediation actions.
|
|
784
|
+
* @summary Get PostgreSQL performance trends
|
|
785
|
+
* @param {DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest} requestParameters Request parameters.
|
|
786
|
+
* @param {*} [options] Override http request option.
|
|
787
|
+
* @throws {RequiredError}
|
|
788
|
+
* @memberof DiagnosticsApi
|
|
789
|
+
*/
|
|
790
|
+
public getDiagnosticsPostgresqlPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlPerformanceTrendsRequest, options?: RawAxiosRequestConfig) {
|
|
791
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsPostgresqlPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(this.axios, this.basePath));
|
|
792
|
+
}
|
|
793
|
+
|
|
654
794
|
/**
|
|
655
795
|
* Get a read-only PostgreSQL SQL fingerprint ranking from pg_stat_statements. The response does not expose full SQL text, time-window aggregation, summary cards, slow-log relation, execution plans, or remediation actions.
|
|
656
796
|
* @summary Get PostgreSQL SQL analysis
|
|
@@ -39,17 +39,17 @@ export interface CdcSettings {
|
|
|
39
39
|
*/
|
|
40
40
|
'config'?: CdcClusterConfig;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {CdcClusterAccount}
|
|
42
|
+
* engine mode and account setting mappings. \'_default\' key means default mode setting
|
|
43
|
+
* @type {{ [key: string]: CdcClusterAccount; }}
|
|
44
44
|
* @memberof CdcSettings
|
|
45
45
|
*/
|
|
46
|
-
'account'?: CdcClusterAccount;
|
|
46
|
+
'account'?: { [key: string]: CdcClusterAccount; };
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {CdcClusterEndpoint}
|
|
48
|
+
* engine mode and account setting mappings. \'_default\' key means default mode setting
|
|
49
|
+
* @type {{ [key: string]: CdcClusterEndpoint; }}
|
|
50
50
|
* @memberof CdcSettings
|
|
51
51
|
*/
|
|
52
|
-
'endpoint'?: CdcClusterEndpoint;
|
|
52
|
+
'endpoint'?: { [key: string]: CdcClusterEndpoint; };
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {CdcLifecycle}
|
|
@@ -38,5 +38,11 @@ export interface CdcSqlExecutor {
|
|
|
38
38
|
* @memberof CdcSqlExecutor
|
|
39
39
|
*/
|
|
40
40
|
'authDatabase'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* A regular expression containing named groups, used to extract the named groups from the SQL result and match them to the names defined in result
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CdcSqlExecutor
|
|
45
|
+
*/
|
|
46
|
+
'nameGroupExpression'?: string | null;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -25,6 +25,9 @@ import type { MappingDescription } from './mapping-description';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { ReplicationMetadataObject } from './replication-metadata-object';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import type { SelectModuleMode } from './select-module-mode';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -50,6 +53,12 @@ export interface EngineMapping {
|
|
|
50
53
|
* @memberof EngineMapping
|
|
51
54
|
*/
|
|
52
55
|
'modules'?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {SelectModuleMode}
|
|
59
|
+
* @memberof EngineMapping
|
|
60
|
+
*/
|
|
61
|
+
'moduleSelectMode'?: SelectModuleMode;
|
|
53
62
|
/**
|
|
54
63
|
*
|
|
55
64
|
* @type {Array<Array<EventObject>>}
|
|
@@ -82,3 +91,5 @@ export interface EngineMapping {
|
|
|
82
91
|
'parameterTemplate'?: { [key: string]: Array<DataChannelParameter>; };
|
|
83
92
|
}
|
|
84
93
|
|
|
94
|
+
|
|
95
|
+
|
|
@@ -608,6 +608,12 @@ export * from './parameters-value-value';
|
|
|
608
608
|
export * from './partition';
|
|
609
609
|
export * from './partition-info';
|
|
610
610
|
export * from './password';
|
|
611
|
+
export * from './performance-trend-point';
|
|
612
|
+
export * from './performance-trend-range';
|
|
613
|
+
export * from './performance-trend-series';
|
|
614
|
+
export * from './performance-trend-source';
|
|
615
|
+
export * from './performance-trend-summary';
|
|
616
|
+
export * from './performance-trends';
|
|
611
617
|
export * from './permission';
|
|
612
618
|
export * from './permission-list';
|
|
613
619
|
export * from './persistent-volume-claim';
|
|
@@ -743,6 +749,7 @@ export * from './slacluster';
|
|
|
743
749
|
export * from './slasettings';
|
|
744
750
|
export * from './scheduling-config';
|
|
745
751
|
export * from './scheduling-policy-type';
|
|
752
|
+
export * from './select-module-mode';
|
|
746
753
|
export * from './selected-object-option';
|
|
747
754
|
export * from './selected-object-option-convert-to-parameters-inner';
|
|
748
755
|
export * from './selected-object-option-tree';
|
|
@@ -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 PerformanceTrendPoint
|
|
21
|
+
*/
|
|
22
|
+
export interface PerformanceTrendPoint {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PerformanceTrendPoint
|
|
27
|
+
*/
|
|
28
|
+
'timestamp': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PerformanceTrendPoint
|
|
33
|
+
*/
|
|
34
|
+
'value': number;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 PerformanceTrendRange
|
|
21
|
+
*/
|
|
22
|
+
export interface PerformanceTrendRange {
|
|
23
|
+
/**
|
|
24
|
+
* Controlled query range label. Values are 1h, 6h, or 24h.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PerformanceTrendRange
|
|
27
|
+
*/
|
|
28
|
+
'label': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PerformanceTrendRange
|
|
33
|
+
*/
|
|
34
|
+
'start': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PerformanceTrendRange
|
|
39
|
+
*/
|
|
40
|
+
'end': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PerformanceTrendRange
|
|
45
|
+
*/
|
|
46
|
+
'durationSeconds': number;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { LocalizedDescription } from './localized-description';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { PerformanceTrendPoint } from './performance-trend-point';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PerformanceTrendSeries
|
|
27
|
+
*/
|
|
28
|
+
export interface PerformanceTrendSeries {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PerformanceTrendSeries
|
|
33
|
+
*/
|
|
34
|
+
'metric': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {LocalizedDescription}
|
|
38
|
+
* @memberof PerformanceTrendSeries
|
|
39
|
+
*/
|
|
40
|
+
'displayName': LocalizedDescription;
|
|
41
|
+
/**
|
|
42
|
+
* Metric category. Values are connectionsSessions, workload, resourcePressure, storagePVC, availability, maintenance, performance, or capacity.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PerformanceTrendSeries
|
|
45
|
+
*/
|
|
46
|
+
'category': string;
|
|
47
|
+
/**
|
|
48
|
+
* Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PerformanceTrendSeries
|
|
51
|
+
*/
|
|
52
|
+
'dimension'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Optional dimension labels, for example instance, pvc, role, or datname.
|
|
55
|
+
* @type {{ [key: string]: string; }}
|
|
56
|
+
* @memberof PerformanceTrendSeries
|
|
57
|
+
*/
|
|
58
|
+
'labels'?: { [key: string]: string; };
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PerformanceTrendSeries
|
|
63
|
+
*/
|
|
64
|
+
'unit': string;
|
|
65
|
+
/**
|
|
66
|
+
* Optional warning threshold in the same unit as this metric.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof PerformanceTrendSeries
|
|
69
|
+
*/
|
|
70
|
+
'warnThreshold'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Optional critical threshold in the same unit as this metric.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof PerformanceTrendSeries
|
|
75
|
+
*/
|
|
76
|
+
'critThreshold'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Optional threshold direction. Values are above, below, or boolean.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PerformanceTrendSeries
|
|
81
|
+
*/
|
|
82
|
+
'thresholdDirection'?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Array<PerformanceTrendPoint>}
|
|
86
|
+
* @memberof PerformanceTrendSeries
|
|
87
|
+
*/
|
|
88
|
+
'points': Array<PerformanceTrendPoint>;
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 PerformanceTrendSource
|
|
21
|
+
*/
|
|
22
|
+
export interface PerformanceTrendSource {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PerformanceTrendSource
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PerformanceTrendSource
|
|
33
|
+
*/
|
|
34
|
+
'kind': string;
|
|
35
|
+
/**
|
|
36
|
+
* Coarse source status. Values are success, partial, failed, skipped, or noData.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PerformanceTrendSource
|
|
39
|
+
*/
|
|
40
|
+
'status': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PerformanceTrendSource
|
|
45
|
+
*/
|
|
46
|
+
'collectedAt': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PerformanceTrendSource
|
|
51
|
+
*/
|
|
52
|
+
'message'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
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 { LocalizedDescription } from './localized-description';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface PerformanceTrendSummary
|
|
24
|
+
*/
|
|
25
|
+
export interface PerformanceTrendSummary {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PerformanceTrendSummary
|
|
30
|
+
*/
|
|
31
|
+
'metric': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {LocalizedDescription}
|
|
35
|
+
* @memberof PerformanceTrendSummary
|
|
36
|
+
*/
|
|
37
|
+
'displayName': LocalizedDescription;
|
|
38
|
+
/**
|
|
39
|
+
* Metric category. Values are connectionsSessions, workload, resourcePressure, storagePVC, availability, maintenance, performance, or capacity.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PerformanceTrendSummary
|
|
42
|
+
*/
|
|
43
|
+
'category': string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional series dimension. Values include cluster, instance, pvc, and database.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PerformanceTrendSummary
|
|
48
|
+
*/
|
|
49
|
+
'dimension'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional dimension labels, for example instance, pvc, role, or datname.
|
|
52
|
+
* @type {{ [key: string]: string; }}
|
|
53
|
+
* @memberof PerformanceTrendSummary
|
|
54
|
+
*/
|
|
55
|
+
'labels'?: { [key: string]: string; };
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PerformanceTrendSummary
|
|
60
|
+
*/
|
|
61
|
+
'unit': string;
|
|
62
|
+
/**
|
|
63
|
+
* Optional warning threshold in the same unit as this metric.
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof PerformanceTrendSummary
|
|
66
|
+
*/
|
|
67
|
+
'warnThreshold'?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Optional critical threshold in the same unit as this metric.
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof PerformanceTrendSummary
|
|
72
|
+
*/
|
|
73
|
+
'critThreshold'?: number;
|
|
74
|
+
/**
|
|
75
|
+
* Optional threshold direction. Values are above, below, or boolean.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof PerformanceTrendSummary
|
|
78
|
+
*/
|
|
79
|
+
'thresholdDirection'?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof PerformanceTrendSummary
|
|
84
|
+
*/
|
|
85
|
+
'min': number;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof PerformanceTrendSummary
|
|
90
|
+
*/
|
|
91
|
+
'max': number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof PerformanceTrendSummary
|
|
96
|
+
*/
|
|
97
|
+
'avg': number;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof PerformanceTrendSummary
|
|
102
|
+
*/
|
|
103
|
+
'latest': number;
|
|
104
|
+
/**
|
|
105
|
+
* Change direction when at least two samples exist. Values are increasing, decreasing, or stable.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof PerformanceTrendSummary
|
|
108
|
+
*/
|
|
109
|
+
'changeDirection'?: string;
|
|
110
|
+
}
|
|
111
|
+
|