kb-cloud-client-typescript 2.4.0-alpha.25 → 2.4.0-alpha.27
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 +0 -1
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +0 -1
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/alert-object-api.d.ts +10 -2
- package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-object-api.js +10 -5
- package/dist/adminapi/apis/alert-object-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -69
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -78
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/disaster-recovery-task.d.ts +0 -6
- package/dist/adminapi/models/disaster-recovery-task.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/ops-request-name.d.ts +0 -6
- package/dist/adminapi/models/ops-request-name.d.ts.map +1 -1
- package/dist/adminapi/models/redis-info-response.d.ts +6 -0
- package/dist/adminapi/models/redis-info-response.d.ts.map +1 -1
- package/dist/adminapi/models/redis-key-scan-progress.d.ts +49 -0
- package/dist/adminapi/models/redis-key-scan-progress.d.ts.map +1 -0
- package/dist/adminapi/models/{autohealing-list-inner.js → redis-key-scan-progress.js} +1 -1
- package/dist/adminapi/models/redis-key-scan-progress.js.map +1 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts +7 -0
- package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -1
- package/dist/openapi/api.d.ts +0 -1
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +0 -1
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -69
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -78
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/data-check-detail-item.d.ts +2 -2
- package/dist/openapi/models/disaster-recovery-task.d.ts +0 -6
- package/dist/openapi/models/disaster-recovery-task.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -1
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -1
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/ops-request-name.d.ts +0 -6
- package/dist/openapi/models/ops-request-name.d.ts.map +1 -1
- package/dist/openapi/models/redis-info-response.d.ts +6 -0
- package/dist/openapi/models/redis-info-response.d.ts.map +1 -1
- package/dist/openapi/models/redis-key-scan-progress.d.ts +49 -0
- package/dist/openapi/models/redis-key-scan-progress.d.ts.map +1 -0
- package/dist/openapi/models/{autohealing-list-inner.js → redis-key-scan-progress.js} +1 -1
- package/dist/openapi/models/redis-key-scan-progress.js.map +1 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts +7 -0
- package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -2
- package/src/adminapi/api.ts +0 -1
- package/src/adminapi/apis/alert-object-api.ts +18 -5
- package/src/adminapi/apis/shared-api.ts +0 -119
- package/src/adminapi/models/disaster-recovery-task.ts +0 -6
- package/src/adminapi/models/index.ts +1 -1
- package/src/adminapi/models/ops-request-name.ts +0 -6
- package/src/adminapi/models/redis-info-response.ts +6 -0
- package/src/adminapi/models/redis-key-scan-progress.ts +54 -0
- package/src/adminapi/models/redis-key-summary-list.ts +9 -0
- package/src/adminapi.yaml +39 -75
- package/src/openapi/.openapi-generator/FILES +1 -2
- package/src/openapi/api.ts +0 -1
- package/src/openapi/apis/shared-api.ts +0 -119
- package/src/openapi/models/data-check-detail-item.ts +2 -2
- package/src/openapi/models/disaster-recovery-task.ts +0 -6
- package/src/openapi/models/index.ts +1 -1
- package/src/openapi/models/ops-request-name.ts +0 -6
- package/src/openapi/models/redis-info-response.ts +6 -0
- package/src/openapi/models/redis-key-scan-progress.ts +54 -0
- package/src/openapi/models/redis-key-summary-list.ts +9 -0
- package/src/openapi.yaml +35 -77
- package/dist/adminapi/apis/autohealing-api.d.ts +0 -117
- package/dist/adminapi/apis/autohealing-api.d.ts.map +0 -1
- package/dist/adminapi/apis/autohealing-api.js +0 -142
- package/dist/adminapi/apis/autohealing-api.js.map +0 -1
- package/dist/adminapi/models/autohealing-list-inner.d.ts +0 -97
- package/dist/adminapi/models/autohealing-list-inner.d.ts.map +0 -1
- package/dist/adminapi/models/autohealing-list-inner.js.map +0 -1
- package/dist/openapi/apis/autohealing-api.d.ts +0 -117
- package/dist/openapi/apis/autohealing-api.d.ts.map +0 -1
- package/dist/openapi/apis/autohealing-api.js +0 -142
- package/dist/openapi/apis/autohealing-api.js.map +0 -1
- package/dist/openapi/models/autohealing-list-inner.d.ts +0 -97
- package/dist/openapi/models/autohealing-list-inner.d.ts.map +0 -1
- package/dist/openapi/models/autohealing-list-inner.js.map +0 -1
- package/src/adminapi/apis/autohealing-api.ts +0 -187
- package/src/adminapi/models/autohealing-list-inner.ts +0 -102
- package/src/openapi/apis/autohealing-api.ts +0 -187
- package/src/openapi/models/autohealing-list-inner.ts +0 -102
|
@@ -85,7 +85,6 @@ export * from './auto-inspection';
|
|
|
85
85
|
export * from './auto-inspection-resource-type';
|
|
86
86
|
export * from './auto-inspection-run-unit';
|
|
87
87
|
export * from './autohealing-config';
|
|
88
|
-
export * from './autohealing-list-inner';
|
|
89
88
|
export * from './available-cluster-list-inner';
|
|
90
89
|
export * from './backup';
|
|
91
90
|
export * from './backup-create';
|
|
@@ -824,6 +823,7 @@ export * from './redis-key-detail';
|
|
|
824
823
|
export * from './redis-key-detail-request';
|
|
825
824
|
export * from './redis-key-mutate-request';
|
|
826
825
|
export * from './redis-key-mutate-response';
|
|
826
|
+
export * from './redis-key-scan-progress';
|
|
827
827
|
export * from './redis-key-summary';
|
|
828
828
|
export * from './redis-key-summary-list';
|
|
829
829
|
export * from './redis-key-value';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Redis key browser scan progress for the current page.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RedisKeyScanProgress
|
|
21
|
+
*/
|
|
22
|
+
export interface RedisKeyScanProgress {
|
|
23
|
+
/**
|
|
24
|
+
* Scan scope, either node or cluster.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RedisKeyScanProgress
|
|
27
|
+
*/
|
|
28
|
+
'scope'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Total keys in the scan scope when available.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof RedisKeyScanProgress
|
|
33
|
+
*/
|
|
34
|
+
'total'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Number of key names returned by SCAN in this page before type filtering.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof RedisKeyScanProgress
|
|
39
|
+
*/
|
|
40
|
+
'scanned'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of key summaries loaded in this page after filtering and metadata lookup.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof RedisKeyScanProgress
|
|
45
|
+
*/
|
|
46
|
+
'loaded'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the scan cursor is complete after this page.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof RedisKeyScanProgress
|
|
51
|
+
*/
|
|
52
|
+
'complete'?: boolean;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { RedisKeyScanProgress } from './redis-key-scan-progress';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { RedisKeySummary } from './redis-key-summary';
|
|
@@ -41,5 +44,11 @@ export interface RedisKeySummaryList {
|
|
|
41
44
|
* @memberof RedisKeySummaryList
|
|
42
45
|
*/
|
|
43
46
|
'hasMore'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {RedisKeyScanProgress}
|
|
50
|
+
* @memberof RedisKeySummaryList
|
|
51
|
+
*/
|
|
52
|
+
'progress'?: RedisKeyScanProgress;
|
|
44
53
|
}
|
|
45
54
|
|
package/src/adminapi.yaml
CHANGED
|
@@ -3236,34 +3236,6 @@ paths:
|
|
|
3236
3236
|
'404':
|
|
3237
3237
|
$ref: '#/components/responses/404'
|
|
3238
3238
|
x-codegen-request-body-name: body
|
|
3239
|
-
/admin/v1/organizations/{orgName}/clusters/{clusterName}/autohealing:
|
|
3240
|
-
get:
|
|
3241
|
-
operationId: getAutohealing
|
|
3242
|
-
summary: list autohealing job
|
|
3243
|
-
deprecated: true
|
|
3244
|
-
parameters:
|
|
3245
|
-
- description: name of the Org
|
|
3246
|
-
in: path
|
|
3247
|
-
name: orgName
|
|
3248
|
-
required: true
|
|
3249
|
-
schema:
|
|
3250
|
-
type: string
|
|
3251
|
-
- description: name of the Cluster
|
|
3252
|
-
in: path
|
|
3253
|
-
name: clusterName
|
|
3254
|
-
required: true
|
|
3255
|
-
schema:
|
|
3256
|
-
type: string
|
|
3257
|
-
responses:
|
|
3258
|
-
'200':
|
|
3259
|
-
description: Get autohealing job list
|
|
3260
|
-
content:
|
|
3261
|
-
application/json:
|
|
3262
|
-
schema:
|
|
3263
|
-
$ref: '#/components/schemas/autohealingList'
|
|
3264
|
-
tags:
|
|
3265
|
-
- autohealing
|
|
3266
|
-
- shared
|
|
3267
3239
|
/admin/v1/organizations/{orgName}/clusters/{clusterName}/metrics:
|
|
3268
3240
|
get:
|
|
3269
3241
|
description: Query cluster metrics by specified metric name and instance name, support instant and range query
|
|
@@ -13744,6 +13716,12 @@ paths:
|
|
|
13744
13716
|
operationId: listAlertObjects
|
|
13745
13717
|
summary: List alert objects
|
|
13746
13718
|
parameters:
|
|
13719
|
+
- name: orgName
|
|
13720
|
+
in: query
|
|
13721
|
+
description: name of the Org
|
|
13722
|
+
required: false
|
|
13723
|
+
schema:
|
|
13724
|
+
type: string
|
|
13747
13725
|
- name: page
|
|
13748
13726
|
in: query
|
|
13749
13727
|
description: page number
|
|
@@ -27793,47 +27771,6 @@ components:
|
|
|
27793
27771
|
- clusterId
|
|
27794
27772
|
- items
|
|
27795
27773
|
type: object
|
|
27796
|
-
autohealingList:
|
|
27797
|
-
description: An Autohealing object in k8s
|
|
27798
|
-
type: array
|
|
27799
|
-
items:
|
|
27800
|
-
type: object
|
|
27801
|
-
properties:
|
|
27802
|
-
name:
|
|
27803
|
-
type: string
|
|
27804
|
-
createdAt:
|
|
27805
|
-
type: string
|
|
27806
|
-
format: date-time
|
|
27807
|
-
updatedAt:
|
|
27808
|
-
type: string
|
|
27809
|
-
format: date-time
|
|
27810
|
-
componentName:
|
|
27811
|
-
description: component to be rebuilt
|
|
27812
|
-
type: string
|
|
27813
|
-
podName:
|
|
27814
|
-
description: pod to be rebuilt
|
|
27815
|
-
type: string
|
|
27816
|
-
startTime:
|
|
27817
|
-
description: rebuild start time
|
|
27818
|
-
type: string
|
|
27819
|
-
format: date-time
|
|
27820
|
-
phase:
|
|
27821
|
-
description: current phase of rebuild job
|
|
27822
|
-
type: string
|
|
27823
|
-
started:
|
|
27824
|
-
description: whether the job is started
|
|
27825
|
-
type: boolean
|
|
27826
|
-
startMessage:
|
|
27827
|
-
type: string
|
|
27828
|
-
finished:
|
|
27829
|
-
description: whether the job is finished
|
|
27830
|
-
type: boolean
|
|
27831
|
-
finishMessage:
|
|
27832
|
-
type: string
|
|
27833
|
-
backupName:
|
|
27834
|
-
type: string
|
|
27835
|
-
rebuildInstanceOpsRequestName:
|
|
27836
|
-
type: string
|
|
27837
27774
|
metricsQueryType:
|
|
27838
27775
|
type: string
|
|
27839
27776
|
enum:
|
|
@@ -28278,8 +28215,6 @@ components:
|
|
|
28278
28215
|
properties:
|
|
28279
28216
|
opsRequestName:
|
|
28280
28217
|
type: string
|
|
28281
|
-
clusterTaskId:
|
|
28282
|
-
type: string
|
|
28283
28218
|
taskId:
|
|
28284
28219
|
type: string
|
|
28285
28220
|
required:
|
|
@@ -28296,10 +28231,6 @@ components:
|
|
|
28296
28231
|
description: Task ID
|
|
28297
28232
|
type: string
|
|
28298
28233
|
nullable: true
|
|
28299
|
-
clusterTaskId:
|
|
28300
|
-
description: Cluster task ID
|
|
28301
|
-
type: string
|
|
28302
|
-
nullable: true
|
|
28303
28234
|
required:
|
|
28304
28235
|
- taskId
|
|
28305
28236
|
type: object
|
|
@@ -30265,6 +30196,33 @@ components:
|
|
|
30265
30196
|
aclAccess:
|
|
30266
30197
|
type: string
|
|
30267
30198
|
description: datasource ACL access result for this key
|
|
30199
|
+
RedisKeyScanProgress:
|
|
30200
|
+
type: object
|
|
30201
|
+
description: Redis key browser scan progress for the current page.
|
|
30202
|
+
properties:
|
|
30203
|
+
scope:
|
|
30204
|
+
type: string
|
|
30205
|
+
description: Scan scope, either node or cluster.
|
|
30206
|
+
x-omitempty: false
|
|
30207
|
+
total:
|
|
30208
|
+
type: integer
|
|
30209
|
+
format: int64
|
|
30210
|
+
description: Total keys in the scan scope when available.
|
|
30211
|
+
x-omitempty: false
|
|
30212
|
+
scanned:
|
|
30213
|
+
type: integer
|
|
30214
|
+
format: int64
|
|
30215
|
+
description: Number of key names returned by SCAN in this page before type filtering.
|
|
30216
|
+
x-omitempty: false
|
|
30217
|
+
loaded:
|
|
30218
|
+
type: integer
|
|
30219
|
+
format: int64
|
|
30220
|
+
description: Number of key summaries loaded in this page after filtering and metadata lookup.
|
|
30221
|
+
x-omitempty: false
|
|
30222
|
+
complete:
|
|
30223
|
+
type: boolean
|
|
30224
|
+
description: Whether the scan cursor is complete after this page.
|
|
30225
|
+
x-omitempty: false
|
|
30268
30226
|
RedisKeySummaryList:
|
|
30269
30227
|
type: object
|
|
30270
30228
|
properties:
|
|
@@ -30279,6 +30237,8 @@ components:
|
|
|
30279
30237
|
type: boolean
|
|
30280
30238
|
description: Whether another key page should be requested.
|
|
30281
30239
|
x-omitempty: false
|
|
30240
|
+
progress:
|
|
30241
|
+
$ref: '#/components/schemas/RedisKeyScanProgress'
|
|
30282
30242
|
RedisAnalysisFilter:
|
|
30283
30243
|
type: object
|
|
30284
30244
|
properties:
|
|
@@ -30783,6 +30743,10 @@ components:
|
|
|
30783
30743
|
RedisInfoResponse:
|
|
30784
30744
|
type: object
|
|
30785
30745
|
properties:
|
|
30746
|
+
scope:
|
|
30747
|
+
type: string
|
|
30748
|
+
description: INFO scope, either node or cluster.
|
|
30749
|
+
x-omitempty: false
|
|
30786
30750
|
section:
|
|
30787
30751
|
type: string
|
|
30788
30752
|
nodeId:
|
|
@@ -11,7 +11,6 @@ apis/alert-object-api.ts
|
|
|
11
11
|
apis/alert-receiver-api.ts
|
|
12
12
|
apis/alert-rule-api.ts
|
|
13
13
|
apis/alert-strategy-api.ts
|
|
14
|
-
apis/autohealing-api.ts
|
|
15
14
|
apis/backup-api.ts
|
|
16
15
|
apis/backup-method-api.ts
|
|
17
16
|
apis/backup-repo-api.ts
|
|
@@ -159,7 +158,6 @@ models/auth-type.ts
|
|
|
159
158
|
models/auto-inspection-resource-type.ts
|
|
160
159
|
models/auto-inspection-run-unit.ts
|
|
161
160
|
models/auto-inspection.ts
|
|
162
|
-
models/autohealing-list-inner.ts
|
|
163
161
|
models/available-cluster-list-inner.ts
|
|
164
162
|
models/backup-create.ts
|
|
165
163
|
models/backup-download.ts
|
|
@@ -833,6 +831,7 @@ models/redis-key-detail-request.ts
|
|
|
833
831
|
models/redis-key-detail.ts
|
|
834
832
|
models/redis-key-mutate-request.ts
|
|
835
833
|
models/redis-key-mutate-response.ts
|
|
834
|
+
models/redis-key-scan-progress.ts
|
|
836
835
|
models/redis-key-summary-list.ts
|
|
837
836
|
models/redis-key-summary.ts
|
|
838
837
|
models/redis-key-value-item.ts
|
package/src/openapi/api.ts
CHANGED
|
@@ -23,7 +23,6 @@ export * from './apis/alert-object-api';
|
|
|
23
23
|
export * from './apis/alert-receiver-api';
|
|
24
24
|
export * from './apis/alert-rule-api';
|
|
25
25
|
export * from './apis/alert-strategy-api';
|
|
26
|
-
export * from './apis/autohealing-api';
|
|
27
26
|
export * from './apis/backup-api';
|
|
28
27
|
export * from './apis/backup-method-api';
|
|
29
28
|
export * from './apis/backup-repo-api';
|
|
@@ -50,8 +50,6 @@ import type { ApikeyList } from '../models';
|
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { ApikeyWithSK } from '../models';
|
|
52
52
|
// @ts-ignore
|
|
53
|
-
import type { AutohealingListInner } from '../models';
|
|
54
|
-
// @ts-ignore
|
|
55
53
|
import type { AvailableClusterListInner } from '../models';
|
|
56
54
|
// @ts-ignore
|
|
57
55
|
import type { Backup } from '../models';
|
|
@@ -5275,52 +5273,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5275
5273
|
|
|
5276
5274
|
|
|
5277
5275
|
|
|
5278
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5279
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5280
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5281
|
-
|
|
5282
|
-
return {
|
|
5283
|
-
url: toPathString(localVarUrlObj),
|
|
5284
|
-
options: localVarRequestOptions,
|
|
5285
|
-
};
|
|
5286
|
-
},
|
|
5287
|
-
/**
|
|
5288
|
-
*
|
|
5289
|
-
* @summary list autohealing job
|
|
5290
|
-
* @param {string} orgName name of the Org
|
|
5291
|
-
* @param {string} clusterName name of the Cluster
|
|
5292
|
-
* @param {*} [options] Override http request option.
|
|
5293
|
-
* @deprecated
|
|
5294
|
-
* @throws {RequiredError}
|
|
5295
|
-
*/
|
|
5296
|
-
getAutohealing: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5297
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
5298
|
-
assertParamExists('getAutohealing', 'orgName', orgName)
|
|
5299
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
5300
|
-
assertParamExists('getAutohealing', 'clusterName', clusterName)
|
|
5301
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
|
|
5302
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5303
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5304
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5305
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5306
|
-
let baseOptions;
|
|
5307
|
-
if (configuration) {
|
|
5308
|
-
baseOptions = configuration.baseOptions;
|
|
5309
|
-
}
|
|
5310
|
-
|
|
5311
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5312
|
-
const localVarHeaderParameter = {} as any;
|
|
5313
|
-
const localVarQueryParameter = {} as any;
|
|
5314
|
-
|
|
5315
|
-
// authentication BearerToken required
|
|
5316
|
-
// http bearer authentication required
|
|
5317
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5318
|
-
|
|
5319
|
-
// authentication DigestAuth required
|
|
5320
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
5276
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5325
5277
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5326
5278
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18255,21 +18207,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18255
18207
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getAlertRule']?.[localVarOperationServerIndex]?.url;
|
|
18256
18208
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18257
18209
|
},
|
|
18258
|
-
/**
|
|
18259
|
-
*
|
|
18260
|
-
* @summary list autohealing job
|
|
18261
|
-
* @param {string} orgName name of the Org
|
|
18262
|
-
* @param {string} clusterName name of the Cluster
|
|
18263
|
-
* @param {*} [options] Override http request option.
|
|
18264
|
-
* @deprecated
|
|
18265
|
-
* @throws {RequiredError}
|
|
18266
|
-
*/
|
|
18267
|
-
async getAutohealing(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutohealingListInner>>> {
|
|
18268
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
|
|
18269
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18270
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.getAutohealing']?.[localVarOperationServerIndex]?.url;
|
|
18271
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18272
|
-
},
|
|
18273
18210
|
/**
|
|
18274
18211
|
*
|
|
18275
18212
|
* @summary Get backup
|
|
@@ -22487,17 +22424,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22487
22424
|
getAlertRule(requestParameters: SharedApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule> {
|
|
22488
22425
|
return localVarFp.getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(axios, basePath));
|
|
22489
22426
|
},
|
|
22490
|
-
/**
|
|
22491
|
-
*
|
|
22492
|
-
* @summary list autohealing job
|
|
22493
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
22494
|
-
* @param {*} [options] Override http request option.
|
|
22495
|
-
* @deprecated
|
|
22496
|
-
* @throws {RequiredError}
|
|
22497
|
-
*/
|
|
22498
|
-
getAutohealing(requestParameters: SharedApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>> {
|
|
22499
|
-
return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22500
|
-
},
|
|
22501
22427
|
/**
|
|
22502
22428
|
*
|
|
22503
22429
|
* @summary Get backup
|
|
@@ -25462,17 +25388,6 @@ export interface SharedApiInterface {
|
|
|
25462
25388
|
*/
|
|
25463
25389
|
getAlertRule(requestParameters: SharedApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
|
|
25464
25390
|
|
|
25465
|
-
/**
|
|
25466
|
-
*
|
|
25467
|
-
* @summary list autohealing job
|
|
25468
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
25469
|
-
* @param {*} [options] Override http request option.
|
|
25470
|
-
* @deprecated
|
|
25471
|
-
* @throws {RequiredError}
|
|
25472
|
-
* @memberof SharedApiInterface
|
|
25473
|
-
*/
|
|
25474
|
-
getAutohealing(requestParameters: SharedApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>>;
|
|
25475
|
-
|
|
25476
25391
|
/**
|
|
25477
25392
|
*
|
|
25478
25393
|
* @summary Get backup
|
|
@@ -30550,27 +30465,6 @@ export interface SharedApiGetAlertRuleRequest {
|
|
|
30550
30465
|
readonly alertName: string
|
|
30551
30466
|
}
|
|
30552
30467
|
|
|
30553
|
-
/**
|
|
30554
|
-
* Request parameters for getAutohealing operation in SharedApi.
|
|
30555
|
-
* @export
|
|
30556
|
-
* @interface SharedApiGetAutohealingRequest
|
|
30557
|
-
*/
|
|
30558
|
-
export interface SharedApiGetAutohealingRequest {
|
|
30559
|
-
/**
|
|
30560
|
-
* name of the Org
|
|
30561
|
-
* @type {string}
|
|
30562
|
-
* @memberof SharedApiGetAutohealing
|
|
30563
|
-
*/
|
|
30564
|
-
readonly orgName: string
|
|
30565
|
-
|
|
30566
|
-
/**
|
|
30567
|
-
* name of the Cluster
|
|
30568
|
-
* @type {string}
|
|
30569
|
-
* @memberof SharedApiGetAutohealing
|
|
30570
|
-
*/
|
|
30571
|
-
readonly clusterName: string
|
|
30572
|
-
}
|
|
30573
|
-
|
|
30574
30468
|
/**
|
|
30575
30469
|
* Request parameters for getBackup operation in SharedApi.
|
|
30576
30470
|
* @export
|
|
@@ -38905,19 +38799,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38905
38799
|
return SharedApiFp(this.configuration).getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(this.axios, this.basePath));
|
|
38906
38800
|
}
|
|
38907
38801
|
|
|
38908
|
-
/**
|
|
38909
|
-
*
|
|
38910
|
-
* @summary list autohealing job
|
|
38911
|
-
* @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
|
|
38912
|
-
* @param {*} [options] Override http request option.
|
|
38913
|
-
* @deprecated
|
|
38914
|
-
* @throws {RequiredError}
|
|
38915
|
-
* @memberof SharedApi
|
|
38916
|
-
*/
|
|
38917
|
-
public getAutohealing(requestParameters: SharedApiGetAutohealingRequest, options?: RawAxiosRequestConfig) {
|
|
38918
|
-
return SharedApiFp(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
38919
|
-
}
|
|
38920
|
-
|
|
38921
38802
|
/**
|
|
38922
38803
|
*
|
|
38923
38804
|
* @summary Get backup
|
|
@@ -30,13 +30,13 @@ export interface DataCheckDetailItem {
|
|
|
30
30
|
*/
|
|
31
31
|
'key'?: string;
|
|
32
32
|
/**
|
|
33
|
-
* Source schema or database
|
|
33
|
+
* Source schema or database from the requested detail scope.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof DataCheckDetailItem
|
|
36
36
|
*/
|
|
37
37
|
'schema'?: string;
|
|
38
38
|
/**
|
|
39
|
-
* Source table
|
|
39
|
+
* Source table from the requested detail scope.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof DataCheckDetailItem
|
|
42
42
|
*/
|
|
@@ -69,7 +69,6 @@ export * from './auth-type';
|
|
|
69
69
|
export * from './auto-inspection';
|
|
70
70
|
export * from './auto-inspection-resource-type';
|
|
71
71
|
export * from './auto-inspection-run-unit';
|
|
72
|
-
export * from './autohealing-list-inner';
|
|
73
72
|
export * from './available-cluster-list-inner';
|
|
74
73
|
export * from './backup';
|
|
75
74
|
export * from './backup-create';
|
|
@@ -742,6 +741,7 @@ export * from './redis-key-detail';
|
|
|
742
741
|
export * from './redis-key-detail-request';
|
|
743
742
|
export * from './redis-key-mutate-request';
|
|
744
743
|
export * from './redis-key-mutate-response';
|
|
744
|
+
export * from './redis-key-scan-progress';
|
|
745
745
|
export * from './redis-key-summary';
|
|
746
746
|
export * from './redis-key-summary-list';
|
|
747
747
|
export * from './redis-key-value';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Redis key browser scan progress for the current page.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RedisKeyScanProgress
|
|
21
|
+
*/
|
|
22
|
+
export interface RedisKeyScanProgress {
|
|
23
|
+
/**
|
|
24
|
+
* Scan scope, either node or cluster.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RedisKeyScanProgress
|
|
27
|
+
*/
|
|
28
|
+
'scope'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Total keys in the scan scope when available.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof RedisKeyScanProgress
|
|
33
|
+
*/
|
|
34
|
+
'total'?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Number of key names returned by SCAN in this page before type filtering.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof RedisKeyScanProgress
|
|
39
|
+
*/
|
|
40
|
+
'scanned'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of key summaries loaded in this page after filtering and metadata lookup.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof RedisKeyScanProgress
|
|
45
|
+
*/
|
|
46
|
+
'loaded'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the scan cursor is complete after this page.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof RedisKeyScanProgress
|
|
51
|
+
*/
|
|
52
|
+
'complete'?: boolean;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { RedisKeyScanProgress } from './redis-key-scan-progress';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { RedisKeySummary } from './redis-key-summary';
|
|
@@ -41,5 +44,11 @@ export interface RedisKeySummaryList {
|
|
|
41
44
|
* @memberof RedisKeySummaryList
|
|
42
45
|
*/
|
|
43
46
|
'hasMore'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {RedisKeyScanProgress}
|
|
50
|
+
* @memberof RedisKeySummaryList
|
|
51
|
+
*/
|
|
52
|
+
'progress'?: RedisKeyScanProgress;
|
|
44
53
|
}
|
|
45
54
|
|