kb-cloud-client-typescript 2.4.0-alpha.41 → 2.4.0-alpha.42
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 +460 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +461 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.js +16 -0
- package/dist/adminapi/models/elasticsearch-allocation-decider.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.js +16 -0
- package/dist/adminapi/models/elasticsearch-allocation-explanation.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.js +16 -0
- package/dist/adminapi/models/elasticsearch-disk-watermarks.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.js +27 -0
- package/dist/adminapi/models/elasticsearch-hot-threads-type.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.js +16 -0
- package/dist/adminapi/models/elasticsearch-hot-threads.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts +24 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.js +28 -0
- package/dist/adminapi/models/elasticsearch-index-sort-by.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-storage.d.ts +85 -0
- package/dist/adminapi/models/elasticsearch-index-storage.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-index-storage.js +16 -0
- package/dist/adminapi/models/elasticsearch-index-storage.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.js +16 -0
- package/dist/adminapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.d.ts +73 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.js +16 -0
- package/dist/adminapi/models/elasticsearch-node-allocation.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.d.ts +32 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-list.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-size.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts +37 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.js +16 -0
- package/dist/adminapi/models/elasticsearch-recovery-translog.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-list.d.ts +32 -0
- package/dist/adminapi/models/elasticsearch-shard-list.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-list.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-list.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-node.d.ts +31 -0
- package/dist/adminapi/models/elasticsearch-shard-node.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-node.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-node.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts +88 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard-recovery.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-state.d.ts +24 -0
- package/dist/adminapi/models/elasticsearch-shard-state.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard-state.js +28 -0
- package/dist/adminapi/models/elasticsearch-shard-state.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard.d.ts +73 -0
- package/dist/adminapi/models/elasticsearch-shard.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-shard.js +16 -0
- package/dist/adminapi/models/elasticsearch-shard.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-sort-order.d.ts +22 -0
- package/dist/adminapi/models/elasticsearch-sort-order.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-sort-order.js +26 -0
- package/dist/adminapi/models/elasticsearch-sort-order.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts +59 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.js +16 -0
- package/dist/adminapi/models/elasticsearch-storage-analysis.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.d.ts +52 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.js +16 -0
- package/dist/adminapi/models/elasticsearch-task-analysis.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-task.d.ts +79 -0
- package/dist/adminapi/models/elasticsearch-task.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-task.js +16 -0
- package/dist/adminapi/models/elasticsearch-task.js.map +1 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts +43 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.js +16 -0
- package/dist/adminapi/models/elasticsearch-unassigned-info.js.map +1 -0
- package/dist/adminapi/models/environment-update.d.ts +6 -0
- package/dist/adminapi/models/environment-update.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +22 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +22 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/scheduling-config.d.ts +6 -0
- package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +460 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +461 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/models/elasticsearch-allocation-decider.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.js +16 -0
- package/dist/openapi/models/elasticsearch-allocation-decider.js.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts +113 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.js +16 -0
- package/dist/openapi/models/elasticsearch-allocation-explanation.js.map +1 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.js +16 -0
- package/dist/openapi/models/elasticsearch-disk-watermarks.js.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts +23 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.js +27 -0
- package/dist/openapi/models/elasticsearch-hot-threads-type.js.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-hot-threads.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-hot-threads.js +16 -0
- package/dist/openapi/models/elasticsearch-hot-threads.js.map +1 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.d.ts +24 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.js +28 -0
- package/dist/openapi/models/elasticsearch-index-sort-by.js.map +1 -0
- package/dist/openapi/models/elasticsearch-index-storage.d.ts +85 -0
- package/dist/openapi/models/elasticsearch-index-storage.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-index-storage.js +16 -0
- package/dist/openapi/models/elasticsearch-index-storage.js.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts +44 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.js +16 -0
- package/dist/openapi/models/elasticsearch-node-allocation-decision.js.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation.d.ts +73 -0
- package/dist/openapi/models/elasticsearch-node-allocation.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-node-allocation.js +16 -0
- package/dist/openapi/models/elasticsearch-node-allocation.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-list.d.ts +32 -0
- package/dist/openapi/models/elasticsearch-recovery-list.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-list.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-list.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-size.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-recovery-size.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-size.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-size.js.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.d.ts +37 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.js +16 -0
- package/dist/openapi/models/elasticsearch-recovery-translog.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-list.d.ts +32 -0
- package/dist/openapi/models/elasticsearch-shard-list.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-list.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-list.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-node.d.ts +31 -0
- package/dist/openapi/models/elasticsearch-shard-node.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-node.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-node.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.d.ts +88 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.js +16 -0
- package/dist/openapi/models/elasticsearch-shard-recovery.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-state.d.ts +24 -0
- package/dist/openapi/models/elasticsearch-shard-state.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard-state.js +28 -0
- package/dist/openapi/models/elasticsearch-shard-state.js.map +1 -0
- package/dist/openapi/models/elasticsearch-shard.d.ts +73 -0
- package/dist/openapi/models/elasticsearch-shard.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-shard.js +16 -0
- package/dist/openapi/models/elasticsearch-shard.js.map +1 -0
- package/dist/openapi/models/elasticsearch-sort-order.d.ts +22 -0
- package/dist/openapi/models/elasticsearch-sort-order.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-sort-order.js +26 -0
- package/dist/openapi/models/elasticsearch-sort-order.js.map +1 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.d.ts +59 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.js +16 -0
- package/dist/openapi/models/elasticsearch-storage-analysis.js.map +1 -0
- package/dist/openapi/models/elasticsearch-task-analysis.d.ts +52 -0
- package/dist/openapi/models/elasticsearch-task-analysis.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-task-analysis.js +16 -0
- package/dist/openapi/models/elasticsearch-task-analysis.js.map +1 -0
- package/dist/openapi/models/elasticsearch-task.d.ts +79 -0
- package/dist/openapi/models/elasticsearch-task.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-task.js +16 -0
- package/dist/openapi/models/elasticsearch-task.js.map +1 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.d.ts +43 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.d.ts.map +1 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.js +16 -0
- package/dist/openapi/models/elasticsearch-unassigned-info.js.map +1 -0
- package/dist/openapi/models/index.d.ts +22 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +22 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +22 -0
- package/src/adminapi/apis/diagnostics-api.ts +805 -0
- package/src/adminapi/models/elasticsearch-allocation-decider.ts +42 -0
- package/src/adminapi/models/elasticsearch-allocation-explanation.ts +126 -0
- package/src/adminapi/models/elasticsearch-disk-watermarks.ts +42 -0
- package/src/adminapi/models/elasticsearch-hot-threads-type.ts +32 -0
- package/src/adminapi/models/elasticsearch-hot-threads.ts +48 -0
- package/src/adminapi/models/elasticsearch-index-sort-by.ts +33 -0
- package/src/adminapi/models/elasticsearch-index-storage.ts +90 -0
- package/src/adminapi/models/elasticsearch-node-allocation-decision.ts +51 -0
- package/src/adminapi/models/elasticsearch-node-allocation.ts +78 -0
- package/src/adminapi/models/elasticsearch-recovery-list.ts +39 -0
- package/src/adminapi/models/elasticsearch-recovery-size.ts +48 -0
- package/src/adminapi/models/elasticsearch-recovery-translog.ts +42 -0
- package/src/adminapi/models/elasticsearch-shard-list.ts +39 -0
- package/src/adminapi/models/elasticsearch-shard-node.ts +36 -0
- package/src/adminapi/models/elasticsearch-shard-recovery.ts +99 -0
- package/src/adminapi/models/elasticsearch-shard-state.ts +33 -0
- package/src/adminapi/models/elasticsearch-shard.ts +78 -0
- package/src/adminapi/models/elasticsearch-sort-order.ts +31 -0
- package/src/adminapi/models/elasticsearch-storage-analysis.ts +72 -0
- package/src/adminapi/models/elasticsearch-task-analysis.ts +63 -0
- package/src/adminapi/models/elasticsearch-task.ts +84 -0
- package/src/adminapi/models/elasticsearch-unassigned-info.ts +48 -0
- package/src/adminapi/models/environment-update.ts +6 -0
- package/src/adminapi/models/index.ts +22 -0
- package/src/adminapi/models/scheduling-config.ts +6 -0
- package/src/adminapi.yaml +794 -0
- package/src/openapi/.openapi-generator/FILES +22 -0
- package/src/openapi/apis/diagnostics-api.ts +805 -0
- package/src/openapi/models/elasticsearch-allocation-decider.ts +42 -0
- package/src/openapi/models/elasticsearch-allocation-explanation.ts +126 -0
- package/src/openapi/models/elasticsearch-disk-watermarks.ts +42 -0
- package/src/openapi/models/elasticsearch-hot-threads-type.ts +32 -0
- package/src/openapi/models/elasticsearch-hot-threads.ts +48 -0
- package/src/openapi/models/elasticsearch-index-sort-by.ts +33 -0
- package/src/openapi/models/elasticsearch-index-storage.ts +90 -0
- package/src/openapi/models/elasticsearch-node-allocation-decision.ts +51 -0
- package/src/openapi/models/elasticsearch-node-allocation.ts +78 -0
- package/src/openapi/models/elasticsearch-recovery-list.ts +39 -0
- package/src/openapi/models/elasticsearch-recovery-size.ts +48 -0
- package/src/openapi/models/elasticsearch-recovery-translog.ts +42 -0
- package/src/openapi/models/elasticsearch-shard-list.ts +39 -0
- package/src/openapi/models/elasticsearch-shard-node.ts +36 -0
- package/src/openapi/models/elasticsearch-shard-recovery.ts +99 -0
- package/src/openapi/models/elasticsearch-shard-state.ts +33 -0
- package/src/openapi/models/elasticsearch-shard.ts +78 -0
- package/src/openapi/models/elasticsearch-sort-order.ts +31 -0
- package/src/openapi/models/elasticsearch-storage-analysis.ts +72 -0
- package/src/openapi/models/elasticsearch-task-analysis.ts +63 -0
- package/src/openapi/models/elasticsearch-task.ts +84 -0
- package/src/openapi/models/elasticsearch-unassigned-info.ts +48 -0
- package/src/openapi/models/index.ts +22 -0
- package/src/openapi.yaml +781 -0
|
@@ -34,6 +34,24 @@ import type { DamengSessionListItem } from '../models';
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
import type { DamengSpaceAnalysis } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
|
+
import type { ElasticsearchAllocationExplanation } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { ElasticsearchHotThreadsType } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import type { ElasticsearchIndexSortBy } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { ElasticsearchRecoveryList } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
import type { ElasticsearchShardList } from '../models';
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
import type { ElasticsearchShardState } from '../models';
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
import type { ElasticsearchSortOrder } from '../models';
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
import type { ElasticsearchStorageAnalysis } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
import type { ElasticsearchTaskAnalysis } from '../models';
|
|
54
|
+
// @ts-ignore
|
|
37
55
|
import type { KingbaseLockAnalysis } from '../models';
|
|
38
56
|
// @ts-ignore
|
|
39
57
|
import type { KingbaseSessionDetail } from '../models';
|
|
@@ -59,6 +77,77 @@ import type { PostgresqlSpaceAnalysis } from '../models';
|
|
|
59
77
|
*/
|
|
60
78
|
export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61
79
|
return {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary Explain Elasticsearch shard allocation
|
|
83
|
+
* @param {string} orgName
|
|
84
|
+
* @param {string} clusterName
|
|
85
|
+
* @param {string} index
|
|
86
|
+
* @param {number} shard
|
|
87
|
+
* @param {boolean} primary
|
|
88
|
+
* @param {string} [currentNode]
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
explainDiagnosticsElasticsearchAllocation: async (orgName: string, clusterName: string, index: string, shard: number, primary: boolean, currentNode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
94
|
+
assertParamExists('explainDiagnosticsElasticsearchAllocation', 'orgName', orgName)
|
|
95
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
96
|
+
assertParamExists('explainDiagnosticsElasticsearchAllocation', 'clusterName', clusterName)
|
|
97
|
+
// verify required parameter 'index' is not null or undefined
|
|
98
|
+
assertParamExists('explainDiagnosticsElasticsearchAllocation', 'index', index)
|
|
99
|
+
// verify required parameter 'shard' is not null or undefined
|
|
100
|
+
assertParamExists('explainDiagnosticsElasticsearchAllocation', 'shard', shard)
|
|
101
|
+
// verify required parameter 'primary' is not null or undefined
|
|
102
|
+
assertParamExists('explainDiagnosticsElasticsearchAllocation', 'primary', primary)
|
|
103
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/allocationExplain`
|
|
104
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
105
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
106
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108
|
+
let baseOptions;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
114
|
+
const localVarHeaderParameter = {} as any;
|
|
115
|
+
const localVarQueryParameter = {} as any;
|
|
116
|
+
|
|
117
|
+
// authentication BearerToken required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
|
+
|
|
121
|
+
// authentication DigestAuth required
|
|
122
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
123
|
+
|
|
124
|
+
if (index !== undefined) {
|
|
125
|
+
localVarQueryParameter['index'] = index;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (shard !== undefined) {
|
|
129
|
+
localVarQueryParameter['shard'] = shard;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
if (primary !== undefined) {
|
|
133
|
+
localVarQueryParameter['primary'] = primary;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (currentNode !== undefined) {
|
|
137
|
+
localVarQueryParameter['currentNode'] = currentNode;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
},
|
|
62
151
|
/**
|
|
63
152
|
* Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
|
|
64
153
|
* @summary Get Dameng SQL analysis
|
|
@@ -263,6 +352,136 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
263
352
|
|
|
264
353
|
|
|
265
354
|
|
|
355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
357
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
358
|
+
|
|
359
|
+
return {
|
|
360
|
+
url: toPathString(localVarUrlObj),
|
|
361
|
+
options: localVarRequestOptions,
|
|
362
|
+
};
|
|
363
|
+
},
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @summary Get Elasticsearch storage and index analysis
|
|
367
|
+
* @param {string} orgName
|
|
368
|
+
* @param {string} clusterName
|
|
369
|
+
* @param {string} [node]
|
|
370
|
+
* @param {string} [index]
|
|
371
|
+
* @param {ElasticsearchIndexSortBy} [sortBy]
|
|
372
|
+
* @param {ElasticsearchSortOrder} [sortOrder]
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
getDiagnosticsElasticsearchStorageAnalysis: async (orgName: string, clusterName: string, node?: string, index?: string, sortBy?: ElasticsearchIndexSortBy, sortOrder?: ElasticsearchSortOrder, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
377
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
378
|
+
assertParamExists('getDiagnosticsElasticsearchStorageAnalysis', 'orgName', orgName)
|
|
379
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
380
|
+
assertParamExists('getDiagnosticsElasticsearchStorageAnalysis', 'clusterName', clusterName)
|
|
381
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/storageAnalysis`
|
|
382
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
383
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
384
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
385
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
386
|
+
let baseOptions;
|
|
387
|
+
if (configuration) {
|
|
388
|
+
baseOptions = configuration.baseOptions;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
392
|
+
const localVarHeaderParameter = {} as any;
|
|
393
|
+
const localVarQueryParameter = {} as any;
|
|
394
|
+
|
|
395
|
+
// authentication BearerToken required
|
|
396
|
+
// http bearer authentication required
|
|
397
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
398
|
+
|
|
399
|
+
// authentication DigestAuth required
|
|
400
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
401
|
+
|
|
402
|
+
if (node !== undefined) {
|
|
403
|
+
localVarQueryParameter['node'] = node;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
if (index !== undefined) {
|
|
407
|
+
localVarQueryParameter['index'] = index;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (sortBy !== undefined) {
|
|
411
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
if (sortOrder !== undefined) {
|
|
415
|
+
localVarQueryParameter['sortOrder'] = sortOrder;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
423
|
+
|
|
424
|
+
return {
|
|
425
|
+
url: toPathString(localVarUrlObj),
|
|
426
|
+
options: localVarRequestOptions,
|
|
427
|
+
};
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @summary Get Elasticsearch task and hot-thread analysis
|
|
432
|
+
* @param {string} orgName
|
|
433
|
+
* @param {string} clusterName
|
|
434
|
+
* @param {ElasticsearchHotThreadsType} [type]
|
|
435
|
+
* @param {string} [node]
|
|
436
|
+
* @param {number} [taskLimit]
|
|
437
|
+
* @param {number} [threads]
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
getDiagnosticsElasticsearchTaskAnalysis: async (orgName: string, clusterName: string, type?: ElasticsearchHotThreadsType, node?: string, taskLimit?: number, threads?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
442
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
443
|
+
assertParamExists('getDiagnosticsElasticsearchTaskAnalysis', 'orgName', orgName)
|
|
444
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
445
|
+
assertParamExists('getDiagnosticsElasticsearchTaskAnalysis', 'clusterName', clusterName)
|
|
446
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/taskAnalysis`
|
|
447
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
448
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
451
|
+
let baseOptions;
|
|
452
|
+
if (configuration) {
|
|
453
|
+
baseOptions = configuration.baseOptions;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
457
|
+
const localVarHeaderParameter = {} as any;
|
|
458
|
+
const localVarQueryParameter = {} as any;
|
|
459
|
+
|
|
460
|
+
// authentication BearerToken required
|
|
461
|
+
// http bearer authentication required
|
|
462
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
463
|
+
|
|
464
|
+
// authentication DigestAuth required
|
|
465
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
466
|
+
|
|
467
|
+
if (type !== undefined) {
|
|
468
|
+
localVarQueryParameter['type'] = type;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
if (node !== undefined) {
|
|
472
|
+
localVarQueryParameter['node'] = node;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
if (taskLimit !== undefined) {
|
|
476
|
+
localVarQueryParameter['taskLimit'] = taskLimit;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
if (threads !== undefined) {
|
|
480
|
+
localVarQueryParameter['threads'] = threads;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
266
485
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
267
486
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
487
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -834,6 +1053,121 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
834
1053
|
|
|
835
1054
|
|
|
836
1055
|
|
|
1056
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1058
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1059
|
+
|
|
1060
|
+
return {
|
|
1061
|
+
url: toPathString(localVarUrlObj),
|
|
1062
|
+
options: localVarRequestOptions,
|
|
1063
|
+
};
|
|
1064
|
+
},
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @summary List active Elasticsearch shard recoveries
|
|
1068
|
+
* @param {string} orgName
|
|
1069
|
+
* @param {string} clusterName
|
|
1070
|
+
* @param {string} [index] Index name or pattern
|
|
1071
|
+
* @param {string} [node] Exact target node ID or name
|
|
1072
|
+
* @param {*} [options] Override http request option.
|
|
1073
|
+
* @throws {RequiredError}
|
|
1074
|
+
*/
|
|
1075
|
+
listDiagnosticsElasticsearchRecoveries: async (orgName: string, clusterName: string, index?: string, node?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1076
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1077
|
+
assertParamExists('listDiagnosticsElasticsearchRecoveries', 'orgName', orgName)
|
|
1078
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1079
|
+
assertParamExists('listDiagnosticsElasticsearchRecoveries', 'clusterName', clusterName)
|
|
1080
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/recoveries`
|
|
1081
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1082
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1083
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1085
|
+
let baseOptions;
|
|
1086
|
+
if (configuration) {
|
|
1087
|
+
baseOptions = configuration.baseOptions;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1091
|
+
const localVarHeaderParameter = {} as any;
|
|
1092
|
+
const localVarQueryParameter = {} as any;
|
|
1093
|
+
|
|
1094
|
+
// authentication BearerToken required
|
|
1095
|
+
// http bearer authentication required
|
|
1096
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1097
|
+
|
|
1098
|
+
// authentication DigestAuth required
|
|
1099
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1100
|
+
|
|
1101
|
+
if (index !== undefined) {
|
|
1102
|
+
localVarQueryParameter['index'] = index;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
if (node !== undefined) {
|
|
1106
|
+
localVarQueryParameter['node'] = node;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1113
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1114
|
+
|
|
1115
|
+
return {
|
|
1116
|
+
url: toPathString(localVarUrlObj),
|
|
1117
|
+
options: localVarRequestOptions,
|
|
1118
|
+
};
|
|
1119
|
+
},
|
|
1120
|
+
/**
|
|
1121
|
+
*
|
|
1122
|
+
* @summary List Elasticsearch shards
|
|
1123
|
+
* @param {string} orgName
|
|
1124
|
+
* @param {string} clusterName
|
|
1125
|
+
* @param {string} [index] Index name or pattern
|
|
1126
|
+
* @param {string} [node] Exact node ID or name
|
|
1127
|
+
* @param {ElasticsearchShardState} [state]
|
|
1128
|
+
* @param {*} [options] Override http request option.
|
|
1129
|
+
* @throws {RequiredError}
|
|
1130
|
+
*/
|
|
1131
|
+
listDiagnosticsElasticsearchShards: async (orgName: string, clusterName: string, index?: string, node?: string, state?: ElasticsearchShardState, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1132
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1133
|
+
assertParamExists('listDiagnosticsElasticsearchShards', 'orgName', orgName)
|
|
1134
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1135
|
+
assertParamExists('listDiagnosticsElasticsearchShards', 'clusterName', clusterName)
|
|
1136
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/elasticsearch/shards`
|
|
1137
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1138
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1139
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1140
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1141
|
+
let baseOptions;
|
|
1142
|
+
if (configuration) {
|
|
1143
|
+
baseOptions = configuration.baseOptions;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1147
|
+
const localVarHeaderParameter = {} as any;
|
|
1148
|
+
const localVarQueryParameter = {} as any;
|
|
1149
|
+
|
|
1150
|
+
// authentication BearerToken required
|
|
1151
|
+
// http bearer authentication required
|
|
1152
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1153
|
+
|
|
1154
|
+
// authentication DigestAuth required
|
|
1155
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1156
|
+
|
|
1157
|
+
if (index !== undefined) {
|
|
1158
|
+
localVarQueryParameter['index'] = index;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
if (node !== undefined) {
|
|
1162
|
+
localVarQueryParameter['node'] = node;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
if (state !== undefined) {
|
|
1166
|
+
localVarQueryParameter['state'] = state;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
837
1171
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
838
1172
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
839
1173
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -953,6 +1287,24 @@ export const DiagnosticsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
953
1287
|
export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
954
1288
|
const localVarAxiosParamCreator = DiagnosticsApiAxiosParamCreator(configuration)
|
|
955
1289
|
return {
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @summary Explain Elasticsearch shard allocation
|
|
1293
|
+
* @param {string} orgName
|
|
1294
|
+
* @param {string} clusterName
|
|
1295
|
+
* @param {string} index
|
|
1296
|
+
* @param {number} shard
|
|
1297
|
+
* @param {boolean} primary
|
|
1298
|
+
* @param {string} [currentNode]
|
|
1299
|
+
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @throws {RequiredError}
|
|
1301
|
+
*/
|
|
1302
|
+
async explainDiagnosticsElasticsearchAllocation(orgName: string, clusterName: string, index: string, shard: number, primary: boolean, currentNode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchAllocationExplanation>> {
|
|
1303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.explainDiagnosticsElasticsearchAllocation(orgName, clusterName, index, shard, primary, currentNode, options);
|
|
1304
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1305
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.explainDiagnosticsElasticsearchAllocation']?.[localVarOperationServerIndex]?.url;
|
|
1306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1307
|
+
},
|
|
956
1308
|
/**
|
|
957
1309
|
* Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
|
|
958
1310
|
* @summary Get Dameng SQL analysis
|
|
@@ -1016,6 +1368,42 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
1016
1368
|
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsDamengSpaceAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1017
1369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1018
1370
|
},
|
|
1371
|
+
/**
|
|
1372
|
+
*
|
|
1373
|
+
* @summary Get Elasticsearch storage and index analysis
|
|
1374
|
+
* @param {string} orgName
|
|
1375
|
+
* @param {string} clusterName
|
|
1376
|
+
* @param {string} [node]
|
|
1377
|
+
* @param {string} [index]
|
|
1378
|
+
* @param {ElasticsearchIndexSortBy} [sortBy]
|
|
1379
|
+
* @param {ElasticsearchSortOrder} [sortOrder]
|
|
1380
|
+
* @param {*} [options] Override http request option.
|
|
1381
|
+
* @throws {RequiredError}
|
|
1382
|
+
*/
|
|
1383
|
+
async getDiagnosticsElasticsearchStorageAnalysis(orgName: string, clusterName: string, node?: string, index?: string, sortBy?: ElasticsearchIndexSortBy, sortOrder?: ElasticsearchSortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchStorageAnalysis>> {
|
|
1384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsElasticsearchStorageAnalysis(orgName, clusterName, node, index, sortBy, sortOrder, options);
|
|
1385
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1386
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchStorageAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1387
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1388
|
+
},
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @summary Get Elasticsearch task and hot-thread analysis
|
|
1392
|
+
* @param {string} orgName
|
|
1393
|
+
* @param {string} clusterName
|
|
1394
|
+
* @param {ElasticsearchHotThreadsType} [type]
|
|
1395
|
+
* @param {string} [node]
|
|
1396
|
+
* @param {number} [taskLimit]
|
|
1397
|
+
* @param {number} [threads]
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
*/
|
|
1401
|
+
async getDiagnosticsElasticsearchTaskAnalysis(orgName: string, clusterName: string, type?: ElasticsearchHotThreadsType, node?: string, taskLimit?: number, threads?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchTaskAnalysis>> {
|
|
1402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDiagnosticsElasticsearchTaskAnalysis(orgName, clusterName, type, node, taskLimit, threads, options);
|
|
1403
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1404
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.getDiagnosticsElasticsearchTaskAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
1405
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1406
|
+
},
|
|
1019
1407
|
/**
|
|
1020
1408
|
*
|
|
1021
1409
|
* @summary Get Kingbase session diagnostics
|
|
@@ -1186,6 +1574,39 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
1186
1574
|
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsDamengSessions']?.[localVarOperationServerIndex]?.url;
|
|
1187
1575
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1188
1576
|
},
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @summary List active Elasticsearch shard recoveries
|
|
1580
|
+
* @param {string} orgName
|
|
1581
|
+
* @param {string} clusterName
|
|
1582
|
+
* @param {string} [index] Index name or pattern
|
|
1583
|
+
* @param {string} [node] Exact target node ID or name
|
|
1584
|
+
* @param {*} [options] Override http request option.
|
|
1585
|
+
* @throws {RequiredError}
|
|
1586
|
+
*/
|
|
1587
|
+
async listDiagnosticsElasticsearchRecoveries(orgName: string, clusterName: string, index?: string, node?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchRecoveryList>> {
|
|
1588
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsElasticsearchRecoveries(orgName, clusterName, index, node, options);
|
|
1589
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1590
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsElasticsearchRecoveries']?.[localVarOperationServerIndex]?.url;
|
|
1591
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1592
|
+
},
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
* @summary List Elasticsearch shards
|
|
1596
|
+
* @param {string} orgName
|
|
1597
|
+
* @param {string} clusterName
|
|
1598
|
+
* @param {string} [index] Index name or pattern
|
|
1599
|
+
* @param {string} [node] Exact node ID or name
|
|
1600
|
+
* @param {ElasticsearchShardState} [state]
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
*/
|
|
1604
|
+
async listDiagnosticsElasticsearchShards(orgName: string, clusterName: string, index?: string, node?: string, state?: ElasticsearchShardState, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ElasticsearchShardList>> {
|
|
1605
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDiagnosticsElasticsearchShards(orgName, clusterName, index, node, state, options);
|
|
1606
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1607
|
+
const localVarOperationServerBasePath = operationServerMap['DiagnosticsApi.listDiagnosticsElasticsearchShards']?.[localVarOperationServerIndex]?.url;
|
|
1608
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1609
|
+
},
|
|
1189
1610
|
/**
|
|
1190
1611
|
*
|
|
1191
1612
|
* @summary List Kingbase session diagnostics
|
|
@@ -1226,6 +1647,16 @@ export const DiagnosticsApiFp = function(configuration?: Configuration) {
|
|
|
1226
1647
|
export const DiagnosticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1227
1648
|
const localVarFp = DiagnosticsApiFp(configuration)
|
|
1228
1649
|
return {
|
|
1650
|
+
/**
|
|
1651
|
+
*
|
|
1652
|
+
* @summary Explain Elasticsearch shard allocation
|
|
1653
|
+
* @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
|
|
1654
|
+
* @param {*} [options] Override http request option.
|
|
1655
|
+
* @throws {RequiredError}
|
|
1656
|
+
*/
|
|
1657
|
+
explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchAllocationExplanation> {
|
|
1658
|
+
return localVarFp.explainDiagnosticsElasticsearchAllocation(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.shard, requestParameters.primary, requestParameters.currentNode, options).then((request) => request(axios, basePath));
|
|
1659
|
+
},
|
|
1229
1660
|
/**
|
|
1230
1661
|
* Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
|
|
1231
1662
|
* @summary Get Dameng SQL analysis
|
|
@@ -1266,6 +1697,26 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
|
|
|
1266
1697
|
getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis> {
|
|
1267
1698
|
return localVarFp.getDiagnosticsDamengSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.tableLimit, requestParameters.indexLimit, requestParameters.schema, requestParameters.skipBasic, options).then((request) => request(axios, basePath));
|
|
1268
1699
|
},
|
|
1700
|
+
/**
|
|
1701
|
+
*
|
|
1702
|
+
* @summary Get Elasticsearch storage and index analysis
|
|
1703
|
+
* @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
|
|
1704
|
+
* @param {*} [options] Override http request option.
|
|
1705
|
+
* @throws {RequiredError}
|
|
1706
|
+
*/
|
|
1707
|
+
getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchStorageAnalysis> {
|
|
1708
|
+
return localVarFp.getDiagnosticsElasticsearchStorageAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.node, requestParameters.index, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
|
|
1709
|
+
},
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @summary Get Elasticsearch task and hot-thread analysis
|
|
1713
|
+
* @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
|
|
1714
|
+
* @param {*} [options] Override http request option.
|
|
1715
|
+
* @throws {RequiredError}
|
|
1716
|
+
*/
|
|
1717
|
+
getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis> {
|
|
1718
|
+
return localVarFp.getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(axios, basePath));
|
|
1719
|
+
},
|
|
1269
1720
|
/**
|
|
1270
1721
|
*
|
|
1271
1722
|
* @summary Get Kingbase session diagnostics
|
|
@@ -1376,6 +1827,26 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
|
|
|
1376
1827
|
listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>> {
|
|
1377
1828
|
return localVarFp.listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(axios, basePath));
|
|
1378
1829
|
},
|
|
1830
|
+
/**
|
|
1831
|
+
*
|
|
1832
|
+
* @summary List active Elasticsearch shard recoveries
|
|
1833
|
+
* @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
|
|
1834
|
+
* @param {*} [options] Override http request option.
|
|
1835
|
+
* @throws {RequiredError}
|
|
1836
|
+
*/
|
|
1837
|
+
listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchRecoveryList> {
|
|
1838
|
+
return localVarFp.listDiagnosticsElasticsearchRecoveries(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, options).then((request) => request(axios, basePath));
|
|
1839
|
+
},
|
|
1840
|
+
/**
|
|
1841
|
+
*
|
|
1842
|
+
* @summary List Elasticsearch shards
|
|
1843
|
+
* @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
|
|
1844
|
+
* @param {*} [options] Override http request option.
|
|
1845
|
+
* @throws {RequiredError}
|
|
1846
|
+
*/
|
|
1847
|
+
listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchShardList> {
|
|
1848
|
+
return localVarFp.listDiagnosticsElasticsearchShards(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, requestParameters.state, options).then((request) => request(axios, basePath));
|
|
1849
|
+
},
|
|
1379
1850
|
/**
|
|
1380
1851
|
*
|
|
1381
1852
|
* @summary List Kingbase session diagnostics
|
|
@@ -1405,6 +1876,16 @@ export const DiagnosticsApiFactory = function (configuration?: Configuration, ba
|
|
|
1405
1876
|
* @interface DiagnosticsApi
|
|
1406
1877
|
*/
|
|
1407
1878
|
export interface DiagnosticsApiInterface {
|
|
1879
|
+
/**
|
|
1880
|
+
*
|
|
1881
|
+
* @summary Explain Elasticsearch shard allocation
|
|
1882
|
+
* @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
* @memberof DiagnosticsApiInterface
|
|
1886
|
+
*/
|
|
1887
|
+
explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchAllocationExplanation>;
|
|
1888
|
+
|
|
1408
1889
|
/**
|
|
1409
1890
|
* Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
|
|
1410
1891
|
* @summary Get Dameng SQL analysis
|
|
@@ -1445,6 +1926,26 @@ export interface DiagnosticsApiInterface {
|
|
|
1445
1926
|
*/
|
|
1446
1927
|
getDiagnosticsDamengSpaceAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<DamengSpaceAnalysis>;
|
|
1447
1928
|
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @summary Get Elasticsearch storage and index analysis
|
|
1932
|
+
* @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
|
|
1933
|
+
* @param {*} [options] Override http request option.
|
|
1934
|
+
* @throws {RequiredError}
|
|
1935
|
+
* @memberof DiagnosticsApiInterface
|
|
1936
|
+
*/
|
|
1937
|
+
getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchStorageAnalysis>;
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
*
|
|
1941
|
+
* @summary Get Elasticsearch task and hot-thread analysis
|
|
1942
|
+
* @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
|
|
1943
|
+
* @param {*} [options] Override http request option.
|
|
1944
|
+
* @throws {RequiredError}
|
|
1945
|
+
* @memberof DiagnosticsApiInterface
|
|
1946
|
+
*/
|
|
1947
|
+
getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchTaskAnalysis>;
|
|
1948
|
+
|
|
1448
1949
|
/**
|
|
1449
1950
|
*
|
|
1450
1951
|
* @summary Get Kingbase session diagnostics
|
|
@@ -1555,6 +2056,26 @@ export interface DiagnosticsApiInterface {
|
|
|
1555
2056
|
*/
|
|
1556
2057
|
listDiagnosticsDamengSessions(requestParameters: DiagnosticsApiListDiagnosticsDamengSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DamengSessionListItem>>;
|
|
1557
2058
|
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @summary List active Elasticsearch shard recoveries
|
|
2062
|
+
* @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
|
|
2063
|
+
* @param {*} [options] Override http request option.
|
|
2064
|
+
* @throws {RequiredError}
|
|
2065
|
+
* @memberof DiagnosticsApiInterface
|
|
2066
|
+
*/
|
|
2067
|
+
listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchRecoveryList>;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
* @summary List Elasticsearch shards
|
|
2072
|
+
* @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
|
|
2073
|
+
* @param {*} [options] Override http request option.
|
|
2074
|
+
* @throws {RequiredError}
|
|
2075
|
+
* @memberof DiagnosticsApiInterface
|
|
2076
|
+
*/
|
|
2077
|
+
listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ElasticsearchShardList>;
|
|
2078
|
+
|
|
1558
2079
|
/**
|
|
1559
2080
|
*
|
|
1560
2081
|
* @summary List Kingbase session diagnostics
|
|
@@ -1577,6 +2098,55 @@ export interface DiagnosticsApiInterface {
|
|
|
1577
2098
|
|
|
1578
2099
|
}
|
|
1579
2100
|
|
|
2101
|
+
/**
|
|
2102
|
+
* Request parameters for explainDiagnosticsElasticsearchAllocation operation in DiagnosticsApi.
|
|
2103
|
+
* @export
|
|
2104
|
+
* @interface DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest
|
|
2105
|
+
*/
|
|
2106
|
+
export interface DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest {
|
|
2107
|
+
/**
|
|
2108
|
+
*
|
|
2109
|
+
* @type {string}
|
|
2110
|
+
* @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
|
|
2111
|
+
*/
|
|
2112
|
+
readonly orgName: string
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
*
|
|
2116
|
+
* @type {string}
|
|
2117
|
+
* @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
|
|
2118
|
+
*/
|
|
2119
|
+
readonly clusterName: string
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
*
|
|
2123
|
+
* @type {string}
|
|
2124
|
+
* @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
|
|
2125
|
+
*/
|
|
2126
|
+
readonly index: string
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
*
|
|
2130
|
+
* @type {number}
|
|
2131
|
+
* @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
|
|
2132
|
+
*/
|
|
2133
|
+
readonly shard: number
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
*
|
|
2137
|
+
* @type {boolean}
|
|
2138
|
+
* @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
|
|
2139
|
+
*/
|
|
2140
|
+
readonly primary: boolean
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
*
|
|
2144
|
+
* @type {string}
|
|
2145
|
+
* @memberof DiagnosticsApiExplainDiagnosticsElasticsearchAllocation
|
|
2146
|
+
*/
|
|
2147
|
+
readonly currentNode?: string
|
|
2148
|
+
}
|
|
2149
|
+
|
|
1580
2150
|
/**
|
|
1581
2151
|
* Request parameters for getDiagnosticsDamengSQLAnalysis operation in DiagnosticsApi.
|
|
1582
2152
|
* @export
|
|
@@ -1710,6 +2280,104 @@ export interface DiagnosticsApiGetDiagnosticsDamengSpaceAnalysisRequest {
|
|
|
1710
2280
|
readonly skipBasic?: boolean
|
|
1711
2281
|
}
|
|
1712
2282
|
|
|
2283
|
+
/**
|
|
2284
|
+
* Request parameters for getDiagnosticsElasticsearchStorageAnalysis operation in DiagnosticsApi.
|
|
2285
|
+
* @export
|
|
2286
|
+
* @interface DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest
|
|
2287
|
+
*/
|
|
2288
|
+
export interface DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest {
|
|
2289
|
+
/**
|
|
2290
|
+
*
|
|
2291
|
+
* @type {string}
|
|
2292
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
|
|
2293
|
+
*/
|
|
2294
|
+
readonly orgName: string
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @type {string}
|
|
2299
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
|
|
2300
|
+
*/
|
|
2301
|
+
readonly clusterName: string
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
*
|
|
2305
|
+
* @type {string}
|
|
2306
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
|
|
2307
|
+
*/
|
|
2308
|
+
readonly node?: string
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @type {string}
|
|
2313
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
|
|
2314
|
+
*/
|
|
2315
|
+
readonly index?: string
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
*
|
|
2319
|
+
* @type {ElasticsearchIndexSortBy}
|
|
2320
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
|
|
2321
|
+
*/
|
|
2322
|
+
readonly sortBy?: ElasticsearchIndexSortBy
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
*
|
|
2326
|
+
* @type {ElasticsearchSortOrder}
|
|
2327
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysis
|
|
2328
|
+
*/
|
|
2329
|
+
readonly sortOrder?: ElasticsearchSortOrder
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* Request parameters for getDiagnosticsElasticsearchTaskAnalysis operation in DiagnosticsApi.
|
|
2334
|
+
* @export
|
|
2335
|
+
* @interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest
|
|
2336
|
+
*/
|
|
2337
|
+
export interface DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest {
|
|
2338
|
+
/**
|
|
2339
|
+
*
|
|
2340
|
+
* @type {string}
|
|
2341
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
|
|
2342
|
+
*/
|
|
2343
|
+
readonly orgName: string
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
*
|
|
2347
|
+
* @type {string}
|
|
2348
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
|
|
2349
|
+
*/
|
|
2350
|
+
readonly clusterName: string
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
*
|
|
2354
|
+
* @type {ElasticsearchHotThreadsType}
|
|
2355
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
|
|
2356
|
+
*/
|
|
2357
|
+
readonly type?: ElasticsearchHotThreadsType
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
*
|
|
2361
|
+
* @type {string}
|
|
2362
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
|
|
2363
|
+
*/
|
|
2364
|
+
readonly node?: string
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
*
|
|
2368
|
+
* @type {number}
|
|
2369
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
|
|
2370
|
+
*/
|
|
2371
|
+
readonly taskLimit?: number
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {number}
|
|
2376
|
+
* @memberof DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysis
|
|
2377
|
+
*/
|
|
2378
|
+
readonly threads?: number
|
|
2379
|
+
}
|
|
2380
|
+
|
|
1713
2381
|
/**
|
|
1714
2382
|
* Request parameters for getDiagnosticsKingbaseSession operation in DiagnosticsApi.
|
|
1715
2383
|
* @export
|
|
@@ -2053,6 +2721,83 @@ export interface DiagnosticsApiListDiagnosticsDamengSessionsRequest {
|
|
|
2053
2721
|
readonly state?: string
|
|
2054
2722
|
}
|
|
2055
2723
|
|
|
2724
|
+
/**
|
|
2725
|
+
* Request parameters for listDiagnosticsElasticsearchRecoveries operation in DiagnosticsApi.
|
|
2726
|
+
* @export
|
|
2727
|
+
* @interface DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest
|
|
2728
|
+
*/
|
|
2729
|
+
export interface DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest {
|
|
2730
|
+
/**
|
|
2731
|
+
*
|
|
2732
|
+
* @type {string}
|
|
2733
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
|
|
2734
|
+
*/
|
|
2735
|
+
readonly orgName: string
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
*
|
|
2739
|
+
* @type {string}
|
|
2740
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
|
|
2741
|
+
*/
|
|
2742
|
+
readonly clusterName: string
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* Index name or pattern
|
|
2746
|
+
* @type {string}
|
|
2747
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
|
|
2748
|
+
*/
|
|
2749
|
+
readonly index?: string
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Exact target node ID or name
|
|
2753
|
+
* @type {string}
|
|
2754
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchRecoveries
|
|
2755
|
+
*/
|
|
2756
|
+
readonly node?: string
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* Request parameters for listDiagnosticsElasticsearchShards operation in DiagnosticsApi.
|
|
2761
|
+
* @export
|
|
2762
|
+
* @interface DiagnosticsApiListDiagnosticsElasticsearchShardsRequest
|
|
2763
|
+
*/
|
|
2764
|
+
export interface DiagnosticsApiListDiagnosticsElasticsearchShardsRequest {
|
|
2765
|
+
/**
|
|
2766
|
+
*
|
|
2767
|
+
* @type {string}
|
|
2768
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
|
|
2769
|
+
*/
|
|
2770
|
+
readonly orgName: string
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
*
|
|
2774
|
+
* @type {string}
|
|
2775
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
|
|
2776
|
+
*/
|
|
2777
|
+
readonly clusterName: string
|
|
2778
|
+
|
|
2779
|
+
/**
|
|
2780
|
+
* Index name or pattern
|
|
2781
|
+
* @type {string}
|
|
2782
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
|
|
2783
|
+
*/
|
|
2784
|
+
readonly index?: string
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* Exact node ID or name
|
|
2788
|
+
* @type {string}
|
|
2789
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
|
|
2790
|
+
*/
|
|
2791
|
+
readonly node?: string
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
*
|
|
2795
|
+
* @type {ElasticsearchShardState}
|
|
2796
|
+
* @memberof DiagnosticsApiListDiagnosticsElasticsearchShards
|
|
2797
|
+
*/
|
|
2798
|
+
readonly state?: ElasticsearchShardState
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2056
2801
|
/**
|
|
2057
2802
|
* Request parameters for listDiagnosticsKingbaseSessions operation in DiagnosticsApi.
|
|
2058
2803
|
* @export
|
|
@@ -2116,6 +2861,18 @@ export interface DiagnosticsApiListDiagnosticsPostgresqlSessionsRequest {
|
|
|
2116
2861
|
* @extends {BaseAPI}
|
|
2117
2862
|
*/
|
|
2118
2863
|
export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
|
|
2864
|
+
/**
|
|
2865
|
+
*
|
|
2866
|
+
* @summary Explain Elasticsearch shard allocation
|
|
2867
|
+
* @param {DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest} requestParameters Request parameters.
|
|
2868
|
+
* @param {*} [options] Override http request option.
|
|
2869
|
+
* @throws {RequiredError}
|
|
2870
|
+
* @memberof DiagnosticsApi
|
|
2871
|
+
*/
|
|
2872
|
+
public explainDiagnosticsElasticsearchAllocation(requestParameters: DiagnosticsApiExplainDiagnosticsElasticsearchAllocationRequest, options?: RawAxiosRequestConfig) {
|
|
2873
|
+
return DiagnosticsApiFp(this.configuration).explainDiagnosticsElasticsearchAllocation(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.shard, requestParameters.primary, requestParameters.currentNode, options).then((request) => request(this.axios, this.basePath));
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2119
2876
|
/**
|
|
2120
2877
|
* Get a read-only Dameng SQL analysis snapshot from V$SYSTEM_LONG_EXEC_SQLS (long-running SQL) and V$SYSTEM_LARGE_MEM_SQLS (high-memory SQL). The response does not expose execution plans or remediation actions.
|
|
2121
2878
|
* @summary Get Dameng SQL analysis
|
|
@@ -2164,6 +2921,30 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
|
|
|
2164
2921
|
return DiagnosticsApiFp(this.configuration).getDiagnosticsDamengSpaceAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.tableLimit, requestParameters.indexLimit, requestParameters.schema, requestParameters.skipBasic, options).then((request) => request(this.axios, this.basePath));
|
|
2165
2922
|
}
|
|
2166
2923
|
|
|
2924
|
+
/**
|
|
2925
|
+
*
|
|
2926
|
+
* @summary Get Elasticsearch storage and index analysis
|
|
2927
|
+
* @param {DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest} requestParameters Request parameters.
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
* @memberof DiagnosticsApi
|
|
2931
|
+
*/
|
|
2932
|
+
public getDiagnosticsElasticsearchStorageAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchStorageAnalysisRequest, options?: RawAxiosRequestConfig) {
|
|
2933
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsElasticsearchStorageAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.node, requestParameters.index, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
/**
|
|
2937
|
+
*
|
|
2938
|
+
* @summary Get Elasticsearch task and hot-thread analysis
|
|
2939
|
+
* @param {DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest} requestParameters Request parameters.
|
|
2940
|
+
* @param {*} [options] Override http request option.
|
|
2941
|
+
* @throws {RequiredError}
|
|
2942
|
+
* @memberof DiagnosticsApi
|
|
2943
|
+
*/
|
|
2944
|
+
public getDiagnosticsElasticsearchTaskAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsElasticsearchTaskAnalysisRequest, options?: RawAxiosRequestConfig) {
|
|
2945
|
+
return DiagnosticsApiFp(this.configuration).getDiagnosticsElasticsearchTaskAnalysis(requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.node, requestParameters.taskLimit, requestParameters.threads, options).then((request) => request(this.axios, this.basePath));
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2167
2948
|
/**
|
|
2168
2949
|
*
|
|
2169
2950
|
* @summary Get Kingbase session diagnostics
|
|
@@ -2296,6 +3077,30 @@ export class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
|
|
|
2296
3077
|
return DiagnosticsApiFp(this.configuration).listDiagnosticsDamengSessions(requestParameters.orgName, requestParameters.clusterName, requestParameters.limit, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
|
|
2297
3078
|
}
|
|
2298
3079
|
|
|
3080
|
+
/**
|
|
3081
|
+
*
|
|
3082
|
+
* @summary List active Elasticsearch shard recoveries
|
|
3083
|
+
* @param {DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest} requestParameters Request parameters.
|
|
3084
|
+
* @param {*} [options] Override http request option.
|
|
3085
|
+
* @throws {RequiredError}
|
|
3086
|
+
* @memberof DiagnosticsApi
|
|
3087
|
+
*/
|
|
3088
|
+
public listDiagnosticsElasticsearchRecoveries(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchRecoveriesRequest, options?: RawAxiosRequestConfig) {
|
|
3089
|
+
return DiagnosticsApiFp(this.configuration).listDiagnosticsElasticsearchRecoveries(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, options).then((request) => request(this.axios, this.basePath));
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
*
|
|
3094
|
+
* @summary List Elasticsearch shards
|
|
3095
|
+
* @param {DiagnosticsApiListDiagnosticsElasticsearchShardsRequest} requestParameters Request parameters.
|
|
3096
|
+
* @param {*} [options] Override http request option.
|
|
3097
|
+
* @throws {RequiredError}
|
|
3098
|
+
* @memberof DiagnosticsApi
|
|
3099
|
+
*/
|
|
3100
|
+
public listDiagnosticsElasticsearchShards(requestParameters: DiagnosticsApiListDiagnosticsElasticsearchShardsRequest, options?: RawAxiosRequestConfig) {
|
|
3101
|
+
return DiagnosticsApiFp(this.configuration).listDiagnosticsElasticsearchShards(requestParameters.orgName, requestParameters.clusterName, requestParameters.index, requestParameters.node, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
|
|
3102
|
+
}
|
|
3103
|
+
|
|
2299
3104
|
/**
|
|
2300
3105
|
*
|
|
2301
3106
|
* @summary List Kingbase session diagnostics
|