kb-cloud-client-typescript 2.3.0-alpha.109 → 2.3.0-alpha.111
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 +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.d.ts +84 -324
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +78 -228
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/database-parameters-api.d.ts +11 -11
- package/dist/adminapi/apis/database-parameters-api.d.ts.map +1 -1
- package/dist/adminapi/apis/database-parameters-api.js +10 -6
- package/dist/adminapi/apis/database-parameters-api.js.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.d.ts +120 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -0
- package/dist/adminapi/apis/diagnostics-api.js +143 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +84 -324
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +78 -228
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-session.d.ts +121 -0
- package/dist/adminapi/models/postgresql-session.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-session.js +16 -0
- package/dist/adminapi/models/postgresql-session.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +98 -378
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +91 -266
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +120 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -0
- package/dist/openapi/apis/diagnostics-api.js +143 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +98 -378
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +91 -266
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-session.d.ts +121 -0
- package/dist/openapi/models/postgresql-session.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-session.js +16 -0
- package/dist/openapi/models/postgresql-session.js.map +1 -0
- package/package.json +1 -6
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/cluster-log-api.ts +102 -492
- package/src/adminapi/apis/database-parameters-api.ts +15 -11
- package/src/adminapi/apis/diagnostics-api.ts +196 -0
- package/src/adminapi/apis/shared-api.ts +102 -492
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/postgresql-session.ts +126 -0
- package/src/adminapi.yaml +134 -120
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/cluster-log-api.ts +119 -574
- package/src/openapi/apis/diagnostics-api.ts +196 -0
- package/src/openapi/apis/shared-api.ts +119 -574
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/postgresql-session.ts +126 -0
- package/src/openapi.yaml +131 -140
|
@@ -620,6 +620,7 @@ export * from './pod';
|
|
|
620
620
|
export * from './pod-condition';
|
|
621
621
|
export * from './pod-owner-reference';
|
|
622
622
|
export * from './pod-resources';
|
|
623
|
+
export * from './postgresql-session';
|
|
623
624
|
export * from './pre-check-result';
|
|
624
625
|
export * from './pre-check-status';
|
|
625
626
|
export * from './pre-check-task-detail';
|
|
@@ -0,0 +1,126 @@
|
|
|
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 PostgresqlSession
|
|
21
|
+
*/
|
|
22
|
+
export interface PostgresqlSession {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PostgresqlSession
|
|
27
|
+
*/
|
|
28
|
+
'pid': number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PostgresqlSession
|
|
33
|
+
*/
|
|
34
|
+
'user': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PostgresqlSession
|
|
39
|
+
*/
|
|
40
|
+
'database': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PostgresqlSession
|
|
45
|
+
*/
|
|
46
|
+
'applicationName': string;
|
|
47
|
+
/**
|
|
48
|
+
* Client address.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PostgresqlSession
|
|
51
|
+
*/
|
|
52
|
+
'clientAddr': string;
|
|
53
|
+
/**
|
|
54
|
+
* Client port.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PostgresqlSession
|
|
57
|
+
*/
|
|
58
|
+
'clientPort': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PostgresqlSession
|
|
63
|
+
*/
|
|
64
|
+
'state': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PostgresqlSession
|
|
69
|
+
*/
|
|
70
|
+
'waitEventType': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PostgresqlSession
|
|
75
|
+
*/
|
|
76
|
+
'waitEvent': string;
|
|
77
|
+
/**
|
|
78
|
+
* Backend start timestamp if available.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PostgresqlSession
|
|
81
|
+
*/
|
|
82
|
+
'backendStart'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Query start timestamp if available.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PostgresqlSession
|
|
87
|
+
*/
|
|
88
|
+
'queryStart'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Transaction start timestamp if available.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PostgresqlSession
|
|
93
|
+
*/
|
|
94
|
+
'xactStart'?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof PostgresqlSession
|
|
99
|
+
*/
|
|
100
|
+
'durationSeconds': number;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof PostgresqlSession
|
|
105
|
+
*/
|
|
106
|
+
'xactDurationSeconds': number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof PostgresqlSession
|
|
111
|
+
*/
|
|
112
|
+
'queryDigest': string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof PostgresqlSession
|
|
117
|
+
*/
|
|
118
|
+
'querySummary': string;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof PostgresqlSession
|
|
123
|
+
*/
|
|
124
|
+
'backendType': string;
|
|
125
|
+
}
|
|
126
|
+
|
package/src/adminapi.yaml
CHANGED
|
@@ -71,6 +71,8 @@ tags:
|
|
|
71
71
|
description: Platform Component APIs
|
|
72
72
|
- name: AI Agent
|
|
73
73
|
description: Chat With AI Agent APIs
|
|
74
|
+
- name: diagnostics
|
|
75
|
+
description: Diagnostics APIs
|
|
74
76
|
paths:
|
|
75
77
|
/admin/v1/user:
|
|
76
78
|
get:
|
|
@@ -4382,11 +4384,13 @@ paths:
|
|
|
4382
4384
|
- description: engine Name
|
|
4383
4385
|
in: query
|
|
4384
4386
|
name: engineName
|
|
4387
|
+
required: true
|
|
4385
4388
|
schema:
|
|
4386
4389
|
type: string
|
|
4387
4390
|
- description: component type
|
|
4388
4391
|
in: query
|
|
4389
4392
|
name: component
|
|
4393
|
+
required: true
|
|
4390
4394
|
schema:
|
|
4391
4395
|
type: string
|
|
4392
4396
|
responses:
|
|
@@ -6732,38 +6736,22 @@ paths:
|
|
|
6732
6736
|
format: int64
|
|
6733
6737
|
- in: query
|
|
6734
6738
|
name: dbName
|
|
6735
|
-
|
|
6736
|
-
type: string
|
|
6737
|
-
- in: query
|
|
6738
|
-
name: dbNameContains
|
|
6739
|
+
description: Filter slow logs whose database name contains this value.
|
|
6739
6740
|
schema:
|
|
6740
6741
|
type: string
|
|
6741
6742
|
- in: query
|
|
6742
6743
|
name: userName
|
|
6743
|
-
|
|
6744
|
-
type: string
|
|
6745
|
-
- in: query
|
|
6746
|
-
name: userNameContains
|
|
6744
|
+
description: Filter slow logs whose user name contains this value.
|
|
6747
6745
|
schema:
|
|
6748
6746
|
type: string
|
|
6749
6747
|
- in: query
|
|
6750
6748
|
name: clientIp
|
|
6751
|
-
|
|
6752
|
-
type: string
|
|
6753
|
-
- in: query
|
|
6754
|
-
name: clientIpContains
|
|
6755
|
-
schema:
|
|
6756
|
-
type: string
|
|
6757
|
-
- in: query
|
|
6758
|
-
name: clientIpCIDR
|
|
6749
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
6759
6750
|
schema:
|
|
6760
6751
|
type: string
|
|
6761
6752
|
- in: query
|
|
6762
6753
|
name: appName
|
|
6763
|
-
|
|
6764
|
-
type: string
|
|
6765
|
-
- in: query
|
|
6766
|
-
name: appNameContains
|
|
6754
|
+
description: Filter slow logs whose application name contains this value.
|
|
6767
6755
|
schema:
|
|
6768
6756
|
type: string
|
|
6769
6757
|
- in: query
|
|
@@ -6930,38 +6918,22 @@ paths:
|
|
|
6930
6918
|
format: int64
|
|
6931
6919
|
- in: query
|
|
6932
6920
|
name: dbName
|
|
6933
|
-
|
|
6934
|
-
type: string
|
|
6935
|
-
- in: query
|
|
6936
|
-
name: dbNameContains
|
|
6921
|
+
description: Filter slow logs whose database name contains this value.
|
|
6937
6922
|
schema:
|
|
6938
6923
|
type: string
|
|
6939
6924
|
- in: query
|
|
6940
6925
|
name: userName
|
|
6941
|
-
|
|
6942
|
-
type: string
|
|
6943
|
-
- in: query
|
|
6944
|
-
name: userNameContains
|
|
6926
|
+
description: Filter slow logs whose user name contains this value.
|
|
6945
6927
|
schema:
|
|
6946
6928
|
type: string
|
|
6947
6929
|
- in: query
|
|
6948
6930
|
name: clientIp
|
|
6949
|
-
|
|
6950
|
-
type: string
|
|
6951
|
-
- in: query
|
|
6952
|
-
name: clientIpContains
|
|
6953
|
-
schema:
|
|
6954
|
-
type: string
|
|
6955
|
-
- in: query
|
|
6956
|
-
name: clientIpCIDR
|
|
6931
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
6957
6932
|
schema:
|
|
6958
6933
|
type: string
|
|
6959
6934
|
- in: query
|
|
6960
6935
|
name: appName
|
|
6961
|
-
|
|
6962
|
-
type: string
|
|
6963
|
-
- in: query
|
|
6964
|
-
name: appNameContains
|
|
6936
|
+
description: Filter slow logs whose application name contains this value.
|
|
6965
6937
|
schema:
|
|
6966
6938
|
type: string
|
|
6967
6939
|
responses:
|
|
@@ -7207,38 +7179,22 @@ paths:
|
|
|
7207
7179
|
format: int64
|
|
7208
7180
|
- in: query
|
|
7209
7181
|
name: dbName
|
|
7210
|
-
|
|
7211
|
-
type: string
|
|
7212
|
-
- in: query
|
|
7213
|
-
name: dbNameContains
|
|
7182
|
+
description: Filter slow logs whose database name contains this value.
|
|
7214
7183
|
schema:
|
|
7215
7184
|
type: string
|
|
7216
7185
|
- in: query
|
|
7217
7186
|
name: userName
|
|
7218
|
-
|
|
7219
|
-
type: string
|
|
7220
|
-
- in: query
|
|
7221
|
-
name: userNameContains
|
|
7187
|
+
description: Filter slow logs whose user name contains this value.
|
|
7222
7188
|
schema:
|
|
7223
7189
|
type: string
|
|
7224
7190
|
- in: query
|
|
7225
7191
|
name: clientIp
|
|
7226
|
-
|
|
7227
|
-
type: string
|
|
7228
|
-
- in: query
|
|
7229
|
-
name: clientIpContains
|
|
7230
|
-
schema:
|
|
7231
|
-
type: string
|
|
7232
|
-
- in: query
|
|
7233
|
-
name: clientIpCIDR
|
|
7192
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
7234
7193
|
schema:
|
|
7235
7194
|
type: string
|
|
7236
7195
|
- in: query
|
|
7237
7196
|
name: appName
|
|
7238
|
-
|
|
7239
|
-
type: string
|
|
7240
|
-
- in: query
|
|
7241
|
-
name: appNameContains
|
|
7197
|
+
description: Filter slow logs whose application name contains this value.
|
|
7242
7198
|
schema:
|
|
7243
7199
|
type: string
|
|
7244
7200
|
- in: query
|
|
@@ -7366,38 +7322,22 @@ paths:
|
|
|
7366
7322
|
format: int64
|
|
7367
7323
|
- in: query
|
|
7368
7324
|
name: dbName
|
|
7369
|
-
|
|
7370
|
-
type: string
|
|
7371
|
-
- in: query
|
|
7372
|
-
name: dbNameContains
|
|
7325
|
+
description: Filter slow logs whose database name contains this value.
|
|
7373
7326
|
schema:
|
|
7374
7327
|
type: string
|
|
7375
7328
|
- in: query
|
|
7376
7329
|
name: userName
|
|
7377
|
-
|
|
7378
|
-
type: string
|
|
7379
|
-
- in: query
|
|
7380
|
-
name: userNameContains
|
|
7330
|
+
description: Filter slow logs whose user name contains this value.
|
|
7381
7331
|
schema:
|
|
7382
7332
|
type: string
|
|
7383
7333
|
- in: query
|
|
7384
7334
|
name: clientIp
|
|
7385
|
-
|
|
7386
|
-
type: string
|
|
7387
|
-
- in: query
|
|
7388
|
-
name: clientIpContains
|
|
7389
|
-
schema:
|
|
7390
|
-
type: string
|
|
7391
|
-
- in: query
|
|
7392
|
-
name: clientIpCIDR
|
|
7335
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
7393
7336
|
schema:
|
|
7394
7337
|
type: string
|
|
7395
7338
|
- in: query
|
|
7396
7339
|
name: appName
|
|
7397
|
-
|
|
7398
|
-
type: string
|
|
7399
|
-
- in: query
|
|
7400
|
-
name: appNameContains
|
|
7340
|
+
description: Filter slow logs whose application name contains this value.
|
|
7401
7341
|
schema:
|
|
7402
7342
|
type: string
|
|
7403
7343
|
- in: query
|
|
@@ -7510,38 +7450,22 @@ paths:
|
|
|
7510
7450
|
format: int64
|
|
7511
7451
|
- in: query
|
|
7512
7452
|
name: dbName
|
|
7513
|
-
|
|
7514
|
-
type: string
|
|
7515
|
-
- in: query
|
|
7516
|
-
name: dbNameContains
|
|
7453
|
+
description: Filter slow logs whose database name contains this value.
|
|
7517
7454
|
schema:
|
|
7518
7455
|
type: string
|
|
7519
7456
|
- in: query
|
|
7520
7457
|
name: userName
|
|
7521
|
-
|
|
7522
|
-
type: string
|
|
7523
|
-
- in: query
|
|
7524
|
-
name: userNameContains
|
|
7458
|
+
description: Filter slow logs whose user name contains this value.
|
|
7525
7459
|
schema:
|
|
7526
7460
|
type: string
|
|
7527
7461
|
- in: query
|
|
7528
7462
|
name: clientIp
|
|
7529
|
-
|
|
7530
|
-
type: string
|
|
7531
|
-
- in: query
|
|
7532
|
-
name: clientIpContains
|
|
7533
|
-
schema:
|
|
7534
|
-
type: string
|
|
7535
|
-
- in: query
|
|
7536
|
-
name: clientIpCIDR
|
|
7463
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
7537
7464
|
schema:
|
|
7538
7465
|
type: string
|
|
7539
7466
|
- in: query
|
|
7540
7467
|
name: appName
|
|
7541
|
-
|
|
7542
|
-
type: string
|
|
7543
|
-
- in: query
|
|
7544
|
-
name: appNameContains
|
|
7468
|
+
description: Filter slow logs whose application name contains this value.
|
|
7545
7469
|
schema:
|
|
7546
7470
|
type: string
|
|
7547
7471
|
- in: query
|
|
@@ -7795,38 +7719,22 @@ paths:
|
|
|
7795
7719
|
format: int64
|
|
7796
7720
|
- in: query
|
|
7797
7721
|
name: dbName
|
|
7798
|
-
|
|
7799
|
-
type: string
|
|
7800
|
-
- in: query
|
|
7801
|
-
name: dbNameContains
|
|
7722
|
+
description: Filter slow logs whose database name contains this value.
|
|
7802
7723
|
schema:
|
|
7803
7724
|
type: string
|
|
7804
7725
|
- in: query
|
|
7805
7726
|
name: userName
|
|
7806
|
-
|
|
7807
|
-
type: string
|
|
7808
|
-
- in: query
|
|
7809
|
-
name: userNameContains
|
|
7727
|
+
description: Filter slow logs whose user name contains this value.
|
|
7810
7728
|
schema:
|
|
7811
7729
|
type: string
|
|
7812
7730
|
- in: query
|
|
7813
7731
|
name: clientIp
|
|
7814
|
-
|
|
7815
|
-
type: string
|
|
7816
|
-
- in: query
|
|
7817
|
-
name: clientIpContains
|
|
7818
|
-
schema:
|
|
7819
|
-
type: string
|
|
7820
|
-
- in: query
|
|
7821
|
-
name: clientIpCIDR
|
|
7732
|
+
description: Filter slow logs whose client IP contains this value, or is within this CIDR range when the value is valid CIDR.
|
|
7822
7733
|
schema:
|
|
7823
7734
|
type: string
|
|
7824
7735
|
- in: query
|
|
7825
7736
|
name: appName
|
|
7826
|
-
|
|
7827
|
-
type: string
|
|
7828
|
-
- in: query
|
|
7829
|
-
name: appNameContains
|
|
7737
|
+
description: Filter slow logs whose application name contains this value.
|
|
7830
7738
|
schema:
|
|
7831
7739
|
type: string
|
|
7832
7740
|
- in: query
|
|
@@ -19004,6 +18912,49 @@ paths:
|
|
|
19004
18912
|
- session
|
|
19005
18913
|
- rdbms
|
|
19006
18914
|
- shared
|
|
18915
|
+
/admin/v1/organizations/{orgName}/clusters/{clusterName}/diagnostics/postgresql/sessions/{pid}:
|
|
18916
|
+
get:
|
|
18917
|
+
tags:
|
|
18918
|
+
- diagnostics
|
|
18919
|
+
summary: Get PostgreSQL session basic diagnostics
|
|
18920
|
+
description: Get one PostgreSQL session basic diagnostics record by backend pid.
|
|
18921
|
+
operationId: getDiagnosticsPostgresqlSession
|
|
18922
|
+
parameters:
|
|
18923
|
+
- name: orgName
|
|
18924
|
+
in: path
|
|
18925
|
+
description: Organization name
|
|
18926
|
+
required: true
|
|
18927
|
+
schema:
|
|
18928
|
+
type: string
|
|
18929
|
+
- name: clusterName
|
|
18930
|
+
in: path
|
|
18931
|
+
description: Cluster name
|
|
18932
|
+
required: true
|
|
18933
|
+
schema:
|
|
18934
|
+
type: string
|
|
18935
|
+
- name: pid
|
|
18936
|
+
in: path
|
|
18937
|
+
description: PostgreSQL backend process id.
|
|
18938
|
+
required: true
|
|
18939
|
+
schema:
|
|
18940
|
+
type: integer
|
|
18941
|
+
format: int64
|
|
18942
|
+
minimum: 1
|
|
18943
|
+
responses:
|
|
18944
|
+
'200':
|
|
18945
|
+
description: OK
|
|
18946
|
+
content:
|
|
18947
|
+
application/json:
|
|
18948
|
+
schema:
|
|
18949
|
+
$ref: '#/components/schemas/postgresqlSession'
|
|
18950
|
+
'401':
|
|
18951
|
+
$ref: '#/components/responses/401'
|
|
18952
|
+
'403':
|
|
18953
|
+
$ref: '#/components/responses/403'
|
|
18954
|
+
'404':
|
|
18955
|
+
$ref: '#/components/responses/404'
|
|
18956
|
+
'500':
|
|
18957
|
+
$ref: '#/components/responses/500'
|
|
19007
18958
|
/admin/v1/data/mongodb/organizations/{orgName}/clusters/{clusterName}/accounts:
|
|
19008
18959
|
get:
|
|
19009
18960
|
description: list accounts in mongodb
|
|
@@ -35389,6 +35340,66 @@ components:
|
|
|
35389
35340
|
- name
|
|
35390
35341
|
- role
|
|
35391
35342
|
type: object
|
|
35343
|
+
postgresqlSession:
|
|
35344
|
+
type: object
|
|
35345
|
+
required:
|
|
35346
|
+
- pid
|
|
35347
|
+
- user
|
|
35348
|
+
- database
|
|
35349
|
+
- applicationName
|
|
35350
|
+
- clientAddr
|
|
35351
|
+
- clientPort
|
|
35352
|
+
- state
|
|
35353
|
+
- waitEventType
|
|
35354
|
+
- waitEvent
|
|
35355
|
+
- durationSeconds
|
|
35356
|
+
- xactDurationSeconds
|
|
35357
|
+
- queryDigest
|
|
35358
|
+
- querySummary
|
|
35359
|
+
- backendType
|
|
35360
|
+
properties:
|
|
35361
|
+
pid:
|
|
35362
|
+
type: integer
|
|
35363
|
+
format: int64
|
|
35364
|
+
user:
|
|
35365
|
+
type: string
|
|
35366
|
+
database:
|
|
35367
|
+
type: string
|
|
35368
|
+
applicationName:
|
|
35369
|
+
type: string
|
|
35370
|
+
clientAddr:
|
|
35371
|
+
type: string
|
|
35372
|
+
description: Client address.
|
|
35373
|
+
clientPort:
|
|
35374
|
+
type: string
|
|
35375
|
+
description: Client port.
|
|
35376
|
+
state:
|
|
35377
|
+
type: string
|
|
35378
|
+
waitEventType:
|
|
35379
|
+
type: string
|
|
35380
|
+
waitEvent:
|
|
35381
|
+
type: string
|
|
35382
|
+
backendStart:
|
|
35383
|
+
type: string
|
|
35384
|
+
description: Backend start timestamp if available.
|
|
35385
|
+
queryStart:
|
|
35386
|
+
type: string
|
|
35387
|
+
description: Query start timestamp if available.
|
|
35388
|
+
xactStart:
|
|
35389
|
+
type: string
|
|
35390
|
+
description: Transaction start timestamp if available.
|
|
35391
|
+
durationSeconds:
|
|
35392
|
+
type: integer
|
|
35393
|
+
format: int64
|
|
35394
|
+
xactDurationSeconds:
|
|
35395
|
+
type: integer
|
|
35396
|
+
format: int64
|
|
35397
|
+
queryDigest:
|
|
35398
|
+
type: string
|
|
35399
|
+
querySummary:
|
|
35400
|
+
type: string
|
|
35401
|
+
backendType:
|
|
35402
|
+
type: string
|
|
35392
35403
|
dbTDERequest:
|
|
35393
35404
|
type: object
|
|
35394
35405
|
properties:
|
|
@@ -36753,6 +36764,9 @@ x-tagGroups:
|
|
|
36753
36764
|
- name: AI Agent
|
|
36754
36765
|
tags:
|
|
36755
36766
|
- AI Agent
|
|
36767
|
+
- name: Diagnostics
|
|
36768
|
+
tags:
|
|
36769
|
+
- diagnostics
|
|
36756
36770
|
- name: PlatformParameter
|
|
36757
36771
|
tags:
|
|
36758
36772
|
- platformParameter
|
|
@@ -27,6 +27,7 @@ apis/cluster-tag-api.ts
|
|
|
27
27
|
apis/dameng-api.ts
|
|
28
28
|
apis/data-replication-api.ts
|
|
29
29
|
apis/database-api.ts
|
|
30
|
+
apis/diagnostics-api.ts
|
|
30
31
|
apis/disaster-recovery-api.ts
|
|
31
32
|
apis/dms-api.ts
|
|
32
33
|
apis/enable-service-version-api.ts
|
|
@@ -649,6 +650,7 @@ models/phone-verification-request.ts
|
|
|
649
650
|
models/platform-parameter-constraints.ts
|
|
650
651
|
models/platform-parameter-list.ts
|
|
651
652
|
models/platform-parameter.ts
|
|
653
|
+
models/postgresql-session.ts
|
|
652
654
|
models/pre-check-create.ts
|
|
653
655
|
models/pre-check-result.ts
|
|
654
656
|
models/pre-check-status.ts
|
package/src/openapi/api.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './apis/cluster-tag-api';
|
|
|
39
39
|
export * from './apis/dameng-api';
|
|
40
40
|
export * from './apis/data-replication-api';
|
|
41
41
|
export * from './apis/database-api';
|
|
42
|
+
export * from './apis/diagnostics-api';
|
|
42
43
|
export * from './apis/disaster-recovery-api';
|
|
43
44
|
export * from './apis/dms-api';
|
|
44
45
|
export * from './apis/enable-service-version-api';
|