kb-cloud-client-typescript 2.4.0-alpha.114 → 2.4.0-alpha.116
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/data-replication-api.d.ts +326 -0
- package/dist/adminapi/apis/data-replication-api.d.ts.map +1 -1
- package/dist/adminapi/apis/data-replication-api.js +377 -0
- package/dist/adminapi/apis/data-replication-api.js.map +1 -1
- package/dist/adminapi/models/data-channel-endpoint-create.d.ts +20 -1
- package/dist/adminapi/models/data-channel-endpoint-create.d.ts.map +1 -1
- package/dist/adminapi/models/data-channel-list-endpoint.d.ts +25 -0
- package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -1
- package/dist/adminapi/models/data-endpoint-create.d.ts +72 -0
- package/dist/adminapi/models/data-endpoint-create.d.ts.map +1 -0
- package/dist/adminapi/models/data-endpoint-create.js +16 -0
- package/dist/adminapi/models/data-endpoint-create.js.map +1 -0
- package/dist/adminapi/models/data-endpoint-response.d.ts +43 -0
- package/dist/adminapi/models/data-endpoint-response.d.ts.map +1 -0
- package/dist/adminapi/models/data-endpoint-response.js +16 -0
- package/dist/adminapi/models/data-endpoint-response.js.map +1 -0
- package/dist/adminapi/models/data-endpoint-type-creation.d.ts +22 -0
- package/dist/adminapi/models/data-endpoint-type-creation.d.ts.map +1 -0
- package/dist/adminapi/models/data-endpoint-type-creation.js +26 -0
- package/dist/adminapi/models/data-endpoint-type-creation.js.map +1 -0
- package/dist/adminapi/models/data-replication-endpoint-type.d.ts +1 -0
- package/dist/adminapi/models/data-replication-endpoint-type.d.ts.map +1 -1
- package/dist/adminapi/models/data-replication-endpoint-type.js +2 -1
- package/dist/adminapi/models/data-replication-endpoint-type.js.map +1 -1
- package/dist/adminapi/models/definition-endpoint.d.ts +25 -0
- package/dist/adminapi/models/definition-endpoint.d.ts.map +1 -0
- package/dist/adminapi/models/definition-endpoint.js +16 -0
- package/dist/adminapi/models/definition-endpoint.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/redis-key-analysis-report.d.ts +2 -2
- package/dist/adminapi/models/redis-key-analysis-report.d.ts.map +1 -1
- package/dist/openapi/apis/data-replication-api.d.ts +326 -0
- package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
- package/dist/openapi/apis/data-replication-api.js +377 -0
- package/dist/openapi/apis/data-replication-api.js.map +1 -1
- package/dist/openapi/models/data-channel-endpoint-create.d.ts +20 -1
- package/dist/openapi/models/data-channel-endpoint-create.d.ts.map +1 -1
- package/dist/openapi/models/data-channel-list-endpoint.d.ts +25 -0
- package/dist/openapi/models/data-channel-list-endpoint.d.ts.map +1 -1
- package/dist/openapi/models/data-endpoint-create.d.ts +72 -0
- package/dist/openapi/models/data-endpoint-create.d.ts.map +1 -0
- package/dist/openapi/models/data-endpoint-create.js +16 -0
- package/dist/openapi/models/data-endpoint-create.js.map +1 -0
- package/dist/openapi/models/data-endpoint-response.d.ts +43 -0
- package/dist/openapi/models/data-endpoint-response.d.ts.map +1 -0
- package/dist/openapi/models/data-endpoint-response.js +16 -0
- package/dist/openapi/models/data-endpoint-response.js.map +1 -0
- package/dist/openapi/models/data-endpoint-type-creation.d.ts +22 -0
- package/dist/openapi/models/data-endpoint-type-creation.d.ts.map +1 -0
- package/dist/openapi/models/data-endpoint-type-creation.js +26 -0
- package/dist/openapi/models/data-endpoint-type-creation.js.map +1 -0
- package/dist/openapi/models/data-replication-endpoint-type.d.ts +1 -0
- package/dist/openapi/models/data-replication-endpoint-type.d.ts.map +1 -1
- package/dist/openapi/models/data-replication-endpoint-type.js +2 -1
- package/dist/openapi/models/data-replication-endpoint-type.js.map +1 -1
- package/dist/openapi/models/definition-endpoint.d.ts +25 -0
- package/dist/openapi/models/definition-endpoint.d.ts.map +1 -0
- package/dist/openapi/models/definition-endpoint.js +16 -0
- package/dist/openapi/models/definition-endpoint.js.map +1 -0
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/redis-key-analysis-report.d.ts +2 -2
- package/dist/openapi/models/redis-key-analysis-report.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/data-replication-api.ts +584 -0
- package/src/adminapi/models/data-channel-endpoint-create.ts +22 -1
- package/src/adminapi/models/data-channel-list-endpoint.ts +27 -0
- package/src/adminapi/models/data-endpoint-create.ts +83 -0
- package/src/adminapi/models/data-endpoint-response.ts +48 -0
- package/src/adminapi/models/data-endpoint-type-creation.ts +31 -0
- package/src/adminapi/models/data-replication-endpoint-type.ts +2 -1
- package/src/adminapi/models/definition-endpoint.ts +30 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi/models/redis-key-analysis-report.ts +2 -2
- package/src/adminapi.yaml +255 -2
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/apis/data-replication-api.ts +583 -0
- package/src/openapi/models/data-channel-endpoint-create.ts +22 -1
- package/src/openapi/models/data-channel-list-endpoint.ts +27 -0
- package/src/openapi/models/data-endpoint-create.ts +83 -0
- package/src/openapi/models/data-endpoint-response.ts +48 -0
- package/src/openapi/models/data-endpoint-type-creation.ts +31 -0
- package/src/openapi/models/data-replication-endpoint-type.ts +2 -1
- package/src/openapi/models/definition-endpoint.ts +30 -0
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi/models/redis-key-analysis-report.ts +2 -2
- package/src/openapi.yaml +1496 -1244
|
@@ -21,14 +21,23 @@ import type { CustomEndpointCreate } from './custom-endpoint-create';
|
|
|
21
21
|
import type { DataReplicationEndpointType } from './data-replication-endpoint-type';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import type { DefinitionEndpoint } from './definition-endpoint';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
30
|
+
* Use endpointType custom or kubeblocks with the corresponding inline connection configuration, or endpointType definition with definition.endpointID to reuse an existing data endpoint. Inline connection configuration is not used for endpointType definition.
|
|
28
31
|
* @export
|
|
29
32
|
* @interface DataChannelEndpointCreate
|
|
30
33
|
*/
|
|
31
34
|
export interface DataChannelEndpointCreate {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DataChannelEndpointCreate
|
|
39
|
+
*/
|
|
40
|
+
'name'?: string | null;
|
|
32
41
|
/**
|
|
33
42
|
*
|
|
34
43
|
* @type {string}
|
|
@@ -59,6 +68,18 @@ export interface DataChannelEndpointCreate {
|
|
|
59
68
|
* @memberof DataChannelEndpointCreate
|
|
60
69
|
*/
|
|
61
70
|
'kubeblocks'?: KubeblocksEndpoint;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {DefinitionEndpoint}
|
|
74
|
+
* @memberof DataChannelEndpointCreate
|
|
75
|
+
*/
|
|
76
|
+
'definition'?: DefinitionEndpoint;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof DataChannelEndpointCreate
|
|
81
|
+
*/
|
|
82
|
+
'description'?: string | null;
|
|
62
83
|
/**
|
|
63
84
|
*
|
|
64
85
|
* @type {{ [key: string]: string; }}
|
|
@@ -21,6 +21,9 @@ import type { CustomEndpoint } from './custom-endpoint';
|
|
|
21
21
|
import type { DataReplicationEndpointType } from './data-replication-endpoint-type';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import type { DefinitionEndpoint } from './definition-endpoint';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
|
|
25
28
|
|
|
26
29
|
/**
|
|
@@ -29,6 +32,18 @@ import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
|
|
|
29
32
|
* @interface DataChannelListEndpoint
|
|
30
33
|
*/
|
|
31
34
|
export interface DataChannelListEndpoint {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DataChannelListEndpoint
|
|
39
|
+
*/
|
|
40
|
+
'id'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DataChannelListEndpoint
|
|
45
|
+
*/
|
|
46
|
+
'name'?: string | null;
|
|
32
47
|
/**
|
|
33
48
|
*
|
|
34
49
|
* @type {string}
|
|
@@ -53,6 +68,18 @@ export interface DataChannelListEndpoint {
|
|
|
53
68
|
* @memberof DataChannelListEndpoint
|
|
54
69
|
*/
|
|
55
70
|
'kubeblocks'?: KubeblocksEndpoint;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {DefinitionEndpoint}
|
|
74
|
+
* @memberof DataChannelListEndpoint
|
|
75
|
+
*/
|
|
76
|
+
'definition'?: DefinitionEndpoint;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof DataChannelListEndpoint
|
|
81
|
+
*/
|
|
82
|
+
'description'?: string | null;
|
|
56
83
|
/**
|
|
57
84
|
*
|
|
58
85
|
* @type {{ [key: string]: string; }}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { CustomEndpointCreate } from './custom-endpoint-create';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { DataEndpointTypeCreation } from './data-endpoint-type-creation';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { KubeblocksEndpoint } from './kubeblocks-endpoint';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Connection configuration for an independently managed data endpoint.
|
|
28
|
+
* @export
|
|
29
|
+
* @interface DataEndpointCreate
|
|
30
|
+
*/
|
|
31
|
+
export interface DataEndpointCreate {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof DataEndpointCreate
|
|
36
|
+
*/
|
|
37
|
+
'name'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof DataEndpointCreate
|
|
42
|
+
*/
|
|
43
|
+
'engineName'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof DataEndpointCreate
|
|
48
|
+
*/
|
|
49
|
+
'definitionName'?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {DataEndpointTypeCreation}
|
|
53
|
+
* @memberof DataEndpointCreate
|
|
54
|
+
*/
|
|
55
|
+
'endpointType'?: DataEndpointTypeCreation;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {CustomEndpointCreate}
|
|
59
|
+
* @memberof DataEndpointCreate
|
|
60
|
+
*/
|
|
61
|
+
'custom'?: CustomEndpointCreate;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {KubeblocksEndpoint}
|
|
65
|
+
* @memberof DataEndpointCreate
|
|
66
|
+
*/
|
|
67
|
+
'kubeblocks'?: KubeblocksEndpoint;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof DataEndpointCreate
|
|
72
|
+
*/
|
|
73
|
+
'description'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {{ [key: string]: string; }}
|
|
77
|
+
* @memberof DataEndpointCreate
|
|
78
|
+
*/
|
|
79
|
+
'extraCfgs'?: { [key: string]: string; } | null;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DataEndpointResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface DataEndpointResponse {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DataEndpointResponse
|
|
27
|
+
*/
|
|
28
|
+
'endpointID'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DataEndpointResponse
|
|
33
|
+
*/
|
|
34
|
+
'endpointName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DataEndpointResponse
|
|
39
|
+
*/
|
|
40
|
+
'createdAt'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof DataEndpointResponse
|
|
45
|
+
*/
|
|
46
|
+
'updatedAt'?: string | null;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const DataEndpointTypeCreation = {
|
|
24
|
+
custom: 'custom',
|
|
25
|
+
kubeblocks: 'kubeblocks'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type DataEndpointTypeCreation = typeof DataEndpointTypeCreation[keyof typeof DataEndpointTypeCreation];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
|
|
23
23
|
export const DataReplicationEndpointType = {
|
|
24
24
|
custom: 'custom',
|
|
25
|
-
kubeblocks: 'kubeblocks'
|
|
25
|
+
kubeblocks: 'kubeblocks',
|
|
26
|
+
definition: 'definition'
|
|
26
27
|
} as const;
|
|
27
28
|
|
|
28
29
|
export type DataReplicationEndpointType = typeof DataReplicationEndpointType[keyof typeof DataReplicationEndpointType];
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
* Reference to an existing data endpoint in the same organization.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DefinitionEndpoint
|
|
21
|
+
*/
|
|
22
|
+
export interface DefinitionEndpoint {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DefinitionEndpoint
|
|
27
|
+
*/
|
|
28
|
+
'endpointID': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -302,6 +302,9 @@ export * from './data-check-summary';
|
|
|
302
302
|
export * from './data-check-table-summary';
|
|
303
303
|
export * from './data-check-type';
|
|
304
304
|
export * from './data-disk';
|
|
305
|
+
export * from './data-endpoint-create';
|
|
306
|
+
export * from './data-endpoint-response';
|
|
307
|
+
export * from './data-endpoint-type-creation';
|
|
305
308
|
export * from './data-import200-response';
|
|
306
309
|
export * from './data-replication-channel-container';
|
|
307
310
|
export * from './data-replication-create';
|
|
@@ -323,6 +326,7 @@ export * from './database-parameter-list-item';
|
|
|
323
326
|
export * from './database-parameter-type';
|
|
324
327
|
export * from './datasource';
|
|
325
328
|
export * from './db-tderequest';
|
|
329
|
+
export * from './definition-endpoint';
|
|
326
330
|
export * from './delete-database-parameter-item';
|
|
327
331
|
export * from './delete-storage-class204-response';
|
|
328
332
|
export * from './disaster-recovery-cluster-item';
|
|
@@ -85,10 +85,10 @@ export interface RedisKeyAnalysisReport {
|
|
|
85
85
|
'totalNumKeys'?: number;
|
|
86
86
|
/**
|
|
87
87
|
* Sum of bytes across all byteLevelStat buckets.
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {number}
|
|
89
89
|
* @memberof RedisKeyAnalysisReport
|
|
90
90
|
*/
|
|
91
|
-
'
|
|
91
|
+
'totalSizeKeys'?: number;
|
|
92
92
|
/**
|
|
93
93
|
* Key statistics by remaining TTL bucket: {bucket: {count, bytes}}.
|
|
94
94
|
* @type {{ [key: string]: RedisKeyAnalysisReportTypeStatValue; }}
|
package/src/adminapi.yaml
CHANGED
|
@@ -30540,6 +30540,174 @@ paths:
|
|
|
30540
30540
|
$ref: '#/components/responses/404'
|
|
30541
30541
|
tags:
|
|
30542
30542
|
- dataReplication
|
|
30543
|
+
/admin/v1/replication/endpoints:
|
|
30544
|
+
get:
|
|
30545
|
+
operationId: listAdminDataEndpoints
|
|
30546
|
+
summary: List Data Endpoints
|
|
30547
|
+
description: Retrieve a list of data endpoints.
|
|
30548
|
+
parameters:
|
|
30549
|
+
- description: The Name of the organization
|
|
30550
|
+
in: query
|
|
30551
|
+
name: orgName
|
|
30552
|
+
required: false
|
|
30553
|
+
schema:
|
|
30554
|
+
type: string
|
|
30555
|
+
- description: The name of the data endpoint
|
|
30556
|
+
in: query
|
|
30557
|
+
name: name
|
|
30558
|
+
required: false
|
|
30559
|
+
schema:
|
|
30560
|
+
type: string
|
|
30561
|
+
responses:
|
|
30562
|
+
'200':
|
|
30563
|
+
content:
|
|
30564
|
+
application/json:
|
|
30565
|
+
schema:
|
|
30566
|
+
$ref: '#/components/schemas/dataEndpointList'
|
|
30567
|
+
description: A list of data endpoints.
|
|
30568
|
+
'401':
|
|
30569
|
+
$ref: '#/components/responses/401'
|
|
30570
|
+
'403':
|
|
30571
|
+
$ref: '#/components/responses/403'
|
|
30572
|
+
'404':
|
|
30573
|
+
$ref: '#/components/responses/404'
|
|
30574
|
+
tags:
|
|
30575
|
+
- dataReplication
|
|
30576
|
+
/admin/v1/organizations/{orgName}/replication/endpoint:
|
|
30577
|
+
post:
|
|
30578
|
+
operationId: createAdminDataEndpoint
|
|
30579
|
+
summary: Create a new data endpoint
|
|
30580
|
+
description: Create a new data endpoint.
|
|
30581
|
+
parameters:
|
|
30582
|
+
- description: The Name of the organization
|
|
30583
|
+
in: path
|
|
30584
|
+
name: orgName
|
|
30585
|
+
required: true
|
|
30586
|
+
schema:
|
|
30587
|
+
type: string
|
|
30588
|
+
requestBody:
|
|
30589
|
+
content:
|
|
30590
|
+
application/json:
|
|
30591
|
+
schema:
|
|
30592
|
+
$ref: '#/components/schemas/dataEndpointCreate'
|
|
30593
|
+
required: true
|
|
30594
|
+
responses:
|
|
30595
|
+
'200':
|
|
30596
|
+
content:
|
|
30597
|
+
application/json:
|
|
30598
|
+
schema:
|
|
30599
|
+
$ref: '#/components/schemas/dataEndpointResponse'
|
|
30600
|
+
description: A successful response.
|
|
30601
|
+
'401':
|
|
30602
|
+
$ref: '#/components/responses/401'
|
|
30603
|
+
'403':
|
|
30604
|
+
$ref: '#/components/responses/403'
|
|
30605
|
+
'404':
|
|
30606
|
+
$ref: '#/components/responses/404'
|
|
30607
|
+
tags:
|
|
30608
|
+
- dataReplication
|
|
30609
|
+
x-codegen-request-body-name: body
|
|
30610
|
+
/admin/v1/organizations/{orgName}/replication/endpoint/{endpointID}:
|
|
30611
|
+
get:
|
|
30612
|
+
operationId: getDataEndpoint
|
|
30613
|
+
summary: Get Data Endpoint Details
|
|
30614
|
+
description: Retrieve a data endpoint detail.
|
|
30615
|
+
parameters:
|
|
30616
|
+
- description: The Name of the organization
|
|
30617
|
+
in: path
|
|
30618
|
+
name: orgName
|
|
30619
|
+
required: true
|
|
30620
|
+
schema:
|
|
30621
|
+
type: string
|
|
30622
|
+
- description: The ID of the data endpoint
|
|
30623
|
+
in: path
|
|
30624
|
+
name: endpointID
|
|
30625
|
+
required: true
|
|
30626
|
+
schema:
|
|
30627
|
+
type: string
|
|
30628
|
+
responses:
|
|
30629
|
+
'200':
|
|
30630
|
+
content:
|
|
30631
|
+
application/json:
|
|
30632
|
+
schema:
|
|
30633
|
+
$ref: '#/components/schemas/dataChannelListEndpoint'
|
|
30634
|
+
description: A detail of data endpoint.
|
|
30635
|
+
'401':
|
|
30636
|
+
$ref: '#/components/responses/401'
|
|
30637
|
+
'403':
|
|
30638
|
+
$ref: '#/components/responses/403'
|
|
30639
|
+
'404':
|
|
30640
|
+
$ref: '#/components/responses/404'
|
|
30641
|
+
tags:
|
|
30642
|
+
- dataReplication
|
|
30643
|
+
delete:
|
|
30644
|
+
operationId: deleteDataEndpoint
|
|
30645
|
+
summary: Delete a data endpoint
|
|
30646
|
+
description: Delete a data endpoint.
|
|
30647
|
+
parameters:
|
|
30648
|
+
- description: The Name of the organization
|
|
30649
|
+
in: path
|
|
30650
|
+
name: orgName
|
|
30651
|
+
required: true
|
|
30652
|
+
schema:
|
|
30653
|
+
type: string
|
|
30654
|
+
- description: The ID of the data endpoint
|
|
30655
|
+
in: path
|
|
30656
|
+
name: endpointID
|
|
30657
|
+
required: true
|
|
30658
|
+
schema:
|
|
30659
|
+
type: string
|
|
30660
|
+
responses:
|
|
30661
|
+
'204':
|
|
30662
|
+
content: {}
|
|
30663
|
+
description: Returned when endpoint is deleted successfully.
|
|
30664
|
+
'401':
|
|
30665
|
+
$ref: '#/components/responses/401'
|
|
30666
|
+
'403':
|
|
30667
|
+
$ref: '#/components/responses/403'
|
|
30668
|
+
'404':
|
|
30669
|
+
$ref: '#/components/responses/404'
|
|
30670
|
+
tags:
|
|
30671
|
+
- dataReplication
|
|
30672
|
+
patch:
|
|
30673
|
+
operationId: updateDataEndpoint
|
|
30674
|
+
summary: Update a data endpoint
|
|
30675
|
+
description: Update an existing data endpoint.
|
|
30676
|
+
parameters:
|
|
30677
|
+
- description: The Name of the organization
|
|
30678
|
+
in: path
|
|
30679
|
+
name: orgName
|
|
30680
|
+
required: true
|
|
30681
|
+
schema:
|
|
30682
|
+
type: string
|
|
30683
|
+
- description: The ID of the data endpoint
|
|
30684
|
+
in: path
|
|
30685
|
+
name: endpointID
|
|
30686
|
+
required: true
|
|
30687
|
+
schema:
|
|
30688
|
+
type: string
|
|
30689
|
+
requestBody:
|
|
30690
|
+
content:
|
|
30691
|
+
application/json:
|
|
30692
|
+
schema:
|
|
30693
|
+
$ref: '#/components/schemas/dataEndpointCreate'
|
|
30694
|
+
required: true
|
|
30695
|
+
responses:
|
|
30696
|
+
'200':
|
|
30697
|
+
content:
|
|
30698
|
+
application/json:
|
|
30699
|
+
schema:
|
|
30700
|
+
$ref: '#/components/schemas/dataEndpointResponse'
|
|
30701
|
+
description: A successful response.
|
|
30702
|
+
'401':
|
|
30703
|
+
$ref: '#/components/responses/401'
|
|
30704
|
+
'403':
|
|
30705
|
+
$ref: '#/components/responses/403'
|
|
30706
|
+
'404':
|
|
30707
|
+
$ref: '#/components/responses/404'
|
|
30708
|
+
tags:
|
|
30709
|
+
- dataReplication
|
|
30710
|
+
x-codegen-request-body-name: body
|
|
30543
30711
|
/admin/v1/checks:
|
|
30544
30712
|
get:
|
|
30545
30713
|
operationId: listAdminDataChecks
|
|
@@ -53632,9 +53800,12 @@ components:
|
|
|
53632
53800
|
totalNumKeys:
|
|
53633
53801
|
type: integer
|
|
53634
53802
|
format: int64
|
|
53803
|
+
x-omitempty: false
|
|
53635
53804
|
description: Sum of counts across all byteLevelStat buckets.
|
|
53636
|
-
|
|
53637
|
-
type:
|
|
53805
|
+
totalSizeKeys:
|
|
53806
|
+
type: integer
|
|
53807
|
+
format: int64
|
|
53808
|
+
x-omitempty: false
|
|
53638
53809
|
description: Sum of bytes across all byteLevelStat buckets.
|
|
53639
53810
|
expireStat:
|
|
53640
53811
|
type: object
|
|
@@ -53686,6 +53857,7 @@ components:
|
|
|
53686
53857
|
enum:
|
|
53687
53858
|
- custom
|
|
53688
53859
|
- kubeblocks
|
|
53860
|
+
- definition
|
|
53689
53861
|
type: string
|
|
53690
53862
|
authType:
|
|
53691
53863
|
enum:
|
|
@@ -53727,9 +53899,24 @@ components:
|
|
|
53727
53899
|
displayName:
|
|
53728
53900
|
type: string
|
|
53729
53901
|
nullable: true
|
|
53902
|
+
definitionEndpoint:
|
|
53903
|
+
type: object
|
|
53904
|
+
description: Reference to an existing data endpoint in the same organization.
|
|
53905
|
+
required:
|
|
53906
|
+
- endpointID
|
|
53907
|
+
properties:
|
|
53908
|
+
endpointID:
|
|
53909
|
+
type: string
|
|
53910
|
+
minLength: 1
|
|
53730
53911
|
dataChannelListEndpoint:
|
|
53731
53912
|
type: object
|
|
53732
53913
|
properties:
|
|
53914
|
+
id:
|
|
53915
|
+
type: string
|
|
53916
|
+
nullable: true
|
|
53917
|
+
name:
|
|
53918
|
+
type: string
|
|
53919
|
+
nullable: true
|
|
53733
53920
|
engineName:
|
|
53734
53921
|
type: string
|
|
53735
53922
|
endpointType:
|
|
@@ -53740,6 +53927,12 @@ components:
|
|
|
53740
53927
|
kubeblocks:
|
|
53741
53928
|
$ref: '#/components/schemas/kubeblocksEndpoint'
|
|
53742
53929
|
nullable: true
|
|
53930
|
+
definition:
|
|
53931
|
+
$ref: '#/components/schemas/definitionEndpoint'
|
|
53932
|
+
nullable: true
|
|
53933
|
+
description:
|
|
53934
|
+
type: string
|
|
53935
|
+
nullable: true
|
|
53743
53936
|
extraCfgs:
|
|
53744
53937
|
type: object
|
|
53745
53938
|
additionalProperties:
|
|
@@ -53803,7 +53996,11 @@ components:
|
|
|
53803
53996
|
nullable: true
|
|
53804
53997
|
dataChannelEndpointCreate:
|
|
53805
53998
|
type: object
|
|
53999
|
+
description: Use endpointType custom or kubeblocks with the corresponding inline connection configuration, or endpointType definition with definition.endpointID to reuse an existing data endpoint. Inline connection configuration is not used for endpointType definition.
|
|
53806
54000
|
properties:
|
|
54001
|
+
name:
|
|
54002
|
+
type: string
|
|
54003
|
+
nullable: true
|
|
53807
54004
|
engineName:
|
|
53808
54005
|
type: string
|
|
53809
54006
|
definitionName:
|
|
@@ -53816,6 +54013,12 @@ components:
|
|
|
53816
54013
|
kubeblocks:
|
|
53817
54014
|
$ref: '#/components/schemas/kubeblocksEndpoint'
|
|
53818
54015
|
nullable: true
|
|
54016
|
+
definition:
|
|
54017
|
+
$ref: '#/components/schemas/definitionEndpoint'
|
|
54018
|
+
nullable: true
|
|
54019
|
+
description:
|
|
54020
|
+
type: string
|
|
54021
|
+
nullable: true
|
|
53819
54022
|
extraCfgs:
|
|
53820
54023
|
type: object
|
|
53821
54024
|
additionalProperties:
|
|
@@ -53989,6 +54192,56 @@ components:
|
|
|
53989
54192
|
type: array
|
|
53990
54193
|
items:
|
|
53991
54194
|
$ref: '#/components/schemas/dataReplicationParametersResponseDetail'
|
|
54195
|
+
dataEndpointList:
|
|
54196
|
+
type: array
|
|
54197
|
+
items:
|
|
54198
|
+
$ref: '#/components/schemas/dataChannelListEndpoint'
|
|
54199
|
+
dataEndpointTypeCreation:
|
|
54200
|
+
enum:
|
|
54201
|
+
- custom
|
|
54202
|
+
- kubeblocks
|
|
54203
|
+
type: string
|
|
54204
|
+
dataEndpointCreate:
|
|
54205
|
+
type: object
|
|
54206
|
+
description: Connection configuration for an independently managed data endpoint.
|
|
54207
|
+
properties:
|
|
54208
|
+
name:
|
|
54209
|
+
type: string
|
|
54210
|
+
nullable: true
|
|
54211
|
+
engineName:
|
|
54212
|
+
type: string
|
|
54213
|
+
definitionName:
|
|
54214
|
+
type: string
|
|
54215
|
+
endpointType:
|
|
54216
|
+
$ref: '#/components/schemas/dataEndpointTypeCreation'
|
|
54217
|
+
custom:
|
|
54218
|
+
$ref: '#/components/schemas/customEndpointCreate'
|
|
54219
|
+
nullable: true
|
|
54220
|
+
kubeblocks:
|
|
54221
|
+
$ref: '#/components/schemas/kubeblocksEndpoint'
|
|
54222
|
+
nullable: true
|
|
54223
|
+
description:
|
|
54224
|
+
type: string
|
|
54225
|
+
nullable: true
|
|
54226
|
+
extraCfgs:
|
|
54227
|
+
type: object
|
|
54228
|
+
additionalProperties:
|
|
54229
|
+
type: string
|
|
54230
|
+
nullable: true
|
|
54231
|
+
dataEndpointResponse:
|
|
54232
|
+
type: object
|
|
54233
|
+
properties:
|
|
54234
|
+
endpointID:
|
|
54235
|
+
type: string
|
|
54236
|
+
endpointName:
|
|
54237
|
+
type: string
|
|
54238
|
+
createdAt:
|
|
54239
|
+
type: string
|
|
54240
|
+
format: date-time
|
|
54241
|
+
updatedAt:
|
|
54242
|
+
type: string
|
|
54243
|
+
format: date-time
|
|
54244
|
+
nullable: true
|
|
53992
54245
|
dataCheckType:
|
|
53993
54246
|
type: string
|
|
53994
54247
|
description: Type of check to run. A standalone check runs exactly one type.
|
|
@@ -376,6 +376,9 @@ models/data-check-summary.ts
|
|
|
376
376
|
models/data-check-table-summary.ts
|
|
377
377
|
models/data-check-type.ts
|
|
378
378
|
models/data-disk.ts
|
|
379
|
+
models/data-endpoint-create.ts
|
|
380
|
+
models/data-endpoint-response.ts
|
|
381
|
+
models/data-endpoint-type-creation.ts
|
|
379
382
|
models/data-import200-response.ts
|
|
380
383
|
models/data-replication-channel-container.ts
|
|
381
384
|
models/data-replication-create.ts
|
|
@@ -392,6 +395,7 @@ models/database-option.ts
|
|
|
392
395
|
models/database.ts
|
|
393
396
|
models/datasource.ts
|
|
394
397
|
models/db-tderequest.ts
|
|
398
|
+
models/definition-endpoint.ts
|
|
395
399
|
models/delete-bench-option.ts
|
|
396
400
|
models/disaster-recovery-cluster-item.ts
|
|
397
401
|
models/disaster-recovery-cluster-list.ts
|