@alicloud/das20200116 2.3.4 → 2.4.1
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/client.d.ts +15 -0
- package/dist/client.js +60 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeErrorLogRecordsRequest.d.ts +80 -0
- package/dist/models/DescribeErrorLogRecordsRequest.js +96 -0
- package/dist/models/DescribeErrorLogRecordsRequest.js.map +1 -0
- package/dist/models/DescribeErrorLogRecordsResponse.d.ts +19 -0
- package/dist/models/DescribeErrorLogRecordsResponse.js +69 -0
- package/dist/models/DescribeErrorLogRecordsResponse.js.map +1 -0
- package/dist/models/DescribeErrorLogRecordsResponseBody.d.ts +114 -0
- package/dist/models/DescribeErrorLogRecordsResponseBody.js +130 -0
- package/dist/models/DescribeErrorLogRecordsResponseBody.js.map +1 -0
- package/dist/models/DescribeHotBigKeysResponseBody.d.ts +36 -0
- package/dist/models/DescribeHotBigKeysResponseBody.js +65 -1
- package/dist/models/DescribeHotBigKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeHotKeysResponseBody.d.ts +4 -0
- package/dist/models/DescribeHotKeysResponseBody.js +8 -0
- package/dist/models/DescribeHotKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeTopHotKeysResponseBody.d.ts +3 -0
- package/dist/models/DescribeTopHotKeysResponseBody.js +6 -0
- package/dist/models/DescribeTopHotKeysResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +32 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -0
- package/src/models/DescribeErrorLogRecordsRequest.ts +122 -0
- package/src/models/DescribeErrorLogRecordsResponse.ts +40 -0
- package/src/models/DescribeErrorLogRecordsResponseBody.ts +181 -0
- package/src/models/DescribeHotBigKeysResponseBody.ts +82 -0
- package/src/models/DescribeHotKeysResponseBody.ts +12 -0
- package/src/models/DescribeTopHotKeysResponseBody.ts +9 -0
- package/src/models/model.ts +8 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeErrorLogRecordsRequestFilters extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* filters
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* deadlock
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class DescribeErrorLogRecordsRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* 1732069466000
|
|
46
|
+
*/
|
|
47
|
+
endTime?: number;
|
|
48
|
+
filters?: DescribeErrorLogRecordsRequestFilters[];
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* This parameter is required.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* pc-bp1u5mas9exx7****
|
|
55
|
+
*/
|
|
56
|
+
instanceId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* pi-bp16v3824rt73****
|
|
60
|
+
*/
|
|
61
|
+
nodeId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 1
|
|
65
|
+
*/
|
|
66
|
+
pageNumber?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* 10
|
|
70
|
+
*/
|
|
71
|
+
pageSize?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* db
|
|
75
|
+
*/
|
|
76
|
+
role?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* This parameter is required.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* 1731983066000
|
|
83
|
+
*/
|
|
84
|
+
startTime?: number;
|
|
85
|
+
static names(): { [key: string]: string } {
|
|
86
|
+
return {
|
|
87
|
+
endTime: 'EndTime',
|
|
88
|
+
filters: 'Filters',
|
|
89
|
+
instanceId: 'InstanceId',
|
|
90
|
+
nodeId: 'NodeId',
|
|
91
|
+
pageNumber: 'PageNumber',
|
|
92
|
+
pageSize: 'PageSize',
|
|
93
|
+
role: 'Role',
|
|
94
|
+
startTime: 'StartTime',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
endTime: 'number',
|
|
101
|
+
filters: { 'type': 'array', 'itemType': DescribeErrorLogRecordsRequestFilters },
|
|
102
|
+
instanceId: 'string',
|
|
103
|
+
nodeId: 'string',
|
|
104
|
+
pageNumber: 'number',
|
|
105
|
+
pageSize: 'number',
|
|
106
|
+
role: 'string',
|
|
107
|
+
startTime: 'number',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
if(Array.isArray(this.filters)) {
|
|
113
|
+
$dara.Model.validateArray(this.filters);
|
|
114
|
+
}
|
|
115
|
+
super.validate();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
constructor(map?: { [key: string]: any }) {
|
|
119
|
+
super(map);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeErrorLogRecordsResponseBody } from "./DescribeErrorLogRecordsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeErrorLogRecordsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeErrorLogRecordsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeErrorLogRecordsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeErrorLogRecordsResponseBodyDataLogs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* NETWORK
|
|
9
|
+
*/
|
|
10
|
+
category?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* conn18xxxxxx
|
|
14
|
+
*/
|
|
15
|
+
connInfo?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2025-07-15T15:14:27.175188+08:00 0 [Note] [MY-012468] [InnoDB] Transactions deadlock detected, dumping detailed information.
|
|
19
|
+
*/
|
|
20
|
+
content?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1731983067000
|
|
24
|
+
*/
|
|
25
|
+
createTime?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* d-bp128a003436****
|
|
29
|
+
*/
|
|
30
|
+
DBInstanceName?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
category: 'Category',
|
|
34
|
+
connInfo: 'ConnInfo',
|
|
35
|
+
content: 'Content',
|
|
36
|
+
createTime: 'CreateTime',
|
|
37
|
+
DBInstanceName: 'DBInstanceName',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
category: 'string',
|
|
44
|
+
connInfo: 'string',
|
|
45
|
+
content: 'string',
|
|
46
|
+
createTime: 'string',
|
|
47
|
+
DBInstanceName: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class DescribeErrorLogRecordsResponseBodyData extends $dara.Model {
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 2025-07-23T05:48:43Z
|
|
64
|
+
*/
|
|
65
|
+
endTime?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* 10
|
|
69
|
+
*/
|
|
70
|
+
itemsNumbers?: number;
|
|
71
|
+
logs?: DescribeErrorLogRecordsResponseBodyDataLogs[];
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* 10
|
|
75
|
+
*/
|
|
76
|
+
maxRecordsPerPage?: number;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* 1
|
|
80
|
+
*/
|
|
81
|
+
pageNumbers?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* 2025-07-22T05:48:43Z
|
|
85
|
+
*/
|
|
86
|
+
startTime?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* 100
|
|
90
|
+
*/
|
|
91
|
+
totalRecords?: number;
|
|
92
|
+
static names(): { [key: string]: string } {
|
|
93
|
+
return {
|
|
94
|
+
endTime: 'EndTime',
|
|
95
|
+
itemsNumbers: 'ItemsNumbers',
|
|
96
|
+
logs: 'Logs',
|
|
97
|
+
maxRecordsPerPage: 'MaxRecordsPerPage',
|
|
98
|
+
pageNumbers: 'PageNumbers',
|
|
99
|
+
startTime: 'StartTime',
|
|
100
|
+
totalRecords: 'TotalRecords',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
static types(): { [key: string]: any } {
|
|
105
|
+
return {
|
|
106
|
+
endTime: 'string',
|
|
107
|
+
itemsNumbers: 'number',
|
|
108
|
+
logs: { 'type': 'array', 'itemType': DescribeErrorLogRecordsResponseBodyDataLogs },
|
|
109
|
+
maxRecordsPerPage: 'number',
|
|
110
|
+
pageNumbers: 'number',
|
|
111
|
+
startTime: 'string',
|
|
112
|
+
totalRecords: 'number',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(Array.isArray(this.logs)) {
|
|
118
|
+
$dara.Model.validateArray(this.logs);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export class DescribeErrorLogRecordsResponseBody extends $dara.Model {
|
|
129
|
+
/**
|
|
130
|
+
* @example
|
|
131
|
+
* 200
|
|
132
|
+
*/
|
|
133
|
+
code?: number;
|
|
134
|
+
data?: DescribeErrorLogRecordsResponseBodyData;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* Successful
|
|
138
|
+
*/
|
|
139
|
+
message?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* AAA17591-B48B-4D31-9CD6-9B9796B2****
|
|
143
|
+
*/
|
|
144
|
+
requestId?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @example
|
|
147
|
+
* true
|
|
148
|
+
*/
|
|
149
|
+
success?: boolean;
|
|
150
|
+
static names(): { [key: string]: string } {
|
|
151
|
+
return {
|
|
152
|
+
code: 'Code',
|
|
153
|
+
data: 'Data',
|
|
154
|
+
message: 'Message',
|
|
155
|
+
requestId: 'RequestId',
|
|
156
|
+
success: 'Success',
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
static types(): { [key: string]: any } {
|
|
161
|
+
return {
|
|
162
|
+
code: 'number',
|
|
163
|
+
data: DescribeErrorLogRecordsResponseBodyData,
|
|
164
|
+
message: 'string',
|
|
165
|
+
requestId: 'string',
|
|
166
|
+
success: 'boolean',
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
validate() {
|
|
171
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
172
|
+
(this.data as any).validate();
|
|
173
|
+
}
|
|
174
|
+
super.validate();
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
constructor(map?: { [key: string]: any }) {
|
|
178
|
+
super(map);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
@@ -98,6 +98,76 @@ export class DescribeHotBigKeysResponseBodyDataBigKeys extends $dara.Model {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
export class DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey extends $dara.Model {
|
|
102
|
+
db?: number;
|
|
103
|
+
hot?: string;
|
|
104
|
+
key?: string;
|
|
105
|
+
keyType?: string;
|
|
106
|
+
nodeId?: string;
|
|
107
|
+
size?: number;
|
|
108
|
+
inBytes?: number;
|
|
109
|
+
outBytes?: number;
|
|
110
|
+
static names(): { [key: string]: string } {
|
|
111
|
+
return {
|
|
112
|
+
db: 'Db',
|
|
113
|
+
hot: 'Hot',
|
|
114
|
+
key: 'Key',
|
|
115
|
+
keyType: 'KeyType',
|
|
116
|
+
nodeId: 'NodeId',
|
|
117
|
+
size: 'Size',
|
|
118
|
+
inBytes: 'inBytes',
|
|
119
|
+
outBytes: 'outBytes',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
db: 'number',
|
|
126
|
+
hot: 'string',
|
|
127
|
+
key: 'string',
|
|
128
|
+
keyType: 'string',
|
|
129
|
+
nodeId: 'string',
|
|
130
|
+
size: 'number',
|
|
131
|
+
inBytes: 'number',
|
|
132
|
+
outBytes: 'number',
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
validate() {
|
|
137
|
+
super.validate();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
constructor(map?: { [key: string]: any }) {
|
|
141
|
+
super(map);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export class DescribeHotBigKeysResponseBodyDataHighTrafficKeys extends $dara.Model {
|
|
146
|
+
highTrafficKey?: DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey[];
|
|
147
|
+
static names(): { [key: string]: string } {
|
|
148
|
+
return {
|
|
149
|
+
highTrafficKey: 'HighTrafficKey',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static types(): { [key: string]: any } {
|
|
154
|
+
return {
|
|
155
|
+
highTrafficKey: { 'type': 'array', 'itemType': DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey },
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
validate() {
|
|
160
|
+
if(Array.isArray(this.highTrafficKey)) {
|
|
161
|
+
$dara.Model.validateArray(this.highTrafficKey);
|
|
162
|
+
}
|
|
163
|
+
super.validate();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
constructor(map?: { [key: string]: any }) {
|
|
167
|
+
super(map);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
101
171
|
export class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model {
|
|
102
172
|
/**
|
|
103
173
|
* @remarks
|
|
@@ -147,6 +217,7 @@ export class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model
|
|
|
147
217
|
* r-x****-db-0
|
|
148
218
|
*/
|
|
149
219
|
nodeId?: string;
|
|
220
|
+
size?: number;
|
|
150
221
|
static names(): { [key: string]: string } {
|
|
151
222
|
return {
|
|
152
223
|
db: 'Db',
|
|
@@ -155,6 +226,7 @@ export class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model
|
|
|
155
226
|
keyType: 'KeyType',
|
|
156
227
|
lfu: 'Lfu',
|
|
157
228
|
nodeId: 'NodeId',
|
|
229
|
+
size: 'Size',
|
|
158
230
|
};
|
|
159
231
|
}
|
|
160
232
|
|
|
@@ -166,6 +238,7 @@ export class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model
|
|
|
166
238
|
keyType: 'string',
|
|
167
239
|
lfu: 'number',
|
|
168
240
|
nodeId: 'string',
|
|
241
|
+
size: 'number',
|
|
169
242
|
};
|
|
170
243
|
}
|
|
171
244
|
|
|
@@ -218,6 +291,8 @@ export class DescribeHotBigKeysResponseBodyData extends $dara.Model {
|
|
|
218
291
|
* The list of large keys.
|
|
219
292
|
*/
|
|
220
293
|
bigKeys?: DescribeHotBigKeysResponseBodyDataBigKeys;
|
|
294
|
+
highTrafficKeyMsg?: string;
|
|
295
|
+
highTrafficKeys?: DescribeHotBigKeysResponseBodyDataHighTrafficKeys;
|
|
221
296
|
/**
|
|
222
297
|
* @remarks
|
|
223
298
|
* The reason why the hot key failed to be queried.
|
|
@@ -235,6 +310,8 @@ export class DescribeHotBigKeysResponseBodyData extends $dara.Model {
|
|
|
235
310
|
return {
|
|
236
311
|
bigKeyMsg: 'BigKeyMsg',
|
|
237
312
|
bigKeys: 'BigKeys',
|
|
313
|
+
highTrafficKeyMsg: 'HighTrafficKeyMsg',
|
|
314
|
+
highTrafficKeys: 'HighTrafficKeys',
|
|
238
315
|
hotKeyMsg: 'HotKeyMsg',
|
|
239
316
|
hotKeys: 'HotKeys',
|
|
240
317
|
};
|
|
@@ -244,6 +321,8 @@ export class DescribeHotBigKeysResponseBodyData extends $dara.Model {
|
|
|
244
321
|
return {
|
|
245
322
|
bigKeyMsg: 'string',
|
|
246
323
|
bigKeys: DescribeHotBigKeysResponseBodyDataBigKeys,
|
|
324
|
+
highTrafficKeyMsg: 'string',
|
|
325
|
+
highTrafficKeys: DescribeHotBigKeysResponseBodyDataHighTrafficKeys,
|
|
247
326
|
hotKeyMsg: 'string',
|
|
248
327
|
hotKeys: DescribeHotBigKeysResponseBodyDataHotKeys,
|
|
249
328
|
};
|
|
@@ -253,6 +332,9 @@ export class DescribeHotBigKeysResponseBodyData extends $dara.Model {
|
|
|
253
332
|
if(this.bigKeys && typeof (this.bigKeys as any).validate === 'function') {
|
|
254
333
|
(this.bigKeys as any).validate();
|
|
255
334
|
}
|
|
335
|
+
if(this.highTrafficKeys && typeof (this.highTrafficKeys as any).validate === 'function') {
|
|
336
|
+
(this.highTrafficKeys as any).validate();
|
|
337
|
+
}
|
|
256
338
|
if(this.hotKeys && typeof (this.hotKeys as any).validate === 'function') {
|
|
257
339
|
(this.hotKeys as any).validate();
|
|
258
340
|
}
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
6
|
+
category?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The database in which the key is stored.
|
|
@@ -19,6 +20,7 @@ export class DescribeHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
|
19
20
|
* 5500~6000
|
|
20
21
|
*/
|
|
21
22
|
hot?: string;
|
|
23
|
+
inBytes?: number;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
26
|
* The name of the key.
|
|
@@ -35,6 +37,8 @@ export class DescribeHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
|
35
37
|
* zset
|
|
36
38
|
*/
|
|
37
39
|
keyType?: string;
|
|
40
|
+
nodeId?: string;
|
|
41
|
+
outBytes?: number;
|
|
38
42
|
/**
|
|
39
43
|
* @remarks
|
|
40
44
|
* The number of elements in the key.
|
|
@@ -45,20 +49,28 @@ export class DescribeHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
|
45
49
|
size?: number;
|
|
46
50
|
static names(): { [key: string]: string } {
|
|
47
51
|
return {
|
|
52
|
+
category: 'Category',
|
|
48
53
|
db: 'Db',
|
|
49
54
|
hot: 'Hot',
|
|
55
|
+
inBytes: 'InBytes',
|
|
50
56
|
key: 'Key',
|
|
51
57
|
keyType: 'KeyType',
|
|
58
|
+
nodeId: 'NodeId',
|
|
59
|
+
outBytes: 'OutBytes',
|
|
52
60
|
size: 'Size',
|
|
53
61
|
};
|
|
54
62
|
}
|
|
55
63
|
|
|
56
64
|
static types(): { [key: string]: any } {
|
|
57
65
|
return {
|
|
66
|
+
category: 'string',
|
|
58
67
|
db: 'number',
|
|
59
68
|
hot: 'string',
|
|
69
|
+
inBytes: 'number',
|
|
60
70
|
key: 'string',
|
|
61
71
|
keyType: 'string',
|
|
72
|
+
nodeId: 'string',
|
|
73
|
+
outBytes: 'number',
|
|
62
74
|
size: 'number',
|
|
63
75
|
};
|
|
64
76
|
}
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeTopHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
6
|
+
category?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The database in which the key is stored.
|
|
@@ -19,6 +20,7 @@ export class DescribeTopHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
|
19
20
|
* 5500~6000
|
|
20
21
|
*/
|
|
21
22
|
hot?: string;
|
|
23
|
+
inBytes?: number;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
26
|
* The key.
|
|
@@ -51,25 +53,32 @@ export class DescribeTopHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
|
51
53
|
* r-x****-db-0
|
|
52
54
|
*/
|
|
53
55
|
nodeId?: string;
|
|
56
|
+
outBytes?: number;
|
|
54
57
|
static names(): { [key: string]: string } {
|
|
55
58
|
return {
|
|
59
|
+
category: 'Category',
|
|
56
60
|
db: 'Db',
|
|
57
61
|
hot: 'Hot',
|
|
62
|
+
inBytes: 'InBytes',
|
|
58
63
|
key: 'Key',
|
|
59
64
|
keyType: 'KeyType',
|
|
60
65
|
lfu: 'Lfu',
|
|
61
66
|
nodeId: 'NodeId',
|
|
67
|
+
outBytes: 'OutBytes',
|
|
62
68
|
};
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
static types(): { [key: string]: any } {
|
|
66
72
|
return {
|
|
73
|
+
category: 'string',
|
|
67
74
|
db: 'number',
|
|
68
75
|
hot: 'string',
|
|
76
|
+
inBytes: 'number',
|
|
69
77
|
key: 'string',
|
|
70
78
|
keyType: 'string',
|
|
71
79
|
lfu: 'number',
|
|
72
80
|
nodeId: 'string',
|
|
81
|
+
outBytes: 'number',
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|
package/src/models/model.ts
CHANGED
|
@@ -37,8 +37,13 @@ export { DescribeCloudBenchTasksResponseBodyDataList } from './DescribeCloudBenc
|
|
|
37
37
|
export { DescribeCloudBenchTasksResponseBodyData } from './DescribeCloudBenchTasksResponseBody';
|
|
38
38
|
export { DescribeCloudbenchTaskResponseBodyData } from './DescribeCloudbenchTaskResponseBody';
|
|
39
39
|
export { DescribeCloudbenchTaskConfigResponseBodyData } from './DescribeCloudbenchTaskConfigResponseBody';
|
|
40
|
+
export { DescribeErrorLogRecordsRequestFilters } from './DescribeErrorLogRecordsRequest';
|
|
41
|
+
export { DescribeErrorLogRecordsResponseBodyDataLogs } from './DescribeErrorLogRecordsResponseBody';
|
|
42
|
+
export { DescribeErrorLogRecordsResponseBodyData } from './DescribeErrorLogRecordsResponseBody';
|
|
40
43
|
export { DescribeHotBigKeysResponseBodyDataBigKeysBigKey } from './DescribeHotBigKeysResponseBody';
|
|
41
44
|
export { DescribeHotBigKeysResponseBodyDataBigKeys } from './DescribeHotBigKeysResponseBody';
|
|
45
|
+
export { DescribeHotBigKeysResponseBodyDataHighTrafficKeysHighTrafficKey } from './DescribeHotBigKeysResponseBody';
|
|
46
|
+
export { DescribeHotBigKeysResponseBodyDataHighTrafficKeys } from './DescribeHotBigKeysResponseBody';
|
|
42
47
|
export { DescribeHotBigKeysResponseBodyDataHotKeysHotKey } from './DescribeHotBigKeysResponseBody';
|
|
43
48
|
export { DescribeHotBigKeysResponseBodyDataHotKeys } from './DescribeHotBigKeysResponseBody';
|
|
44
49
|
export { DescribeHotBigKeysResponseBodyData } from './DescribeHotBigKeysResponseBody';
|
|
@@ -268,6 +273,9 @@ export { DescribeCloudbenchTaskConfigResponse } from './DescribeCloudbenchTaskCo
|
|
|
268
273
|
export { DescribeDiagnosticReportListRequest } from './DescribeDiagnosticReportListRequest';
|
|
269
274
|
export { DescribeDiagnosticReportListResponseBody } from './DescribeDiagnosticReportListResponseBody';
|
|
270
275
|
export { DescribeDiagnosticReportListResponse } from './DescribeDiagnosticReportListResponse';
|
|
276
|
+
export { DescribeErrorLogRecordsRequest } from './DescribeErrorLogRecordsRequest';
|
|
277
|
+
export { DescribeErrorLogRecordsResponseBody } from './DescribeErrorLogRecordsResponseBody';
|
|
278
|
+
export { DescribeErrorLogRecordsResponse } from './DescribeErrorLogRecordsResponse';
|
|
271
279
|
export { DescribeHotBigKeysRequest } from './DescribeHotBigKeysRequest';
|
|
272
280
|
export { DescribeHotBigKeysResponseBody } from './DescribeHotBigKeysResponseBody';
|
|
273
281
|
export { DescribeHotBigKeysResponse } from './DescribeHotBigKeysResponse';
|