@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
|
@@ -4,54 +4,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeTopHotKeysResponseBodyDataHotKey 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 QPS of the key.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* 5500~6000
|
|
21
|
-
*/
|
|
22
8
|
hot?: string;
|
|
23
9
|
inBytes?: number;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* 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
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The statistical value that is calculated based on the least frequently used (LFU) caching algorithm.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* 253
|
|
46
|
-
*/
|
|
47
12
|
lfu?: number;
|
|
48
|
-
/**
|
|
49
|
-
* @remarks
|
|
50
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* r-x****-db-0
|
|
54
|
-
*/
|
|
55
13
|
nodeId?: string;
|
|
56
14
|
outBytes?: number;
|
|
57
15
|
static names(): { [key: string]: string } {
|
|
@@ -126,10 +84,6 @@ export class DescribeTopHotKeysResponseBody extends $dara.Model {
|
|
|
126
84
|
* 200
|
|
127
85
|
*/
|
|
128
86
|
code?: string;
|
|
129
|
-
/**
|
|
130
|
-
* @remarks
|
|
131
|
-
* The detailed information about the hot keys.
|
|
132
|
-
*/
|
|
133
87
|
data?: DescribeTopHotKeysResponseBodyData;
|
|
134
88
|
/**
|
|
135
89
|
* @remarks
|
|
@@ -37,10 +37,6 @@ export class GetAutonomousNotifyEventsInRangeResponseBodyData extends $dara.Mode
|
|
|
37
37
|
* None
|
|
38
38
|
*/
|
|
39
39
|
extra?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The detailed information, including the error codes and the number of entries that are returned.
|
|
43
|
-
*/
|
|
44
40
|
list?: GetAutonomousNotifyEventsInRangeResponseBodyDataList;
|
|
45
41
|
/**
|
|
46
42
|
* @remarks
|
|
@@ -6,11 +6,15 @@ import { GetDasAgentSSEResponseBody } from "./GetDasAgentSseresponseBody";
|
|
|
6
6
|
export class GetDasAgentSSEResponse extends $dara.Model {
|
|
7
7
|
headers?: { [key: string]: string };
|
|
8
8
|
statusCode?: number;
|
|
9
|
+
id?: string;
|
|
10
|
+
event?: string;
|
|
9
11
|
body?: GetDasAgentSSEResponseBody;
|
|
10
12
|
static names(): { [key: string]: string } {
|
|
11
13
|
return {
|
|
12
14
|
headers: 'headers',
|
|
13
15
|
statusCode: 'statusCode',
|
|
16
|
+
id: 'id',
|
|
17
|
+
event: 'event',
|
|
14
18
|
body: 'body',
|
|
15
19
|
};
|
|
16
20
|
}
|
|
@@ -19,6 +23,8 @@ export class GetDasAgentSSEResponse extends $dara.Model {
|
|
|
19
23
|
return {
|
|
20
24
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
25
|
statusCode: 'number',
|
|
26
|
+
id: 'string',
|
|
27
|
+
event: 'string',
|
|
22
28
|
body: GetDasAgentSSEResponseBody,
|
|
23
29
|
};
|
|
24
30
|
}
|
|
@@ -3,95 +3,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetRunningSqlConcurrencyControlRulesResponseBodyDataListRunningRules extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The duration within which the SQL throttling rule takes effect. Unit: seconds.
|
|
9
|
-
*
|
|
10
|
-
* > The throttling rule takes effect only within this duration.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* 600
|
|
14
|
-
*/
|
|
15
6
|
concurrencyControlTime?: number;
|
|
16
|
-
/**
|
|
17
|
-
* @remarks
|
|
18
|
-
* The instance ID.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* rm-2ze1jdv45i7l6****
|
|
22
|
-
*/
|
|
23
7
|
instanceId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* The ID of the throttling rule that is applied to the instance.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* 16
|
|
30
|
-
*/
|
|
31
8
|
itemId?: number;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The hash value of the SQL keywords. The hash value is calculated based on the SQL keywords that are contained in the SQL statements to which the throttling rule is applied.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* b0b8aceeb43baea87b219c81767b****
|
|
38
|
-
*/
|
|
39
9
|
keywordsHash?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The maximum number of concurrent SQL statements. The value is a positive integer.
|
|
43
|
-
*
|
|
44
|
-
* > If the number of concurrent SQL statements that contain the specified keywords reaches this upper limit, the throttling rule is triggered.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* 2
|
|
48
|
-
*/
|
|
49
10
|
maxConcurrency?: string;
|
|
50
|
-
/**
|
|
51
|
-
* @remarks
|
|
52
|
-
* The keywords contained in the SQL statements to which the throttling rule was applied.
|
|
53
|
-
*
|
|
54
|
-
* > SQL keywords are separated by tildes (~). If the number of concurrent SQL statements that contain all the specified SQL keywords reaches the specified upper limit, the throttling rule is triggered.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* call~open~api~test~4~from~POP
|
|
58
|
-
*/
|
|
59
11
|
sqlKeywords?: string;
|
|
60
|
-
/**
|
|
61
|
-
* @remarks
|
|
62
|
-
* The type of the SQL statements. Valid values:
|
|
63
|
-
*
|
|
64
|
-
* * **SELECT**
|
|
65
|
-
* * **UPDATE**
|
|
66
|
-
* * **DELETE**
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* SELECT
|
|
70
|
-
*/
|
|
71
12
|
sqlType?: string;
|
|
72
|
-
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The time when the throttling rule started to take effect. The value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* 1608888296000
|
|
78
|
-
*/
|
|
79
13
|
startTime?: number;
|
|
80
|
-
/**
|
|
81
|
-
* @remarks
|
|
82
|
-
* The status of the throttling rule. The value of **Open** indicates that the throttling rule is in effect.
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* Open
|
|
86
|
-
*/
|
|
87
14
|
status?: string;
|
|
88
|
-
/**
|
|
89
|
-
* @remarks
|
|
90
|
-
* The Alibaba Cloud account ID.
|
|
91
|
-
*
|
|
92
|
-
* @example
|
|
93
|
-
* testxxx
|
|
94
|
-
*/
|
|
95
15
|
userId?: string;
|
|
96
16
|
static names(): { [key: string]: string } {
|
|
97
17
|
return {
|
|
@@ -159,10 +79,6 @@ export class GetRunningSqlConcurrencyControlRulesResponseBodyDataList extends $d
|
|
|
159
79
|
}
|
|
160
80
|
|
|
161
81
|
export class GetRunningSqlConcurrencyControlRulesResponseBodyData extends $dara.Model {
|
|
162
|
-
/**
|
|
163
|
-
* @remarks
|
|
164
|
-
* The returned data.
|
|
165
|
-
*/
|
|
166
82
|
list?: GetRunningSqlConcurrencyControlRulesResponseBodyDataList;
|
|
167
83
|
/**
|
|
168
84
|
* @remarks
|
|
@@ -3,98 +3,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetSqlConcurrencyControlRulesHistoryResponseBodyDataListRules extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The duration within which the SQL throttling rule takes effect. Unit: seconds.
|
|
9
|
-
*
|
|
10
|
-
* > The throttling rule takes effect only within this duration.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* 600
|
|
14
|
-
*/
|
|
15
6
|
concurrencyControlTime?: number;
|
|
16
|
-
/**
|
|
17
|
-
* @remarks
|
|
18
|
-
* The instance ID.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* rm-2ze1jdv45i7l6****
|
|
22
|
-
*/
|
|
23
7
|
instanceId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* The ID of the throttling rule that is applied to the instance.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* 16
|
|
30
|
-
*/
|
|
31
8
|
itemId?: number;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The hash value of the SQL keywords. The SQL keywords are contained in the SQL statements to which the throttling rule is applied.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* b0b8aceeb43baea87b219c81767b****
|
|
38
|
-
*/
|
|
39
9
|
keywordsHash?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The maximum number of concurrent SQL statements. Set this parameter to a positive integer.
|
|
43
|
-
*
|
|
44
|
-
* > When the number of concurrent SQL statements that contain the specified keywords reaches this upper limit, the throttling rule is triggered.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* 2
|
|
48
|
-
*/
|
|
49
10
|
maxConcurrency?: number;
|
|
50
|
-
/**
|
|
51
|
-
* @remarks
|
|
52
|
-
* The keywords that are used to identify the SQL statements that need to be throttled.
|
|
53
|
-
*
|
|
54
|
-
* > SQL keywords are separated with tildes (~). When the number of concurrent SQL statements that contain all the specified SQL keywords reaches the specified upper limit, the throttling rule is triggered.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* call~open~api~test~4~from~POP
|
|
58
|
-
*/
|
|
59
11
|
sqlKeywords?: string;
|
|
60
|
-
/**
|
|
61
|
-
* @remarks
|
|
62
|
-
* The type of the SQL statements. Valid values:
|
|
63
|
-
*
|
|
64
|
-
* * **SELECT**
|
|
65
|
-
* * **UPDATE**
|
|
66
|
-
* * **DELETE**
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* SELECT
|
|
70
|
-
*/
|
|
71
12
|
sqlType?: string;
|
|
72
|
-
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* 1608888296000
|
|
78
|
-
*/
|
|
79
13
|
startTime?: number;
|
|
80
|
-
/**
|
|
81
|
-
* @remarks
|
|
82
|
-
* The state of the throttling rule. Valid values:
|
|
83
|
-
*
|
|
84
|
-
* * **Open**: The throttling rule is in effect.
|
|
85
|
-
* * **Closed**: The throttling rule was in effect.
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* Open
|
|
89
|
-
*/
|
|
90
14
|
status?: string;
|
|
91
|
-
/**
|
|
92
|
-
* @remarks
|
|
93
|
-
* The user ID.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* testxxx
|
|
97
|
-
*/
|
|
98
15
|
userId?: string;
|
|
99
16
|
static names(): { [key: string]: string } {
|
|
100
17
|
return {
|
|
@@ -162,10 +79,6 @@ export class GetSqlConcurrencyControlRulesHistoryResponseBodyDataList extends $d
|
|
|
162
79
|
}
|
|
163
80
|
|
|
164
81
|
export class GetSqlConcurrencyControlRulesHistoryResponseBodyData extends $dara.Model {
|
|
165
|
-
/**
|
|
166
|
-
* @remarks
|
|
167
|
-
* The list of the queried throttling rules.
|
|
168
|
-
*/
|
|
169
82
|
list?: GetSqlConcurrencyControlRulesHistoryResponseBodyDataList;
|
|
170
83
|
/**
|
|
171
84
|
* @remarks
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetYaoChiAgentRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {}
|
|
9
|
+
*/
|
|
10
|
+
extraInfo?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* Are there any issues or abnormalities with my instance rm-xxx?
|
|
17
|
+
*/
|
|
18
|
+
query?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 123e4567-e89b-12d3-a456-xxxxxxxxxxxx
|
|
22
|
+
*/
|
|
23
|
+
sessionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* yaochi
|
|
27
|
+
*/
|
|
28
|
+
source?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
extraInfo: 'ExtraInfo',
|
|
32
|
+
query: 'Query',
|
|
33
|
+
sessionId: 'SessionId',
|
|
34
|
+
source: 'Source',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
extraInfo: 'string',
|
|
41
|
+
query: 'string',
|
|
42
|
+
sessionId: 'string',
|
|
43
|
+
source: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetYaoChiAgentResponseBody } from "./GetYaoChiAgentResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetYaoChiAgentResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
id?: string;
|
|
10
|
+
event?: string;
|
|
11
|
+
body?: GetYaoChiAgentResponseBody;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
headers: 'headers',
|
|
15
|
+
statusCode: 'statusCode',
|
|
16
|
+
id: 'id',
|
|
17
|
+
event: 'event',
|
|
18
|
+
body: 'body',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25
|
+
statusCode: 'number',
|
|
26
|
+
id: 'string',
|
|
27
|
+
event: 'string',
|
|
28
|
+
body: GetYaoChiAgentResponseBody,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
validate() {
|
|
33
|
+
if(this.headers) {
|
|
34
|
+
$dara.Model.validateMap(this.headers);
|
|
35
|
+
}
|
|
36
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
37
|
+
(this.body as any).validate();
|
|
38
|
+
}
|
|
39
|
+
super.validate();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
constructor(map?: { [key: string]: any }) {
|
|
43
|
+
super(map);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetYaoChiAgentResponseBodyFunctionCall extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {"arg": "xxx"}
|
|
9
|
+
*/
|
|
10
|
+
arguments?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 123447
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* sqlReview
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* RUNNING
|
|
24
|
+
*/
|
|
25
|
+
status?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
arguments: 'Arguments',
|
|
29
|
+
id: 'Id',
|
|
30
|
+
name: 'Name',
|
|
31
|
+
status: 'Status',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
arguments: 'string',
|
|
38
|
+
id: 'string',
|
|
39
|
+
name: 'string',
|
|
40
|
+
status: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class GetYaoChiAgentResponseBodyUiFunctionCall extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* {"arg": "xxx"}
|
|
57
|
+
*/
|
|
58
|
+
argsText?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* card
|
|
62
|
+
*/
|
|
63
|
+
toolName?: string;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
argsText: 'ArgsText',
|
|
67
|
+
toolName: 'ToolName',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
argsText: 'string',
|
|
74
|
+
toolName: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class GetYaoChiAgentResponseBody extends $dara.Model {
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* xxx
|
|
91
|
+
*/
|
|
92
|
+
content?: string;
|
|
93
|
+
functionCall?: GetYaoChiAgentResponseBodyFunctionCall[];
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* polardb
|
|
97
|
+
*/
|
|
98
|
+
product?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @example
|
|
101
|
+
* 123e4567-e89b-12d3-a456-xxxxxxxxxxxx
|
|
102
|
+
*/
|
|
103
|
+
queryId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @example
|
|
106
|
+
* xxx
|
|
107
|
+
*/
|
|
108
|
+
reasoningContent?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 7172BECE-588A-5961-8126-C216E16B****
|
|
112
|
+
*/
|
|
113
|
+
requestId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* 123e4567-e89b-12d3-a456-xxxxxxxxxxxx
|
|
117
|
+
*/
|
|
118
|
+
sessionId?: string;
|
|
119
|
+
uiFunctionCall?: GetYaoChiAgentResponseBodyUiFunctionCall[];
|
|
120
|
+
static names(): { [key: string]: string } {
|
|
121
|
+
return {
|
|
122
|
+
content: 'Content',
|
|
123
|
+
functionCall: 'FunctionCall',
|
|
124
|
+
product: 'Product',
|
|
125
|
+
queryId: 'QueryId',
|
|
126
|
+
reasoningContent: 'ReasoningContent',
|
|
127
|
+
requestId: 'RequestId',
|
|
128
|
+
sessionId: 'SessionId',
|
|
129
|
+
uiFunctionCall: 'UiFunctionCall',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
static types(): { [key: string]: any } {
|
|
134
|
+
return {
|
|
135
|
+
content: 'string',
|
|
136
|
+
functionCall: { 'type': 'array', 'itemType': GetYaoChiAgentResponseBodyFunctionCall },
|
|
137
|
+
product: 'string',
|
|
138
|
+
queryId: 'string',
|
|
139
|
+
reasoningContent: 'string',
|
|
140
|
+
requestId: 'string',
|
|
141
|
+
sessionId: 'string',
|
|
142
|
+
uiFunctionCall: { 'type': 'array', 'itemType': GetYaoChiAgentResponseBodyUiFunctionCall },
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
if(Array.isArray(this.functionCall)) {
|
|
148
|
+
$dara.Model.validateArray(this.functionCall);
|
|
149
|
+
}
|
|
150
|
+
if(Array.isArray(this.uiFunctionCall)) {
|
|
151
|
+
$dara.Model.validateArray(this.uiFunctionCall);
|
|
152
|
+
}
|
|
153
|
+
super.validate();
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
constructor(map?: { [key: string]: any }) {
|
|
157
|
+
super(map);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
@@ -3,66 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class RunCloudBenchTaskResponseBodyDataPreCheckItem extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The HTTP status code returned.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 200
|
|
12
|
-
*/
|
|
13
6
|
code?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The detailed information of the check item.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* "Data": { "total": 1, "list":[...] }, "Code": 200, "Success": true }
|
|
20
|
-
*/
|
|
21
7
|
details?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The returned message.
|
|
25
|
-
*
|
|
26
|
-
* > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* Successful
|
|
30
|
-
*/
|
|
31
8
|
message?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The name of the check item. Valid values:
|
|
35
|
-
*
|
|
36
|
-
* * **SqlArchiveStatusChecker**: checks whether SQL Explorer is available.
|
|
37
|
-
* * **BenchClientEnvChecker**: checks whether the runtime environment for programs on the stress testing client is available.
|
|
38
|
-
* * **SpecChecker**: checks whether the destination instance type and the instance type of the stress testing client support this API operation.
|
|
39
|
-
* * **SourceInstanceChecker**: checks whether the account of the source instance is available and whether the source instance is connected to the destination instance.
|
|
40
|
-
* * **BenchTargetChecker**: checks whether the account of the destination instance is available and whether the source instance is connected to the destination instance.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* BenchTargetChecker
|
|
44
|
-
*/
|
|
45
9
|
name?: string;
|
|
46
|
-
/**
|
|
47
|
-
* @remarks
|
|
48
|
-
* The sequence number of the check item. Valid values: **0** to **10**.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* 0
|
|
52
|
-
*/
|
|
53
10
|
order?: number;
|
|
54
|
-
/**
|
|
55
|
-
* @remarks
|
|
56
|
-
* The status of the task. Valid values:
|
|
57
|
-
*
|
|
58
|
-
* * **SUCCESS**: The task is successful.
|
|
59
|
-
* * **IGNORED**: The task is ignored.
|
|
60
|
-
* * **RUNNING**: The task is running.
|
|
61
|
-
* * **EXCEPTION**: An error occurred.
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* SUCCESS
|
|
65
|
-
*/
|
|
66
11
|
status?: string;
|
|
67
12
|
static names(): { [key: string]: string } {
|
|
68
13
|
return {
|
|
@@ -130,10 +75,6 @@ export class RunCloudBenchTaskResponseBody extends $dara.Model {
|
|
|
130
75
|
* 200
|
|
131
76
|
*/
|
|
132
77
|
code?: string;
|
|
133
|
-
/**
|
|
134
|
-
* @remarks
|
|
135
|
-
* The detailed information, including the error codes and the number of returned entries.
|
|
136
|
-
*/
|
|
137
78
|
data?: RunCloudBenchTaskResponseBodyData;
|
|
138
79
|
/**
|
|
139
80
|
* @remarks
|
package/src/models/model.ts
CHANGED
|
@@ -201,6 +201,8 @@ export { GetStorageAnalysisResultResponseBodyDataStorageAnalysisResultNeedOptimi
|
|
|
201
201
|
export { GetStorageAnalysisResultResponseBodyDataStorageAnalysisResultTableStats } from './GetStorageAnalysisResultResponseBody';
|
|
202
202
|
export { GetStorageAnalysisResultResponseBodyDataStorageAnalysisResult } from './GetStorageAnalysisResultResponseBody';
|
|
203
203
|
export { GetStorageAnalysisResultResponseBodyData } from './GetStorageAnalysisResultResponseBody';
|
|
204
|
+
export { GetYaoChiAgentResponseBodyFunctionCall } from './GetYaoChiAgentResponseBody';
|
|
205
|
+
export { GetYaoChiAgentResponseBodyUiFunctionCall } from './GetYaoChiAgentResponseBody';
|
|
204
206
|
export { ModifyAutoScalingConfigRequestBandwidth } from './ModifyAutoScalingConfigRequest';
|
|
205
207
|
export { ModifyAutoScalingConfigRequestResource } from './ModifyAutoScalingConfigRequest';
|
|
206
208
|
export { ModifyAutoScalingConfigRequestShard } from './ModifyAutoScalingConfigRequest';
|
|
@@ -534,6 +536,9 @@ export { GetSqlOptimizeAdviceResponse } from './GetSqlOptimizeAdviceResponse';
|
|
|
534
536
|
export { GetStorageAnalysisResultRequest } from './GetStorageAnalysisResultRequest';
|
|
535
537
|
export { GetStorageAnalysisResultResponseBody } from './GetStorageAnalysisResultResponseBody';
|
|
536
538
|
export { GetStorageAnalysisResultResponse } from './GetStorageAnalysisResultResponse';
|
|
539
|
+
export { GetYaoChiAgentRequest } from './GetYaoChiAgentRequest';
|
|
540
|
+
export { GetYaoChiAgentResponseBody } from './GetYaoChiAgentResponseBody';
|
|
541
|
+
export { GetYaoChiAgentResponse } from './GetYaoChiAgentResponse';
|
|
537
542
|
export { KillInstanceAllSessionRequest } from './KillInstanceAllSessionRequest';
|
|
538
543
|
export { KillInstanceAllSessionResponseBody } from './KillInstanceAllSessionResponseBody';
|
|
539
544
|
export { KillInstanceAllSessionResponse } from './KillInstanceAllSessionResponse';
|