kb-cloud-client-typescript 2.4.0-alpha.46 → 2.4.0-alpha.48
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 +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/dashboard-config-api.d.ts +223 -0
- package/dist/adminapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/adminapi/apis/dashboard-config-api.js +277 -0
- package/dist/adminapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts +229 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +247 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/oracle-api.d.ts +422 -0
- package/dist/adminapi/apis/oracle-api.d.ts.map +1 -0
- package/dist/adminapi/apis/oracle-api.js +471 -0
- package/dist/adminapi/apis/oracle-api.js.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts +25 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.js +16 -0
- package/dist/adminapi/models/dashboard-config-update.js.map +1 -0
- package/dist/adminapi/models/dashboard-config.d.ts +31 -0
- package/dist/adminapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config.js +16 -0
- package/dist/adminapi/models/dashboard-config.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/oracle-tablespace-contents.d.ts +22 -0
- package/dist/adminapi/models/oracle-tablespace-contents.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-contents.js +26 -0
- package/dist/adminapi/models/oracle-tablespace-contents.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-create.d.ts +45 -0
- package/dist/adminapi/models/oracle-tablespace-create.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-create.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-create.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts +22 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.js +26 -0
- package/dist/adminapi/models/oracle-tablespace-expand-action.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand.d.ts +45 -0
- package/dist/adminapi/models/oracle-tablespace-expand.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-expand.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-expand.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts +49 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-file-spec.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file.d.ts +67 -0
- package/dist/adminapi/models/oracle-tablespace-file.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace-file.js +16 -0
- package/dist/adminapi/models/oracle-tablespace-file.js.map +1 -0
- package/dist/adminapi/models/oracle-tablespace.d.ts +86 -0
- package/dist/adminapi/models/oracle-tablespace.d.ts.map +1 -0
- package/dist/adminapi/models/oracle-tablespace.js +16 -0
- package/dist/adminapi/models/oracle-tablespace.js.map +1 -0
- package/dist/openapi/api.d.ts +2 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +2 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/dashboard-config-api.d.ts +104 -0
- package/dist/openapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/openapi/apis/dashboard-config-api.js +133 -0
- package/dist/openapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/openapi/apis/diagnostics-api.d.ts +229 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +247 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/oracle-api.d.ts +422 -0
- package/dist/openapi/apis/oracle-api.d.ts.map +1 -0
- package/dist/openapi/apis/oracle-api.js +471 -0
- package/dist/openapi/apis/oracle-api.js.map +1 -0
- package/dist/openapi/models/dashboard-config.d.ts +31 -0
- package/dist/openapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/openapi/models/dashboard-config.js +16 -0
- package/dist/openapi/models/dashboard-config.js.map +1 -0
- package/dist/openapi/models/index.d.ts +8 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +8 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/oracle-tablespace-contents.d.ts +22 -0
- package/dist/openapi/models/oracle-tablespace-contents.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-contents.js +26 -0
- package/dist/openapi/models/oracle-tablespace-contents.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-create.d.ts +45 -0
- package/dist/openapi/models/oracle-tablespace-create.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-create.js +16 -0
- package/dist/openapi/models/oracle-tablespace-create.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.d.ts +22 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.js +26 -0
- package/dist/openapi/models/oracle-tablespace-expand-action.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand.d.ts +45 -0
- package/dist/openapi/models/oracle-tablespace-expand.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-expand.js +16 -0
- package/dist/openapi/models/oracle-tablespace-expand.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.d.ts +49 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.js +16 -0
- package/dist/openapi/models/oracle-tablespace-file-spec.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file.d.ts +67 -0
- package/dist/openapi/models/oracle-tablespace-file.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace-file.js +16 -0
- package/dist/openapi/models/oracle-tablespace-file.js.map +1 -0
- package/dist/openapi/models/oracle-tablespace.d.ts +86 -0
- package/dist/openapi/models/oracle-tablespace.d.ts.map +1 -0
- package/dist/openapi/models/oracle-tablespace.js +16 -0
- package/dist/openapi/models/oracle-tablespace.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +11 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/dashboard-config-api.ts +388 -0
- package/src/adminapi/apis/diagnostics-api.ts +401 -0
- package/src/adminapi/apis/oracle-api.ts +726 -0
- package/src/adminapi/models/dashboard-config-update.ts +30 -0
- package/src/adminapi/models/dashboard-config.ts +36 -0
- package/src/adminapi/models/index.ts +9 -0
- package/src/adminapi/models/oracle-tablespace-contents.ts +31 -0
- package/src/adminapi/models/oracle-tablespace-create.ts +56 -0
- package/src/adminapi/models/oracle-tablespace-expand-action.ts +31 -0
- package/src/adminapi/models/oracle-tablespace-expand.ts +56 -0
- package/src/adminapi/models/oracle-tablespace-file-spec.ts +54 -0
- package/src/adminapi/models/oracle-tablespace-file.ts +72 -0
- package/src/adminapi/models/oracle-tablespace.ts +93 -0
- package/src/adminapi.yaml +1030 -411
- package/src/openapi/.openapi-generator/FILES +10 -0
- package/src/openapi/api.ts +2 -0
- package/src/openapi/apis/dashboard-config-api.ts +172 -0
- package/src/openapi/apis/diagnostics-api.ts +401 -0
- package/src/openapi/apis/oracle-api.ts +726 -0
- package/src/openapi/models/dashboard-config.ts +36 -0
- package/src/openapi/models/index.ts +8 -0
- package/src/openapi/models/oracle-tablespace-contents.ts +31 -0
- package/src/openapi/models/oracle-tablespace-create.ts +56 -0
- package/src/openapi/models/oracle-tablespace-expand-action.ts +31 -0
- package/src/openapi/models/oracle-tablespace-expand.ts +56 -0
- package/src/openapi/models/oracle-tablespace-file-spec.ts +54 -0
- package/src/openapi/models/oracle-tablespace-file.ts +72 -0
- package/src/openapi/models/oracle-tablespace.ts +93 -0
- package/src/openapi.yaml +902 -341
|
@@ -665,6 +665,166 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
665
665
|
|
|
666
666
|
|
|
667
667
|
|
|
668
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
669
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
670
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
671
|
+
|
|
672
|
+
return {
|
|
673
|
+
url: toPathString(localVarUrlObj),
|
|
674
|
+
options: localVarRequestOptions,
|
|
675
|
+
};
|
|
676
|
+
},
|
|
677
|
+
/**
|
|
678
|
+
* Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
|
|
679
|
+
* @summary Get MariaDB performance trends
|
|
680
|
+
* @param {string} orgName Organization name
|
|
681
|
+
* @param {string} clusterName Cluster name
|
|
682
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
683
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
*/
|
|
687
|
+
getDiagnosticsMariaDBPerformanceTrends: async (orgName: string, clusterName: string, range?: string, step?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
688
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
689
|
+
assertParamExists('getDiagnosticsMariaDBPerformanceTrends', 'orgName', orgName)
|
|
690
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
691
|
+
assertParamExists('getDiagnosticsMariaDBPerformanceTrends', 'clusterName', clusterName)
|
|
692
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/performanceTrends`
|
|
693
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
694
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
695
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
696
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
697
|
+
let baseOptions;
|
|
698
|
+
if (configuration) {
|
|
699
|
+
baseOptions = configuration.baseOptions;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
703
|
+
const localVarHeaderParameter = {} as any;
|
|
704
|
+
const localVarQueryParameter = {} as any;
|
|
705
|
+
|
|
706
|
+
// authentication BearerToken required
|
|
707
|
+
// http bearer authentication required
|
|
708
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
709
|
+
|
|
710
|
+
// authentication DigestAuth required
|
|
711
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
712
|
+
|
|
713
|
+
if (range !== undefined) {
|
|
714
|
+
localVarQueryParameter['range'] = range;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
if (step !== undefined) {
|
|
718
|
+
localVarQueryParameter['step'] = step;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
725
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
726
|
+
|
|
727
|
+
return {
|
|
728
|
+
url: toPathString(localVarUrlObj),
|
|
729
|
+
options: localVarRequestOptions,
|
|
730
|
+
};
|
|
731
|
+
},
|
|
732
|
+
/**
|
|
733
|
+
* Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
|
|
734
|
+
* @summary Get MariaDB SQL analysis
|
|
735
|
+
* @param {string} orgName Organization name
|
|
736
|
+
* @param {string} clusterName Cluster name
|
|
737
|
+
* @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
|
|
738
|
+
* @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
|
|
739
|
+
* @param {*} [options] Override http request option.
|
|
740
|
+
* @throws {RequiredError}
|
|
741
|
+
*/
|
|
742
|
+
getDiagnosticsMariaDBSQLAnalysis: async (orgName: string, clusterName: string, limit?: number, orderBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
743
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
744
|
+
assertParamExists('getDiagnosticsMariaDBSQLAnalysis', 'orgName', orgName)
|
|
745
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
746
|
+
assertParamExists('getDiagnosticsMariaDBSQLAnalysis', 'clusterName', clusterName)
|
|
747
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/sqlAnalysis`
|
|
748
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
749
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
750
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
751
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
752
|
+
let baseOptions;
|
|
753
|
+
if (configuration) {
|
|
754
|
+
baseOptions = configuration.baseOptions;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
758
|
+
const localVarHeaderParameter = {} as any;
|
|
759
|
+
const localVarQueryParameter = {} as any;
|
|
760
|
+
|
|
761
|
+
// authentication BearerToken required
|
|
762
|
+
// http bearer authentication required
|
|
763
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
764
|
+
|
|
765
|
+
// authentication DigestAuth required
|
|
766
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
767
|
+
|
|
768
|
+
if (limit !== undefined) {
|
|
769
|
+
localVarQueryParameter['limit'] = limit;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
if (orderBy !== undefined) {
|
|
773
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
779
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
780
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
781
|
+
|
|
782
|
+
return {
|
|
783
|
+
url: toPathString(localVarUrlObj),
|
|
784
|
+
options: localVarRequestOptions,
|
|
785
|
+
};
|
|
786
|
+
},
|
|
787
|
+
/**
|
|
788
|
+
* Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
|
|
789
|
+
* @summary Get MariaDB space analysis
|
|
790
|
+
* @param {string} orgName
|
|
791
|
+
* @param {string} clusterName
|
|
792
|
+
* @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
getDiagnosticsMariaDBSpaceAnalysis: async (orgName: string, clusterName: string, databaseName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
797
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
798
|
+
assertParamExists('getDiagnosticsMariaDBSpaceAnalysis', 'orgName', orgName)
|
|
799
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
800
|
+
assertParamExists('getDiagnosticsMariaDBSpaceAnalysis', 'clusterName', clusterName)
|
|
801
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/mariadb/spaceAnalysis`
|
|
802
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
803
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
804
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
805
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
806
|
+
let baseOptions;
|
|
807
|
+
if (configuration) {
|
|
808
|
+
baseOptions = configuration.baseOptions;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
812
|
+
const localVarHeaderParameter = {} as any;
|
|
813
|
+
const localVarQueryParameter = {} as any;
|
|
814
|
+
|
|
815
|
+
// authentication BearerToken required
|
|
816
|
+
// http bearer authentication required
|
|
817
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
818
|
+
|
|
819
|
+
// authentication DigestAuth required
|
|
820
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
821
|
+
|
|
822
|
+
if (databaseName !== undefined) {
|
|
823
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
668
828
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
669
829
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
670
830
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1767,6 +1927,53 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
1767
1927
|
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsKingbaseSessionLockAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1768
1928
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1769
1929
|
},
|
|
1930
|
+
/**
|
|
1931
|
+
* Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
|
|
1932
|
+
* @summary Get MariaDB performance trends
|
|
1933
|
+
* @param {string} orgName Organization name
|
|
1934
|
+
* @param {string} clusterName Cluster name
|
|
1935
|
+
* @param {string} [range] Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
1936
|
+
* @param {string} [step] Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
|
|
1937
|
+
* @param {*} [options] Override http request option.
|
|
1938
|
+
* @throws {RequiredError}
|
|
1939
|
+
*/
|
|
1940
|
+
async getDiagnosticsMariaDBPerformanceTrends(orgName: string, clusterName: string, range?: string, step?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceTrends>> {
|
|
1941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMariaDBPerformanceTrends(orgName, clusterName, range, step, options);
|
|
1942
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1943
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMariaDBPerformanceTrends']?.[localVarOperationServerIndex]?.url;
|
|
1944
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1945
|
+
},
|
|
1946
|
+
/**
|
|
1947
|
+
* Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
|
|
1948
|
+
* @summary Get MariaDB SQL analysis
|
|
1949
|
+
* @param {string} orgName Organization name
|
|
1950
|
+
* @param {string} clusterName Cluster name
|
|
1951
|
+
* @param {number} [limit] Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
|
|
1952
|
+
* @param {string} [orderBy] Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
|
|
1953
|
+
* @param {*} [options] Override http request option.
|
|
1954
|
+
* @throws {RequiredError}
|
|
1955
|
+
*/
|
|
1956
|
+
async getDiagnosticsMariaDBSQLAnalysis(orgName: string, clusterName: string, limit?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSQLAnalysis>> {
|
|
1957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMariaDBSQLAnalysis(orgName, clusterName, limit, orderBy, options);
|
|
1958
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1959
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMariaDBSQLAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1960
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1961
|
+
},
|
|
1962
|
+
/**
|
|
1963
|
+
* Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
|
|
1964
|
+
* @summary Get MariaDB space analysis
|
|
1965
|
+
* @param {string} orgName
|
|
1966
|
+
* @param {string} clusterName
|
|
1967
|
+
* @param {string} [databaseName] Optional database name for table and index details. When omitted, the largest non-system database is selected.
|
|
1968
|
+
* @param {*} [options] Override http request option.
|
|
1969
|
+
* @throws {RequiredError}
|
|
1970
|
+
*/
|
|
1971
|
+
async getDiagnosticsMariaDBSpaceAnalysis(orgName: string, clusterName: string, databaseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MysqlSpaceAnalysis>> {
|
|
1972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsMariaDBSpaceAnalysis(orgName, clusterName, databaseName, options);
|
|
1973
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1974
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsMariaDBSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1975
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1976
|
+
},
|
|
1770
1977
|
/**
|
|
1771
1978
|
*
|
|
1772
1979
|
* @summary Get a SQL Server session
|
|
@@ -2145,6 +2352,36 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
|
|
|
2145
2352
|
getDiagnosticsKingbaseSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseLockAnalysis> {
|
|
2146
2353
|
return localVarFp.getDiagnosticsKingbaseSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(axios, basePath));
|
|
2147
2354
|
},
|
|
2355
|
+
/**
|
|
2356
|
+
* Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
|
|
2357
|
+
* @summary Get MariaDB performance trends
|
|
2358
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest} requestParameters Request parameters.
|
|
2359
|
+
* @param {*} [options] Override http request option.
|
|
2360
|
+
* @throws {RequiredError}
|
|
2361
|
+
*/
|
|
2362
|
+
getDiagnosticsMariaDBPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends> {
|
|
2363
|
+
return localVarFp.getDiagnosticsMariaDBPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(axios, basePath));
|
|
2364
|
+
},
|
|
2365
|
+
/**
|
|
2366
|
+
* Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
|
|
2367
|
+
* @summary Get MariaDB SQL analysis
|
|
2368
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest} requestParameters Request parameters.
|
|
2369
|
+
* @param {*} [options] Override http request option.
|
|
2370
|
+
* @throws {RequiredError}
|
|
2371
|
+
*/
|
|
2372
|
+
getDiagnosticsMariaDBSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis> {
|
|
2373
|
+
return localVarFp.getDiagnosticsMariaDBSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(axios, basePath));
|
|
2374
|
+
},
|
|
2375
|
+
/**
|
|
2376
|
+
* Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
|
|
2377
|
+
* @summary Get MariaDB space analysis
|
|
2378
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest} requestParameters Request parameters.
|
|
2379
|
+
* @param {*} [options] Override http request option.
|
|
2380
|
+
* @throws {RequiredError}
|
|
2381
|
+
*/
|
|
2382
|
+
getDiagnosticsMariaDBSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis> {
|
|
2383
|
+
return localVarFp.getDiagnosticsMariaDBSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
2384
|
+
},
|
|
2148
2385
|
/**
|
|
2149
2386
|
*
|
|
2150
2387
|
* @summary Get a SQL Server session
|
|
@@ -2424,6 +2661,36 @@ export interface DiagnosticsApiInterface {
|
|
|
2424
2661
|
*/
|
|
2425
2662
|
getDiagnosticsKingbaseSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<KingbaseLockAnalysis>;
|
|
2426
2663
|
|
|
2664
|
+
/**
|
|
2665
|
+
* Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
|
|
2666
|
+
* @summary Get MariaDB performance trends
|
|
2667
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest} requestParameters Request parameters.
|
|
2668
|
+
* @param {*} [options] Override http request option.
|
|
2669
|
+
* @throws {RequiredError}
|
|
2670
|
+
* @memberof DiagnosticsApiInterface
|
|
2671
|
+
*/
|
|
2672
|
+
getDiagnosticsMariaDBPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PerformanceTrends>;
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
|
|
2676
|
+
* @summary Get MariaDB SQL analysis
|
|
2677
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest} requestParameters Request parameters.
|
|
2678
|
+
* @param {*} [options] Override http request option.
|
|
2679
|
+
* @throws {RequiredError}
|
|
2680
|
+
* @memberof DiagnosticsApiInterface
|
|
2681
|
+
*/
|
|
2682
|
+
getDiagnosticsMariaDBSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSQLAnalysis>;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
|
|
2686
|
+
* @summary Get MariaDB space analysis
|
|
2687
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest} requestParameters Request parameters.
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
* @memberof DiagnosticsApiInterface
|
|
2691
|
+
*/
|
|
2692
|
+
getDiagnosticsMariaDBSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<MysqlSpaceAnalysis>;
|
|
2693
|
+
|
|
2427
2694
|
/**
|
|
2428
2695
|
*
|
|
2429
2696
|
* @summary Get a SQL Server session
|
|
@@ -2988,6 +3255,104 @@ export interface DiagnosticsApiGetDiagnosticsKingbaseSessionLockAnalysisRequest
|
|
|
2988
3255
|
readonly pid: number
|
|
2989
3256
|
}
|
|
2990
3257
|
|
|
3258
|
+
/**
|
|
3259
|
+
* Request parameters for getDiagnosticsMariaDBPerformanceTrends operation in DiagnosticsApi.
|
|
3260
|
+
* @export
|
|
3261
|
+
* @interface DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest
|
|
3262
|
+
*/
|
|
3263
|
+
export interface DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest {
|
|
3264
|
+
/**
|
|
3265
|
+
* Organization name
|
|
3266
|
+
* @type {string}
|
|
3267
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
|
|
3268
|
+
*/
|
|
3269
|
+
readonly orgName: string
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* Cluster name
|
|
3273
|
+
* @type {string}
|
|
3274
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
|
|
3275
|
+
*/
|
|
3276
|
+
readonly clusterName: string
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* Controlled query range. Allowed values are 1h, 6h, 24h, and 7d. Defaults to 1h.
|
|
3280
|
+
* @type {string}
|
|
3281
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
|
|
3282
|
+
*/
|
|
3283
|
+
readonly range?: string
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Controlled query granularity. Allowed values are 1m, 5m, 15m, and 1h.
|
|
3287
|
+
* @type {string}
|
|
3288
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrends
|
|
3289
|
+
*/
|
|
3290
|
+
readonly step?: string
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* Request parameters for getDiagnosticsMariaDBSQLAnalysis operation in DiagnosticsApi.
|
|
3295
|
+
* @export
|
|
3296
|
+
* @interface DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest
|
|
3297
|
+
*/
|
|
3298
|
+
export interface DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest {
|
|
3299
|
+
/**
|
|
3300
|
+
* Organization name
|
|
3301
|
+
* @type {string}
|
|
3302
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
|
|
3303
|
+
*/
|
|
3304
|
+
readonly orgName: string
|
|
3305
|
+
|
|
3306
|
+
/**
|
|
3307
|
+
* Cluster name
|
|
3308
|
+
* @type {string}
|
|
3309
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
|
|
3310
|
+
*/
|
|
3311
|
+
readonly clusterName: string
|
|
3312
|
+
|
|
3313
|
+
/**
|
|
3314
|
+
* Maximum number of SQL fingerprints to return. The backend applies its own upper bound.
|
|
3315
|
+
* @type {number}
|
|
3316
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
|
|
3317
|
+
*/
|
|
3318
|
+
readonly limit?: number
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* Sort key. Allowed values are totalTime, meanTime, maxTime, and calls. Defaults to totalTime.
|
|
3322
|
+
* @type {string}
|
|
3323
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysis
|
|
3324
|
+
*/
|
|
3325
|
+
readonly orderBy?: string
|
|
3326
|
+
}
|
|
3327
|
+
|
|
3328
|
+
/**
|
|
3329
|
+
* Request parameters for getDiagnosticsMariaDBSpaceAnalysis operation in DiagnosticsApi.
|
|
3330
|
+
* @export
|
|
3331
|
+
* @interface DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest
|
|
3332
|
+
*/
|
|
3333
|
+
export interface DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest {
|
|
3334
|
+
/**
|
|
3335
|
+
*
|
|
3336
|
+
* @type {string}
|
|
3337
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysis
|
|
3338
|
+
*/
|
|
3339
|
+
readonly orgName: string
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
*
|
|
3343
|
+
* @type {string}
|
|
3344
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysis
|
|
3345
|
+
*/
|
|
3346
|
+
readonly clusterName: string
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* Optional database name for table and index details. When omitted, the largest non-system database is selected.
|
|
3350
|
+
* @type {string}
|
|
3351
|
+
* @memberof DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysis
|
|
3352
|
+
*/
|
|
3353
|
+
readonly databaseName?: string
|
|
3354
|
+
}
|
|
3355
|
+
|
|
2991
3356
|
/**
|
|
2992
3357
|
* Request parameters for getDiagnosticsMssqlSession operation in DiagnosticsApi.
|
|
2993
3358
|
* @export
|
|
@@ -3682,6 +4047,42 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
|
|
|
3682
4047
|
return DiagnosticsApiFp(this.configuration).getDiagnosticsKingbaseSessionLockAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.pid, options).then((request) => request(this.axios, this.basePath));
|
|
3683
4048
|
}
|
|
3684
4049
|
|
|
4050
|
+
/**
|
|
4051
|
+
* Get read-only MariaDB performance trends from backend-owned metrics and database capability checks. The response does not expose SQL, PromQL, internal endpoints, or credentials.
|
|
4052
|
+
* @summary Get MariaDB performance trends
|
|
4053
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest} requestParameters Request parameters.
|
|
4054
|
+
* @param {*} [options] Override http request option.
|
|
4055
|
+
* @throws {RequiredError}
|
|
4056
|
+
* @memberof DiagnosticsApi
|
|
4057
|
+
*/
|
|
4058
|
+
public getDiagnosticsMariaDBPerformanceTrends(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBPerformanceTrendsRequest, options?: RawAxiosRequestConfig) {
|
|
4059
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsMariaDBPerformanceTrends(requestParameters.orgName, requestParameters.clusterName, requestParameters.range, requestParameters.step, options).then((request) => request(this.axios, this.basePath));
|
|
4060
|
+
}
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* Get a read-only MariaDB SQL fingerprint ranking from Performance Schema statement digests. The response does not expose raw SQL text, time-window aggregation, execution plans, or remediation actions.
|
|
4064
|
+
* @summary Get MariaDB SQL analysis
|
|
4065
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest} requestParameters Request parameters.
|
|
4066
|
+
* @param {*} [options] Override http request option.
|
|
4067
|
+
* @throws {RequiredError}
|
|
4068
|
+
* @memberof DiagnosticsApi
|
|
4069
|
+
*/
|
|
4070
|
+
public getDiagnosticsMariaDBSQLAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSQLAnalysisRequest, options?: RawAxiosRequestConfig) {
|
|
4071
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsMariaDBSQLAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.orderBy, options).then((request) => request(this.axios, this.basePath));
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4074
|
+
/**
|
|
4075
|
+
* Get a read-only MariaDB compatible space snapshot and fixed backend-owned storage metrics.
|
|
4076
|
+
* @summary Get MariaDB space analysis
|
|
4077
|
+
* @param {DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest} requestParameters Request parameters.
|
|
4078
|
+
* @param {*} [options] Override http request option.
|
|
4079
|
+
* @throws {RequiredError}
|
|
4080
|
+
* @memberof DiagnosticsApi
|
|
4081
|
+
*/
|
|
4082
|
+
public getDiagnosticsMariaDBSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsMariaDBSpaceAnalysisRequest, options?: RawAxiosRequestConfig) {
|
|
4083
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsMariaDBSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
4084
|
+
}
|
|
4085
|
+
|
|
3685
4086
|
/**
|
|
3686
4087
|
*
|
|
3687
4088
|
* @summary Get a SQL Server session
|