@alicloud/das20200116 2.7.4 → 2.8.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 +39 -16
- package/dist/client.js +139 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCacheAnalysisJobResponseBody.d.ts +0 -60
- package/dist/models/CreateCacheAnalysisJobResponseBody.js.map +1 -1
- package/dist/models/CreateCloudBenchTasksResponseBody.d.ts +0 -4
- package/dist/models/CreateCloudBenchTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeCacheAnalysisJobResponseBody.d.ts +0 -321
- package/dist/models/DescribeCacheAnalysisJobResponseBody.js.map +1 -1
- package/dist/models/DescribeCacheAnalysisJobsResponseBody.d.ts +0 -108
- package/dist/models/DescribeCacheAnalysisJobsResponseBody.js.map +1 -1
- package/dist/models/DescribeCloudBenchTasksResponseBody.d.ts +0 -386
- package/dist/models/DescribeCloudBenchTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeHotBigKeysResponseBody.d.ts +0 -85
- package/dist/models/DescribeHotBigKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeHotKeysResponseBody.d.ts +0 -39
- package/dist/models/DescribeHotKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeTopBigKeysResponseBody.d.ts +0 -41
- package/dist/models/DescribeTopBigKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeTopHotKeysResponseBody.d.ts +0 -46
- package/dist/models/DescribeTopHotKeysResponseBody.js.map +1 -1
- package/dist/models/GetAutonomousNotifyEventsInRangeResponseBody.d.ts +0 -4
- package/dist/models/GetAutonomousNotifyEventsInRangeResponseBody.js.map +1 -1
- package/dist/models/GetDasAgentSseresponse.d.ts +2 -0
- package/dist/models/GetDasAgentSseresponse.js +4 -0
- package/dist/models/GetDasAgentSseresponse.js.map +1 -1
- package/dist/models/GetRunningSqlConcurrencyControlRulesResponseBody.d.ts +0 -84
- package/dist/models/GetRunningSqlConcurrencyControlRulesResponseBody.js.map +1 -1
- package/dist/models/GetSqlConcurrencyControlRulesHistoryResponseBody.d.ts +0 -87
- package/dist/models/GetSqlConcurrencyControlRulesHistoryResponseBody.js.map +1 -1
- package/dist/models/GetYaoChiAgentRequest.d.ts +36 -0
- package/dist/models/GetYaoChiAgentRequest.js +64 -0
- package/dist/models/GetYaoChiAgentRequest.js.map +1 -0
- package/dist/models/GetYaoChiAgentResponse.d.ts +21 -0
- package/dist/models/GetYaoChiAgentResponse.js +73 -0
- package/dist/models/GetYaoChiAgentResponse.js.map +1 -0
- package/dist/models/GetYaoChiAgentResponseBody.d.ts +99 -0
- package/dist/models/GetYaoChiAgentResponseBody.js +124 -0
- package/dist/models/GetYaoChiAgentResponseBody.js.map +1 -0
- package/dist/models/RunCloudBenchTaskResponseBody.d.ts +0 -59
- package/dist/models/RunCloudBenchTaskResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +18 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +138 -26
- package/src/models/CreateCacheAnalysisJobResponseBody.ts +0 -60
- package/src/models/CreateCloudBenchTasksResponseBody.ts +0 -4
- package/src/models/DescribeCacheAnalysisJobResponseBody.ts +0 -321
- package/src/models/DescribeCacheAnalysisJobsResponseBody.ts +0 -108
- package/src/models/DescribeCloudBenchTasksResponseBody.ts +0 -386
- package/src/models/DescribeHotBigKeysResponseBody.ts +0 -85
- package/src/models/DescribeHotKeysResponseBody.ts +0 -39
- package/src/models/DescribeTopBigKeysResponseBody.ts +0 -41
- package/src/models/DescribeTopHotKeysResponseBody.ts +0 -46
- package/src/models/GetAutonomousNotifyEventsInRangeResponseBody.ts +0 -4
- package/src/models/GetDasAgentSseresponse.ts +6 -0
- package/src/models/GetRunningSqlConcurrencyControlRulesResponseBody.ts +0 -84
- package/src/models/GetSqlConcurrencyControlRulesHistoryResponseBody.ts +0 -87
- package/src/models/GetYaoChiAgentRequest.ts +55 -0
- package/src/models/GetYaoChiAgentResponse.ts +46 -0
- package/src/models/GetYaoChiAgentResponseBody.ts +160 -0
- package/src/models/RunCloudBenchTaskResponseBody.ts +0 -59
- package/src/models/model.ts +5 -0
|
@@ -3,428 +3,46 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeCloudBenchTasksResponseBodyDataListCloudbenchTasks extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The archiving task ID.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* \\"202105211430070112231480820340758****
|
|
12
|
-
*/
|
|
13
6
|
archiveJobId?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The name of the table that was archived to Object Storage Service (OSS).
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* custins15546355_161604665****
|
|
20
|
-
*/
|
|
21
7
|
archiveOssTableName?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The archiving status of the file that stores the analysis result of full SQL statistics. Valid values:
|
|
25
|
-
*
|
|
26
|
-
* * **0**: The file archiving is not started.
|
|
27
|
-
* * **1**: The file is archived.
|
|
28
|
-
* * **2**: An error occurred.
|
|
29
|
-
* * **3**: The file is being archived.
|
|
30
|
-
* * **4**: The archived file does not need to be downloaded.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* 1
|
|
34
|
-
*/
|
|
35
8
|
archiveState?: number;
|
|
36
|
-
/**
|
|
37
|
-
* @remarks
|
|
38
|
-
* The ID of the backup set. You can call the [DescribeBackups](https://help.aliyun.com/document_detail/26273.html) operation to query the ID of the backup set.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* 229132
|
|
42
|
-
*/
|
|
43
9
|
backupId?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @remarks
|
|
46
|
-
* The backup type. Valid values:
|
|
47
|
-
*
|
|
48
|
-
* * **TIMESTAMP**: Data is restored to the state at a specific point in time.
|
|
49
|
-
* * **BACKUPID**: Data is restored from a backup set that is identified by an ID.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* TIMESTAMP
|
|
53
|
-
*/
|
|
54
10
|
backupType?: string;
|
|
55
|
-
/**
|
|
56
|
-
* @remarks
|
|
57
|
-
* The substep in the stress testing task. Valid values:
|
|
58
|
-
*
|
|
59
|
-
* * **NEW**: Initialize the stress testing task.
|
|
60
|
-
* * **WAIT_BUY_ECS**: Purchase an ECS instance.
|
|
61
|
-
* * **WAIT_START_ECS**: Start the ECS instance.
|
|
62
|
-
* * **WAIT_INSTALL_JDK**: Install the Java Development Kit (JDK).
|
|
63
|
-
* * **WAIT_INSTALL_DBGATEWAY**: Install the database gateway (DBGateway).
|
|
64
|
-
* * **ADD_SECURITY_IPS_STEP**: Configure the whitelist of the security group.
|
|
65
|
-
* * **ARCHIVE**: Archive the file that stores the analysis results of full SQL statistics.
|
|
66
|
-
* * **DOWNLOAD**: Download the file that stores the analysis result of full SQL statistics.
|
|
67
|
-
* * **PROCEED**: Preprocess the file that stores the analysis result of full SQL statistics.
|
|
68
|
-
* * **PRE_LOAD**: Preload the file that stores the analysis result of full SQL statistics.
|
|
69
|
-
* * **VALIDATE**: Verify the functionality of stress testing.
|
|
70
|
-
* * **PRESSURE**: Start the stress testing task.
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* PROCEED
|
|
74
|
-
*/
|
|
75
11
|
benchStep?: string;
|
|
76
|
-
/**
|
|
77
|
-
* @remarks
|
|
78
|
-
* The status that indicates the substep performed for the stress testing task. Valid values:
|
|
79
|
-
*
|
|
80
|
-
* * **NEW**: The task is being initialized.
|
|
81
|
-
* * **RUNNING**: The task is running.
|
|
82
|
-
* * **FAILED**: The task failed.
|
|
83
|
-
* * **FINISHED**: The task is complete.
|
|
84
|
-
* * **Terminated**: The task is terminated.
|
|
85
|
-
* * **Deleted**: The task is deleted.
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* FINISHED
|
|
89
|
-
*/
|
|
90
12
|
benchStepStatus?: string;
|
|
91
|
-
/**
|
|
92
|
-
* @remarks
|
|
93
|
-
* The DBGateway ID of the stress testing client.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* 58598b2af48a0193dfc16fc6964ef****
|
|
97
|
-
*/
|
|
98
13
|
clientGatewayId?: string;
|
|
99
|
-
/**
|
|
100
|
-
* @remarks
|
|
101
|
-
* The type of the stress testing client. Valid values:
|
|
102
|
-
*
|
|
103
|
-
* * **ECS**: indicates that you must prepare the DBGateway.
|
|
104
|
-
* * **DAS_ECS**: indicates that DAS automatically purchases and deploys an ECS instance for stress testing.
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* ECS
|
|
108
|
-
*/
|
|
109
14
|
clientType?: string;
|
|
110
|
-
/**
|
|
111
|
-
* @remarks
|
|
112
|
-
* The description of the stress testing task.
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* test-das-bench-0501
|
|
116
|
-
*/
|
|
117
15
|
description?: string;
|
|
118
|
-
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* The UUID of the destination instance.
|
|
121
|
-
*
|
|
122
|
-
* @example
|
|
123
|
-
* hdm_d887b5ccf99fa0dc9a1e5aaac368****
|
|
124
|
-
*/
|
|
125
16
|
dstInstanceUuid?: string;
|
|
126
|
-
/**
|
|
127
|
-
* @remarks
|
|
128
|
-
* The reserved parameter.
|
|
129
|
-
*
|
|
130
|
-
* @example
|
|
131
|
-
* None
|
|
132
|
-
*/
|
|
133
17
|
dstIp?: string;
|
|
134
|
-
/**
|
|
135
|
-
* @remarks
|
|
136
|
-
* The port number of the destination instance.
|
|
137
|
-
*
|
|
138
|
-
* @example
|
|
139
|
-
* 3306
|
|
140
|
-
*/
|
|
141
18
|
dstPort?: number;
|
|
142
|
-
/**
|
|
143
|
-
* @remarks
|
|
144
|
-
* The type of the identifier that is used to indicate the destination instance. Valid values:
|
|
145
|
-
*
|
|
146
|
-
* * **Instance** (default): the instance ID.
|
|
147
|
-
* * **ConnectionString**: the endpoint of the instance.
|
|
148
|
-
*
|
|
149
|
-
* @example
|
|
150
|
-
* Instance
|
|
151
|
-
*/
|
|
152
19
|
dstType?: string;
|
|
153
|
-
/**
|
|
154
|
-
* @remarks
|
|
155
|
-
* The specification of the DTS instance.
|
|
156
|
-
*
|
|
157
|
-
* > For more information about the specifications of DTS instances and the test performance of each instance, see [Specifications of data migration instances](https://help.aliyun.com/document_detail/26606.html).
|
|
158
|
-
*
|
|
159
|
-
* @example
|
|
160
|
-
* medium
|
|
161
|
-
*/
|
|
162
20
|
dtsJobClass?: string;
|
|
163
|
-
/**
|
|
164
|
-
* @remarks
|
|
165
|
-
* The ID of the DTS migration task.
|
|
166
|
-
*
|
|
167
|
-
* @example
|
|
168
|
-
* i03e3zty16i****
|
|
169
|
-
*/
|
|
170
21
|
dtsJobId?: string;
|
|
171
|
-
/**
|
|
172
|
-
* @remarks
|
|
173
|
-
* The name of the Data Transmission Service (DTS) migration task.
|
|
174
|
-
*
|
|
175
|
-
* @example
|
|
176
|
-
* RDS_TO_RDS_MIGRATION
|
|
177
|
-
*/
|
|
178
22
|
dtsJobName?: string;
|
|
179
|
-
/**
|
|
180
|
-
* @remarks
|
|
181
|
-
* The status of the DTS migration task. Valid values:
|
|
182
|
-
*
|
|
183
|
-
* * **NOT_STARTED**: The task is not started.
|
|
184
|
-
* * **PRE_CHECKING**: The task is in precheck.
|
|
185
|
-
* * **PRE_CHECK_FAILED**: The precheck failed.
|
|
186
|
-
* * **CHECKING**: The task is being checked.
|
|
187
|
-
* * **MIGRATING**: The data is being migrated.
|
|
188
|
-
* * **CATCHED**: The data is migrated from the source instance to the destination instance.
|
|
189
|
-
* * **SUSPENDING**: The task is suspended.
|
|
190
|
-
* * **MIGRATION_FAILED**: The data failed to be migrated.
|
|
191
|
-
* * **FINISHED**: The task is complete.
|
|
192
|
-
* * **INITIALIZING**: The synchronization is being initialized.
|
|
193
|
-
* * **INITIALIZE_FAILED**: The synchronization failed to be initialized.
|
|
194
|
-
* * **SYNCHRONIZING**: The data is being synchronized.
|
|
195
|
-
* * **MODIFYING**: The roles of the instances are being changed.
|
|
196
|
-
* * **SWITCHING**: The roles of the instances are being switched.
|
|
197
|
-
* * **FAILED**: The task failed.
|
|
198
|
-
*
|
|
199
|
-
* @example
|
|
200
|
-
* CHECKING
|
|
201
|
-
*/
|
|
202
23
|
dtsJobState?: number;
|
|
203
|
-
/**
|
|
204
|
-
* @remarks
|
|
205
|
-
* The status of the DTS migration task. Valid values:
|
|
206
|
-
*
|
|
207
|
-
* * **NOT_STARTED**: The task is not started.
|
|
208
|
-
* * **PRE_CHECKING**: The task is in precheck.
|
|
209
|
-
* * **PRE_CHECK_FAILED**: The precheck failed.
|
|
210
|
-
* * **CHECKING**: The task is being checked.
|
|
211
|
-
* * **MIGRATING**: The data is being migrated.
|
|
212
|
-
* * **CATCHED**: The data is migrated from the source instance to the destination instance.
|
|
213
|
-
* * **SUSPENDING**: The task is suspended.
|
|
214
|
-
* * **MIGRATION_FAILED**: The data failed to be migrated.
|
|
215
|
-
* * **FINISHED**: The task is complete.
|
|
216
|
-
* * **INITIALIZING**: The synchronization is being initialized.
|
|
217
|
-
* * **INITIALIZE_FAILED**: The synchronization failed to be initialized.
|
|
218
|
-
* * **SYNCHRONIZING**: The data is being synchronized.
|
|
219
|
-
* * **MODIFYING**: The roles of the instances are being changed.
|
|
220
|
-
* * **SWITCHING**: The roles of the instances are being switched.
|
|
221
|
-
* * **FAILED**: The task failed.
|
|
222
|
-
*
|
|
223
|
-
* @example
|
|
224
|
-
* PRE_CHECK_FAILED
|
|
225
|
-
*/
|
|
226
24
|
dtsJobStatus?: string;
|
|
227
|
-
/**
|
|
228
|
-
* @remarks
|
|
229
|
-
* The ID of the Elastic Compute Service (ECS) instance.
|
|
230
|
-
*
|
|
231
|
-
* @example
|
|
232
|
-
* i-bp1ecr5go2go1****
|
|
233
|
-
*/
|
|
234
25
|
ecsInstanceId?: string;
|
|
235
|
-
/**
|
|
236
|
-
* @remarks
|
|
237
|
-
* The state that indicates the last operation performed for the stress testing task. Valid values:
|
|
238
|
-
*
|
|
239
|
-
* * **WAIT_TARGET**: prepares the destination instance.
|
|
240
|
-
* * **WAIT_DBGATEWAY**: prepares the DBGateway.
|
|
241
|
-
* * **WAIT_SQL**: prepares the full SQL statistics.
|
|
242
|
-
* * **WAIT_LOGIC**: prepares to replay the traffic.
|
|
243
|
-
*
|
|
244
|
-
* > When the state of a stress testing task changes to the state that is specified by the EndState parameter, the stress testing task is complete.
|
|
245
|
-
*
|
|
246
|
-
* @example
|
|
247
|
-
* WAIT_TARGET
|
|
248
|
-
*/
|
|
249
26
|
endState?: string;
|
|
250
|
-
/**
|
|
251
|
-
* @remarks
|
|
252
|
-
* The error code returned for the substep of the stress testing task.
|
|
253
|
-
*
|
|
254
|
-
* @example
|
|
255
|
-
* 10109
|
|
256
|
-
*/
|
|
257
27
|
errorCode?: string;
|
|
258
|
-
/**
|
|
259
|
-
* @remarks
|
|
260
|
-
* The error message returned if the task failed.
|
|
261
|
-
*
|
|
262
|
-
* @example
|
|
263
|
-
* DTS-070211: Connect Source DB failed. cause by [com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:Could not create connection to database server. Attempted reconnect 3 times. Giving up.][com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure\\n\\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.][java.net.ConnectException:Connection timed out (Connection timed out)] About more information in [https://yq.aliyun.com/articles/499178].
|
|
264
|
-
*/
|
|
265
28
|
errorMessage?: string;
|
|
266
|
-
/**
|
|
267
|
-
* @remarks
|
|
268
|
-
* The additional information.
|
|
269
|
-
*
|
|
270
|
-
* @example
|
|
271
|
-
* Null
|
|
272
|
-
*/
|
|
273
29
|
external?: string;
|
|
274
|
-
/**
|
|
275
|
-
* @remarks
|
|
276
|
-
* The rate at which the stress testing task replayed the traffic. This value is a positive integer. Valid values: **0** to **30**. Default value: **1**.
|
|
277
|
-
*
|
|
278
|
-
* @example
|
|
279
|
-
* 1
|
|
280
|
-
*/
|
|
281
30
|
rate?: number;
|
|
282
|
-
/**
|
|
283
|
-
* @remarks
|
|
284
|
-
* The duration of the stress testing task. Unit: millisecond.
|
|
285
|
-
*
|
|
286
|
-
* @example
|
|
287
|
-
* 86400000
|
|
288
|
-
*/
|
|
289
31
|
requestDuration?: number;
|
|
290
|
-
/**
|
|
291
|
-
* @remarks
|
|
292
|
-
* The duration of the stress testing task of the smart pressure test type. Unit: millisecond.
|
|
293
|
-
*
|
|
294
|
-
* @example
|
|
295
|
-
* 86400000
|
|
296
|
-
*/
|
|
297
32
|
smartPressureTime?: number;
|
|
298
|
-
/**
|
|
299
|
-
* @remarks
|
|
300
|
-
* The source of the task. Valid values:
|
|
301
|
-
*
|
|
302
|
-
* * **DAS**
|
|
303
|
-
* * **OPEN_API**
|
|
304
|
-
*
|
|
305
|
-
* @example
|
|
306
|
-
* DAS
|
|
307
|
-
*/
|
|
308
33
|
source?: string;
|
|
309
|
-
/**
|
|
310
|
-
* @remarks
|
|
311
|
-
* The reused information about the analysis result of full SQL statistics.
|
|
312
|
-
*
|
|
313
|
-
* @example
|
|
314
|
-
* {"sqlUuid":"task_a37d2f07-45cb-4413-a2a6-c66c68****","metaUuid":"task_211e2561-5c0c-486b-864c-56b511****","sqlFile":"cl-1620057600000-1800626.sc","metaFile":"cl-1620057600000-1800626.meta"}
|
|
315
|
-
*/
|
|
316
34
|
sqlCompleteReuse?: string;
|
|
317
|
-
/**
|
|
318
|
-
* @remarks
|
|
319
|
-
* The database engine of the source instance. Valid values:
|
|
320
|
-
*
|
|
321
|
-
* @example
|
|
322
|
-
* RDS
|
|
323
|
-
*/
|
|
324
35
|
srcInstanceArea?: string;
|
|
325
|
-
/**
|
|
326
|
-
* @remarks
|
|
327
|
-
* The UUID of the source instance.
|
|
328
|
-
*
|
|
329
|
-
* @example
|
|
330
|
-
* hdm_3063db6792965c080a4bcb6e6304****
|
|
331
|
-
*/
|
|
332
36
|
srcInstanceUuid?: string;
|
|
333
|
-
/**
|
|
334
|
-
* @remarks
|
|
335
|
-
* The reserved parameter.
|
|
336
|
-
*
|
|
337
|
-
* @example
|
|
338
|
-
* None
|
|
339
|
-
*/
|
|
340
37
|
srcPublicIp?: string;
|
|
341
|
-
/**
|
|
342
|
-
* @remarks
|
|
343
|
-
* The state that indicates the operation performed for the stress testing task. Valid values:
|
|
344
|
-
*
|
|
345
|
-
* * **WAIT_TARGET**: prepares the destination instance.
|
|
346
|
-
* * **WAIT_DBGATEWAY**: prepares the DBGateway.
|
|
347
|
-
* * **WAIT_SQL**: prepares the full SQL statistics.
|
|
348
|
-
* * **WAIT_LOGIC**: prepares to replay the traffic.
|
|
349
|
-
*
|
|
350
|
-
* @example
|
|
351
|
-
* WAIT_TARGET
|
|
352
|
-
*/
|
|
353
38
|
state?: string;
|
|
354
|
-
/**
|
|
355
|
-
* @remarks
|
|
356
|
-
* The status of the stress testing task. Valid values:
|
|
357
|
-
*
|
|
358
|
-
* * **SUCCESS**: The task was successful.
|
|
359
|
-
* * **IGNORED**: The task was ignored.
|
|
360
|
-
* * **RUNNING**: The task is running.
|
|
361
|
-
* * **EXCEPTION**: The task is abnormal.
|
|
362
|
-
*
|
|
363
|
-
* @example
|
|
364
|
-
* RUNNING
|
|
365
|
-
*/
|
|
366
39
|
status?: string;
|
|
367
|
-
/**
|
|
368
|
-
* @remarks
|
|
369
|
-
* The name of the table that is used for stress testing.
|
|
370
|
-
*
|
|
371
|
-
* @example
|
|
372
|
-
* [{"TABLE_NAME":"customer1","TABLE_SCHEMA":"tpcc"}]
|
|
373
|
-
*/
|
|
374
40
|
tableSchema?: string;
|
|
375
|
-
/**
|
|
376
|
-
* @remarks
|
|
377
|
-
* The task ID.
|
|
378
|
-
*
|
|
379
|
-
* @example
|
|
380
|
-
* e5cec704-0518-430f-8263-76f4dcds****
|
|
381
|
-
*/
|
|
382
41
|
taskId?: string;
|
|
383
|
-
/**
|
|
384
|
-
* @remarks
|
|
385
|
-
* The type of the stress testing task. Valid values:
|
|
386
|
-
*
|
|
387
|
-
* * **pressure test** (default): A task of this type replays the traffic that is captured from the source instance on the destination instance at the maximum playback rate that is supported by the destination instance.
|
|
388
|
-
* * **smart pressure test**: A task of this type analyzes the traffic that is captured from the source instance over a short period of time and generates traffic on the destination instance for continuous stress testing. The business model based on which the traffic is generated on the destination instance and the traffic distribution are consistent with those on the source instance. Stress testing tasks of this type can help you reduce the amount of time that is consumed to collect data from the source instance and reduce storage costs and performance overheads.
|
|
389
|
-
*
|
|
390
|
-
* @example
|
|
391
|
-
* pressure test
|
|
392
|
-
*/
|
|
393
42
|
taskType?: string;
|
|
394
|
-
/**
|
|
395
|
-
* @remarks
|
|
396
|
-
* The topic that contains the consumed data. This topic is a topic in Message Queue for Apache Kafka.
|
|
397
|
-
*
|
|
398
|
-
* @example
|
|
399
|
-
* das
|
|
400
|
-
*/
|
|
401
43
|
topic?: string;
|
|
402
|
-
/**
|
|
403
|
-
* @remarks
|
|
404
|
-
* The Alibaba Cloud account ID.
|
|
405
|
-
*
|
|
406
|
-
* @example
|
|
407
|
-
* 1091411816252****
|
|
408
|
-
*/
|
|
409
44
|
userId?: string;
|
|
410
|
-
/**
|
|
411
|
-
* @remarks
|
|
412
|
-
* The version of the stress testing task. Valid values:
|
|
413
|
-
*
|
|
414
|
-
* * **V2.0**
|
|
415
|
-
* * **V3.0**
|
|
416
|
-
*
|
|
417
|
-
* @example
|
|
418
|
-
* V3.0
|
|
419
|
-
*/
|
|
420
45
|
version?: string;
|
|
421
|
-
/**
|
|
422
|
-
* @remarks
|
|
423
|
-
* The path of the temporary directory that is generated for stress testing.
|
|
424
|
-
*
|
|
425
|
-
* @example
|
|
426
|
-
* /tmp/bench/
|
|
427
|
-
*/
|
|
428
46
|
workDir?: string;
|
|
429
47
|
static names(): { [key: string]: string } {
|
|
430
48
|
return {
|
|
@@ -562,10 +180,6 @@ export class DescribeCloudBenchTasksResponseBodyData extends $dara.Model {
|
|
|
562
180
|
* None
|
|
563
181
|
*/
|
|
564
182
|
extra?: string;
|
|
565
|
-
/**
|
|
566
|
-
* @remarks
|
|
567
|
-
* The detailed information of the stress testing task.
|
|
568
|
-
*/
|
|
569
183
|
list?: DescribeCloudBenchTasksResponseBodyDataList;
|
|
570
184
|
/**
|
|
571
185
|
* @remarks
|
|
@@ -3,45 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeHotBigKeysResponseBodyDataBigKeysBigKey extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The database in which the key is stored.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 0
|
|
12
|
-
*/
|
|
13
6
|
db?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The key.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* abc:def:eng
|
|
20
|
-
*/
|
|
21
7
|
key?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The type of the key.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* zset
|
|
28
|
-
*/
|
|
29
8
|
keyType?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* r-x****-db-0
|
|
36
|
-
*/
|
|
37
9
|
nodeId?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @remarks
|
|
40
|
-
* The number of elements in the key.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* 2
|
|
44
|
-
*/
|
|
45
10
|
size?: number;
|
|
46
11
|
static names(): { [key: string]: string } {
|
|
47
12
|
return {
|
|
@@ -169,53 +134,11 @@ export class DescribeHotBigKeysResponseBodyDataHighTrafficKeys extends $dara.Mod
|
|
|
169
134
|
}
|
|
170
135
|
|
|
171
136
|
export class DescribeHotBigKeysResponseBodyDataHotKeysHotKey extends $dara.Model {
|
|
172
|
-
/**
|
|
173
|
-
* @remarks
|
|
174
|
-
* The database in which the key is stored.
|
|
175
|
-
*
|
|
176
|
-
* @example
|
|
177
|
-
* 0
|
|
178
|
-
*/
|
|
179
137
|
db?: number;
|
|
180
|
-
/**
|
|
181
|
-
* @remarks
|
|
182
|
-
* The frequency at which the key is accessed, which indicates the queries per second (QPS) of the key.
|
|
183
|
-
*
|
|
184
|
-
* @example
|
|
185
|
-
* 5500~6000
|
|
186
|
-
*/
|
|
187
138
|
hot?: string;
|
|
188
|
-
/**
|
|
189
|
-
* @remarks
|
|
190
|
-
* The key.
|
|
191
|
-
*
|
|
192
|
-
* @example
|
|
193
|
-
* abc:def:eng
|
|
194
|
-
*/
|
|
195
139
|
key?: string;
|
|
196
|
-
/**
|
|
197
|
-
* @remarks
|
|
198
|
-
* The type of the key.
|
|
199
|
-
*
|
|
200
|
-
* @example
|
|
201
|
-
* zset
|
|
202
|
-
*/
|
|
203
140
|
keyType?: string;
|
|
204
|
-
/**
|
|
205
|
-
* @remarks
|
|
206
|
-
* The statistical value that is calculated based on the least frequently used (LFU) caching algorithm.
|
|
207
|
-
*
|
|
208
|
-
* @example
|
|
209
|
-
* 253
|
|
210
|
-
*/
|
|
211
141
|
lfu?: number;
|
|
212
|
-
/**
|
|
213
|
-
* @remarks
|
|
214
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
215
|
-
*
|
|
216
|
-
* @example
|
|
217
|
-
* r-x****-db-0
|
|
218
|
-
*/
|
|
219
142
|
nodeId?: string;
|
|
220
143
|
size?: number;
|
|
221
144
|
static names(): { [key: string]: string } {
|
|
@@ -347,10 +270,6 @@ export class DescribeHotBigKeysResponseBodyData extends $dara.Model {
|
|
|
347
270
|
* current version doesn\\"t support
|
|
348
271
|
*/
|
|
349
272
|
bigKeyMsg?: string;
|
|
350
|
-
/**
|
|
351
|
-
* @remarks
|
|
352
|
-
* The list of large keys.
|
|
353
|
-
*/
|
|
354
273
|
bigKeys?: DescribeHotBigKeysResponseBodyDataBigKeys;
|
|
355
274
|
highTrafficKeyMsg?: string;
|
|
356
275
|
highTrafficKeys?: DescribeHotBigKeysResponseBodyDataHighTrafficKeys;
|
|
@@ -362,10 +281,6 @@ export class DescribeHotBigKeysResponseBodyData extends $dara.Model {
|
|
|
362
281
|
* current version doesn\\"t support
|
|
363
282
|
*/
|
|
364
283
|
hotKeyMsg?: string;
|
|
365
|
-
/**
|
|
366
|
-
* @remarks
|
|
367
|
-
* The list of hot keys.
|
|
368
|
-
*/
|
|
369
284
|
hotKeys?: DescribeHotBigKeysResponseBodyDataHotKeys;
|
|
370
285
|
largeKeyMsg?: string;
|
|
371
286
|
largeKeys?: DescribeHotBigKeysResponseBodyDataLargeKeys;
|
|
@@ -4,48 +4,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeHotKeysResponseBodyDataHotKey extends $dara.Model {
|
|
6
6
|
category?: string;
|
|
7
|
-
/**
|
|
8
|
-
* @remarks
|
|
9
|
-
* The database in which the key is stored.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* 0
|
|
13
|
-
*/
|
|
14
7
|
db?: number;
|
|
15
|
-
/**
|
|
16
|
-
* @remarks
|
|
17
|
-
* The frequency at which the key is accessed, which indicates the queries per second (QPS) of the key.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* 5500~6000
|
|
21
|
-
*/
|
|
22
8
|
hot?: string;
|
|
23
9
|
inBytes?: number;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* The name of the key.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* abc:def:eng
|
|
30
|
-
*/
|
|
31
10
|
key?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The type of the key.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* zset
|
|
38
|
-
*/
|
|
39
11
|
keyType?: string;
|
|
40
12
|
nodeId?: string;
|
|
41
13
|
outBytes?: number;
|
|
42
|
-
/**
|
|
43
|
-
* @remarks
|
|
44
|
-
* The number of elements in the key.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* 2
|
|
48
|
-
*/
|
|
49
14
|
size?: number;
|
|
50
15
|
static names(): { [key: string]: string } {
|
|
51
16
|
return {
|
|
@@ -119,10 +84,6 @@ export class DescribeHotKeysResponseBody extends $dara.Model {
|
|
|
119
84
|
* 200
|
|
120
85
|
*/
|
|
121
86
|
code?: string;
|
|
122
|
-
/**
|
|
123
|
-
* @remarks
|
|
124
|
-
* The details of the hot keys.
|
|
125
|
-
*/
|
|
126
87
|
data?: DescribeHotKeysResponseBodyData;
|
|
127
88
|
/**
|
|
128
89
|
* @remarks
|
|
@@ -3,45 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeTopBigKeysResponseBodyDataBigKey extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The database in which the key is stored.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 0
|
|
12
|
-
*/
|
|
13
6
|
db?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The key.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* abc:def:eng
|
|
20
|
-
*/
|
|
21
7
|
key?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The type of the key.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* zset
|
|
28
|
-
*/
|
|
29
8
|
keyType?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* r-x****-db-0
|
|
36
|
-
*/
|
|
37
9
|
nodeId?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @remarks
|
|
40
|
-
* The number of elements in the key.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* 2
|
|
44
|
-
*/
|
|
45
10
|
size?: number;
|
|
46
11
|
static names(): { [key: string]: string } {
|
|
47
12
|
return {
|
|
@@ -107,12 +72,6 @@ export class DescribeTopBigKeysResponseBody extends $dara.Model {
|
|
|
107
72
|
* 200
|
|
108
73
|
*/
|
|
109
74
|
code?: string;
|
|
110
|
-
/**
|
|
111
|
-
* @remarks
|
|
112
|
-
* The detailed information about the large keys.
|
|
113
|
-
*
|
|
114
|
-
* > This parameter is left empty If no large keys exist within the specified time range.
|
|
115
|
-
*/
|
|
116
75
|
data?: DescribeTopBigKeysResponseBodyData;
|
|
117
76
|
/**
|
|
118
77
|
* @remarks
|